summaryrefslogtreecommitdiff
path: root/modules/stpcpy
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 12:48:51 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:48 +0200
commit7b5d32ef8bff2910dba4c806a844f61ff41c94d0 (patch)
tree605b0f62edd0b169c922ba0473769843b9212d07 /modules/stpcpy
parent19ad053d1964635d0247647dca318fa5a29ad89b (diff)
downloadgnulib-7b5d32ef8bff2910dba4c806a844f61ff41c94d0.tar.gz
stpcpy: Move AC_LIBOBJ invocations to module description.
* m4/stpcpy.m4 (gl_FUNC_STPCPY): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STPCPY invocations from here... * modules/stpcpy (configure.ac): ... to here.
Diffstat (limited to 'modules/stpcpy')
-rw-r--r--modules/stpcpy4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/stpcpy b/modules/stpcpy
index 3d00faf403..2c3cc951e4 100644
--- a/modules/stpcpy
+++ b/modules/stpcpy
@@ -11,6 +11,10 @@ string
configure.ac:
gl_FUNC_STPCPY
+if test $HAVE_STPCPY = 0; then
+ AC_LIBOBJ([stpcpy])
+ gl_PREREQ_STPCPY
+fi
gl_STRING_MODULE_INDICATOR([stpcpy])
Makefile.am: