Skip to content

Commit

Permalink
Update NSPR to NSPR_4_10_7_BETA5 to pick up the fix for bug 1043082
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : 301754d11c7d6ced30527213ef861278982fe04b
  • Loading branch information
ehsan committed Aug 8, 2014
1 parent 3e8974b commit c75f8ac
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nsprpub/TAG-INFO
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NSPR_4_10_7_BETA4
NSPR_4_10_7_BETA5
1 change: 0 additions & 1 deletion nsprpub/config/prdepend.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
*/

#error "Do not include this header file."

22 changes: 20 additions & 2 deletions nsprpub/configure
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ enable_debug_symbols
enable_win32_target
enable_symbian_target
enable_debug_rtl
enable_static_rtl
enable_n32
enable_x32
enable_64bit
Expand Down Expand Up @@ -1455,6 +1456,7 @@ Optional Features:
--enable-symbian-target=\$t
Specify symbian flavor. (WINSCW or GCCE)
--enable-debug-rtl Use the MSVC debug runtime library
--enable-static-rtl Use the MSVC static runtime library
--enable-n32 Enable n32 ABI support (IRIX only)
--enable-x32 Enable x32 ABI support (x86_64 only)
--enable-64bit Enable 64-bit support (on certain platforms)
Expand Down Expand Up @@ -2910,6 +2912,14 @@ if test "${enable_debug_rtl+set}" = set; then :
fi
# Check whether --enable-static-rtl was given.
if test "${enable_static_rtl+set}" = set; then :
enableval=$enable_static_rtl; if test "$enableval" = "yes"; then
USE_STATIC_RTL=1
fi
fi
# Check whether --enable-n32 was given.
if test "${enable_n32+set}" = set; then :
enableval=$enable_n32; if test "$enableval" = "yes"; then
Expand Down Expand Up @@ -7185,9 +7195,17 @@ $as_echo "$as_me: WARNING: Unknown version of the Microsoft (R) Manifest Tool."
fi
if test "$USE_DEBUG_RTL" = 1; then
CFLAGS="$CFLAGS -MDd"
if test -n "$USE_STATIC_RTL"; then
CFLAGS="$CFLAGS -MTd"
else
CFLAGS="$CFLAGS -MDd"
fi
else
CFLAGS="$CFLAGS -MD"
if test -n "$USE_STATIC_RTL"; then
CFLAGS="$CFLAGS -MT"
else
CFLAGS="$CFLAGS -MD"
fi
fi
if test -n "$MOZ_DEBUG"; then
Expand Down
18 changes: 16 additions & 2 deletions nsprpub/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,12 @@ AC_ARG_ENABLE(debug-rtl,
USE_DEBUG_RTL=0
fi ])

AC_ARG_ENABLE(static-rtl,
[ --enable-static-rtl Use the MSVC static runtime library],
[ if test "$enableval" = "yes"; then
USE_STATIC_RTL=1
fi ])

AC_ARG_ENABLE(n32,
[ --enable-n32 Enable n32 ABI support (IRIX only)],
[ if test "$enableval" = "yes"; then
Expand Down Expand Up @@ -2004,9 +2010,17 @@ tools are selected during the Xcode/Developer Tools installation.])
fi

if test "$USE_DEBUG_RTL" = 1; then
CFLAGS="$CFLAGS -MDd"
if test -n "$USE_STATIC_RTL"; then
CFLAGS="$CFLAGS -MTd"
else
CFLAGS="$CFLAGS -MDd"
fi
else
CFLAGS="$CFLAGS -MD"
if test -n "$USE_STATIC_RTL"; then
CFLAGS="$CFLAGS -MT"
else
CFLAGS="$CFLAGS -MD"
fi
fi

if test -n "$MOZ_DEBUG"; then
Expand Down

0 comments on commit c75f8ac

Please sign in to comment.