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

ChangeLog
m4/wcsnlen.m4
modules/wcsnlen

index bb730623a777ede65fd53c10d442d474a2e2e24b..f1c35cda90a3a41d6601da6b4eb86a3ce6bb6791 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcsnlen: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsnlen.m4 (gl_FUNC_WCSNLEN): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcsnlen (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcsncpy: Move AC_LIBOBJ invocations to module description.
index dfa62e615d28d08e139fd3beb869a0ef1550c605..975e5377e9c405f0262d610b1d9f858ff923155a 100644 (file)
@@ -1,4 +1,4 @@
-# wcsnlen.m4 serial 1
+# wcsnlen.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_WCSNLEN],
   AC_CHECK_FUNCS_ONCE([wcsnlen])
   if test $ac_cv_func_wcsnlen = no; then
     HAVE_WCSNLEN=0
-    AC_LIBOBJ([wcsnlen])
   fi
 ])
index 7ae8d886ad841bbb6e0002fda878f31af57b4d50..42f9858cc168933919421c2d6abd9a0e059b90aa 100644 (file)
@@ -11,6 +11,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSNLEN
+if test $HAVE_WCSNLEN = 0; then
+  AC_LIBOBJ([wcsnlen])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsnlen])
 
 Makefile.am: