X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=15de31ebd33bbc7200b3d4f1280d134bca51776c;hb=f503275f551431711ebcc9ee3e3bea5de95413c6;hp=029dbc41f9f542ffe526a922729ea979e67f8f26;hpb=8618140ba4dc8a17c2b593e4e399c01c80921000;p=ctsim.git diff --git a/configure.ac b/configure.ac index 029dbc4..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-mp" ; 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])