[gnome-user-share] build: Follow libtool recommendations



commit 5b03ab77143d7a4cb3de0368b7b0eae3c4ef12e2
Author: Javier JardÃn <jjardon gnome org>
Date:   Wed Mar 21 18:43:26 2012 +0000

    build: Follow libtool recommendations
    
    Adding "AC_CONFIG_MACRO_DIR([m4])" to configure.in to keep the correct
    libtool macros in-tree.
    Also add `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

 Makefile.am  |    2 ++
 configure.in |    4 +++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c7031d5..7395d5c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
 SUBDIRS = data po src help
 
 EXTRA_DIST =			\
diff --git a/configure.in b/configure.in
index 798f26f..b30d035 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,9 @@
 AC_INIT(gnome-user-share, 3.0.1)
 
-AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip check-news])
 AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_MACRO_DIR([m4])
+
+AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip check-news])
 
 # Enable silent build when available (Automake 1.11)
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])



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