[gtk-vnc] Add check for Perl::Text::CSV if building from GIT
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Add check for Perl::Text::CSV if building from GIT
- Date: Thu, 29 Mar 2012 15:49:04 +0000 (UTC)
commit c4a4ea8104b0b53590468f8e62ab15e9a40fcc07
Author: Fabiano FidÃncio <fabiano fidencio org>
Date: Thu Mar 29 16:48:40 2012 +0100
Add check for Perl::Text::CSV if building from GIT
configure.ac | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 99891e3..0d5ae35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -444,6 +444,16 @@ if test "x$enable_introspection" = "xyes" ; then
fi
AM_CONDITIONAL([WITH_VALA], [test "x$enable_vala" = "xyes"])
+if test ! -e "$srcdir/gtk/vncdisplaykeymap_osx2xtkbd.c"; then
+ AC_MSG_CHECKING([for Text::CSV Perl module])
+ perl -MText::CSV -e "" >/dev/null 2>&1
+ if test $? -ne 0 ; then
+ AC_MSG_RESULT([not found])
+ AC_MSG_ERROR([Text::CSV Perl module is required to compile this package])
+ fi
+ AC_MSG_RESULT([found])
+fi
+
AC_CONFIG_FILES(
Makefile
src/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]