X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Funlockpt;h=c91796425dc1ed67b12a9b68c3a7589a104802fb;hb=6b8f1dd1a21ce49319795391e21adf645b64db3c;hp=4eadff85214da616d5c6158d2f0384fb2b2562ac;hpb=e6c527d59af1fd07e33830f72c8c93e31cfd3738;p=gnulib.git diff --git a/modules/unlockpt b/modules/unlockpt index 4eadff852..c91796425 100644 --- a/modules/unlockpt +++ b/modules/unlockpt @@ -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: License: -LGPL +LGPLv2+ Maintainer: Bruno Haible