X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=configure.ac;h=e1927eb5b29a18ff0f86841884bd8ae1c8565b88;hp=15de31ebd33bbc7200b3d4f1280d134bca51776c;hb=abb1313fdf0e1ebb60cb87dc96ab090fa93abfa4;hpb=aa52c6f383cc8b7b8f9723e409e138df72e06f2d diff --git a/configure.ac b/configure.ac index 15de31e..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" == "no" -o "$withval" == "yes" ; then +if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then AC_MSG_RESULT([no]) else AC_MSG_RESULT([$withval])