From 08e19c55cab9eeedb59a0c4c1245d44ed51ff88f Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sat, 26 Aug 2017 22:23:50 +0800 Subject: [PATCH] Don't install libfl.pc if --disable-libfl. --- src/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 \ -- 2.40.0