Kaydet (Commit) bbe19f13 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

curl: fixed internal nss configure to get nspr includes

The nspr includes aren't added when using nss-config while they are
added by pkg-config. This caused internal build to fail when nss devel
packages aren't installed on the system. Patched the configure to get it
working.

Change-Id: I86d7d56c0d6df2dbf69ba7ac2a6f930ecb4ae8fb
üst bd526254
diff -ur curl-7.26.0/configure misc/build/curl-7.26.0/configure
--- curl-7.26.0/configure 2012-07-11 10:06:15.249214153 +0200
+++ misc/build/curl-7.26.0/configure 2012-07-11 10:09:48.967225739 +0200
@@ -22779,6 +22779,13 @@
addcflags=""
version="unknown"
fi
+
+ # NSPR includes and libs are needed with nss
+ check=`nspr-config --version 2>/dev/null`
+ if test -n "$check"; then
+ addlib="$addlib `nspr-config --libs`"
+ addcflags="$addcflags `nspr-config --cflags`"
+ fi
fi
else
# Without pkg-config, we'll kludge in some defaults
......@@ -45,6 +45,7 @@ TARFILE_NAME=curl-7.26.0
TARFILE_MD5=3fa4d5236f2a36ca5c3af6715e837691
PATCH_FILES=\
curl-7.26.0.patch \
curl-7.26.0_nspr.patch \
curl-aix.patch
.IF "$(GUI)"=="WNT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment