[tor-commits] [tor-browser/tor-browser-24.1.1esr-1] Bug 10252: backout of Mozilla's #872649 as this breaks TBB on Windows
mikeperry at torproject.org
mikeperry at torproject.org
Mon Dec 9 04:29:41 UTC 2013
commit a03b3123483bc1e79cf9da7a491ab4b9340cc41e
Author: Georg Koppen <g.koppen at jondos.de>
Date: Sun Dec 8 13:51:49 2013 +0100
Bug 10252: backout of Mozilla's #872649 as this breaks TBB on Windows
---
configure.in | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/configure.in b/configure.in
index 7569b26..e4e78d2 100644
--- a/configure.in
+++ b/configure.in
@@ -9400,29 +9400,20 @@ if test -z "$MOZ_NATIVE_NSPR"; then
fi
ac_configure_args="$ac_configure_args $NSPR_CONFIGURE_ARGS"
- # Save these, so we can mess with them for the subconfigure ..
- _SAVE_CFLAGS="$CFLAGS"
- _SAVE_CPPFLAGS="$CPPFLAGS"
- _SAVE_LDFLAGS="$LDFLAGS"
-
if test -n "$MOZ_LINKER" -a "$ac_cv_func_dladdr" = no ; then
# dladdr is supported by the new linker, even when the system linker doesn't
# support it. Trick nspr into using dladdr when it's not supported.
+ _SAVE_CPPFLAGS="$CPPFLAGS"
export CPPFLAGS="-include $_topsrcdir/mozglue/linker/dladdr.h $CPPFLAGS"
fi
+ _SAVE_LDFLAGS="$LDFLAGS"
export LDFLAGS="$LDFLAGS $NSPR_LDFLAGS"
- export CFLAGS="$CFLAGS $MOZ_FRAMEPTR_FLAGS"
-
AC_OUTPUT_SUBDIRS(nsprpub)
-
- # .. and restore them
- unset CFLAGS
- unset CPPFLAGS
- unset LDFLAGS
- CFLAGS="$_SAVE_CFLAGS"
- CPPFLAGS="$_SAVE_CPPFLAGS"
LDFLAGS="$_SAVE_LDFLAGS"
-
+ if test -n "$MOZ_LINKER" -a "$ac_cv_func_dladdr" = no; then
+ unset CPPFLAGS
+ CPPFLAGS="$_SAVE_CFLAGS"
+ fi
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
fi
More information about the tor-commits
mailing list