mirror of https://gitlab.com/QEF/q-e.git
--enable-environment add to configure for SOLVENT things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8638 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
dc8e987f5a
commit
3f75fe81c3
|
@ -1314,6 +1314,7 @@ Optional Features:
|
|||
--disable-wrappers disable C to fortran wrapper check (default:
|
||||
enabled)
|
||||
--enable-signals enable signal trapping (default: no)
|
||||
--enable-environment compile with exact exchange enabled (default: no)
|
||||
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
|
@ -1896,9 +1897,21 @@ else
|
|||
fi
|
||||
|
||||
# -----------------------------
|
||||
# more options (currently none)
|
||||
# more options
|
||||
# ----------------------------
|
||||
|
||||
# Check whether --enable-environment was given.
|
||||
if test "${enable_environment+set}" = set; then
|
||||
enableval=$enable_environment; if test "$enableval" = "yes" ; then
|
||||
enable_environment=1
|
||||
else
|
||||
enable_environment=0
|
||||
fi
|
||||
else
|
||||
enable_environment=0
|
||||
fi
|
||||
|
||||
|
||||
# store variables from the environment, if set (may be or not be set)
|
||||
# If set, they take precedence over configure internal choice.
|
||||
# Flags and libraries are accepted without further testing;
|
||||
|
@ -2137,6 +2150,11 @@ echo "$as_me: WARNING: $arch : unsupported architecture?" >&2;}
|
|||
;;
|
||||
esac
|
||||
|
||||
if test "$enable_environment" -eq 1 ;
|
||||
then
|
||||
try_dflags="$try_dflags -D__ENVIRONMENT"
|
||||
fi
|
||||
|
||||
# check serial Fortran 90 compiler. This must be done before performing
|
||||
# the check for the parallel compiler (section below) because option
|
||||
# --disable-parallel will do very strange things otherwise. The reason
|
||||
|
|
|
@ -105,9 +105,19 @@ AC_ARG_WITH(internal-lapack,
|
|||
fi],
|
||||
[use_internal_lapack=0])
|
||||
# -----------------------------
|
||||
# more options (currently none)
|
||||
# more options
|
||||
# ----------------------------
|
||||
|
||||
AC_ARG_ENABLE(environment,
|
||||
[AS_HELP_STRING([--enable-environment],
|
||||
[compile with exact exchange enabled (default: no)])],
|
||||
[if test "$enableval" = "yes" ; then
|
||||
enable_environment=1
|
||||
else
|
||||
enable_environment=0
|
||||
fi],
|
||||
[enable_environment=0])
|
||||
|
||||
# store variables from the environment, if set (may be or not be set)
|
||||
# If set, they take precedence over configure internal choice.
|
||||
# Flags and libraries are accepted without further testing;
|
||||
|
@ -268,6 +278,11 @@ ppc64-bg )
|
|||
;;
|
||||
esac
|
||||
|
||||
if test "$enable_environment" -eq 1 ;
|
||||
then
|
||||
try_dflags="$try_dflags -D__ENVIRONMENT"
|
||||
fi
|
||||
|
||||
# check serial Fortran 90 compiler. This must be done before performing
|
||||
# the check for the parallel compiler (section below) because option
|
||||
# --disable-parallel will do very strange things otherwise. The reason
|
||||
|
|
Loading…
Reference in New Issue