[Pkg-privacy-commits] [libgsecuredelete] 53/168: Split check for libraries

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:06:39 UTC 2016


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

u-guest pushed a commit to branch master
in repository libgsecuredelete.

commit e0f6214ee571b19658e84654655bc2c84a6795d2
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Tue Feb 23 15:56:34 2010 +0100

    Split check for libraries
    
    Now there is properly separated check for each library instead of one
    global check, easing manual tuning of library flags.
    This splits the LIBGSECUREDELETE_* build variables in GLIB_* and
    GOBJECT_*.
---
 configure.ac              | 4 ++--
 gsecuredelete/Makefile.am | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 130fe9d..db17609 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,8 +55,8 @@ AC_DEFINE_UNQUOTED([SSWAP_PATH], ["$SSWAP"], [Path to the sswap binary])
 VALA_PACKAGES="glib-2.0 posix"
 AC_SUBST([VALA_PACKAGES])
 
-PKG_CHECK_MODULES([LIBGSECUREDELETE],   [glib-2.0 \
-                                         gobject-2.0])
+PKG_CHECK_MODULES([GLIB],     [glib-2.0])
+PKG_CHECK_MODULES([GOBJECT],  [gobject-2.0])
 
 # Checks for header files.
 
diff --git a/gsecuredelete/Makefile.am b/gsecuredelete/Makefile.am
index 484254e..78c9ade 100644
--- a/gsecuredelete/Makefile.am
+++ b/gsecuredelete/Makefile.am
@@ -2,8 +2,8 @@ noinst_PROGRAMS = test
 lib_LTLIBRARIES = libgsecuredelete.la
 
 AM_VALAFLAGS = $(VALA_PACKAGES:%=--pkg=%)
-AM_CFLAGS    = $(LIBGSECUREDELETE_CFLAGS)
-AM_LDFLAGS   = $(LIBGSECUREDELETE_LIBS)
+AM_CFLAGS    = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS)
+AM_LDFLAGS   = $(GLIB_LIBS) $(GOBJECT_LIBS)
 
 libgsecuredelete_la_includedir=$(includedir)/gsecuredelete
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list