office-gobmx/external/curl/curl-7.26.0_nspr.patch
Khaled Hosny a777285f9b fdo#70393: move curl to a subdir of external
Change-Id: I76401636aab7d4de198912b154d6ec3da35a711d
Reviewed-on: https://gerrit.libreoffice.org/6298
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-10-18 06:50:42 +00:00

17 lines
630 B
Diff

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