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