wmemchr: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 17:03:12 +0000 (19:03 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:14 +0000 (00:07 +0200)
* m4/wmemchr.m4 (gl_FUNC_WMEMCHR): Move AC_LIBOBJ invocation from
here...
* modules/wmemchr (configure.ac): ... to here.

ChangeLog
m4/wmemchr.m4
modules/wmemchr

index 5a7100c08d375ed85029ab7cc67dc4c2dc99dac7..cc08662a7d0afd8743b06243c22cc16eaddf50f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wmemchr: Move AC_LIBOBJ invocations to module description.
+       * m4/wmemchr.m4 (gl_FUNC_WMEMCHR): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wmemchr (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcswidth: Move AC_LIBOBJ invocations to module description.
index b2a2052918a7c22a378bb20078027ea3d0c80380..2853045305034ac3bb653b6807f3a382c0f21034 100644 (file)
@@ -1,4 +1,4 @@
-# wmemchr.m4 serial 1
+# wmemchr.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_WMEMCHR],
   AC_CHECK_FUNCS_ONCE([wmemchr])
   if test $ac_cv_func_wmemchr = no; then
     HAVE_WMEMCHR=0
-    AC_LIBOBJ([wmemchr])
   fi
 ])
index e50e62d7f43faa2cb3c56fb0acbf71fd3c93f86c..d34903cc76dad055c177e1af60c09e573157aee2 100644 (file)
@@ -11,6 +11,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WMEMCHR
+if test $HAVE_WMEMCHR = 0; then
+  AC_LIBOBJ([wmemchr])
+fi
 gl_WCHAR_MODULE_INDICATOR([wmemchr])
 
 Makefile.am: