Commit 7574a8ef 7574a8efe627c0fd345745c5e9f2ab44c3c712a0 by Alain Magloire

* configure.in: Check for GNU regex.

1 parent 301f1c76
...@@ -99,6 +99,13 @@ dnl Check for working functions ...@@ -99,6 +99,13 @@ dnl Check for working functions
99 jm_FUNC_MALLOC 99 jm_FUNC_MALLOC
100 jm_FUNC_REALLOC 100 jm_FUNC_REALLOC
101 AC_FUNC_ALLOCA 101 AC_FUNC_ALLOCA
102
103 jm_INCLUDED_REGEX(lib/regex.c)
104 # This no-op line works around a bug in automake 1.4:
105 # it doesn't recognize the assignment to LIBOBJS
106 # in m4/regex.m4.
107 : LIBOBJS="$LIBOBJS regex.o"
108
102 # Not use. 109 # Not use.
103 #AC_FUNC_MEMCMP 110 #AC_FUNC_MEMCMP
104 AC_FUNC_MMAP 111 AC_FUNC_MMAP
...@@ -191,13 +198,13 @@ fi ...@@ -191,13 +198,13 @@ fi
191 dnl Check for Guile 198 dnl Check for Guile
192 AC_SUBST(GUILE_INCLUDES) 199 AC_SUBST(GUILE_INCLUDES)
193 AC_SUBST(GUILE_LIBS) 200 AC_SUBST(GUILE_LIBS)
194 AC_SUBST(GUIMB) 201 AC_SUBST(GUIMB)
195 AC_SUBST(MU_SCM) 202 AC_SUBST(MU_SCM)
196 AC_SUBST(GUILE_PROCEDURES_TXT) 203 AC_SUBST(GUILE_PROCEDURES_TXT)
197 AC_SUBST(GUILE_BUILT_SOURCES) 204 AC_SUBST(GUILE_BUILT_SOURCES)
198 if test x"$useguile" = x"yes"; then 205 if test x"$useguile" = x"yes"; then
199 AC_PATH_PROG(GUILE_CONFIG, guile-config, no, $PATH) 206 AC_PATH_PROG(GUILE_CONFIG, guile-config, no, $PATH)
200 AC_CHECK_HEADER(libguile.h, :, [GUILE_CONFIG=no]) 207 AC_CHECK_HEADER(libguile.h, :, [GUILE_CONFIG=no])
201 if test x$GUILE_CONFIG != xno; then 208 if test x$GUILE_CONFIG != xno; then
202 GUILE_INCLUDES=`guile-config compile` 209 GUILE_INCLUDES=`guile-config compile`
203 GUILE_LIBS=`guile-config link` 210 GUILE_LIBS=`guile-config link`
......