On Nov 11, 2006, at 4:48 AM, Daniel Stenberg wrote:
> Hey
>
> The configure script uses pkg-config wrongly and thus builds a
> weird CFLAGS
> for the OpenSSL include path. This patch cures the problem for me
> and I
> believe it is the better way to use pkg-config for this purpose:
>
> diff -u -r1.26 configure.in
> --- configure.in 22 Jun 2006 18:50:26 -0000 1.26
> +++ configure.in 11 Nov 2006 09:46:13 -0000
> @@ -85,7 +85,7 @@
> 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
There is a proposed patch already sitting in "patche, http://
sourceforge.net/tracker/index.php?
func=detail&aid=1458810&group_id=125852&atid=703944 . Is that more
complete?
Jim
-- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- "Eagles may soar, but weasels don't get sucked into jet engines" -- AnonReceived on 2006-11-11