From: Nicholas Nethercote Date: Sat, 18 Oct 2003 14:05:42 +0000 (+0000) Subject: Remove the configure-time NPTL test, the results of which are no longer used. X-Git-Tag: svn/VALGRIND_2_1_0~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b04cbba29bc7c2e4294c42f2a39e42782eefd1e;p=thirdparty%2Fvalgrind.git Remove the configure-time NPTL test, the results of which are no longer used. MERGE TO STABLE, if the corresponding change to valgrind.in is also merged. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1951 --- diff --git a/configure.in b/configure.in index f3f032c17f..3fe1cd8a51 100644 --- a/configure.in +++ b/configure.in @@ -281,43 +281,6 @@ EOF fi -AC_MSG_CHECKING([if this is an NPTL-based system]) -safe_LIBS="$LIBS" -LIBS="$LIBS -lpthread" -AC_TRY_RUN([ -#include -#include -int main (int argc, char * argv []) -{ - int ret; - pthread_mutexattr_t mutexattr; - ret = pthread_mutexattr_init (&mutexattr); - if (ret == 0) { - ret = pthread_mutexattr_setpshared(&mutexattr, PTHREAD_PROCESS_SHARED); - if (ret == 0) /* nptl */ - return 0; - else /* not nptl */ - return 1; - } - return 1; -} -], -[ - NPTL_THREADING="yes" - AC_MSG_RESULT([yes]) -], -[ - NPTL_THREADING="no" - AC_MSG_RESULT([no]) -], -[ - AC_MSG_RESULT([couldn't run test program]) - NPTL_THREADING="no" -]) -LIBS=$safe_LIBS - -AC_SUBST(NPTL_THREADING) - # check if the GNU as supports CFI directives AC_MSG_CHECKING([if gas accepts .cfi]) AC_TRY_COMPILE(, [