From 7b1e232e45dc82a511525a76b2876abe5455a6ba Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Thu, 1 May 2003 01:43:27 +0000 Subject: [PATCH] Fix tests to use -z instead of ! Use -g for debugging on OSF/1 builds instead of -g3 Thanks to Jim Brown for the patches. Bug #203796 & Bug #203835 r=cls a=sspitzer --- configure | 6 +++--- configure.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 436157c04d99..dc256985f924 100755 --- a/configure +++ b/configure @@ -5378,7 +5378,7 @@ alpha*-*-osf*) if test "$GNU_CC"; then DSO_LDOPTS='-shared -Wl,-soname -Wl,$@' else - MOZ_DEBUG_FLAGS='-g3' + MOZ_DEBUG_FLAGS='-g' ASFLAGS='-I$(topsrcdir)/xpcom/reflect/xptcall/public -g' CFLAGS="$CFLAGS -ieee" CXXFLAGS="$CXXFLAGS "'-noexceptions -ieee -ptr $(DIST)/cxx_repository' @@ -12150,7 +12150,7 @@ fi MOZ_DEBUG=1 -if test ! "$MOZ_DEBUG_FLAGS" +if test -z "$MOZ_DEBUG_FLAGS" then case "$target" in *-irix*) @@ -12204,7 +12204,7 @@ MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DTRACING" MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED" MOZ_OPTIMIZE= -if test ! "$MOZ_OPTIMIZE_FLAGS"; then +if test -z "$MOZ_OPTIMIZE_FLAGS"; then MOZ_OPTIMIZE_FLAGS="-O" fi diff --git a/configure.in b/configure.in index 71ea06cc618f..17916144028c 100644 --- a/configure.in +++ b/configure.in @@ -1337,7 +1337,7 @@ alpha*-*-osf*) if test "$GNU_CC"; then DSO_LDOPTS='-shared -Wl,-soname -Wl,$@' else - MOZ_DEBUG_FLAGS='-g3' + MOZ_DEBUG_FLAGS='-g' ASFLAGS='-I$(topsrcdir)/xpcom/reflect/xptcall/public -g' CFLAGS="$CFLAGS -ieee" CXXFLAGS="$CXXFLAGS "'-noexceptions -ieee -ptr $(DIST)/cxx_repository' @@ -3840,7 +3840,7 @@ dnl = bug reports. dnl ======================================================== MOZ_DEBUG=1 -if test ! "$MOZ_DEBUG_FLAGS" +if test -z "$MOZ_DEBUG_FLAGS" then case "$target" in *-irix*) @@ -3888,7 +3888,7 @@ dnl ======================================================== dnl = Enable code optimization. OFF by default. dnl ======================================================== MOZ_OPTIMIZE= -if test ! "$MOZ_OPTIMIZE_FLAGS"; then +if test -z "$MOZ_OPTIMIZE_FLAGS"; then MOZ_OPTIMIZE_FLAGS="-O" fi