On 10/4/05, Steven M. Schultz <[EMAIL PROTECTED]> wrote:
> AC_CHECK_HEADERS(unistd.h getopt.h)
>
> #ifdef HAVE_UNISTD_H
> #include <unistd.h>
> #endif
> #ifdef HAVE_GETOPT_H
> #include <getopt.h>
> #endif
>
> and avoid specific version checking.
Ah, a much cleaner alternative. (I'm still new to this autoconf
mess.) I like it, unless of course it causes FreeBSD 5 to barf. I
suspect it won't, though, since darwin has both unistd.h and getopt.h,
and unistd.h has nothing to say about getopt.
-P
_______________________________________________
Libcdio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/libcdio-devel