r4228: Interpolation fixes
[ctsim.git] / configure
index 0b3012d34efb5d0228d44e050881fcc5b568db06..3f8f09ffc6b6a9708ab91ba2e1ee1b9971a1fc46 100755 (executable)
--- a/configure
+++ b/configure
@@ -864,16 +864,16 @@ Optional Features:
   --enable-verbose-warnings
                           Enable verbose compiler warnings.
   --enable-static
-                          Enable static executables.
+                            Enable static executables.
   --enable-dmalloc        Use dmalloc memory allocation
   --enable-efence        Use ElectricFence memory allocation
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --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-lam=PATH         Set path of LAM MPI
+  --with-ctn=PATH         Set path of CTN DICOM library
+  --with-mcpu=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
@@ -1492,7 +1492,7 @@ fi
 
 PACKAGE=ctsim
 
-VERSION=4.0.0
+VERSION=4.2.3
 
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
@@ -7734,7 +7734,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 else
-  CFLAGS="$CFLAGS -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops"
+  CFLAGS="$CFLAGS -O2 -DNDEBUG -fomit-frame-pointer"
 
 cat >>confdefs.h <<\_ACEOF
 #define NDEBUG 1
@@ -7899,20 +7899,22 @@ echo "${ECHO_T}no" >&6
   fi
 fi
 
+echo "$as_me:$LINENO: checking for CPU specification" >&5
+echo $ECHO_N "checking for CPU specification... $ECHO_C" >&6
 
-# Check whether --with-cpu or --without-cpu was given.
-if test "${with_cpu+set}" = set; then
-  withval="$with_cpu"
+# Check whether --with-mcpu or --without-mcpu was given.
+if test "${with_mcpu+set}" = set; then
+  withval="$with_mcpu"
 
 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"
+if test "$withval" == "no" -o "$withval" == "yes" -o "$withval" == ""; then
+  echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
 else
-  echo "$as_me:$LINENO: checking Unknown CPU $withval" >&5
-echo $ECHO_N "checking Unknown CPU $withval... $ECHO_C" >&6
+  echo "$as_me:$LINENO: result: $withval" >&5
+echo "${ECHO_T}$withval" >&6
+  CFLAGS="$CFLAGS -mcpu=$withval"
 fi
 
 echo "$as_me:$LINENO: checking for web access" >&5