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