[emerillon-plugins] [configure] Modernise autotools and bump vala req to 0.9.1



commit aca0e9a07138d28ba9641392daa59bb23b5d7328
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date:   Tue Jun 8 13:09:06 2010 +0200

    [configure] Modernise autotools and bump vala req to 0.9.1
    
    The requirement on the Vala version comes from broken clutter
    bindings in the 0.8.x series.

 configure.ac |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 32f8aa1..94fc8d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,26 +3,31 @@
 EMERILLON_MAJOR=0.1
 EMERILLON_PLUGINS_MAJOR=0.1
 
-AC_INIT([emerillon-plugins], [0.1], [http://bugzilla.gnome.org/enter_bug.cgi?product=emerillon&component=plugins])
+AC_INIT([emerillon-plugins],[EMERILLON_PLUGINS_MAJOR],[http://bugzilla.gnome.org/enter_bug.cgi?product=emerillon&component=plugins], [emerillon-plugins], [http://projects.gnome.org/emerillon])
 
 AC_CONFIG_SRCDIR([plugins])
 AC_PREFIX_PROGRAM([emerillon])
 
 AC_SUBST(EMERILLON_PLUGINS_MAJOR)
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.64)
 
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
 # Support silencing the build output if supported (automake-1.11+)
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
-AM_MAINTAINER_MODE
+GNOME_COMPILE_WARNINGS([maximum])
+GNOME_MAINTAINER_MODE_DEFINES
+
+AM_MAINTAINER_MODE([enable])
 AC_CONFIG_HEADERS([config.h])
 AC_DISABLE_STATIC
 
-AC_PROG_LIBTOOL
+LT_PREREQ([2.2.6])
+LT_INIT
+
 
-AC_ISC_POSIX
+AC_SEARCH_LIBS([strerror],[cposix])
 AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
@@ -198,7 +203,7 @@ if test "x$have_python" != "xno"; then
 	save_CFLAGS="$CFLAGS"
 	CFLAGS="$CFLAGS $FLAGS"
 	AC_MSG_CHECKING([whether [$]CC understands $FLAGS])
-	AC_TRY_COMPILE([], [], [compiler_has_option=yes], [compiler_has_option=no])
+	AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[compiler_has_option=yes],[compiler_has_option=no])
 	CFLAGS="$save_CFLAGS"
 	AC_MSG_RESULT($compiler_has_option)
 	if test $compiler_has_option = yes; then
@@ -290,7 +295,7 @@ fi
 plugin_defined sample-vala
 if test "$?" = 1
 then
-	AM_PROG_VALAC([0.8.0])
+	AM_PROG_VALAC([0.9.1])
 
 	PKG_CHECK_MODULES(SAMPLEVALA,
 		[ champlain-0.6 > 0.6.0 ],
@@ -309,7 +314,7 @@ fi
 plugin_defined image-export
 if test "$?" = 1
 then
-  AM_PROG_VALAC([0.8.0])
+  AM_PROG_VALAC([0.9.1])
   if test "$VALAC" != ""
   then
   PKG_CHECK_MODULES(IMAGEEXPORT,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]