]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Prevent libdane pkgconfig stuff from being installed if libdane support is disabled.
authorJaak Ristioja <jaak.ristioja@cyber.ee>
Tue, 29 Jan 2013 08:48:14 +0000 (10:48 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Feb 2013 10:31:04 +0000 (11:31 +0100)
Makefile.am
libdane/Makefile.am
libdane/includes/Makefile.am

index c4a4bfada68ba56385f151300cf6b55909de2608..a37e7e1c204b6c5d349a23c49ccf895025596c3c 100644 (file)
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests
 
-SUBDIRS = gl lib extra libdane po
+SUBDIRS = gl lib extra
 
-SUBDIRS += src doc tests
+if ENABLE_DANE
+SUBDIRS += libdane
+endif
+
+SUBDIRS += po src doc tests
 
 if HAVE_GUILE
 SUBDIRS += guile
index d880cc8aaabeaae76c850e698beeb5114b50a569..debf502def23c067e21d3d5bf1464f551259d713 100644 (file)
@@ -32,13 +32,8 @@ AM_CPPFLAGS = \
 
 SUBDIRS = includes
 
-defexecdir = $(bindir)
-defexec_DATA = 
-
-
 libgnutls_dane_la_LDFLAGS = -no-undefined
 
-if ENABLE_DANE
 lib_LTLIBRARIES = libgnutls-dane.la
 
 libgnutls_dane_la_SOURCES = dane.c dane-params.c errors.c libdane.map
@@ -56,16 +51,16 @@ else
 libgnutls_dane_la_LDFLAGS += -export-symbols-regex '^(dane).*'
 endif
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gnutls-dane.pc
+DISTCLEANFILES = $(pkgconfig_DATA)
+
 if HAVE_LD_OUTPUT_DEF
 libgnutls_dane_la_LDFLAGS += \
        -Wl,--output-def,libgnutls-dane-$(DLL_VERSION).def
 libgnutls_dane-$(DLL_VERSION).def: libgnutls-dane.la
-defexec_DATA += libgnutls-dane-$(DLL_VERSION).def
-endif
-endif
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gnutls-dane.pc
-DISTCLEANFILES = $(pkgconfig_DATA)
 
+defexecdir = $(bindir)
+defexec_DATA = libgnutls-dane-$(DLL_VERSION).def
 DISTCLEANFILES += $(defexec_DATA)
+endif
index 59fdcbe6ed69777f43c61960959f5e63bc24aaad..e67c5029d8101056b7b63294d676b2a50b1b4d7c 100644 (file)
@@ -18,8 +18,4 @@
 # You should have received a copy of the GNU Lesser General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>
 
-nobase_include_HEADERS = 
-
-if ENABLE_DANE
-nobase_include_HEADERS += gnutls/dane.h
-endif
+nobase_include_HEADERS = gnutls/dane.h