summaryrefslogtreecommitdiff
path: root/modules/grantpt
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-08 19:38:45 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:09 +0200
commitb7640ddbfdd6d5f6e71b9bc1baabfae39aa596f0 (patch)
tree5fd5412b92a714ff7ae55aa8aa90e046d2037bb4 /modules/grantpt
parente2612b9372065ea4a2216af8cb46dc2d91fa1dd1 (diff)
downloadgnulib-b7640ddbfdd6d5f6e71b9bc1baabfae39aa596f0.tar.gz
grantpt: Move AC_LIBOBJ invocations to module description.
* m4/grantpt.m4 (gl_FUNC_GRANTPT): Move AC_LIBOBJ and gl_PREREQ_GRANTPT invocations from here... * modules/grantpt (configure.ac): ... to here.
Diffstat (limited to 'modules/grantpt')
-rw-r--r--modules/grantpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/grantpt b/modules/grantpt
index 589360d175..c5e76f0255 100644
--- a/modules/grantpt
+++ b/modules/grantpt
@@ -14,6 +14,10 @@ configmake [test $HAVE_GRANTPT = 0]
configure.ac:
gl_FUNC_GRANTPT
+if test $HAVE_GRANTPT = 0; then
+ AC_LIBOBJ([grantpt])
+ gl_PREREQ_GRANTPT
+fi
gl_STDLIB_MODULE_INDICATOR([grantpt])
Makefile.am: