On 5/2/05, Robert Goulding <[EMAIL PROTECTED]> wrote: > getopt.c:73:22: gettext.h: No such file or directory
Yeah, that's a really weird change (between 1.19 and 1.19.2pre): -#ifndef _ -/* This is for other GNU distributions with internationalized messages. */ -# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC -# include <libintl.h> -# ifndef _ -# define _(msgid) gettext (msgid) -# endif -# else -# define _(msgid) (msgid) -# endif .. +#ifdef _LIBC +# include <libintl.h> +#else +# include "gettext.h" +# define _(msgid) gettext (msgid) +#endif Perhaps, newer getopt for non-glibc systems is supposed to be distributed together with internal libintl? BTW, I also have a problem building this pre on 10.3.9, but of a different kind: In file included from color.cpp:30: /usr/include/unistd.h:183: error: declaration of `int getopt(int, char* const*, const char*)' throws different exceptions /Users/wart/Desktop/groff-1.19.2/src/include/groff-getopt.h:53: error: than previous declaration `int getopt(int, char* const*, const char*) throw ()' make[2]: *** [color.o] Error 1 make[1]: *** [src/libs/libgroff] Error 2 make: *** [all] Error 2 The problem is that OS X's libc is BSD-derived, and has no __THROW in declarations, like in glibc. -- Regards, Wartan. _______________________________________________ Groff mailing list [email protected] http://lists.gnu.org/mailman/listinfo/groff
