X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=87ba96ab1b7e0a6ddd3cf0d7258e5e62d46a06b2;hb=6b2163676582e4d32020dc765b74cff3a1705d3c;hp=029dbc41f9f542ffe526a922729ea979e67f8f26;hpb=8618140ba4dc8a17c2b593e4e399c01c80921000;p=ctsim.git diff --git a/configure.ac b/configure.ac index 029dbc4..87ba96a 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl CDPATH= AC_INIT AC_CONFIG_SRCDIR([src/ctsim.cpp]) -AM_INIT_AUTOMAKE(ctsim,4.0.2) +AM_INIT_AUTOMAKE(ctsim,4.2.0) AM_CONFIG_HEADER(config.h) dnl Checks for programs. @@ -246,13 +246,11 @@ AC_MSG_CHECKING([for CPU specification]) AC_ARG_WITH(mcpu, [ --with-mcpu[=CPU] Set name of CPU for gcc -mcpu]) -if test "$withval" == "pentium4" -o "$withval" == "athlon-mp" ; then - AC_MSG_RESULT([$withval]) - CFLAGS="$CFLAGS -mcpu=$withval" -elif test "$withval" == "no"; then +if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then AC_MSG_RESULT([no]) else - AC_MSG_RESULT([Unknown]) + AC_MSG_RESULT([$withval]) + CFLAGS="$CFLAGS -mcpu=$withval" fi AC_MSG_CHECKING([for web access])