[gnome-calendar] Updated autotools as adviced here [1]



commit ca9b9d576f4511dcff028c9f6ac1f700b60c5115
Author: Erick PÃrez Castellanos <erick red gmail com>
Date:   Sat May 26 09:33:51 2012 -0400

    Updated autotools as adviced here [1]
    
    [1]: https://live.gnome.org/GnomeGoals/ModernAutotools

 configure.ac |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cf772f6..875b253 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
 dnl -*- mode: m4 -*-
-AC_PREREQ(2.63)
+AC_PREREQ([2.69])
 AC_INIT([gnome-calendar],[0.0.2],[],[gnome-calendar])
 
-AM_CONFIG_HEADER(config/config.h)
+AC_CONFIG_HEADERS([config/config.h])
 AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([config])
@@ -31,24 +31,20 @@ AC_CACHE_SAVE
 AC_PROG_CC
 AM_PROG_CC_C_O
 AC_PROG_CXX
-AC_ISC_POSIX
+AC_SEARCH_LIBS([strerror],[cposix])
 AC_HEADER_STDC
 
 # no stupid static libraries
-AM_DISABLE_STATIC
+AC_DISABLE_STATIC([])
 # enable libtool
-AC_PROG_LIBTOOL
-# avoid libtool for LTCOMPILE, use it only to link
+LT_INIT
 
 ## don't rerun to this point if we abort
 AC_CACHE_SAVE
 
-LT_INIT
-
 GLIB_GSETTINGS
 
 GNOME_COMPILE_WARNINGS(maximum)
-GNOME_COMMON_INIT
 GNOME_MAINTAINER_MODE_DEFINES
 
 MAINTAINER_COMPILER_FLAGS="$MAINTAINER_COMPILER_FLAGS                        \



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