[Xfce4-commits] [apps/xfce4-dict] 03/07: Fix m4 macro dir warning

noreply at xfce.org noreply at xfce.org
Wed Mar 11 22:11:57 CET 2015


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository apps/xfce4-dict.

commit 2c162c27c854f335c77e36aaf050d9e58913c354
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Mar 11 21:14:41 2015 +0100

    Fix m4 macro dir warning
---
 .gitignore      |    1 +
 Makefile.am     |    2 ++
 autogen.sh      |    2 ++
 configure.ac.in |    1 +
 4 files changed, 6 insertions(+)

diff --git a/.gitignore b/.gitignore
index 08ba84e..eaaab4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+m4/*
 *.o
 ltmain.sh
 mkinstalldirs
diff --git a/Makefile.am b/Makefile.am
index ec0b7ef..dfd6711 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
 SUBDIRS =														\
 	lib															\
 	panel-plugin												\
diff --git a/autogen.sh b/autogen.sh
index ed264be..9b72e54 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -19,4 +19,6 @@ EOF
   exit 1
 }
 
+test -d m4 || mkdir m4
+
 XDT_AUTOGEN_REQUIRED_VERSION=4.7.1 xdt-autogen $@
diff --git a/configure.ac.in b/configure.ac.in
index 01f189d..903c1e1 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -14,6 +14,7 @@ dnl ***************************
 AC_COPYRIGHT([Copyright (c) 2006-2012 Enrico Tröger. All rights reserved.])
 AC_INIT([xfce4-dict], [xfce4_dict_version], [http://bugzilla.xfce.org/], [xfce4-dict])
 AC_PREREQ([2.50])
+AC_CONFIG_MACRO_DIR([m4])
 
 dnl ***************************
 dnl *** Initialize automake ***

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list