regex: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 16:13:27 +0000 (18:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:42 +0000 (00:06 +0200)
* m4/regex.m4 (gl_REGEX): Move AC_LIBOBJ and gl_PREREQ_REGEX
invocations from here...
* modules/regex (configure.ac): ... to here.

ChangeLog
m4/regex.m4
modules/regex

index d9d2715fb27ad40b5cc365ec799f0d95dd2e5ce4..cd7367af025e20ceca730c8667cdc4edd85bfbfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       regex: Move AC_LIBOBJ invocations to module description.
+       * m4/regex.m4 (gl_REGEX): Move AC_LIBOBJ and gl_PREREQ_REGEX
+       invocations from here...
+       * modules/regex (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        realloc-*: Move AC_LIBOBJ invocations to module description.
index 24198b5570319d412cf6aa9a35cffd763de45550..e48fab0e5438ae3760debb67be26d5701f27ff80 100644 (file)
@@ -1,4 +1,4 @@
-# serial 58
+# serial 59
 
 # Copyright (C) 1996-2001, 2003-2011 Free Software Foundation, Inc.
 #
@@ -207,8 +207,6 @@ AC_DEFUN([gl_REGEX],
       [Define to rpl_regerror if the replacement should be used.])
     AC_DEFINE([regfree], [rpl_regfree],
       [Define to rpl_regfree if the replacement should be used.])
-    AC_LIBOBJ([regex])
-    gl_PREREQ_REGEX
   fi
 ])
 
index 730076c2b3b98595ff45baa5f8ccc0da2177e563..4c268a211597e7e6f4b2dcdd9795a08364d951c8 100644 (file)
@@ -32,6 +32,10 @@ wctype-h        [test $ac_use_included_regex = yes]
 
 configure.ac:
 gl_REGEX
+if test $ac_use_included_regex = yes; then
+  AC_LIBOBJ([regex])
+  gl_PREREQ_REGEX
+fi
 
 Makefile.am: