# HG changeset patch # User Bruno Haible # Date 1305994407 -7200 # Node ID c6c18bdb8fc937f2b5dcf7eadc8072cef6ab93fb # Parent 52f8925a96a4ac089ecae89b522c84a690ffdf91 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + 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 + realloc-*: Move AC_LIBOBJ invocations to module description. * m4/realloc.m4 (gl_REPLACE_REALLOC): Remove macro. (gl_FUNC_REALLOC_GNU, gl_FUNC_REALLOC_POSIX): Inline it here. Move diff --git a/m4/regex.m4 b/m4/regex.m4 --- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -1,4 +1,4 @@ -# serial 58 +# serial 59 # Copyright (C) 1996-2001, 2003-2011 Free Software Foundation, Inc. # @@ -207,8 +207,6 @@ [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 ]) diff --git a/modules/regex b/modules/regex --- a/modules/regex +++ b/modules/regex @@ -32,6 +32,10 @@ configure.ac: gl_REGEX +if test $ac_use_included_regex = yes; then + AC_LIBOBJ([regex]) + gl_PREREQ_REGEX +fi Makefile.am: