diff options
author | seawood%netscape.com <devnull@localhost> | 2003-04-18 19:08:15 +0000 |
---|---|---|
committer | seawood%netscape.com <devnull@localhost> | 2003-04-18 19:08:15 +0000 |
commit | 5d03c1992f84fbc62a40b46b5ddb4a5f3f6e56db (patch) | |
tree | e3502e8d4cf146136cb25c11bc3e9be20e879456 | |
parent | 3deb8e51e920b3aa0b9c071f08b4ad8aee0bdc47 (diff) | |
download | nspr-hg-5d03c1992f84fbc62a40b46b5ddb4a5f3f6e56db.tar.gz |
Fix x86 checks so that they work for xeon processors
Bug #199343 r=wtc
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 8 insertions, 8 deletions
@@ -2991,7 +2991,7 @@ EOF PR_MD_ARCH_DIR=beos RESOLVE_LINK_SYMBOLS=1 case "${target_cpu}" in - i?86) + i*86) _OPTIMIZE_FLAGS=-O2 _DEBUG_FLAGS='-gdwarf-2 -O0' MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' @@ -3719,7 +3719,7 @@ EOF CFLAGS="$CFLAGS -mieee" CXXFLAGS="$CXXFLAGS -mieee" ;; - i?86) + i*86) cat >> confdefs.h <<\EOF #define i386 1 EOF @@ -3879,7 +3879,7 @@ EOF esac case "$target_cpu" in - i?86) + i*86) cat >> confdefs.h <<\EOF #define _X86_ 1 EOF @@ -4633,7 +4633,7 @@ EOF MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' DSO_CFLAGS= DSO_LDOPTS='-Zomf -Zdll -Zmtd' - _OPTIMIZE_FLAGS=-O3 + _OPTIMIZE_FLAGS="-O2 -s" _DEBUG_FLAGS="-g -fno-inline" if test -n "$MOZ_OPTIMIZE"; then DSO_LDOPTS="$DSO_LDOPTS -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA" @@ -5715,7 +5715,7 @@ s%\[%\\&%g s%\]%\\&%g s%\$%$$%g EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' ' | tr '\015' ' '` +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` rm -f conftest.defs diff --git a/configure.in b/configure.in index e949af31..300a61da 100644 --- a/configure.in +++ b/configure.in @@ -767,7 +767,7 @@ case "$target" in PR_MD_ARCH_DIR=beos RESOLVE_LINK_SYMBOLS=1 case "${target_cpu}" in - i?86) + i*86) _OPTIMIZE_FLAGS=-O2 _DEBUG_FLAGS='-gdwarf-2 -O0' MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' @@ -1211,7 +1211,7 @@ case "$target" in CFLAGS="$CFLAGS -mieee" CXXFLAGS="$CXXFLAGS -mieee" ;; - i?86) + i*86) AC_DEFINE(i386) PR_MD_ASFILES=os_Linux_x86.s ;; @@ -1347,7 +1347,7 @@ case "$target" in esac case "$target_cpu" in - i?86) + i*86) AC_DEFINE(_X86_) ;; alpha) |