Doc update.
[pspp] / modules / grantpt
index a5d9eb40342cb08678e0334f2f224c28f431a760..c5e76f025547d63b1037557ea25451bc7b8feaf9 100644 (file)
@@ -8,12 +8,16 @@ m4/grantpt.m4
 Depends-on:
 stdlib
 extensions
-pt_chown
-waitpid
-configmake
+pt_chown        [test $HAVE_GRANTPT = 0]
+waitpid         [test $HAVE_GRANTPT = 0]
+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: