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

ChangeLog
m4/wcspbrk.m4
modules/wcspbrk

index be4216fc84e8e70212a660e865bb69f95c2e7716..0b8ae990baa13e9a65d2956df184a8040fe061c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcspbrk: Move AC_LIBOBJ invocations to module description.
+       * m4/wcspbrk.m4 (gl_FUNC_WCSPBRK): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcspbrk (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcsnrtombs: Move AC_LIBOBJ invocations to module description.
index cb6c0f80b939fdfe2257be940afeb79523c052fa..39afaed8ea6378c9db8c3e2886e3d1794574f35c 100644 (file)
@@ -1,4 +1,4 @@
-# wcspbrk.m4 serial 1
+# wcspbrk.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_WCSPBRK],
   AC_CHECK_FUNCS_ONCE([wcspbrk])
   if test $ac_cv_func_wcspbrk = no; then
     HAVE_WCSPBRK=0
-    AC_LIBOBJ([wcspbrk])
   fi
 ])
index b7aefa47c4cba1100cf8cddb37f2068d5490bb32..f729486e972a2b680fd90fdfd1890e9ef96f591a 100644 (file)
@@ -18,6 +18,9 @@ wcschr          [test $HAVE_WCSPBRK = 0]
 
 configure.ac:
 gl_FUNC_WCSPBRK
+if test $HAVE_WCSPBRK = 0; then
+  AC_LIBOBJ([wcspbrk])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcspbrk])
 
 Makefile.am: