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

ChangeLog
m4/wmemcmp.m4
modules/wmemcmp

index cc08662a7d0afd8743b06243c22cc16eaddf50f6..72266e36317e0429424c64e7cad030d806d60bb5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wmemcmp: Move AC_LIBOBJ invocations to module description.
+       * m4/wmemcmp.m4 (gl_FUNC_WMEMCMP): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wmemcmp (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wmemchr: Move AC_LIBOBJ invocations to module description.
index 99e9a2af738bdc3766852e7869cc34a550cc816e..ec86e422222ea3cc62e080f680348bf44434c682 100644 (file)
@@ -1,4 +1,4 @@
-# wmemcmp.m4 serial 1
+# wmemcmp.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_WMEMCMP],
   AC_CHECK_FUNCS_ONCE([wmemcmp])
   if test $ac_cv_func_wmemcmp = no; then
     HAVE_WMEMCMP=0
-    AC_LIBOBJ([wmemcmp])
   fi
 ])
index 21e724a1c97c0a8ad21b1d7710ed483d0e948fe9..2734e6a434f20083713d91a378a94c1bbb505d8e 100644 (file)
@@ -11,6 +11,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WMEMCMP
+if test $HAVE_WMEMCMP = 0; then
+  AC_LIBOBJ([wmemcmp])
+fi
 gl_WCHAR_MODULE_INDICATOR([wmemcmp])
 
 Makefile.am: