Gary, this change:
2005-02-04 Gary V. Vaughan <[EMAIL PROTECTED]>
* lib/regex.c, lib/regex.h: Updated from gnulib.
* src/input.c (set_word_regexp): Don't change the word_regexp
unless it compiles correctly.
* NEWS: Updated.
Reported by Frank Schwidom <[EMAIL PROTECTED]>
* Makefile.in (stamp-h): Regenerate config.h properly.
broke compilation on cygwin, since newlib does not have gettext() without
linking with -lintl.
gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O2 regex.c
regex.c: In function `re_compile_pattern':
regex.c:7884: warning: return makes pointer from integer without a cast
regex.c: In function `regerror':
regex.c:8173: warning: assignment makes pointer from integer without a cast
...
gcc -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o macro.o
output.o path.o symtab.o ../lib/libm4.a
../lib/libm4.a(regex.o)(.text+0x5f1a): In function `regerror':
/home/eblake/m4/lib/regex.c:8173: undefined reference to `_gettext'
../lib/libm4.a(regex.o)(.text+0x5c3a): In function `re_compile_pattern':
/home/eblake/m4/lib/regex.c:7884: undefined reference to `_gettext'
collect2: ld returned 1 exit status
_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4