ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 848 by gezelter, Wed Jan 11 23:06:08 2006 UTC vs.
Revision 937 by chrisfen, Sun Apr 16 02:51:16 2006 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 3.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
# Line 269 | Line 269 | PACKAGE_TARNAME='oopse'
269   # Identity of this package.
270   PACKAGE_NAME='OOPSE'
271   PACKAGE_TARNAME='oopse'
272 < PACKAGE_VERSION='2.0'
273 < PACKAGE_STRING='OOPSE 2.0'
272 > PACKAGE_VERSION='3.0'
273 > PACKAGE_STRING='OOPSE 3.0'
274   PACKAGE_BUGREPORT='gezelter@nd.edu'
275  
276   ac_unique_file="src/applications/oopse/oopse.cpp"
# Line 801 | Line 801 | if test "$ac_init_help" = "long"; then
801    # Omit some internal or obsolete options to make the list less imposing.
802    # This message is too long to be a string in the A/UX 3.1 sh.
803    cat <<_ACEOF
804 < \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
804 > \`configure' configures OOPSE 3.0 to adapt to many kinds of systems.
805  
806   Usage: $0 [OPTION]... [VAR=VALUE]...
807  
# Line 862 | Line 862 | if test -n "$ac_init_help"; then
862  
863   if test -n "$ac_init_help"; then
864    case $ac_init_help in
865 <     short | recursive ) echo "Configuration of OOPSE 2.0:";;
865 >     short | recursive ) echo "Configuration of OOPSE 3.0:";;
866     esac
867    cat <<\_ACEOF
868  
# Line 1000 | Line 1000 | if $ac_init_version; then
1000   test -n "$ac_init_help" && exit 0
1001   if $ac_init_version; then
1002    cat <<\_ACEOF
1003 < OOPSE configure 2.0
1003 > OOPSE configure 3.0
1004   generated by GNU Autoconf 2.59
1005  
1006   Copyright (C) 2003 Free Software Foundation, Inc.
# Line 1014 | Line 1014 | running configure, to aid debugging if configure makes
1014   This file contains any messages produced by compilers while
1015   running configure, to aid debugging if configure makes a mistake.
1016  
1017 < It was created by OOPSE $as_me 2.0, which was
1017 > It was created by OOPSE $as_me 3.0, which was
1018   generated by GNU Autoconf 2.59.  Invocation command line was
1019  
1020    $ $0 $@
# Line 1572 | Line 1572 | if test -n "$ac_tool_prefix"; then
1572   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1573   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1574   if test -n "$ac_tool_prefix"; then
1575 <  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
1575 >  for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC
1576    do
1577      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1578   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 1614 | Line 1614 | if test -z "$CXX"; then
1614   fi
1615   if test -z "$CXX"; then
1616    ac_ct_CXX=$CXX
1617 <  for ac_prog in $CCC pathCC icpc icc xlc++ xlC CC g++ c++
1617 >  for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC
1618   do
1619    # Extract the first word of "$ac_prog", so it can be a program name with args.
1620   set dummy $ac_prog; ac_word=$2
# Line 2128 | Line 2128 | if test -n "$ac_tool_prefix"; then
2128   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2129   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2130   if test -n "$ac_tool_prefix"; then
2131 <  for ac_prog in pathcc icc xlc gcc cc
2131 >  for ac_prog in icc pgcc pathcc cc xlc gcc
2132    do
2133      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2134   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2170 | Line 2170 | if test -z "$CC"; then
2170   fi
2171   if test -z "$CC"; then
2172    ac_ct_CC=$CC
2173 <  for ac_prog in pathcc icc xlc gcc cc
2173 >  for ac_prog in icc pgcc pathcc cc xlc gcc
2174   do
2175    # Extract the first word of "$ac_prog", so it can be a program name with args.
2176   set dummy $ac_prog; ac_word=$2
# Line 2639 | Line 2639 | if test -n "$ac_tool_prefix"; then
2639   ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
2640   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
2641   if test -n "$ac_tool_prefix"; then
2642 <  for ac_prog in pathf95 ifort ifc xlf95 pgf95 lf95 epcf90 xlf90 pgf90 fort f95 f90 g95 f77
2642 >  for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
2643    do
2644      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2645   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# Line 2681 | Line 2681 | if test -z "$FC"; then
2681   fi
2682   if test -z "$FC"; then
2683    ac_ct_FC=$FC
2684 <  for ac_prog in pathf95 ifort ifc xlf95 pgf95 lf95 epcf90 xlf90 pgf90 fort f95 f90 g95 f77
2684 >  for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
2685   do
2686    # Extract the first word of "$ac_prog", so it can be a program name with args.
2687   set dummy $ac_prog; ac_word=$2
# Line 6302 | Line 6302 | fi
6302   _ACEOF
6303  
6304   fi
6305
6306
6307
6308
6305  
6306  
6307  
6308  
6309  
6310  
6315 for ac_header in libintl.h limits.h stddef.h stdlib.h string.h strings.h sys/param.h sys/time.h unistd.h
6316 do
6317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6319  echo "$as_me:$LINENO: checking for $ac_header" >&5
6320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6322  echo $ECHO_N "(cached) $ECHO_C" >&6
6323 fi
6324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6326 else
6327  # Is the header compilable?
6328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF
6331 /* confdefs.h.  */
6332 _ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h.  */
6336 $ac_includes_default
6337 #include <$ac_header>
6338 _ACEOF
6339 rm -f conftest.$ac_objext
6340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6341  (eval $ac_compile) 2>conftest.er1
6342  ac_status=$?
6343  grep -v '^ *+' conftest.er1 >conftest.err
6344  rm -f conftest.er1
6345  cat conftest.err >&5
6346  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347  (exit $ac_status); } &&
6348         { ac_try='test -z "$ac_c_werror_flag"
6349                         || test ! -s conftest.err'
6350  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351  (eval $ac_try) 2>&5
6352  ac_status=$?
6353  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354  (exit $ac_status); }; } &&
6355         { ac_try='test -s conftest.$ac_objext'
6356  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357  (eval $ac_try) 2>&5
6358  ac_status=$?
6359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360  (exit $ac_status); }; }; then
6361  ac_header_compiler=yes
6362 else
6363  echo "$as_me: failed program was:" >&5
6364 sed 's/^/| /' conftest.$ac_ext >&5
6365
6366 ac_header_compiler=no
6367 fi
6368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6370 echo "${ECHO_T}$ac_header_compiler" >&6
6371
6372 # Is the header present?
6373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6375 cat >conftest.$ac_ext <<_ACEOF
6376 /* confdefs.h.  */
6377 _ACEOF
6378 cat confdefs.h >>conftest.$ac_ext
6379 cat >>conftest.$ac_ext <<_ACEOF
6380 /* end confdefs.h.  */
6381 #include <$ac_header>
6382 _ACEOF
6383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6384  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6385  ac_status=$?
6386  grep -v '^ *+' conftest.er1 >conftest.err
6387  rm -f conftest.er1
6388  cat conftest.err >&5
6389  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390  (exit $ac_status); } >/dev/null; then
6391  if test -s conftest.err; then
6392    ac_cpp_err=$ac_c_preproc_warn_flag
6393    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6394  else
6395    ac_cpp_err=
6396  fi
6397 else
6398  ac_cpp_err=yes
6399 fi
6400 if test -z "$ac_cpp_err"; then
6401  ac_header_preproc=yes
6402 else
6403  echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6311  
6406  ac_header_preproc=no
6407 fi
6408 rm -f conftest.err conftest.$ac_ext
6409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6410 echo "${ECHO_T}$ac_header_preproc" >&6
6312  
6412 # So?  What about this header?
6413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6414  yes:no: )
6415    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6417    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6418 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6419    ac_header_preproc=yes
6420    ;;
6421  no:yes:* )
6422    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6424    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6425 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6426    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6427 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6428    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6429 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6430    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6432    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6433 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6434    (
6435      cat <<\_ASBOX
6436 ## ------------------------------ ##
6437 ## Report this to gezelter@nd.edu ##
6438 ## ------------------------------ ##
6439 _ASBOX
6440    ) |
6441      sed "s/^/$as_me: WARNING:     /" >&2
6442    ;;
6443 esac
6444 echo "$as_me:$LINENO: checking for $ac_header" >&5
6445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6447  echo $ECHO_N "(cached) $ECHO_C" >&6
6448 else
6449  eval "$as_ac_Header=\$ac_header_preproc"
6450 fi
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6313  
6454 fi
6455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6456  cat >>confdefs.h <<_ACEOF
6457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6458 _ACEOF
6314  
6460 fi
6315  
6462 done
6316  
6317  
6318  
# Line 6475 | Line 6328 | done
6328  
6329  
6330  
6331 < for ac_header in stdio.h conio.h strstream.h iostream.h fstream.h math.h time.h sys/pstat.h sys/sysmp.h sys/sysinfo.h sys/table.h sys/sysctl.h sys/sytemcfg.h machine/hal_sysinfo.h
6331 > for ac_header in conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h
6332   do
6333   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6334   if eval "test \"\${$as_ac_Header+set}\" = set"; then
# Line 8752 | Line 8605 | fi
8605  
8606  
8607  
8608 < for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table
8608 >
8609 > for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table
8610   do
8611   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8612   echo "$as_me:$LINENO: checking for $ac_func" >&5
# Line 11308 | Line 11162 | if test "$ac_test_FCFLAGS" != "set"; then
11162          fi;;
11163     *darwin*)
11164          if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
11165 <                FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
11165 >                FCFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto"
11166          fi;;
11167    esac
11168  
# Line 11467 | Line 11321 | if test "$ac_test_CFLAGS" != "set"; then
11321          fi;;
11322     *darwin*)
11323          if test "$CC" = xlc -o "$CC" = cc; then
11324 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11324 >                CFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11325          fi;;
11326    esac
11327  
# Line 11921 | Line 11775 | if test "$ac_test_CXXFLAGS" != "set"; then
11775          fi;;
11776     *darwin*)
11777          if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
11778 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11778 >                CXXFLAGS="-qthreaded -O3 -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
11779          fi;;
11780    esac
11781  
# Line 12647 | Line 12501 | else
12501    echo $ECHO_N "(cached) $ECHO_C" >&6
12502   else
12503    ac_check_lib_save_LIBS=$LIBS
12504 < LIBS="-lmpich "-lpmpich" $LIBS"
12504 > LIBS="-lpmpich "-lmpich" $LIBS"
12505   cat >conftest.$ac_ext <<_ACEOF
12506   /* confdefs.h.  */
12507   _ACEOF
# Line 12714 | Line 12568 | if test $ac_cv_lib_mpich_MPI_Init = yes; then
12568   echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
12569   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
12570   if test $ac_cv_lib_mpich_MPI_Init = yes; then
12571 <  MPI_LIB="-lmpich -lpmpich"
12571 >  MPI_LIB="-lpmpich -lmpich"
12572   fi
12573  
12574   fi
# Line 13799 | Line 13653 | cat >&5 <<_CSEOF
13653   } >&5
13654   cat >&5 <<_CSEOF
13655  
13656 < This file was extended by OOPSE $as_me 2.0, which was
13656 > This file was extended by OOPSE $as_me 3.0, which was
13657   generated by GNU Autoconf 2.59.  Invocation command line was
13658  
13659    CONFIG_FILES    = $CONFIG_FILES
# Line 13862 | Line 13716 | ac_cs_version="\\
13716  
13717   cat >>$CONFIG_STATUS <<_ACEOF
13718   ac_cs_version="\\
13719 < OOPSE config.status 2.0
13719 > OOPSE config.status 3.0
13720   configured by $0, generated by GNU Autoconf 2.59,
13721    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13722  
# Line 14768 | Line 14622 | fi
14622    $ac_cs_success || { (exit 1); exit 1; }
14623   fi
14624  
14625 +
14626 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines