[gtk-vnc] Fix check for Text::CSV in configure.ac
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Fix check for Text::CSV in configure.ac
- Date: Thu, 12 Jul 2012 10:38:53 +0000 (UTC)
commit 4f56bbac844369a8ed8f06a71f4351dcf20d0315
Author: Daniel P. Berrange <berrange redhat com>
Date: Thu Jul 12 09:36:16 2012 +0100
Fix check for Text::CSV in configure.ac
NEWS | 4 ++--
configure.ac | 11 ++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/NEWS b/NEWS
index d51d5ea..41ae4af 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,8 @@
GTK VNC News
============
-July 9, 2012: Release 0.5.1
-===========================
+July 12, 2012: Release 0.5.1
+============================
New features:
diff --git a/configure.ac b/configure.ac
index 428cebf..21d7a02 100644
--- a/configure.ac
+++ b/configure.ac
@@ -464,13 +464,14 @@ 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_CHECKING([for Text::CSV Perl module])
+perl -MText::CSV -e "" >/dev/null 2>&1
+if test $? -ne 0 ; then
+ AC_MSG_RESULT([not found])
+ if test ! -e "$srcdir/src/vncdisplaykeymap_osx2rfb.c"; then
AC_MSG_ERROR([Text::CSV Perl module is required to compile this package])
fi
+else
AC_MSG_RESULT([found])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]