summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--m4/wcspbrk.m43
-rw-r--r--modules/wcspbrk3
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index be4216fc84..0b8ae990ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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.
* m4/wcsnrtombs.m4 (gl_FUNC_WCSNRTOMBS): Move AC_LIBOBJ and
gl_PREREQ_WCSNRTOMBS invocations from here...
diff --git a/m4/wcspbrk.m4 b/m4/wcspbrk.m4
index cb6c0f80b9..39afaed8ea 100644
--- a/m4/wcspbrk.m4
+++ b/m4/wcspbrk.m4
@@ -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
])
diff --git a/modules/wcspbrk b/modules/wcspbrk
index b7aefa47c4..f729486e97 100644
--- a/modules/wcspbrk
+++ b/modules/wcspbrk
@@ -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: