X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=e1927eb5b29a18ff0f86841884bd8ae1c8565b88;hb=1d5baf53ddd7f8b8db2c33a0ef8b091e827d95e4;hp=c2851d80fa4364d391656684eead674e8dffd7ef;hpb=a000f066b36f9b110bc6b3336a18d5a13adebbd5;p=ctsim.git diff --git a/configure.ac b/configure.ac index c2851d8..e1927eb 100644 --- a/configure.ac +++ b/configure.ac @@ -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])