From 67047cdb509d8be4bf543c2a17b7f4f10f65e157 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 27 Mar 2003 17:18:34 +0000 Subject: [w3m-dev 03836] CFLAGS for SSL in configure * acinclude.m4 (AC_W3M_SSL): add -I$dir/include to CFLAGS From: Hironori SAKAMOTO --- acinclude.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'acinclude.m4') 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 -- cgit v1.2.3