ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/configure
(Generate patch)

Comparing trunk/OOPSE-4/configure (file contents):
Revision 1540 by gezelter, Wed Oct 6 23:03:34 2004 UTC vs.
Revision 1946 by gezelter, Fri Jan 14 20:09:26 2005 UTC

# Line 5380 | Line 5380 | if test "$ac_test_CFLAGS" != "set"; then
5380          fi;;
5381     *darwin*)
5382          if test "$CC" = xlc -o "$CC" = cc; then
5383 <                CFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5383 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5384          fi;;
5385    esac
5386  
# Line 5832 | Line 5832 | if test "$ac_test_CXXFLAGS" != "set"; then
5832          fi;;
5833     *darwin*)
5834          if test "$CXX" = xlc++; then
5835 <                CXXFLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5835 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5836          fi;;
5837    esac
5838  
# Line 6244 | Line 6244 | if test x"$F90FLAGS" = x ; then
6244          fi;;
6245     *darwin*)
6246          if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6247 <                F90FLAGS="-qthreaded -O5 -qtune=auto -qarch=auto -qunroll=auto"
6247 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6248          fi;;
6249    esac
6250  
# Line 7232 | Line 7232 | fi
7232   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7233   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7234    MPI_LIB="-lmpi -llam"
7235 + fi
7236 +
7237 + fi
7238 + $as_unset ac_cv_lib_mpich_MPI_Init
7239 + if test x = x"$MPI_LIB"; then
7240 +        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7241 + echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7242 + if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7243 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7244 + else
7245 +  ac_check_lib_save_LIBS=$LIBS
7246 + LIBS="-lmpich "-lpmpich" $LIBS"
7247 + cat >conftest.$ac_ext <<_ACEOF
7248 + /* confdefs.h.  */
7249 + _ACEOF
7250 + cat confdefs.h >>conftest.$ac_ext
7251 + cat >>conftest.$ac_ext <<_ACEOF
7252 + /* end confdefs.h.  */
7253 +
7254 + /* Override any gcc2 internal prototype to avoid an error.  */
7255 + #ifdef __cplusplus
7256 + extern "C"
7257 + #endif
7258 + /* We use char because int might match the return type of a gcc2
7259 +   builtin and then its argument prototype would still apply.  */
7260 + char MPI_Init ();
7261 + int
7262 + main ()
7263 + {
7264 + MPI_Init ();
7265 +  ;
7266 +  return 0;
7267 + }
7268 + _ACEOF
7269 + rm -f conftest.$ac_objext conftest$ac_exeext
7270 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7271 +  (eval $ac_link) 2>conftest.er1
7272 +  ac_status=$?
7273 +  grep -v '^ *+' conftest.er1 >conftest.err
7274 +  rm -f conftest.er1
7275 +  cat conftest.err >&5
7276 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 +  (exit $ac_status); } &&
7278 +         { ac_try='test -z "$ac_c_werror_flag"
7279 +                         || test ! -s conftest.err'
7280 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 +  (eval $ac_try) 2>&5
7282 +  ac_status=$?
7283 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 +  (exit $ac_status); }; } &&
7285 +         { ac_try='test -s conftest$ac_exeext'
7286 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 +  (eval $ac_try) 2>&5
7288 +  ac_status=$?
7289 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 +  (exit $ac_status); }; }; then
7291 +  ac_cv_lib_mpich_MPI_Init=yes
7292 + else
7293 +  echo "$as_me: failed program was:" >&5
7294 + sed 's/^/| /' conftest.$ac_ext >&5
7295 +
7296 + ac_cv_lib_mpich_MPI_Init=no
7297   fi
7298 + rm -f conftest.err conftest.$ac_objext \
7299 +      conftest$ac_exeext conftest.$ac_ext
7300 + LIBS=$ac_check_lib_save_LIBS
7301 + fi
7302 + echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7303 + echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7304 + if test $ac_cv_lib_mpich_MPI_Init = yes; then
7305 +  MPI_LIB="-lmpich -lpmpich"
7306 + fi
7307  
7308   fi
7309  
# Line 7956 | Line 8027 | esac
8027  
8028            ac_config_headers="$ac_config_headers src/config.h"
8029  
8030 <          ac_config_files="$ac_config_files make/Makefile"
8030 >                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8031  
8032  
8033   cat >confcache <<\_ACEOF
# Line 8488 | Line 8559 | do
8559    case "$ac_config_target" in
8560    # Handling of arguments.
8561    "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8562 +  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8563    "src/utils/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/utils/getopt.h:src/utils/gnugetopt.h" ;;
8564    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8565    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines