anjuta r4564 - trunk
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4564 - trunk
- Date: Sat, 10 Jan 2009 22:15:49 +0000 (UTC)
Author: jhs
Date: Sat Jan 10 22:15:48 2009
New Revision: 4564
URL: http://svn.gnome.org/viewvc/anjuta?rev=4564&view=rev
Log:
2009-01-09 Yang Hong <hongyang redflag-linux com>
* configure.in:
Check perl and perl module Locale::gettext for gbf
Fixed #567010 - Can't import project if parse scripts failed
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Jan 10 22:15:48 2009
@@ -177,6 +177,29 @@
AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
fi
+dnl Check for perl required by gbf-am/mkfile
+dnl ----------------------------------------
+# Automake backend requirements
+# Also needed by Makefile backend
+AC_PATH_PROG(PERL, perl)
+if test -z "$PERL"; then
+ AC_MSG_ERROR([perl not found])
+fi
+$PERL -e 'require 5.005;' || {
+ AC_MSG_ERROR([perl 5.005 or better is required])
+}
+
+# Check for perl Locale::gettext module
+if test "x$PERL" != x; then
+ AC_MSG_CHECKING(for perl module Locale::gettext)
+ $PERL "-MLocale::gettext" -e exit > /dev/null 2>&1
+ if test $? -ne 0; then
+ AC_MSG_ERROR([not found, you should installed perl-gettext package for your distribution]);
+ else
+ AC_MSG_RESULT(ok);
+ fi
+fi
+
dnl Check for Devhelp
dnl -----------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]