X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=1f4c7b3a00a3dd63680e3776f106fef34908e43e;hb=292496b356ab5bac281019046e2c95b0d8fa2776;hp=e0fccd69c8ad1a50ca787b276f973b03da836823;hpb=2d30b1c2ed74ba38dec4db5fb3f9a26d7fe65e81;p=ctsim.git diff --git a/configure.ac b/configure.ac index e0fccd6..1f4c7b3 100644 --- a/configure.ac +++ b/configure.ac @@ -246,7 +246,7 @@ AC_MSG_CHECKING([for CPU specification]) AC_ARG_WITH(mcpu, [ --with-mcpu[=CPU] Set name of CPU for gcc -mcpu]) -if [ "$withval" == "" ] || [ "$withval" == "no" ]; then +if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then AC_MSG_RESULT([no]) else AC_MSG_RESULT([$withval])