changeset 14933:45dddbc362fb

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.
author Bruno Haible <bruno@clisp.org>
date Fri, 06 May 2011 12:46:34 +0200
parents 9ea347c6fce2
children 26590ccc3b4c
files ChangeLog m4/duplocale.m4 modules/duplocale
diffstat 3 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/duplocale.m4
+++ b/m4/duplocale.m4
@@ -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 @@
   else
     HAVE_DUPLOCALE=0
   fi
-  if test $REPLACE_DUPLOCALE = 1; then
-    AC_LIBOBJ([duplocale])
-    gl_PREREQ_DUPLOCALE
-  fi
 ])
 
 # Prerequisites of lib/duplocale.c.
--- a/modules/duplocale
+++ b/modules/duplocale
@@ -10,6 +10,10 @@
 
 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: