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

ChangeLog
m4/wcscspn.m4
modules/wcscspn

index 7ea4b60e53d989492e71ae809d23943ff646c3d5..e40f752a13ea831e96b52a4b81ae53ff2714f8a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcscspn: Move AC_LIBOBJ invocations to module description.
+       * m4/wcscspn.m4 (gl_FUNC_WCSCSPN): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcscspn (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcscpy: Move AC_LIBOBJ invocations to module description.
index f6761faa3376a6a454929828efeae39b06703331..cf922822f02b4963a648c193edd2912ae6230c57 100644 (file)
@@ -1,4 +1,4 @@
-# wcscspn.m4 serial 1
+# wcscspn.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_WCSCSPN],
   AC_CHECK_FUNCS_ONCE([wcscspn])
   if test $ac_cv_func_wcscspn = no; then
     HAVE_WCSCSPN=0
-    AC_LIBOBJ([wcscspn])
   fi
 ])
index 14b9a24e85735325cc4a52a8a7e466a119f0d74a..5f93ee6d91679db0cc0e0bbbe62731b2ee805730 100644 (file)
@@ -19,6 +19,9 @@ wcschr          [test $HAVE_WCSCSPN = 0]
 
 configure.ac:
 gl_FUNC_WCSCSPN
+if test $HAVE_WCSCSPN = 0; then
+  AC_LIBOBJ([wcscspn])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcscspn])
 
 Makefile.am: