Bug 199324: changed all i?86 checks to i*86 because Cygwin's "uname -m"

returns i1586 on Intel Xeon processors. r=cls.
This commit is contained in:
wtc%netscape.com 2003-03-27 02:21:20 +00:00
parent 52aa70ab6f
commit 48e6728a90
2 changed files with 6 additions and 6 deletions

6
nsprpub/configure vendored
View File

@ -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

View File

@ -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)