NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / unlockpt
index 4eadff8..c917964 100644 (file)
@@ -9,10 +9,15 @@ m4/unlockpt.m4
 Depends-on:
 stdlib
 extensions
-ptsname
+fcntl-h         [test $HAVE_UNLOCKPT = 0]
+ptsname         [test $HAVE_UNLOCKPT = 0]
 
 configure.ac:
 gl_FUNC_UNLOCKPT
+if test $HAVE_UNLOCKPT = 0; then
+  AC_LIBOBJ([unlockpt])
+  gl_PREREQ_UNLOCKPT
+fi
 gl_STDLIB_MODULE_INDICATOR([unlockpt])
 
 Makefile.am:
@@ -21,7 +26,7 @@ Include:
 <stdlib.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Bruno Haible