summaryrefslogtreecommitdiff
path: root/modules/strcspn
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 13:10:05 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:50 +0200
commit99c35c81bd0be9f576c3b2438370f7f31dc65091 (patch)
tree613e5731856d9a9b9a3001540bc3ed55426ae919 /modules/strcspn
parent450feafa6c1b982e6b08bd35df9bbeb08c332e74 (diff)
downloadgnulib-99c35c81bd0be9f576c3b2438370f7f31dc65091.tar.gz
strcspn: Move AC_LIBOBJ invocations to module description.
* m4/strcspn.m4 (gl_FUNC_STRCSPN): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRCSPN invocations from here... * modules/strcspn (configure.ac): ... to here.
Diffstat (limited to 'modules/strcspn')
-rw-r--r--modules/strcspn4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/strcspn b/modules/strcspn
index 5d2be92414..f2788bbabe 100644
--- a/modules/strcspn
+++ b/modules/strcspn
@@ -15,6 +15,10 @@ Depends-on:
configure.ac:
gl_FUNC_STRCSPN
+if test $ac_cv_func_strcspn = no; then
+ AC_LIBOBJ([strcspn])
+ gl_PREREQ_STRCSPN
+fi
Makefile.am: