From 073a70d8652c93ca5e392baa78a1aef5190f0600 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 13:04:54 +0200 Subject: 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. --- modules/strcasestr-simple | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/strcasestr-simple') 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: -- cgit v1.2.1