diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-03-15 13:15:45 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-04-11 11:09:25 +0100 |
commit | 2a6068822dea6429201f6f44e229663ba7858c27 (patch) | |
tree | 94a9c371dd06ccfd7532cfa873ec24e44e9c7a74 /tools/configure | |
parent | cc9b8e3f334dc9d6d9e9a3b19065104204aa56f7 (diff) | |
download | xen-2a6068822dea6429201f6f44e229663ba7858c27.tar.gz xen-2a6068822dea6429201f6f44e229663ba7858c27.tar.bz2 xen-2a6068822dea6429201f6f44e229663ba7858c27.zip |
tools: only check for Python devel tools if not cross-compiling.
tools/python and tools/pygrub are already skipped in tools/Makefile when
cross-compiling, so no point in checking for the prerequisites either.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index a98dd9e0ad..4cd46e0274 100755 --- a/tools/configure +++ b/tools/configure @@ -5911,7 +5911,8 @@ else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi - ac_ext=c + +ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -6308,6 +6309,8 @@ fi done +if test "$cross_compiling" != yes; then : + ac_previous_cppflags=$CPPFLAGS ac_previous_ldflags=$LDFLAGS @@ -6439,6 +6442,9 @@ fi CPPFLAGS=$ac_previous_cppflags LDLFAGS=$ac_previous_ldflags + +fi + # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |