X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=15de31ebd33bbc7200b3d4f1280d134bca51776c;hb=f36246b79c47ea4ba85cf79309ede76ed7d36cce;hp=e0fccd69c8ad1a50ca787b276f973b03da836823;hpb=2d30b1c2ed74ba38dec4db5fb3f9a26d7fe65e81;p=ctsim.git diff --git a/configure.ac b/configure.ac index e0fccd6..15de31e 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" ; then AC_MSG_RESULT([no]) else AC_MSG_RESULT([$withval])