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:
ballabio 2005-01-26 14:34:55 +00:00
parent 7eb6218eb3
commit 6b11ba0fbb
4 changed files with 1872 additions and 736 deletions

1287
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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

1287
install/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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