aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 479d3e1..56d9700 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -413,6 +413,9 @@ if test x"$with_ssl" != xno; then
do
if test -f "$dir/include/openssl/ssl.h"; then
CFLAGS="$CFLAGS -I$dir/include/openssl"
+ if test "$dir" != "/usr"; then
+ CFLAGS="$CFLAGS -I$dir/include"
+ fi
elif test "$dir" != "/usr" -a -f "$dir/include/ssl.h"; then
CFLAGS="$CFLAGS -I$dir/include"
fi