Bugzilla bug #199324 (Cygwin's uname returns i1586 on Intel Xeon processors.) converted all i?86 checks to i*86. ANGELON_MOZ12_N5_BRANCH PHT_20030402N5_MAC_FREEZE
authortfox%netscape.com
Thu, 27 Mar 2003 00:25:41 +0000
branchANGELON_MOZ12_N5_BRANCH
changeset 2771 6ad0aa427bfb1bfb4aab3e3a9f17381231a3f0fb
parent 2571 a245d73d439f4f8158db6c875280ad741e202969
push idunknown
push userunknown
push dateunknown
bugs199324
Bugzilla bug #199324 (Cygwin's uname returns i1586 on Intel Xeon processors.) converted all i?86 checks to i*86.
configure
configure.in
--- a/configure
+++ b/configure
@@ -3055,17 +3055,17 @@ EOF
 EOF
 
     DSO_LDOPTS=-nostart
     MDCPUCFG_H=_beos.cfg
     USE_BTHREADS=1
     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 $@'
         echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
 echo "configure:3069: checking for gethostbyaddr in -lbind" >&5
 ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3750,17 +3750,17 @@ EOF
 
         cat >> confdefs.h <<\EOF
 #define __alpha 1
 EOF
 
         CFLAGS="$CFLAGS -mieee"
         CXXFLAGS="$CXXFLAGS -mieee"
         ;;
-    i?86)
+    i*86)
         cat >> confdefs.h <<\EOF
 #define i386 1
 EOF
 
         PR_MD_ASFILES=os_Linux_x86.s
         ;;
     ia64)
         PR_MD_ASFILES=os_Linux_ia64.s
@@ -3906,17 +3906,17 @@ EOF
 	    MDCPUCFG_H=_win16.cfg
 	    ;;
     *)
 	    { echo "configure: error: Missing OS_TARGET for ${target}.  Use --enable-win32-target to set." 1>&2; exit 1; }
    	;;
     esac
 
     case "$target_cpu" in
-    i?86)
+    i*86)
 	    cat >> confdefs.h <<\EOF
 #define _X86_ 1
 EOF
 
         ;;
     alpha)
 	    cat >> confdefs.h <<\EOF
 #define _ALPHA_ 1
--- a/configure.in
+++ b/configure.in
@@ -760,17 +760,17 @@ case "$target" in
     AC_DEFINE(BEOS)
     AC_DEFINE(_POSIX_SOURCE)
     DSO_LDOPTS=-nostart
     MDCPUCFG_H=_beos.cfg
     USE_BTHREADS=1
     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 $@'
         AC_CHECK_LIB(bind, gethostbyaddr, [OS_LIBS="$OS_LIBS -lbind -lsocket"])
         ;;
     powerpc)
         CC=mwcc
         CCC=mwcc
@@ -1180,17 +1180,17 @@ case "$target" in
     CPU_ARCH_TAG=_${CPU_ARCH}
     case "${target_cpu}" in
     alpha)
         AC_DEFINE(_ALPHA_)
         AC_DEFINE(__alpha)
         CFLAGS="$CFLAGS -mieee"
         CXXFLAGS="$CXXFLAGS -mieee"
         ;;
-    i?86)
+    i*86)
         AC_DEFINE(i386)
         PR_MD_ASFILES=os_Linux_x86.s
         ;;
     ia64)
         PR_MD_ASFILES=os_Linux_ia64.s
         ;;
     m68k)
         CFLAGS="$CFLAGS -m68020-60"
@@ -1309,17 +1309,17 @@ case "$target" in
 	    MDCPUCFG_H=_win16.cfg
 	    ;;
     *)
 	    AC_MSG_ERROR([Missing OS_TARGET for ${target}.  Use --enable-win32-target to set.])
    	;;
     esac
 
     case "$target_cpu" in
-    i?86)
+    i*86)
 	    AC_DEFINE(_X86_)
         ;;
     alpha)
 	    AC_DEFINE(_ALPHA_)
    	    ;;
     mips)
 	    AC_DEFINE(_MIPS_)
 	    ;;