summaryrefslogtreecommitdiff
path: root/build/autoconf
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-11-20 23:59:44 -0500
committerMatt A. Tobin <email@mattatobin.com>2021-11-20 23:59:44 -0500
commit66f13a2eb66dbdfa7ec8ae0089e9c2bdffd1245b (patch)
tree7f8e96ff686d94d1ba8c6786a0455ac8565a1067 /build/autoconf
parentc8761155bc5b7869cf10d76da68573567b58e035 (diff)
downloadaura-central-66f13a2eb66dbdfa7ec8ae0089e9c2bdffd1245b.tar.gz
[NSS/GYP] Transfer build configuration to gyp
Diffstat (limited to 'build/autoconf')
-rw-r--r--build/autoconf/nspr-build.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/build/autoconf/nspr-build.m4 b/build/autoconf/nspr-build.m4
index b53fb4d37..2858d1f2b 100644
--- a/build/autoconf/nspr-build.m4
+++ b/build/autoconf/nspr-build.m4
@@ -138,6 +138,8 @@ if test -n "$NSPR_CFLAGS" -o -n "$NSPR_LIBS"; then
,
AC_MSG_ERROR([system NSPR does not support PR_UINT64 or including prtypes.h does not provide it]))
CFLAGS=$_SAVE_CFLAGS
+ NSPR_INCLUDE_DIR=`echo ${NSPR_CFLAGS} | sed -e 's/.*-I\([^ ]*\).*/\1/'`
+ NSPR_LIB_DIR=`echo ${NSPR_LIBS} | sed -e 's/.*-L\([^ ]*\).*/\1/'`
elif test -z "$JS_POSIX_NSPR"; then
NSPR_INCLUDE_DIR="${DIST}/include/nspr"
NSPR_CFLAGS="-I${NSPR_INCLUDE_DIR}"