[Pkg-wmaker-commits] [libdockapp] 02/04: libdockapp: Remove AC_PATH_XTRA macro from configure.ac

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Oct 22 09:08:12 UTC 2015


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

dtorrance-guest pushed a commit to branch upstream
in repository libdockapp.

commit 3a7e3f67639b47a5363d518fea85ccb9a9871c65
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Wed Oct 21 07:10:12 2015 -0400

    libdockapp: Remove AC_PATH_XTRA macro from configure.ac
    
    We already check for libraries with the PKG_CHECK_MODULES macros.  This also
    allows the Debian package to drop the Build-Depend on libice-dev.
    
    Based on the Debian patch [1].
    
    [1] https://sources.debian.net/src/libdockapp/1:0.7.1-1/debian/patches/remove_AC_PATH_XTRA.diff/
---
 configure.ac    | 2 --
 src/Makefile.am | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index cc0ea82..b4513a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,8 +25,6 @@ AC_PROG_CC
 AC_PROG_INSTALL
 
 dnl Checks for libraries.
-AC_PATH_XTRA
-
 PKG_CHECK_MODULES([X11],[x11])
 PKG_CHECK_MODULES([Xext],[xext])
 PKG_CHECK_MODULES([xpm],[xpm])
diff --git a/src/Makefile.am b/src/Makefile.am
index 5196001..de18b8e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = no-dependencies
 
 lib_LTLIBRARIES = libdockapp.la
 
-libdockapp_la_LDFLAGS = -version-info 3:0:0 @X_LIBS@
+libdockapp_la_LDFLAGS = -version-info 3:0:0
 
 otherincludedir = $(includedir)/libdockapp
 otherinclude_HEADERS = dockapp.h \
@@ -30,7 +30,7 @@ libdockapp_la_SOURCES = \
 noinst_HEADERS = daargs.h dautil.h
 
 AM_CFLAGS = $(X11_CFLAGS) $(Xext_CFLAGS) $(xpm_CFLAGS)
-AM_CPPFLAGS = @X_CFLAGS@ @CPPFLAGS@ @DFLAGS@
+AM_CPPFLAGS = @CPPFLAGS@ @DFLAGS@
 LIBS += $(X11_LIBS) $(Xext_LIBS) $(xpm_LIBS)
 
 LIBLIST = libdockapp.la @XLIBS@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/libdockapp.git



More information about the Pkg-wmaker-commits mailing list