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

ChangeLog
m4/wcsspn.m4
modules/wcsspn

index 1f4f3216f68c5efae2f62547297d8c91e4ffa4ed..af803cc71bfce4763dc15062616264972dc0d306 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcsspn: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsspn.m4 (gl_FUNC_WCSSPN): Move AC_LIBOBJ invocation from here...
+       * modules/wcsspn (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcsrtombs: Move AC_LIBOBJ invocations to module description.
index 1225adcf969d44e5e035db4eef52466c4092dc58..51bd7b169761f0884296b34e68607f6fd3b355a5 100644 (file)
@@ -1,4 +1,4 @@
-# wcsspn.m4 serial 1
+# wcsspn.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_WCSSPN],
   AC_CHECK_FUNCS_ONCE([wcsspn])
   if test $ac_cv_func_wcsspn = no; then
     HAVE_WCSSPN=0
-    AC_LIBOBJ([wcsspn])
   fi
 ])
index 035398d9bcf363e6d4afc97bda782c325df97742..abaf5d4dd725ffd86eee2bef119310bec9a011f6 100644 (file)
@@ -18,6 +18,9 @@ wcschr          [test $HAVE_WCSSPN = 0]
 
 configure.ac:
 gl_FUNC_WCSSPN
+if test $HAVE_WCSSPN = 0; then
+  AC_LIBOBJ([wcsspn])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsspn])
 
 Makefile.am: