r4205: *** empty log message ***
[ctsim.git] / configure.ac
index 34ca6c2d114ade8630b38067169d4dca7b95771f..b46a7f50984fe0508032a62a16d6c452b048e720 100644 (file)
@@ -5,7 +5,7 @@ dnl CDPATH=
 
 AC_INIT
 AC_CONFIG_SRCDIR([src/ctsim.cpp])
-AM_INIT_AUTOMAKE(ctsim,4.0.2)
+AM_INIT_AUTOMAKE(ctsim,4.2.1)
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
@@ -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 test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; 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])