summaryrefslogtreecommitdiff
path: root/modules/isapipe
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-09 00:39:35 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:12 +0200
commitcfe70f65aabf1d16bcd9688b662407b20286821d (patch)
tree0e8eaa87f8e0cc6475f147fcdea2b96e8220adb4 /modules/isapipe
parentda0c838e760661390dd503195fb5b2c7e8a5ddd7 (diff)
downloadgnulib-cfe70f65aabf1d16bcd9688b662407b20286821d.tar.gz
isapipe: Move AC_LIBOBJ invocations to module description.
* m4/isapipe.m4 (gl_ISAPIPE): Set HAVE_ISAPIPE. Move AC_LIBOBJ and gl_PREREQ_ISAPIPE invocations from here... * modules/isapipe (configure.ac): ... to here. (Depends-on): Update condition.
Diffstat (limited to 'modules/isapipe')
-rw-r--r--modules/isapipe10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/isapipe b/modules/isapipe
index ee1c2202d6..cc62ea8ce7 100644
--- a/modules/isapipe
+++ b/modules/isapipe
@@ -7,12 +7,16 @@ lib/isapipe.h
m4/isapipe.m4
Depends-on:
-stdbool [test $ac_cv_func_isapipe = no]
-sys_stat [test $ac_cv_func_isapipe = no]
-unistd [test $ac_cv_func_isapipe = no]
+stdbool [test $HAVE_ISAPIPE = 0]
+sys_stat [test $HAVE_ISAPIPE = 0]
+unistd [test $HAVE_ISAPIPE = 0]
configure.ac:
gl_ISAPIPE
+if test $HAVE_ISAPIPE = 0; then
+ AC_LIBOBJ([isapipe])
+ gl_PREREQ_ISAPIPE
+fi
Makefile.am: