X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=f2eae439302b8b9568a5c68687015e8b12e5da74;hb=c411affdefe8ca2af91a957e7ad04953f7b838e9;hp=029dbc41f9f542ffe526a922729ea979e67f8f26;hpb=8618140ba4dc8a17c2b593e4e399c01c80921000;p=ctsim.git diff --git a/configure.ac b/configure.ac index 029dbc4..f2eae43 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" == "" -o test "$withval" == "no" -o test "$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])