[tracker] Use a separate directory m4/ for the m4 macros.



commit 43b2b0c5dcf579b517539a3dd4a126b6b362e334
Author: Michael Biebl <biebl debian org>
Date:   Fri Jan 15 07:25:46 2010 +0100

    Use a separate directory m4/ for the m4 macros.
    
    While at it, replace the deprecated macro AM_CONFIG_HEADER with
    AC_CONFIG_HEADERS.

 Makefile.am  |    1 +
 configure.ac |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 97f4b4f..c116e54 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,3 +72,4 @@ install-data-hook:
 	rm -Rf $(DESTDIR)$(datadir)/tracker/tracker-introspect.xml
 endif	
 
+ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index 41f7d1d..9b7c949 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,9 +45,10 @@ AC_INIT([tracker], [tracker_version],
 	[tracker])
 
 AC_CONFIG_SRCDIR([src/tracker-store/tracker-main.c])
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_HEADERS([config.h])
 
 AM_INIT_AUTOMAKE([no-define tar-ustar])
-AM_CONFIG_HEADER(config.h)
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 



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