Branch: Tag:

2000-08-11

2000-08-11 23:49:31 by Per Hedbor <ph@opera.com>

Disabled the missing paranthesis warning due to the if else warning.
Added -mcpu=.. flags for gcc when running solaris by using isalist

Rev: src/configure.in:1.393

1: - AC_REVISION("$Id: configure.in,v 1.392 2000/08/07 11:35:52 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.393 2000/08/11 23:49:31 per Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
669:          if test "x${GCC-}" = xyes ; then -  WARN="-W -Wall -Wpointer-arith -Wno-unused" +  # Do not use -Wall, since that produces a lot of warnings that are not +  # really interresting (such as the warning for if( ... ) ... else if( +  # ... ) .... else +  WARN="-Wcomment -Wformat -Wimplicit-function-declaration -Wmultichar -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long"       if test "x${with_static_linking-}" = "xyes" ; then    AC_SYS_COMPILER_FLAG(-static,link_static,CFLAGS)
713:    AC_SYS_COMPILER_FLAG(-mpentium,pentium,OPTIMIZE)    ])    ;; +  i86pc) +  case "`isalist 2>/dev/null`" in +  *pentium_pro*) +  AC_SYS_COMPILER_FLAG(-mcpu=pentiumpro,pentiumpro,OPTIMIZE,[ +  AC_SYS_COMPILER_FLAG(-mcpu=pentium,pentium,OPTIMIZE) +  ]) +  ;; +  *pentium*) +  AC_SYS_COMPILER_FLAG(-mcpu=pentium,pentium,OPTIMIZE,[ +  AC_SYS_COMPILER_FLAG(-m486,486,OPTIMIZE) +  ]) +  ;;    esac -  +  ;; +  esac       # AIX    DO_IF_OS(AIX,