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

ChangeLog
m4/wcscoll.m4
modules/wcscoll

index ce8f20c..f6cccba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       wcscoll: Move AC_LIBOBJ invocations to module description.
+       * m4/wcscoll.m4 (gl_FUNC_WCSCOLL): Move AC_LIBOBJ invocation from
+       here...
+       * modules/wcscoll (configure.ac): ... to here.
+
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
        wcscmp: Move AC_LIBOBJ invocations to module description.
        * m4/wcscmp.m4 (gl_FUNC_WCSCMP): Move AC_LIBOBJ invocation from here...
        * modules/wcscmp (configure.ac): ... to here.
index 8a39a69..71e6a20 100644 (file)
@@ -1,4 +1,4 @@
-# wcscoll.m4 serial 1
+# wcscoll.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_WCSCOLL],
   AC_CHECK_FUNCS_ONCE([wcscoll])
   if test $ac_cv_func_wcscoll = no; then
     HAVE_WCSCOLL=0
-    AC_LIBOBJ([wcscoll])
   fi
 ])
index d5c4836..a6fc0ab 100644 (file)
@@ -17,6 +17,9 @@ wchar
 
 configure.ac:
 gl_FUNC_WCSCOLL
+if test $HAVE_WCSCOLL = 0; then
+  AC_LIBOBJ([wcscoll])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcscoll])
 
 Makefile.am: