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

ChangeLog
m4/wcsstr.m4
modules/wcsstr

index af803cc71bfce4763dc15062616264972dc0d306..d1335646f70ebf5843177f01a32145432d4617cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
+       wcsstr: Move AC_LIBOBJ invocations to module description.
+       * m4/wcsstr.m4 (gl_FUNC_WCSSTR): Move AC_LIBOBJ invocation from here...
+       * modules/wcsstr (configure.ac): ... to here.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
        wcsspn: Move AC_LIBOBJ invocations to module description.
index 3ac2caf448cee9278d621ca248bf4291fee3e86b..8f762a1ecfde2e397c9a245d36dc0e269920ace2 100644 (file)
@@ -1,4 +1,4 @@
-# wcsstr.m4 serial 1
+# wcsstr.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_WCSSTR],
   AC_CHECK_FUNCS_ONCE([wcsstr])
   if test $ac_cv_func_wcsstr = no; then
     HAVE_WCSSTR=0
-    AC_LIBOBJ([wcsstr])
   fi
 ])
index d4f22f85096cafcd4d11c0ec0c6a77e6fd08ea83..e918127cbeb44969ff9cdba5f685c6af926b8114 100644 (file)
@@ -12,6 +12,9 @@ wcschr          [test $HAVE_WCSSTR = 0]
 
 configure.ac:
 gl_FUNC_WCSSTR
+if test $HAVE_WCSSTR = 0; then
+  AC_LIBOBJ([wcsstr])
+fi
 gl_WCHAR_MODULE_INDICATOR([wcsstr])
 
 Makefile.am: