* m4/strncat.m4 (gl_FUNC_STRNCAT): Move AC_LIBOBJ and gl_PREREQ_STRNCAT
invocations from here...
* modules/strncat (configure.ac): ... to here.
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
+ strncat: Move AC_LIBOBJ invocations to module description.
+ * m4/strncat.m4 (gl_FUNC_STRNCAT): Move AC_LIBOBJ and gl_PREREQ_STRNCAT
+ invocations from here...
+ * modules/strncat (configure.ac): ... to here.
+
2011-05-22 Bruno Haible <bruno@clisp.org>
strdup, strdup-posix: Move AC_LIBOBJ invocations to module description.
-# strncat.m4 serial 1
+# strncat.m4 serial 2
dnl Copyright (C) 2002-2004, 2009-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,
])
case "$gl_cv_func_strncat_works" in
*yes) ;;
- *)
- REPLACE_STRNCAT=1
- AC_LIBOBJ([strncat])
- gl_PREREQ_STRNCAT
- ;;
+ *) REPLACE_STRNCAT=1 ;;
esac
])
configure.ac:
gl_FUNC_STRNCAT
+if test $REPLACE_STRNCAT = 1; then
+ AC_LIBOBJ([strncat])
+ gl_PREREQ_STRNCAT
+fi
gl_STRING_MODULE_INDICATOR([strncat])
Makefile.am: