projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3899: Automatic commit for debian_version_4_1_0-1
[ctsim.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 34ca6c2d114ade8630b38067169d4dca7b95771f..e0fccd69c8ad1a50ca787b276f973b03da836823 100644
(file)
--- 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])
AC_ARG_WITH(mcpu,
[ --with-mcpu[=CPU] Set name of CPU for gcc -mcpu])
-if test "$withval" == "pentium4" -o "$withval" == "athlon" ; then
- AC_MSG_RESULT([$withval])
- CFLAGS="$CFLAGS -mcpu=$withval"
-elif test "$withval" == "no"; then
+if [ "$withval" == "" ] || [ "$withval" == "no" ]; then
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([no])
else
- AC_MSG_RESULT([Unknown])
+ AC_MSG_RESULT([$withval])
+ CFLAGS="$CFLAGS -mcpu=$withval"
fi
AC_MSG_CHECKING([for web access])
fi
AC_MSG_CHECKING([for web access])