[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Handle autotools m4 stuff properly

noreply at xfce.org noreply at xfce.org
Thu Dec 4 21:50:39 CET 2014


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

hjudt pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit bd0d81919cf68eed97a6d81eb495544ad5e23125
Author: Harald Judt <h.judt at gmx.at>
Date:   Thu Dec 4 21:49:51 2014 +0100

    Handle autotools m4 stuff properly
---
 Makefile.am     |    2 ++
 autogen.sh      |    2 ++
 configure.ac.in |    1 +
 3 files changed, 5 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 993ecab..b80fec7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
 @SET_MAKE@
 
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
 if BUILD_PANEL_PLUGINS
 plugins_dir = panel-plugins
 endif
diff --git a/autogen.sh b/autogen.sh
index 6bc0c8a..8104646 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,4 +17,6 @@ EOF
   exit 1
 }
 
+test -d m4 || mkdir m4
+
 xdt-autogen $@
diff --git a/configure.ac.in b/configure.ac.in
index 685cda5..46b1bbb 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -8,6 +8,7 @@ m4_define([xfpm_version], [xfpm_version_major().xfpm_version_minor().xfpm_versio
 
 AC_INIT([xfce4-power-manager],[xfpm_version],[http://bugzilla.xfce.org/])
 AC_PREREQ([2.69])
+AC_CONFIG_MACRO_DIR([m4])
 
 # subdir-objects is currently broken, see
 # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928

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


More information about the Xfce4-commits mailing list