[Xfce4-commits] [xfce/libxfce4ui] 02/02: Fix autoconf m4 directory warning

noreply at xfce.org noreply at xfce.org
Wed Feb 18 18:40:54 CET 2015


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

hjudt pushed a commit to branch master
in repository xfce/libxfce4ui.

commit 3aa672b5d3ea2012a54a208ce4559c8a460d5826
Author: Harald Judt <h.judt at gmx.at>
Date:   Wed Feb 18 18:39:52 2015 +0100

    Fix autoconf m4 directory 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 99db7ec..5b7b317 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ libxfce4ui/libxfce4ui-1.pc
 libxfce4ui/libxfce4ui-2.pc
 libxfce4ui/libxfce4ui-config.h
 ltmain.sh
+m4/
 missing
 po/Makefile.in.in
 po/POTFILES
diff --git a/Makefile.am b/Makefile.am
index 2137de4..1d64b00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
 SUBDIRS = \
 	libxfce4ui \
 	libxfce4kbd-private \
diff --git a/autogen.sh b/autogen.sh
index 5526947..11b09bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,6 +29,8 @@ EOF
   exit 1
 }
 
+test -d m4 || mkdir m4
+
 XDT_AUTOGEN_REQUIRED_VERSION="4.9.0" exec xdt-autogen $@
 
 # vi:set ts=2 sw=2 et ai:
diff --git a/configure.ac.in b/configure.ac.in
index 589cee2..a0745af 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -34,6 +34,7 @@ dnl ***************************
 AC_COPYRIGHT([Copyright (c) 2007-2013 The Xfce development team])
 AC_INIT([libxfce4ui], [libxfce4ui_version], [http://bugzilla.xfce.org/], [libxfce4ui])
 AC_PREREQ([2.60])
+AC_CONFIG_MACRO_DIR([m4])
 AC_REVISION([libxfce4ui_version_build])
 AC_CANONICAL_TARGET()
 

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


More information about the Xfce4-commits mailing list