Ticket #21947: patch-configure

File patch-configure, 1.4 KB (added by asmarton@…, 15 years ago)

Updated patch which fixed building

Line 
1--- configure.orig      2004-06-30 01:04:12.000000000 -0700
2+++ configure   2008-01-08 23:40:58.000000000 -0800
3@@ -5036,7 +5036,7 @@
4   echo "$as_me:$LINENO: checking for libssl" >&5
5 echo $ECHO_N "checking for libssl... $ECHO_C" >&6
6   for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
7-   if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
8+   if test -r "${p}/libssl.a" -o -r "${p}/libssl.dylib" ; then
9     OPENSSL_LDFLAGS="-L${p}"
10     echo "$as_me:$LINENO: result: found in ${p}" >&5
11 echo "${ECHO_T}found in ${p}" >&6
12@@ -5328,7 +5328,7 @@
13   echo "$as_me:$LINENO: checking for pam library" >&5
14 echo $ECHO_N "checking for pam library... $ECHO_C" >&6
15   for p in `eval "echo {${PAMLOCATIONS}}{/lib,/lib64}"` ; do
16-   if test -r "${p}/libpam.a" -o -r "${p}/libpam.so" ; then
17+   if test -r "${p}/libpam.a" -o -r "${p}/libpam.dylib" ; then
18     PAM_LDFLAGS="-L${p}"
19     echo "$as_me:$LINENO: result: found in ${p}" >&5
20 echo "${ECHO_T}found in ${p}" >&6
21@@ -5447,7 +5447,7 @@
22 
23 
24 
25- CCLIENTLOCATIONS="/usr,/usr/local"
26+ CCLIENTLOCATIONS="/usr,/usr/local,/opt/local"
27  HAVE_CCLIENT="no"
28  CCLIENT_LIBS=""
29  CCLIENT_INCLUDES=""
30@@ -5496,8 +5496,8 @@
31    { (exit 1); exit 1; }; }
32 
33   else
34-   SOP=".so,.a"
35-   test "${PREFER_SO}" = "no" && SOP=".a,.so"
36+   SOP=".dylib,.a"
37+   test "${PREFER_SO}" = "no" && SOP=".a,.dylib"
38 
39             echo "$as_me:$LINENO: checking for c-client library" >&5
40 echo $ECHO_N "checking for c-client library... $ECHO_C" >&6