r7061: initial property settings
[ctsim.git] / configure.ac
index c2851d80fa4364d391656684eead674e8dffd7ef..e1927eb5b29a18ff0f86841884bd8ae1c8565b88 100644 (file)
@@ -5,7 +5,8 @@ dnl CDPATH=
 
 AC_INIT
 AC_CONFIG_SRCDIR([src/ctsim.cpp])
-AM_INIT_AUTOMAKE(ctsim,4.0.2)
+AM_MAINTAINER_MODE
+AM_INIT_AUTOMAKE(ctsim,4.2.4)
 AM_CONFIG_HEADER(config.h)
 
 dnl Checks for programs.
@@ -120,7 +121,7 @@ if test "$debug" = "true" ; then
   CFLAGS="$CFLAGS -g -DDEBUG"
   AC_DEFINE(DEBUG,1,[turn on debugging])
 else
-  CFLAGS="$CFLAGS -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops"
+  CFLAGS="$CFLAGS -O2 -DNDEBUG -fomit-frame-pointer"
   AC_DEFINE(NDEBUG,1,[no debugging])
 fi
 
@@ -246,7 +247,7 @@ AC_MSG_CHECKING([for CPU specification])
 AC_ARG_WITH(mcpu,
 [  --with-mcpu[=CPU]         Set name of CPU for gcc -mcpu])
 
-if test "$withval" == "" -o test "$withval" == "no" ; then
+if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then
   AC_MSG_RESULT([no])
 else
   AC_MSG_RESULT([$withval])