projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0becae
)
Fix openssl checks
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 20 Oct 2009 14:07:18 +0000
(16:07 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 20 Oct 2009 14:07:18 +0000
(16:07 +0200)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
d53287d
..
84b66f3
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-520,8
+520,9
@@
dnl Check for OpenSSL libraries.
OPENSSL_LIBS=
if test "x$WITH_OPENSSL" = xyes; then
old_LIBS=$LIBS
+ old_LDFLAGS="$LDFLAGS"
if test "x$OPENSSL_LIB_DIR" != "x"; then
- L
IBS="-L$OPENSSL_LIB_DIR $LIBS
"
+ L
DFLAGS="$LDFLAGS -L$OPENSSL_LIB_DIR
"
fi
AC_CHECK_LIB(crypto, DH_new,
[
@@
-539,6
+540,7
@@
if test "x$WITH_OPENSSL" = xyes; then
], [])
], [])
LIBS=$old_LIBS
+ LDFLAGS="$old_LDFLAGS"
fi
AC_CHECK_LIB(ws2_32, htonl)