On Thu, Jun 19, 2003 at 10:22:34PM +0200, Marco Gerards wrote: > My biggest problem is autoconf. It doesn't even work perfectly for the > orginal sourcecode. I've added a test to check for the Hurd by looking > for hurd.h, is that correct?
Check for individual features; for example, when the feature in question is support for translators, you might want to check for the function file_set_translator. This way, GNU tar will correctly detect other systems that might support translators in the future but don't provide a hurd.h file. If you want to check for GNU/Hurd, use #ifdef __GNU__, but this should only be done with a good reason, like when porting a program that uses tests based on the operating system already. Cheers, GNU/Wolfgang -- "A good programming language should have features that make the kind of people who use the phrase `software engineering' shake their heads disapprovingly." -- Paul Graham _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd