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

ChangeLog
m4/wcsncpy.m4
modules/wcsncpy

index aa2c4d291eaba64c1093969c00967a81a7bb3ea7..bb730623a777ede65fd53c10d442d474a2e2e24b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcsncpy: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsncpy.m4 (gl_FUNC_WCSNCPY): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcsncpy (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcsncmp: Move AC_LIBOBJ invocations to module description.
index a284b4733a6e297709137e858f780f9f96b2f5eb..1ed52893118e29b8955a2a4fb4ec4fa262a9eced 100644 (file)
@@ -1,4 +1,4 @@
-# wcsncpy.m4 serial 1
+# wcsncpy.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_WCSNCPY],
   AC_CHECK_FUNCS_ONCE([wcsncpy])
   if test $ac_cv_func_wcsncpy = no; then
     HAVE_WCSNCPY=0
-    AC_LIBOBJ([wcsncpy])
   fi
 ])
index e1c4996338d8a384a311fb2a399421fe4e9e83fe..0ac9609f57f0025f6f486ec8e4cbab0617ce3b0f 100644 (file)
@@ -17,6 +17,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSNCPY
+if test $HAVE_WCSNCPY = 0; then
+  AC_LIBOBJ([wcsncpy])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsncpy])
 
 Makefile.am: