cc0ed87da7
-lc_r, it gets dropped by libtool.
48 lines
1.8 KiB
Text
48 lines
1.8 KiB
Text
$NetBSD: patch-aa,v 1.2 2006/03/13 17:32:26 joerg Exp $
|
|
|
|
--- configure.orig 2003-11-05 22:02:32.000000000 +0000
|
|
+++ configure
|
|
@@ -11554,7 +11554,7 @@ _ACEOF
|
|
*)
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
-#define LIBGLADE_LIB "libglade.so.0"
|
|
+#define LIBGLADE_LIB "libglade.so"
|
|
_ACEOF
|
|
|
|
;;
|
|
@@ -12206,13 +12206,13 @@ echo "${ECHO_T}$ac_cv_lib_pthreads_pthre
|
|
if test $ac_cv_lib_pthreads_pthread_create = yes; then
|
|
PTHREAD_LIB="-lpthreads"
|
|
else
|
|
- echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
|
|
-echo $ECHO_N "checking for pthread_create in -lc_r... $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_c_r_pthread_create+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lc_r $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
#line $LINENO "configure"
|
|
#include "confdefs.h"
|
|
@@ -12262,7 +12262,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
|
|
if test $ac_cv_lib_c_r_pthread_create = yes; then
|
|
- PTHREAD_LIB="-lc_r"
|
|
+ PTHREAD_LIB="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
else
|
|
echo "$as_me:$LINENO: checking for pthread_create" >&5
|
|
echo $ECHO_N "checking for pthread_create... $ECHO_C" >&6
|
|
@@ -12808,6 +12808,8 @@ do
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
+ # Avoid regenerating for rechecks on pkgsrc
|
|
+ exit 0
|
|
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
|
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
|
_ACEOF
|