X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=15de31ebd33bbc7200b3d4f1280d134bca51776c;hb=aa52c6f383cc8b7b8f9723e409e138df72e06f2d;hp=34ca6c2d114ade8630b38067169d4dca7b95771f;hpb=a8b749b787192f1ab9ec88c016bacaab61eab070;p=ctsim.git diff --git a/configure.ac b/configure.ac index 34ca6c2..15de31e 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 test "$withval" == "no" -o "$withval" == "yes" ; 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])