1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/security/stunnel/files/patch-ac
Kris Kennaway 9e7bb76189 Fix build.
Submitted by:	Jim Bloom <bloom@acm.org>
2000-02-27 06:21:10 +00:00

114 lines
3.5 KiB
Plaintext

*** configure.orig Thu Feb 10 06:18:18 2000
--- configure Fri Feb 25 16:29:14 2000
***************
*** 9,15 ****
# Defaults:
ac_help=
! ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
--with-random=FILE read randomness from FILE (default=/dev/urandom)"
--- 9,15 ----
# Defaults:
ac_help=
! ac_default_prefix=%%LOCALBASE%%
# Any additions from configure.in:
ac_help="$ac_help
--with-random=FILE read randomness from FILE (default=/dev/urandom)"
***************
*** 1051,1064 ****
echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:1056: checking for pthread_create in -lpthread" >&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"
cat > conftest.$ac_ext <<EOF
#line 1064 "configure"
#include "confdefs.h"
--- 1051,1064 ----
echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
! echo "configure:1056: checking for pthread_create in -lc_r" >&5
! ac_lib_var=`echo c_r'_'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="-lc_r $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1064 "configure"
#include "confdefs.h"
***************
*** 1086,1098 ****
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
! LIBS="-lpthread $LIBS"
else
echo "$ac_t""no" 1>&6
--- 1086,1098 ----
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
! LIBS="-lc_r $LIBS"
else
echo "$ac_t""no" 1>&6
***************
*** 1174,1180 ****
echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
echo "configure:1177: checking for SSL directory" >&5
! for dir in ${prefix} /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do
ssldir="$dir"
if test -f "$dir/include/openssl/ssl.h"; then
cat >> confdefs.h <<\EOF
--- 1174,1180 ----
echo $ac_n "checking for SSL directory""... $ac_c" 1>&6
echo "configure:1177: checking for SSL directory" >&5
! for dir in /usr ${prefix} /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local; do
ssldir="$dir"
if test -f "$dir/include/openssl/ssl.h"; then
cat >> confdefs.h <<\EOF
***************
*** 1199,1205 ****
echo $ac_n "checking for RSAref library""... $ac_c" 1>&6
echo "configure:1201: checking for RSAref library" >&5
saved_LIBS="$LIBS"
! LIBS="$saved_LIBS -lRSAglue -lrsaref"
cat > conftest.$ac_ext <<EOF
#line 1205 "configure"
#include "confdefs.h"
--- 1199,1205 ----
echo $ac_n "checking for RSAref library""... $ac_c" 1>&6
echo "configure:1201: checking for RSAref library" >&5
saved_LIBS="$LIBS"
! LIBS="$saved_LIBS -lRSAglue -L%%LOCALBASE%%/lib -lrsaref"
cat > conftest.$ac_ext <<EOF
#line 1205 "configure"
#include "confdefs.h"