aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-18 21:27:45 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-18 21:27:45 +0000
commit9a238e2f025a14b88e38a81345ffeb188f54095a (patch)
tree3d88df2b75dd83f7c9361df56f842d75d7c289b5
parent016b57a4e7e24f1ca490380288568927c8f2d881 (diff)
downloadpaludis-9a238e2f025a14b88e38a81345ffeb188f54095a.tar.gz
paludis-9a238e2f025a14b88e38a81345ffeb188f54095a.tar.xz
Only check for posix_openpt if we really need it
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 752c9d8..bb5bf85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,7 +232,6 @@ AC_CHECK_FUNCS([alarm], [], [AC_MSG_ERROR([I need alarm])])
AC_CHECK_FUNCS([strerror], [], [AC_MSG_ERROR([I need strerror])])
AC_CHECK_FUNCS([signal], [], [AC_MSG_ERROR([I need signal])])
AC_CHECK_FUNCS([popen], [], [AC_MSG_ERROR([I need popen])])
-AC_CHECK_FUNCS([posix_openpt], [], [AC_MSG_ERROR([I need posix_openpt])])
AC_CHECK_FUNCS([ptsname], [], [AC_MSG_ERROR([I need ptsname])])
AC_CHECK_FUNCS([grantpt], [], [AC_MSG_ERROR([I need grantpt])])
AC_CHECK_FUNCS([unlockpt], [], [AC_MSG_ERROR([I need unlockpt])])
@@ -530,6 +529,7 @@ AC_ARG_ENABLE([gtk],
AC_MSG_RESULT($enable_gtk)
if test "x$enable_gtk" = "xyes"; then
+ AC_CHECK_FUNCS([posix_openpt], [], [AC_MSG_ERROR([I need posix_openpt])])
GLIBMM_LIBDIR=`pkg-config --variable=libdir glibmm-2.4`
GMMPROC_DIR=$GLIBMM_LIBDIR/glibmm-2.4/proc
AC_SUBST(GMMPROC_DIR)