Hi!
I've found some bugs in the build process of aMule while building in non-linux platforms (specifically, solaris):
1. autogen.sh uses /bin/sh as interpreter, but in fact it requires bash to work. Since linux symlinks sh to bash, there is no problem there, but almost no UNIX does that so it fails.
2. the script to create the flags (src/pixmaps/flags_xpm/makeflags.sh) assumes the sed used in the machine is GNU sed, but then again, only linux uses it by default. Other platforms install it as gsed, and sed is usually a propietary sed. The solution could be trying to use gsed first, and if it's not in the path, then use sed., or maybe checking some environment variable that the user can set and avoid all these issues ($SED, or something).
3. the test in configure for autpoint makes some strange comparison, which fails (at least on solaris) because the test command is not the GNU one. It's easily fixed by changing the comparison (it tests if a value is different than other. Simply changing it to test for equal values, and inverting the yes/no values in the if/else branches solves the problem).
4. for some reason, the --with-libiconv-prefix=/usr/local and --with-libintl-prefix=/usr/local do not work with aMule, however they work perfectly fine with any other program I've used them (yes, GNU libiconv and GNU gettext are correctly installed under /usr/local)
5. The denoiser scripts also assume that one is using GNU sed. Solution can be the same as the 2nd point.
These tests were made with aMule-CVS-20071112
Thanks for any help on these issues.