bin/lo-pack-sources: fix to work with submodules
[LibreOffice.git] / curl / curl-7.26.0_nspr.patch
blob4eee75e2c62cb51cafd62f31d0a72688c1dd6ab7
1 diff -ur curl-7.26.0/configure misc/build/curl-7.26.0/configure
2 --- curl-7.26.0/configure 2012-07-11 10:06:15.249214153 +0200
3 +++ misc/build/curl-7.26.0/configure 2012-07-11 10:09:48.967225739 +0200
4 @@ -22779,6 +22779,13 @@
5 addcflags=""
6 version="unknown"
7 fi
9 + # NSPR includes and libs are needed with nss
10 + check=`nspr-config --version 2>/dev/null`
11 + if test -n "$check"; then
12 + addlib="$addlib `nspr-config --libs`"
13 + addcflags="$addcflags `nspr-config --cflags`"
14 + fi
16 else
17 # Without pkg-config, we'll kludge in some defaults