wcpncpy: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 15:58:43 +0000 (17:58 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:05 +0000 (00:07 +0200)
* m4/wcpncpy.m4 (gl_FUNC_WCPNCPY): Move AC_LIBOBJ invocation from
here...
* modules/wcpncpy (configure.ac): ... to here.

ChangeLog
m4/wcpncpy.m4
modules/wcpncpy

index 9a336c6d1056cb10f4195c5eacb1472c2d9fe375..948be57c30bf47476241137257312453a7369330 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcpncpy: Move AC_LIBOBJ invocations to module description.
+       * m4/wcpncpy.m4 (gl_FUNC_WCPNCPY): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcpncpy (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcpcpy: Move AC_LIBOBJ invocations to module description.
index a4d73e28d8364f357dc962478f355be532b9fcd8..6c54bbd57ebf94d1098a8d1336be8cffbe265995 100644 (file)
@@ -1,4 +1,4 @@
-# wcpncpy.m4 serial 2
+# wcpncpy.m4 serial 3
 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,
@@ -14,6 +14,5 @@ AC_DEFUN([gl_FUNC_WCPNCPY],
   AC_CHECK_FUNCS_ONCE([wcpncpy])
   if test $ac_cv_func_wcpncpy = no; then
     HAVE_WCPNCPY=0
-    AC_LIBOBJ([wcpncpy])
   fi
 ])
index 8506bf4466b56f385f4f3ea57dbe67977c716ab6..82b9671f552ab00323f56801b5899fe403889945 100644 (file)
@@ -12,6 +12,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCPNCPY
+if test $HAVE_WCPNCPY = 0; then
+  AC_LIBOBJ([wcpncpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcpncpy])
 
 Makefile.am: