2008-03-15 13:40:06 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.3 2008/03/15 17:40:06 ajacoutot Exp $
|
2007-04-27 17:10:42 -04:00
|
|
|
--- configure.orig Fri Jun 2 11:21:34 2006
|
2008-03-15 13:40:06 -04:00
|
|
|
+++ configure Thu Mar 6 10:55:13 2008
|
|
|
|
@@ -3924,7 +3924,11 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2007-04-27 17:10:42 -04:00
|
|
|
ac_status=$?
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
(exit $ac_status); }; }; then
|
|
|
|
- PGSQL_LIBS="-lpq -lcrypt ${PGSQL_LIBS}"
|
2007-05-22 07:16:12 -04:00
|
|
|
+ if test `uname -s` = OpenBSD ; then
|
|
|
|
+ PGSQL_LIBS="-lpq -lcrypto ${PGSQL_LIBS}"
|
|
|
|
+ else
|
|
|
|
+ PGSQL_LIBS="-lpq -lcrypt ${PGSQL_LIBS}"
|
|
|
|
+ fi
|
2007-04-27 17:10:42 -04:00
|
|
|
PGSQL_LDFLAGS="-L$try"
|
|
|
|
|
|
|
|
|