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

ChangeLog
m4/wcscasecmp.m4
modules/wcscasecmp

index b8b2a5d..1d9f0a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       wcscasecmp: Move AC_LIBOBJ invocations to module description.
+       * m4/wcscasecmp.m4 (gl_FUNC_WCSCASECMP): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcscasecmp (configure.ac): ... to here.
+
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
        wcrtomb: Move AC_LIBOBJ invocations to module description.
        * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Move AC_LIBOBJ and gl_PREREQ_WCRTOMB
        invocations from here...
index 8013813..63c6d72 100644 (file)
@@ -1,4 +1,4 @@
-# wcscasecmp.m4 serial 1
+# wcscasecmp.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_WCSCASECMP],
   AC_CHECK_FUNCS_ONCE([wcscasecmp])
   if test $ac_cv_func_wcscasecmp = no; then
     HAVE_WCSCASECMP=0
-    AC_LIBOBJ([wcscasecmp])
   fi
 ])
index 4639354..2fd7160 100644 (file)
@@ -12,6 +12,9 @@ wctype-h        [test $HAVE_WCSCASECMP = 0]
 
 configure.ac:
 gl_FUNC_WCSCASECMP
+if test $HAVE_WCSCASECMP = 0; then
+  AC_LIBOBJ([wcscasecmp])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcscasecmp])
 
 Makefile.am: