diff Makefile.am @ 97:57bc6251f8dd stable-0-6-19

fix an installed unpackaged file code cleanup from compiler warnings
author Carl Byington <carl@five-ten-sg.com>
date Sun, 14 Sep 2008 15:55:11 -0700
parents ff1743cbe4aa
children 0f1492b7fe8b
line wrap: on
line diff
--- a/Makefile.am	Sun Sep 14 11:56:19 2008 -0700
+++ b/Makefile.am	Sun Sep 14 15:55:11 2008 -0700
@@ -3,8 +3,10 @@
 html_DATA = AUTHORS COPYING ChangeLog NEWS README
 CLEANFILES = xml/libpst xml/Makefile
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = libpst.pc
+if BUILD_LIBPST_SHARED
+    pkgconfigdir = $(libdir)/pkgconfig
+    pkgconfig_DATA = libpst.pc
+endif
 
 EXTRA_DIST = Doxyfile libpst.html.tar.gz libpst.spec $(wildcard xml/M*) $(wildcard xml/h*) $(wildcard xml/lib*)