From 07938afeefbdb81b3d4d295ef181ac7eb9d28145 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Wed, 3 Feb 1999 17:54:57 +0000 Subject: autogenerated remove. updateds. btowc.c preotect agains cygwin. * grep-2.2f beta release. * m4/{djgpp,envsep,glibc,regex,dosfile,isc-posix}.m4 : New files to aid configuration and unload configure.in. * m4/Makefile.am : updated. Patch forwarded by Ben Elliston. --- m4/envsep.m4 | 9 +++------ m4/isc-posix.m4 | 3 ++- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'm4') diff --git a/m4/envsep.m4 b/m4/envsep.m4 index d0002258..91c082cd 100644 --- a/m4/envsep.m4 +++ b/m4/envsep.m4 @@ -9,15 +9,12 @@ AC_REQUIRE([AC_MINGW32]) AC_REQUIRE([AC_DJGPP]) AC_MSG_CHECKING([for environ variable separator]) AC_CACHE_VAL(ac_cv_sep, -[if test "$CYGWIN" = yes || test "$MINGW32" = yes || "$DJGPP" = yes ; then +[if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$DJGPP" = yes ; then ac_cv_sep=yes else ac_cv_sep=no fi]) -if test x"$ac_cv_sep" = xyes ; then - SEP=";" -else - SEP=":" -fi +SEP=":" +test x"$ac_cv_sep" = xyes && SEP=";" AC_MSG_RESULT(${SEP}) AC_SUBST(SEP)]) diff --git a/m4/isc-posix.m4 b/m4/isc-posix.m4 index 7f4a166d..3ffa87b1 100644 --- a/m4/isc-posix.m4 +++ b/m4/isc-posix.m4 @@ -11,6 +11,7 @@ undefine([AC_ISC_POSIX]) AC_DEFUN(AC_ISC_POSIX, [ dnl This test replaces the obsolescent AC_ISC_POSIX kludge. - AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) + dnl AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) + dnl grep has stub for the absence of strerror ] ) -- cgit v1.2.1