this fixes the same problem which was fixed by gpg-1.4.7: depending on use, additional text could get through undetected this gpgme uses gpg in a save way -- since we have gpg-1.4.7 in pkgsrc this is kindo belt-and-suspender, but anyway...
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
$NetBSD: patch-ac,v 1.6 2007/03/23 20:04:13 drochner Exp $
|
|
|
|
--- configure.orig 2007-03-05 11:14:49.000000000 +0100
|
|
+++ configure
|
|
@@ -21575,12 +21575,12 @@ _ACEOF
|
|
|
|
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 $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
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -22093,7 +22093,7 @@ fi
|
|
|
|
# Checks for header files.
|
|
|
|
-for ac_header in sys/select.h
|
|
+for ac_header in rfuncs.h sys/select.h
|
|
do
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
@@ -24986,7 +24986,7 @@ IFS=$as_save_IFS
|
|
esac
|
|
fi
|
|
GPGSM=$ac_cv_path_GPGSM
|
|
-if test -n "$GPGSM"; then
|
|
+if test "$GPGSM" != no; then
|
|
{ echo "$as_me:$LINENO: result: $GPGSM" >&5
|
|
echo "${ECHO_T}$GPGSM" >&6; }
|
|
else
|