mirror of https://gitlab.com/QEF/q-e.git
configure always assumes to be cross-compiling [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1577 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
7eb6218eb3
commit
6b11ba0fbb
17
configure.ac
17
configure.ac
|
@ -36,18 +36,13 @@ if test "$topdir" = "" ; then topdir="`pwd`" ; fi
|
|||
# check system type (no cross-compilation for now)
|
||||
AC_CANONICAL_BUILD
|
||||
|
||||
# many HPC systems are configured so that running programs interactively
|
||||
# is disabled: on those systems, AC_PROG_F77 and AC_PROG_CC would fail
|
||||
# because they can't run the compiled executables
|
||||
# many HPC systems are configured so that running parallel programs
|
||||
# interactively is disabled: on those systems, AC_PROG_F77 and AC_PROG_CC
|
||||
# would fail because they can't run the compiled executables
|
||||
# to work around that, let's pretend we are cross-compiling even if we aren't
|
||||
if test "$host" = "" -o "$host" = "$build"
|
||||
then
|
||||
# fake cross-compilation
|
||||
# this relies on undocumented Autoconf behavior!!!
|
||||
# (if you know a better way, please tell me)
|
||||
host=$build
|
||||
cross_compiling=maybe
|
||||
fi
|
||||
# !!! this relies on undocumented Autoconf behavior !!!
|
||||
if test "$host" = "" ; then host=$build ; fi
|
||||
cross_compiling=yes
|
||||
|
||||
if test "$arch" = ""
|
||||
then
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -36,18 +36,13 @@ if test "$topdir" = "" ; then topdir="`pwd`" ; fi
|
|||
# check system type (no cross-compilation for now)
|
||||
AC_CANONICAL_BUILD
|
||||
|
||||
# many HPC systems are configured so that running programs interactively
|
||||
# is disabled: on those systems, AC_PROG_F77 and AC_PROG_CC would fail
|
||||
# because they can't run the compiled executables
|
||||
# many HPC systems are configured so that running parallel programs
|
||||
# interactively is disabled: on those systems, AC_PROG_F77 and AC_PROG_CC
|
||||
# would fail because they can't run the compiled executables
|
||||
# to work around that, let's pretend we are cross-compiling even if we aren't
|
||||
if test "$host" = "" -o "$host" = "$build"
|
||||
then
|
||||
# fake cross-compilation
|
||||
# this relies on undocumented Autoconf behavior!!!
|
||||
# (if you know a better way, please tell me)
|
||||
host=$build
|
||||
cross_compiling=maybe
|
||||
fi
|
||||
# !!! this relies on undocumented Autoconf behavior !!!
|
||||
if test "$host" = "" ; then host=$build ; fi
|
||||
cross_compiling=yes
|
||||
|
||||
if test "$arch" = ""
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue