[Xfce4-commits] <garcon:master> Autotools updates.

Nick Schermer noreply at xfce.org
Sun Jan 6 12:58:03 CET 2013


Updating branch refs/heads/master
         to a493ae6fcfb68e91ce3e10a9c1ffe0b122209e9e (commit)
       from 10ec7a48c6ed5f73868ad37f60903d2379fa6780 (commit)

commit a493ae6fcfb68e91ce3e10a9c1ffe0b122209e9e
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Jan 6 12:18:58 2013 +0100

    Autotools updates.

 Makefile.am                        |    4 ----
 configure.in.in => configure.ac.in |   13 ++++++++-----
 docs/reference/Makefile.am         |    2 +-
 garcon/Makefile.am                 |    2 +-
 tests/Makefile.am                  |    2 +-
 5 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index fff8707..ee206db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,10 +24,6 @@ SUBDIRS =								\
 	tests								\
 	po
 
-AUTOMAKE_OPTIONS =							\
-	1.8								\
-	dist-bzip2
-
 distclean-local:
 	rm -rf *.spec *.cache *~
 
diff --git a/configure.in.in b/configure.ac.in
similarity index 95%
rename from configure.in.in
rename to configure.ac.in
index 106a19c..c0c20d1 100644
--- a/configure.in.in
+++ b/configure.ac.in
@@ -46,8 +46,8 @@ AC_CANONICAL_TARGET()
 dnl ***************************
 dnl *** Initialize automake ***
 dnl ***************************
-AM_INIT_AUTOMAKE([AC_PACKAGE_TARNAME()], [AC_PACKAGE_VERSION()])
-AM_CONFIG_HEADER([config.h])
+AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar no-dist-gzip])
+AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE()
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
@@ -74,9 +74,7 @@ AC_SUBST([GARCON_VERSION_API])
 dnl *******************************
 dnl *** Check for UNIX variants ***
 dnl *******************************
-AC_AIX()
 AC_ISC_POSIX()
-AC_MINIX()
 
 dnl ********************************
 dnl *** Check for basic programs ***
@@ -85,9 +83,14 @@ AM_PROG_AS()
 AC_PROG_CC()
 AC_PROG_INSTALL()
 AC_PROG_INTLTOOL([0.31], [no-xml])
-AC_PROG_LIBTOOL()
 AM_PROG_CC_C_O()
 
+dnl **************************
+dnl *** Initialize libtool ***
+dnl **************************
+LT_PREREQ([2.2.6])
+LT_INIT([disable-static])
+
 dnl ***************************************
 dnl *** Check for standard header files ***
 dnl ***************************************
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 1decf21..f218185 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -55,7 +55,7 @@ content_files =								\
 
 # CFLAGS and LDFLAGS for compiling scan program. Only needed
 # if $(DOC_MODULE).types is non-empty.
-INCLUDES =	 							\
+AM_CPPFLAGS =	 							\
 	-I$(top_srcdir) 						\
 	-I$(top_builddir) 						\
 	$(GIO_CFLAGS)							\
diff --git a/garcon/Makefile.am b/garcon/Makefile.am
index 68b037c..6ead847 100644
--- a/garcon/Makefile.am
+++ b/garcon/Makefile.am
@@ -17,7 +17,7 @@
 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 # Boston, MA 02110-1301, USA.
 
-INCLUDES = 								\
+AM_CPPFLAGS = 								\
 	-I$(top_srcdir)							\
 	-DGARCON_COMPILATION						\
 	-DGARCON_VERSION_API=\"$(GARCON_VERSION_API)\"			\
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e399e80..77ecb6d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -17,7 +17,7 @@
 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 # Boston, MA 02110-1301, USA.
 
-INCLUDES =								\
+AM_CPPFLAGS =								\
 	-I$(top_srcdir)							\
 	-DG_LOG_DOMAIN=\"garcon-tests\"
 


More information about the Xfce4-commits mailing list