* configure.in: Check posix_openpt() first and fallback to

GNU-specific getpt() only if needed.
This commit is contained in:
Pavel Roskin 2003-07-21 23:29:29 +00:00
parent 0ec650da9a
commit ff144aca4d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-21 Pavel Roskin <proski@gnu.org>
* configure.in: Check posix_openpt() first and fallback to
GNU-specific getpt() only if needed.
2003-06-29 David Sterba <dave@jikos.cz>
* lib/mc.hint.cs: Typo fixes.

View File

@ -186,7 +186,7 @@ AC_CHECK_FUNCS([strerror statfs strftime getsid \
dnl
dnl getpt is a GNU Extension (glibc 2.1.x)
dnl
AC_CHECK_FUNCS(getpt)
AC_CHECK_FUNCS(posix_openpt, , [AC_CHECK_FUNCS(getpt)])
AC_CHECK_FUNCS(grantpt, , [AC_CHECK_LIB(pt, grantpt)])
dnl replacing lstat with statlstat on sco makes it more portable between