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

ChangeLog
m4/wcsncasecmp.m4
modules/wcsncasecmp

index eb91252..7e95855 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       wcsncasecmp: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsncasecmp.m4 (gl_FUNC_WCSNCASECMP): Move AC_LIBOBJ invocation
+       from here...
+       * modules/wcsncasecmp (configure.ac): ... to here.
+
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
        wcslen: Move AC_LIBOBJ invocations to module description.
        * m4/wcslen.m4 (gl_FUNC_WCSLEN): Move AC_LIBOBJ invocation from here...
        * modules/wcslen (configure.ac): ... to here.
index a7c4682..96addcc 100644 (file)
@@ -1,4 +1,4 @@
-# wcsncasecmp.m4 serial 1
+# wcsncasecmp.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_WCSNCASECMP],
   AC_CHECK_FUNCS_ONCE([wcsncasecmp])
   if test $ac_cv_func_wcsncasecmp = no; then
     HAVE_WCSNCASECMP=0
-    AC_LIBOBJ([wcsncasecmp])
   fi
 ])
index 3a1f84a..0fcd533 100644 (file)
@@ -12,6 +12,9 @@ wctype-h        [test $HAVE_WCSNCASECMP = 0]
 
 configure.ac:
 gl_FUNC_WCSNCASECMP
+if test $HAVE_WCSNCASECMP = 0; then
+  AC_LIBOBJ([wcsncasecmp])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsncasecmp])
 
 Makefile.am: