From 7d9865f80c74bf70e2451486fb786944b3f126dd Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Wed, 16 Jan 2002 08:45:57 +0000 Subject: [PATCH] Oops. Missed a file for bug 92029 --- configure.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.in b/configure.in index 39e19caee64..709ae53e91e 100644 --- a/configure.in +++ b/configure.in @@ -4543,6 +4543,19 @@ if test -z "$MOZ_NATIVE_NSPR"; then rm -f config/autoconf.mk.bak fi +# Hack to make sure that mozilla-config has the proper nspr dependencies +if test -z "$MOZ_NATIVE_NSPR"; then + FULL_NSPR_CFLAGS=`./nsprpub/config/nspr-config --cflags` + FULL_NSPR_LIBS=`./nsprpub/config/nspr-config --libs` +else + FULL_NSPR_CFLAGS=`${NSPR_CONFIG} --cflags` + FULL_NSPR_LIBS=`${NSPR_CONFIG} --libs` +fi +mv build/unix/mozilla-config build/unix/mozilla-config.bak +cat build/unix/mozilla-config.bak | sed -e "s|@FULL_NSPR_LIBS@|${FULL_NSPR_LIBS}|" -e "s|@FULL_NSPR_CFLAGS@|${FULL_NSPR_CFLAGS}|" > build/unix/mozilla-config +rm -f build/unix/mozilla-config.bak + + # if we're building the LDAP XPCOM component, we need to build # the c-sdk first. #