summaryrefslogtreecommitdiff
path: root/modules/obstack-printf
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-21 16:33:49 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:35 +0200
commita43426bb51ec18d942bf986a298116545a739a0e (patch)
tree895887bb4b34469325a03c1ee45928da3a718997 /modules/obstack-printf
parentef8178c73dcb4bd7987a16ae53bd4311873f8e1a (diff)
downloadgnulib-a43426bb51ec18d942bf986a298116545a739a0e.tar.gz
obstack-printf*: Move AC_LIBOBJ invocations to module description.
* m4/obstack-printf.m4 (gl_REPLACE_OBSTACK_PRINTF): Move AC_LIBOBJ invocation from here... * modules/obstack-printf (configure.ac): ... to here. * modules/obstack-printf-posix (configure.ac): ... and here.
Diffstat (limited to 'modules/obstack-printf')
-rw-r--r--modules/obstack-printf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/obstack-printf b/modules/obstack-printf
index 3604ce29bc..324dde6889 100644
--- a/modules/obstack-printf
+++ b/modules/obstack-printf
@@ -13,6 +13,9 @@ extensions
configure.ac:
gl_FUNC_OBSTACK_PRINTF
+if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then
+ AC_LIBOBJ([obstack_printf])
+fi
gl_STDIO_MODULE_INDICATOR([obstack-printf])
Makefile.am: