[latexila] configure.ac: print the vala compiler in the summary
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] configure.ac: print the vala compiler in the summary
- Date: Fri, 19 Oct 2012 22:59:23 +0000 (UTC)
commit 486312b033eb81842015e3b9d43341cfd6a398a7
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Sat Oct 20 00:56:21 2012 +0200
configure.ac: print the vala compiler in the summary
configure.ac | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a5f3c7c..a0e1209 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,6 +160,13 @@ AC_CONFIG_FILES([Makefile
AC_OUTPUT
+if test -z "$VALAC"
+then
+ vala_compiler="valac >= ${VALA_REQUIRED_VERSION} not found."
+else
+ vala_compiler=${VALAC}
+fi
+
# Print a summary of the configuration
echo "
@@ -168,5 +175,6 @@ Configuration:
${PACKAGE_NAME} version ${PACKAGE_VERSION}
Prefix: ${prefix}
- Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
+ C Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
+ Vala Compiler: ${vala_compiler}
"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]