5c485413e2
- uses libtool - add DragonFly support - use pkgsrc expat and apr - bump revision
45 lines
1.6 KiB
Text
45 lines
1.6 KiB
Text
$NetBSD: patch-as,v 1.1 2006/04/30 22:28:44 joerg Exp $
|
|
|
|
--- configure.orig 2005-02-02 18:24:14.000000000 +0000
|
|
+++ configure
|
|
@@ -2029,14 +2029,6 @@ echo $ac_n "${nl}Configuring libmetrics
|
|
cd srclib/libmetrics && ./configure --cache-file=$ganglia_popdir/config.cache
|
|
cd $ganglia_popdir
|
|
|
|
-echo $ac_n "${nl}Configuring expat ...${nl}"
|
|
-cd srclib/expat && ./configure --cache-file=$ganglia_popdir/config.cache
|
|
-cd $ganglia_popdir
|
|
-
|
|
-echo $ac_n "${nl}Configuring apr ...${nl}"
|
|
-cd srclib/apr && ./configure --cache-file=$ganglia_popdir/config.cache
|
|
-cd $ganglia_popdir
|
|
-
|
|
echo $ac_n "${nl}Configuring libconfuse ...${nl}"
|
|
cd srclib/confuse && ./configure --cache-file=$ganglia_popdir/config.cache --disable-nls
|
|
cd $ganglia_popdir
|
|
@@ -18734,13 +18726,13 @@ if test "${enable_memcheck+set}" = set;
|
|
fi;
|
|
|
|
|
|
-echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
|
|
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
|
|
+echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
|
|
+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
#line $LINENO "configure"
|
|
/* confdefs.h. */
|
|
@@ -18793,7 +18785,7 @@ if test $ac_cv_lib_pthread_pthread_creat
|
|
#define HAVE_LIBPTHREAD 1
|
|
_ACEOF
|
|
|
|
- LIBS="-lpthread $LIBS"
|
|
+ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
|
|
fi
|
|
|