NEWS.stable: log cherry-pick [ae006b4]->[4a9738e] strtoimax: Avoid link error on...
[gnulib.git] / modules / grantpt
index 589360d..c5e76f0 100644 (file)
@@ -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: