summaryrefslogtreecommitdiff
path: root/modules/strcasestr-simple
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 13:04:54 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:49 +0200
commit073a70d8652c93ca5e392baa78a1aef5190f0600 (patch)
treeb1cbc7efc2fe4ee394c5d3534aa0bc3765037c5a /modules/strcasestr-simple
parentfcc9447380ba13db75e2777ca41fa00247303391 (diff)
downloadgnulib-073a70d8652c93ca5e392baa78a1aef5190f0600.tar.gz
strcasestr*: Move AC_LIBOBJ invocations to module description.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR): Move AC_LIBOBJ and gl_PREREQ_STRCASESTR invocations from here... * modules/strcasestr-simple (configure.ac): ... to here. * modules/strcasestr (configure.ac): ... and here.
Diffstat (limited to 'modules/strcasestr-simple')
-rw-r--r--modules/strcasestr-simple4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/strcasestr-simple b/modules/strcasestr-simple
index 0f6c6922eb..011e602897 100644
--- a/modules/strcasestr-simple
+++ b/modules/strcasestr-simple
@@ -16,6 +16,10 @@ extensions
configure.ac:
gl_FUNC_STRCASESTR_SIMPLE
+if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
+ AC_LIBOBJ([strcasestr])
+ gl_PREREQ_STRCASESTR
+fi
gl_STRING_MODULE_INDICATOR([strcasestr])
Makefile.am: