X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=4ad6678a5978025ac2001a0a8e1c09d2e7c95acf;hb=1f9d75d3e2159e69c52b83e1efe2397220d12c3f;hp=36dca45044f820248a82001a1c6e669d20d9e30b;hpb=a00e02e9fc9fbf1fe0309d0c8955feb10d389823;p=ctsim.git diff --git a/configure.ac b/configure.ac index 36dca45..4ad6678 100644 --- a/configure.ac +++ b/configure.ac @@ -241,6 +241,17 @@ else fi fi +dnl Set CPU +AC_ARG_WITH(cpu, +[ --with-cpu[=CPU] Set name of CPU for gcc -mcpu=]) + +if test "$withval" == "pentium4" -o "$withval" == "athlon-mp" ; then + AC_MSG_CHECKING([Setting CPU to $withval]) + CFLAGS="$CFLAGS -mcpu=$withval" +else + AC_MSG_CHECKING([Unknown CPU $withval]) +fi + AC_MSG_CHECKING([for web access]) dnl Set cgi-bin directory AC_ARG_WITH(cgibin-dir, [ --with-cgibin-dir=PATH Set path of CGI binaries directory ],