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 861 by gezelter, Thu Jan 12 21:16:50 2006 UTC vs.
Revision 937 by chrisfen, Sun Apr 16 02:51:16 2006 UTC

# 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 11162 | 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 11321 | 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 11775 | 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 12501 | 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 12568 | 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 14621 | Line 14621 | fi
14621    # would make configure fail if this is the last instruction.
14622    $ac_cs_success || { (exit 1); exit 1; }
14623   fi
14624 +
14625 +
14626  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines