summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-02-03 17:54:57 +0000
committerAlain Magloire <alainm@rcsm.ee.mcgill.ca>1999-02-03 17:54:57 +0000
commit07938afeefbdb81b3d4d295ef181ac7eb9d28145 (patch)
treee8955c8c68b340c80704859be5915fe12fb1533e /m4
parent21d73c8363fcc4ea672b1cfc117afef2a6a0f79e (diff)
downloadgrep-07938afeefbdb81b3d4d295ef181ac7eb9d28145.tar.gz
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/envsep.m49
-rw-r--r--m4/isc-posix.m43
2 files changed, 5 insertions, 7 deletions
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
]
)