Browse Source

* configure.in: Define USE_INCLUDED_REGEX if GNU C library 2.1
or newer is not used.

Andrew V. Samoilov 23 years ago
parent
commit
20154c6f50
2 changed files with 5 additions and 0 deletions
  1. 2 0
      ChangeLog
  2. 3 0
      configure.in

+ 2 - 0
ChangeLog

@@ -1,5 +1,7 @@
 2002-03-26  Andrew V. Samoilov  <kai@cmail.ru>
 
+	* configure.in: Define USE_INCLUDED_REGEX if GNU C library 2.1
+	or newer is not used.
 	* acinclude.m4: New option --with-mcfs and macro WITH_MCFS.
 
 	* src/Makefile.am: Move mc.hlp.ru processing ...

+ 3 - 0
configure.in

@@ -718,6 +718,9 @@ if test "x$enable_charset" = xyes; then
   fi
 fi
 
+if test "$GLIBC21" != yes; then
+    AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
+fi
 
 dnl
 dnl This code should be moved to the ac_WITH_SLANG