diff modules/setlocale @ 15091:e5a3db1759c6

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 00:08:39 +0200
parents efab6978105e
children
line wrap: on
line diff
--- a/modules/setlocale
+++ b/modules/setlocale
@@ -11,6 +11,10 @@
 
 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: