X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure;h=0b3012d34efb5d0228d44e050881fcc5b568db06;hb=1f9d75d3e2159e69c52b83e1efe2397220d12c3f;hp=c0338ea2ffdc573d97fdf05e713c741c475b19ac;hpb=a00e02e9fc9fbf1fe0309d0c8955feb10d389823;p=ctsim.git diff --git a/configure b/configure index c0338ea..0b3012d 100755 --- a/configure +++ b/configure @@ -873,6 +873,7 @@ Optional Packages: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-lam=PATH Set path of LAM MPI --with-ctn=PATH Set path of CTN DICOM library + --with-cpu=CPU Set name of CPU for gcc -mcpu= --with-cgibin-dir=PATH Set path of CGI binaries directory --with-cgibin-url=PATH Set URL path of CGI binaries --with-webdata-dir=PATH Set path of webdata @@ -7898,6 +7899,22 @@ echo "${ECHO_T}no" >&6 fi fi + +# Check whether --with-cpu or --without-cpu was given. +if test "${with_cpu+set}" = set; then + withval="$with_cpu" + +fi; + +if test "$withval" == "pentium4" -o "$withval" == "athlon-mp" ; then + echo "$as_me:$LINENO: checking Setting CPU to $withval" >&5 +echo $ECHO_N "checking Setting CPU to $withval... $ECHO_C" >&6 + CFLAGS="$CFLAGS -mcpu=$withval" +else + echo "$as_me:$LINENO: checking Unknown CPU $withval" >&5 +echo $ECHO_N "checking Unknown CPU $withval... $ECHO_C" >&6 +fi + echo "$as_me:$LINENO: checking for web access" >&5 echo $ECHO_N "checking for web access... $ECHO_C" >&6