From 1854b4536f77a4a309e6a586b608ddf90ae5b9c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Nov 2006 10:26:11 +0000 Subject: [PATCH] Use pkg-config --cflags-only-I when getting the include files necessary to build with OpenSSL. Previous approach caused a bad compiler option get set. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 19a8e83..56d2d34 100644 --- a/configure.in +++ b/configure.in @@ -85,7 +85,7 @@ if test "$found_openssl" = "no" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists found_openssl=yes pkgcfg_openssl=yes OPENSSL_LIBLINE=`$PKG_CONFIG --libs openssl` - OPENSSL_INCLINE=`$PKG_CONFIG --variable=includedir openssl` + OPENSSL_INCLINE=`$PKG_CONFIG --cflags-only-I openssl` AC_MSG_RESULT([Using paths from pkg-config]) fi