duplocale: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Fri, 6 May 2011 10:46:34 +0000 (12:46 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:05:55 +0000 (00:05 +0200)
* m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Move AC_LIBOBJ and
gl_PREREQ_DUPLOCALE invocations from here...
* modules/duplocale (configure.ac): ... to here.

ChangeLog
m4/duplocale.m4
modules/duplocale

index e64950a..7d3fa4a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-06  Bruno Haible  <bruno@clisp.org>
+
+       duplocale: Move AC_LIBOBJ invocations to module description.
+       * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Move AC_LIBOBJ and
+       gl_PREREQ_DUPLOCALE invocations from here...
+       * modules/duplocale (configure.ac): ... to here.
+
 2011-05-05  Bruno Haible  <bruno@clisp.org>
 
        dirfd: Move AC_LIBOBJ invocations to module description.
index d61a8d2..cfb7f4b 100644 (file)
@@ -1,4 +1,4 @@
-# duplocale.m4 serial 6
+# duplocale.m4 serial 7
 dnl Copyright (C) 2009-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,
@@ -59,10 +59,6 @@ int main ()
   else
     HAVE_DUPLOCALE=0
   fi
-  if test $REPLACE_DUPLOCALE = 1; then
-    AC_LIBOBJ([duplocale])
-    gl_PREREQ_DUPLOCALE
-  fi
 ])
 
 # Prerequisites of lib/duplocale.c.
index 00852fd..aaa681f 100644 (file)
@@ -10,6 +10,10 @@ locale
 
 configure.ac:
 gl_FUNC_DUPLOCALE
+if test $REPLACE_DUPLOCALE = 1; then
+  AC_LIBOBJ([duplocale])
+  gl_PREREQ_DUPLOCALE
+fi
 gl_LOCALE_MODULE_INDICATOR([duplocale])
 
 Makefile.am: