head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.10 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.8 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.4 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.2 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.2.0.10 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.8 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.6 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.2 pkgsrc-2008Q1:1.1.0.20 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.18 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.16 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.14 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.12 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.10 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.8 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.6 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.4 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2009.02.09.21.09.22; author joerg; state dead; branches; next 1.2; 1.2 date 2008.05.09.10.51.45; author tnn; state Exp; branches; next 1.1; 1.1 date 2005.11.08.18.14.49; author joerg; state Exp; branches; next ; desc @@ 1.3 log @Remove Python 2.1 support. @ text @--- configure.orig 2001-12-27 23:55:46 +0200 +++ configure 2008-05-09 12:21:21 +0300 @@@@ -2966,6 +2966,7 @@@@ then else LDSHARED="ld -Bshareable" fi;; + DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";; FreeBSD*) if [ "`$CC -dM -E - &6 - echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:3528: checking for pthread_create in -lpthread" >&5 + echo $ac_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}""... $ac_c" 1>&6 +echo "configure:3528: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lpthread $LIBS" +LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" cat > conftest.$ac_ext <&6 @@@@ -3957,9 +3958,10 @@@@ else } main() { pthread_attr_t attr; + pthread_t thread; if (pthread_attr_init(&attr)) exit(-1); if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1); - if (pthread_create(NULL, &attr, foo, NULL)) exit(-1); + if (pthread_create(&thread, &attr, foo, NULL)) exit(-1); exit(0); } EOF @ 1.2 log @PR pkg/38617: Hasso Tepper: Don't call pthread_create() with NULL as the first argument in configure. Fixes hang on DragonFlyBSD. @ text @@ 1.1 log @Add DragonFly support. Use PTHREAD_* variables to find pthread_create and hope it doesn't break anything. @ text @d1 2 a2 4 $NetBSD$ --- configure.orig 2001-12-27 21:55:46.000000000 +0000 +++ configure d56 12 @