From 6ca33b817111c819a5ce390026a892e964a073ce Mon Sep 17 00:00:00 2001 From: wl Date: Thu, 23 Jun 2005 11:33:00 +0000 Subject: Another round in fixing getopt problems. Hopefully the last one! This time we use the getopt stuff from gnulib and define a prefix unconditionally so that there are no collisions with any other getopt implementations. This is a slight waste of space in case we already use a GNU getopt implementation, but on the other hand it really simplifies life. * src/include/getopt.h: Use gnulib version. * src/include/getopt_int.h: Use gnulib version. * src/include/groff-getopt.h: Removed. Obsolete now. * src/include/lib.h: Regarding getopt, don't handle any platform specially; just include getopt.h. (__GETOPT_PREFIX): Define (before getopt.h). * src/include/Makefile.sub (HDRS): Updated. * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use gnulib version. * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set __GETOPT_PREFIX. * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c (__GETOPT_PREFIX): Define (before getopt.h). --- ChangeLog | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 886bf4c4..0ad75056 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,33 @@ +2005-06-22 Werner LEMBERG + + Another round in fixing getopt problems. Hopefully the last one! + This time we use the getopt stuff from gnulib and define a prefix + unconditionally so that there are no collisions with any other + getopt implementations. This is a slight waste of space in case + we already use a GNU getopt implementation, but on + the other hand it really simplifies life. + + * src/include/getopt.h: Use gnulib version. + + * src/include/getopt_int.h: Use gnulib version. + + * src/include/groff-getopt.h: Removed. Obsolete now. + + * src/include/lib.h: Regarding getopt, don't handle any platform + specially; just include getopt.h. + (__GETOPT_PREFIX): Define (before getopt.h). + + * src/include/Makefile.sub (HDRS): Updated. + + * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use + gnulib version. + + * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set + __GETOPT_PREFIX. + + * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c + (__GETOPT_PREFIX): Define (before getopt.h). + 2005-06-21 Werner LEMBERG * src/include/lib.h: Provide a fix for Mac OS X to not include -- cgit v1.2.1