2011-05-22 Bruno Haible <bruno@clisp.org>
+ strstr*: Move AC_LIBOBJ invocations to module description.
+ * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE, gl_FUNC_STRSTR): Move AC_LIBOBJ
+ invocations from here...
+ * modules/strstr-simple (configure.ac): ... to here.
+ * modules/strstr (configure.ac): ... and here.
+
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
strsignal: Move AC_LIBOBJ invocations to module description.
* m4/strsignal.m4 (gl_FUNC_STRSIGNAL): Set HAVE_STRSIGNAL. Move
AC_LIBOBJ and gl_PREREQ_STRSIGNAL invocations from here...
-# strstr.m4 serial 13
+# strstr.m4 serial 14
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([gl_FUNC_MEMCHR])
if test "$gl_cv_func_memchr_works" != yes; then
REPLACE_STRSTR=1
- AC_LIBOBJ([strstr])
else
dnl Detect http://sourceware.org/bugzilla/show_bug.cgi?id=12092.
AC_CACHE_CHECK([whether strstr works],
])
if test "$gl_cv_func_strstr_works_always" != yes; then
REPLACE_STRSTR=1
- AC_LIBOBJ([strstr])
fi
fi
]) # gl_FUNC_STRSTR_SIMPLE
REPLACE_STRSTR=1
fi
fi
- if test $REPLACE_STRSTR = 1; then
- AC_LIBOBJ([strstr])
- fi
]) # gl_FUNC_STRSTR
configure.ac:
gl_FUNC_STRSTR
+if test $REPLACE_STRSTR = 1; then
+ AC_LIBOBJ([strstr])
+fi
Makefile.am:
configure.ac:
gl_FUNC_STRSTR_SIMPLE
+if test $REPLACE_STRSTR = 1; then
+ AC_LIBOBJ([strstr])
+fi
gl_STRING_MODULE_INDICATOR([strstr])
Makefile.am: