From b614ec843ba7cde39084e1dddfe5021bb89d0a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 10 Oct 2016 11:22:50 +0200 Subject: [PATCH] build: Print info about cross compilers. --- configure.ac | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index af19e357..23107f28 100644 --- a/configure.ac +++ b/configure.ac @@ -64,12 +64,14 @@ AM_CONDITIONAL([HAS_CROSSTARGET64], [test "x$CROSSTARGET64" != "xfalse"]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT -dnl Output configuration info -echo "" -WIDL_VERSION=`$WIDL -V` -AS_IF([test $? -eq 0], [WIDL_VERSION=`echo $WIDL_VERSION | cut -d' ' -f5`]) -echo " widl version: $WIDL_VERSION" +dnl Output configuration summary +AS_IF([test "x$CROSSTARGET32" != "xfalse" -o "x$CROSSTARGET64" != "xfalse"], + [HAVE_CROSSTEST=yes], [HAVE_CROSSTEST=no]) -echo "" -echo " Run '${MAKE-make}' to build vkD3D." -echo "" +AS_ECHO([" + Configuration summary for $PACKAGE $VERSION + + Building crosstests: ${HAVE_CROSSTEST}"]) +AS_IF([test "x$CROSSTARGET32" != "xfalse"], [AS_ECHO([" Using 32-bit cross compiler: $CROSSCC32"])]) +AS_IF([test "x$CROSSTARGET64" != "xfalse"], [AS_ECHO([" Using 64-bit cross compiler: $CROSSCC64"])]) +AS_ECHO([])