From de4e64c312e7f80139fa3e774d23aff6de91310e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 19 Nov 2012 00:45:41 +0000 Subject: [PATCH] neercs: added a better check for forkpty(), and moved the GL_POINTS size and texture logic to the vertex shader. --- configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8b67b2f0..23a43b4b 100644 --- a/configure.ac +++ b/configure.ac @@ -105,7 +105,12 @@ CXXFLAGS="${CXXFLAGS} -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Ws AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm") AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread") -AC_CHECK_LIB(util, forkpty, UTIL_LIBS="${UTIL_LIBS} -lutil") + +AC_CHECK_LIB(util, forkpty, + [UTIL_LIBS="${UTIL_LIBS} -lutil" + dnl Override future forkpty detection + ac_cv_func_forkpty="yes"]) +AC_CHECK_FUNCS(forkpty) dnl Are we on the PS3? ac_cv_my_have_ps3="no" @@ -356,7 +361,7 @@ AM_CONDITIONAL(USE_GTKGL, test "${ac_cv_my_have_gtkgl}" != "no") dnl Can we build neercs? -AM_CONDITIONAL(BUILD_NEERCS, test "${ac_cv_my_have_caca}" != "no" -a "${ac_cv_header_glob_h}" = "yes") +AM_CONDITIONAL(BUILD_NEERCS, test "${ac_cv_my_have_caca}" != "no") dnl Extra libraries we may need