ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/devel_omp/ac-tools/configure.in
(Generate patch)

Comparing trunk/ac-tools/configure.in (file contents):
Revision 957 by gezelter, Tue May 16 20:38:23 2006 UTC vs.
Revision 1002 by gezelter, Fri Jul 7 19:44:54 2006 UTC

# Line 46 | Line 46 | AC_SUBST(debug)
46    msg="$msg, debug mode"
47   fi
48   AC_SUBST(debug)
49 +
50 + AC_ARG_ENABLE(single, [AC_HELP_STRING([--enable-single],[compile OOPSE in single precision])], ok=$enableval, ok=no)
51 + AC_ARG_ENABLE(float, [AC_HELP_STRING([--enable-float],[synonym for --enable-single])], ok=$enableval)
52 + if test "$ok" = "yes"; then
53 +        AC_DEFINE(SINGLE_PRECISION,1,[Define to compile in single precision.])
54 +        USE_SINGLE_PRECISION=yes
55 +        AC_SUBST(USE_SINGLE_PRECISION)
56 + fi
57  
58   # Checks for programs.
59 < AC_PROG_CXX([icpc icc pgCC pathCC c++ xlc++ xlC g++ CC])
60 < AC_PROG_CC([icc pgcc pathcc cc xlc gcc])
61 < AC_PROG_FC([ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort], 95)
59 > AC_PROG_CXX([mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC])
60 > AC_PROG_CC([mpicc icc pathcc pgcc cc xlc gcc])
61 > AC_PROG_FC([mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort], 95)
62   AC_PROG_CPP
63   AC_PROG_EGREP
64   AC_PROG_LN_S

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines