X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/21895193b664a403179fcd8eee379b9b371084b5..8a76b2bdc2f9c87a16b259ecb4398d433551aa6d:/configure.ac diff --git a/configure.ac b/configure.ac index cd23764f5..a6386f056 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_CONFIG_AUX_DIR(buildlib) AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in) PACKAGE="apt" -PACKAGE_VERSION="1.2.8" +PACKAGE_VERSION="1.3~pre3+cmake1" PACKAGE_MAIL="APT Development Team " AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE") AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"$PACKAGE_VERSION") @@ -55,12 +55,12 @@ SOCKETLIBS="$LIBS" AC_SUBST(SOCKETLIBS) LIBS="$SAVE_LIBS" -dnl Checks for pthread -- disabled due to glibc bugs jgg -dnl AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"]) +dnl Checks for pthread +AC_CHECK_LIB(pthread, pthread_create,[AC_DEFINE(HAVE_PTHREAD) PTHREADLIB="-lpthread"]) AC_SUBST(PTHREADLIB) -dnl if test "$PTHREADLIB" != "-lpthread"; then -dnl AC_MSG_ERROR(failed: I need posix threads, pthread) -dnl fi +if test "$PTHREADLIB" != "-lpthread"; then + AC_MSG_ERROR(failed: I need posix threads, pthread) +fi dnl Check for BDB saveLIBS="$LIBS" @@ -188,9 +188,6 @@ AC_SUBST(HAVE_GETRESGID) AC_SUBST(HAVE_SETRESUID) AC_SUBST(HAVE_SETRESGID) -AC_CHECK_FUNC(ptsname_r) -AC_SUBST(HAVE_PTSNAME_R) - dnl Check for doxygen AC_PATH_PROG(DOXYGEN, doxygen)