r3921: *** empty log message ***
[ctsim.git] / configure.ac
index e0fccd69c8ad1a50ca787b276f973b03da836823..15de31ebd33bbc7200b3d4f1280d134bca51776c 100644 (file)
@@ -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])