setlocale: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 22:08:39 +0000 (00:08 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:46 +0000 (00:06 +0200)
* m4/setlocale.m4 (gl_FUNC_SETLOCALE): Move AC_LIBOBJ and
gl_PREREQ_SETLOCALE invocations from here...
* modules/setlocale (configure.ac): ... to here.

ChangeLog
m4/setlocale.m4
modules/setlocale

index 5fe5fcef23f6c55b61981b3a0c459be9cf75c4aa..b02cc3e57652ba5cfd364402404d61648a8f3e3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       setlocale: Move AC_LIBOBJ invocations to module description.
+       * m4/setlocale.m4 (gl_FUNC_SETLOCALE): Move AC_LIBOBJ and
+       gl_PREREQ_SETLOCALE invocations from here...
+       * modules/setlocale (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        unsetenv: Move AC_LIBOBJ invocations to module description.
index 92f76f433cb53a09b70b4238be66335121c474c6..d64780d1668f849a39746e7390eeb657b4488381 100644 (file)
@@ -1,4 +1,4 @@
-# setlocale.m4 serial 3
+# setlocale.m4 serial 4
 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,
@@ -20,10 +20,6 @@ AC_DEFUN([gl_FUNC_SETLOCALE],
       esac
       ;;
   esac
-  if test $REPLACE_SETLOCALE = 1; then
-    AC_LIBOBJ([setlocale])
-    gl_PREREQ_SETLOCALE
-  fi
 ])
 
 # Prerequisites of lib/setlocale.c.
index 918a037da331839fb79d55917fc0e17277c7e88e..1d8f9975fd343d15bdea43840bb2805c8585681f 100644 (file)
@@ -11,6 +11,10 @@ localename      [test $REPLACE_SETLOCALE = 1]
 
 configure.ac:
 gl_FUNC_SETLOCALE
+if test $REPLACE_SETLOCALE = 1; then
+  AC_LIBOBJ([setlocale])
+  gl_PREREQ_SETLOCALE
+fi
 gl_LOCALE_MODULE_INDICATOR([setlocale])
 
 Makefile.am: