wcsncat: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 16:23:06 +0000 (18:23 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:09 +0000 (00:07 +0200)
* m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from
here...
* modules/wcsncat (configure.ac): ... to here.

ChangeLog
m4/wcsncat.m4
modules/wcsncat

index 7e95855..23f1236 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       wcsncat: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcsncat (configure.ac): ... to here.
+
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
        wcsncasecmp: Move AC_LIBOBJ invocations to module description.
        * m4/wcsncasecmp.m4 (gl_FUNC_WCSNCASECMP): Move AC_LIBOBJ invocation
        from here...
index 2407529..7fb2d21 100644 (file)
@@ -1,4 +1,4 @@
-# wcsncat.m4 serial 1
+# wcsncat.m4 serial 2
 dnl Copyright (C) 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,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WCSNCAT],
   AC_CHECK_FUNCS_ONCE([wcsncat])
   if test $ac_cv_func_wcsncat = no; then
     HAVE_WCSNCAT=0
-    AC_LIBOBJ([wcsncat])
   fi
 ])
index 0bdc510..a98a088 100644 (file)
@@ -17,6 +17,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSNCAT
+if test $HAVE_WCSNCAT = 0; then
+  AC_LIBOBJ([wcsncat])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsncat])
 
 Makefile.am: