--enable-xml add __XDS to make.inc

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12862 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
spigafi 2016-08-28 10:33:22 +00:00
parent f04a08a0c0
commit c677659169
4 changed files with 44 additions and 0 deletions

1
install/aclocal.m4 vendored
View File

@ -37,3 +37,4 @@ m4_include([m4/x_ac_qe_scalapack.m4])
m4_include([m4/x_ac_qe_signal.m4])
m4_include([m4/x_ac_qe_wget.m4])
m4_include([m4/x_ac_qe_wrappers.m4])
m4_include([m4/x_ac_qe_xml.m4])

22
install/configure vendored
View File

@ -756,6 +756,7 @@ with_internal_blas
with_internal_lapack
with_scalapack
with_elpa
enable_xml
with_hdf5
enable_signals
'
@ -1406,6 +1407,7 @@ Optional Features:
--enable-shared use shared libraries if available (default: yes)
--disable-wrappers disable C to fortran wrapper check (default:
enabled)
--enable-xml enable XML output (default: no)
--enable-signals enable signal trapping (default: no)
Optional Packages:
@ -12207,6 +12209,26 @@ $as_echo "${elpa_libs}" >&6; }
# Enable XML ...
# Check whether --enable-xml was given.
if test "${enable_xml+set}" = set; then
enableval=$enable_xml; if test "$enableval" = "yes" ; then
use_xml=1
else
use_xml=0
fi
else
use_xml=0
fi
# preprocessing flag for XML
if test "$use_xml" -eq 1 ; then try_dflags="$try_dflags -D__XSD" ; fi
# Setting HDF5...

View File

@ -92,6 +92,9 @@ X_AC_QE_SCALAPACK()
# Setting ELPA...
X_AC_QE_ELPA()
# Enable XML ...
X_AC_QE_XML()
# Setting HDF5...
X_AC_QE_HDF5()

18
install/m4/x_ac_qe_xml.m4 Normal file
View File

@ -0,0 +1,18 @@
# Copyright (C) 2001-2016 Quantum ESPRESSO Foundation
AC_DEFUN([X_AC_QE_XML], [
AC_ARG_ENABLE(xml,
[AS_HELP_STRING([--enable-xml],
[enable XML output (default: no)])],
[if test "$enableval" = "yes" ; then
use_xml=1
else
use_xml=0
fi],
[use_xml=0])
# preprocessing flag for XML
if test "$use_xml" -eq 1 ; then try_dflags="$try_dflags -D__XSD" ; fi
])