aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-07-17 15:19:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-07-17 15:19:56 +0000
commit736db44524864225b719eda2262cd4b2a940304b (patch)
tree45135b7d62c42e497b90b06bb7d4c09e29997ee7 /configure.in
parent7d1fc7b9e3f5fba4c1f0d09f841a08ca94dd5e8f (diff)
downloadfetchmail-736db44524864225b719eda2262cd4b2a940304b.tar.gz
fetchmail-736db44524864225b719eda2262cd4b2a940304b.tar.bz2
fetchmail-736db44524864225b719eda2262cd4b2a940304b.zip
Yet another round of fixes.
svn path=/trunk/; revision=3819
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 6b86ebd0..197a0410 100644
--- a/configure.in
+++ b/configure.in
@@ -601,7 +601,7 @@ then
then
### ssl.h found under openssl. Use openssl configuration preferentially
echo "Enabling OpenSSL support in $with_ssl"
- CEFLAGS="$CEFLAGS -I$with_ssl/include -I$with_ssl/include/openssl"
+ CEFLAGS="$CEFLAGS -I$with_ssl/include/openssl"
### OpenBSD comes with ssl headers
elif test -r /usr/include/ssl/ssl.h
then
@@ -609,7 +609,7 @@ then
CEFLAGS="$CEFLAGS -I/usr/include/ssl"
else
echo "Enabling SSLeay support in $with_ssl"
- CEFLAGS="$CEFLAGS -I$with_ssl/include"
+ test "$with_ssl" != "/usr" && CEFLAGS="$CEFLAGS -I$with_ssl/include"
fi
LDEFLAGS="$LDEFLAGS -L$with_ssl/lib"
LIBS="$LIBS -lssl -lcrypto"
@@ -668,7 +668,8 @@ x)
do
if test -f "$dir/include/hesiod.h"
then
- test "$dir" != "/usr" && CEFLAGS="$CEFLAGS -DHESIOD -I$dir/include"
+ CEFLAGS="$CEFLAGS -DHESIOD"
+ test "$dir" != "/usr" && CEFLAGS="$CEFLAGS -I$dir/include"
LDEFLAGS="$LDEFLAGS -L$dir/lib"
LIBS="$LIBS -lhesiod"
with_hesiod=$dir
@@ -678,7 +679,8 @@ x)
;;
*)
# Path given
- CEFLAGS="$CEFLAGS -DHESIOD -I$with_hesiod/include"
+ CEFLAGS="$CEFLAGS -DHESIOD"
+ test "$with_hesiod" != "/usr" && CEFLAGS="$CEFLAGS -I$with_hesiod/include"
LDEFLAGS="$LDEFLAGS -L$with_hesiod/lib"
LIBS="$LIBS -lhesiod"
;;