gnome-build r520 - trunk
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-build r520 - trunk
- Date: Sun, 24 Feb 2008 09:35:25 +0000 (GMT)
Author: jhs
Date: Sun Feb 24 09:35:25 2008
New Revision: 520
URL: http://svn.gnome.org/viewvc/gnome-build?rev=520&view=rev
Log:
2008-02-24 Johannes Schmid <jhs gnome org>
* configure.in: Check for Locale::gettext which is
required
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sun Feb 24 09:35:25 2008
@@ -98,6 +98,7 @@
AC_MSG_ERROR([perl 5.005 or better is required])
}
+
# Environment
GNOME_COMMON_INIT
if test x$MAINT = x; then
@@ -110,13 +111,24 @@
AC_SUBST(DEPRECATED_FLAGS)
# I18N stuff
+# Check for Locale::gettext
+if test "x$PERL" != x; then
+ AC_MSG_CHECKING(for Locale::gettext)
+ $PERL "-MLocale::gettext" -e exit > /dev/null 2>&1
+ if test $? -ne 0; then
+ AC_MSG_ERROR(not found);
+ else
+ AC_MSG_RESULT(ok);
+ fi
+fi
+
+
GETTEXT_PACKAGE=gbf-1
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR(GNOMELOCALEDIR)
-
# Check for GNU regex functions
AH_TEMPLATE(NATIVE_GNU_REGEX, [Define if the C library implements the GNU regular expressions API])
AC_CHECK_FUNCS([re_compile_pattern re_compile_fastmap re_search re_match], [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]