From a25ab3f917e94c3d80bb3f8ef21013d3b7e49ea6 Mon Sep 17 00:00:00 2001 From: flameeyes Date: Fri, 13 Jun 2008 14:29:08 +0000 Subject: [PATCH] Only install libcdio++ and libiso9660++ pkg-config files if C++ bindings are being built and installed. --- Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 63816f4a..06a693e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.46 2008/04/15 17:35:23 rocky Exp $ +# $Id: Makefile.am,v 1.47 2008/06/13 14:29:08 flameeyes Exp $ # # Copyright (C) 2003, 2004, 2006, 2008 Rocky Bernstein # @@ -44,11 +44,15 @@ endif # pkg-config(1) related rules pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libcdio.pc \ - libcdio++.pc \ libiso9660.pc \ - libiso9660++.pc \ libudf.pc \ - $(paranoiapcs) + $(paranoiapcs) \ + +if ENABLE_CPP +pkgconfig_DATA += \ + libcdio++.pc \ + libiso9660++.pc +endif $(pkgconfig_DATA): config.status