[Xfce4-commits] [apps/xfmpc] 02/03: Fix autotools warnings (Bug #15270)
noreply at xfce.org
noreply at xfce.org
Fri Apr 12 03:12:20 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfmpc.
commit 8c23fcea5520023ad7eeb0b19ddb4694cf186a89
Author: Andre Miranda <andreldm at xfce.org>
Date: Thu Apr 11 22:11:13 2019 -0300
Fix autotools warnings (Bug #15270)
---
.gitignore | 1 +
Makefile.am | 2 ++
autogen.sh | 2 ++
configure.ac.in | 3 ++-
src/Makefile.am | 2 +-
5 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index e5fb123..4c0f06a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ install-sh
intltool-*
libtool
ltmain.sh
+m4/
missing
mkinstalldirs
stamp-h1
diff --git a/Makefile.am b/Makefile.am
index 2768f4d..1426ee2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,7 @@
SUBDIRS = \
src \
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
po
dist_man_MANS = xfmpc.1
diff --git a/autogen.sh b/autogen.sh
index b5875b6..45cd06f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,4 +29,6 @@ EOF
exit 1
}
+test -d m4 || mkdir m4
+
XDT_AUTOGEN_REQUIRED_VERSION="4.7.2" exec xdt-autogen $@
diff --git a/configure.ac.in b/configure.ac.in
index f74e69e..b47d41c 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -22,6 +22,7 @@ AC_COPYRIGHT([Copyright (c) 2008
AC_INIT([Xfmpc], [xfmpc_version], [http://bugzilla.xfce.org/], [xfmpc],
[http://goodies.xfce.org/projects/applications/xfmpc])
AC_PREREQ([2.50])
+AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_TARGET()
AC_REVISION([xfmpc_version_build])
@@ -40,7 +41,7 @@ AC_PROG_CC()
AM_PROG_CC_C_O()
AC_PROG_LD()
AC_PROG_INSTALL()
-AC_PROG_INTLTOOL()
+IT_PROG_INTLTOOL([0.35.0])
dnl **************************
dnl *** Initialize libtool ***
diff --git a/src/Makefile.am b/src/Makefile.am
index 1bea76a..9573a8e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES = \
+AM_CPPFLAGS = \
-I${top_srcdir} \
-DGETTEXT_PACKAGE=\""$(GETTEXT_PACKAGE)"\" \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list