In removing libpopt (used in src/) and replacing with getopt, Peter
J. Creath noted that the libcdio configure test is actually for GNU
getopt, which has slightly different (irrelevant) behavior than
standard getopt.

And he notes that FreeBSD 4.9 and earlier doesn't keep the information
in <getopt.h>, but in <unistd.h>.

So in src/util.h, instead of 

#include <popt.h>

one might have: 

#if defined(__FreeBSD__)
#if (OSVERSION > 500000)
#include "getopt.h"
#else
#include "unistd.h"
#endif
#else
#include <getopt.h>
#endif

Any comments?



_______________________________________________
Libcdio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/libcdio-devel

Reply via email to