From: Explorer09 Date: Sat, 26 Aug 2017 14:23:50 +0000 (+0800) Subject: Don't install libfl.pc if --disable-libfl. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e19c55cab9eeedb59a0c4c1245d44ed51ff88f;p=flex Don't install libfl.pc if --disable-libfl. --- diff --git a/src/Makefile.am b/src/Makefile.am index 2181127..6e71893 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,7 @@ AM_YFLAGS = -d AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" LIBS = @LIBS@ +pkgconfigdir = @pkgconfigdir@ m4 = @M4@ @@ -9,11 +10,9 @@ if ENABLE_BOOTSTRAP noinst_PROGRAMS = stage1flex endif -pkgconfigdir = @pkgconfigdir@ -pkgconfig_DATA = libfl.pc - if ENABLE_LIBFL lib_LTLIBRARIES = libfl.la +pkgconfig_DATA = libfl.pc endif libfl_la_SOURCES = \ libmain.c \