X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=configure.ac;h=b46a7f50984fe0508032a62a16d6c452b048e720;hp=34ca6c2d114ade8630b38067169d4dca7b95771f;hb=40ef0ef58e4d5617d7ddb7b1d145e8981b61215f;hpb=a8b749b787192f1ab9ec88c016bacaab61eab070 diff --git a/configure.ac b/configure.ac index 34ca6c2..b46a7f5 100644 --- a/configure.ac +++ b/configure.ac @@ -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])