r3899: Automatic commit for debian_version_4_1_0-1
[ctsim.git] / configure.ac
index 34ca6c2d114ade8630b38067169d4dca7b95771f..e0fccd69c8ad1a50ca787b276f973b03da836823 100644 (file)
@@ -246,13 +246,11 @@ AC_MSG_CHECKING([for CPU specification])
 AC_ARG_WITH(mcpu,
 [  --with-mcpu[=CPU]         Set name of CPU for gcc -mcpu])
 
-if test "$withval" == "pentium4" -o "$withval" == "athlon"  ; then
-  AC_MSG_RESULT([$withval])
-  CFLAGS="$CFLAGS -mcpu=$withval"
-elif test "$withval" == "no"; then
+if [ "$withval" == "" ] || [ "$withval" == "no" ]; then
   AC_MSG_RESULT([no])
 else
-  AC_MSG_RESULT([Unknown])
+  AC_MSG_RESULT([$withval])
+  CFLAGS="$CFLAGS -mcpu=$withval"
 fi
 
 AC_MSG_CHECKING([for web access])