Fix multiple inclusions of config.h.

* src/bin/common_sys.hh: New file.
* src/bin/Makefile.am: Add it.
* src/bin/common_output.hh, src/bin/common_r.cc,
src/bin/common_range.cc, src/bin/genltl.cc, src/bin/ltlfilt.cc,
src/bin/randltl.cc: Include common_sys.hh instead of config.h.
This commit is contained in:
Alexandre Duret-Lutz 2012-09-12 13:19:17 +02:00
parent 04b5e37055
commit 26deb56a9c
8 changed files with 41 additions and 26 deletions

View file

@ -27,13 +27,14 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS)
LDADD = libcommon.a $(top_builddir)/lib/libgnu.a ../libspot.la
noinst_LIBRARIES = libcommon.a
libcommon_a_SOURCES = \
common_output.cc \
common_output.hh \
libcommon_a_SOURCES = \
common_output.cc \
common_output.hh \
common_range.cc \
common_range.hh \
common_range.hh \
common_r.cc \
common_r.hh
common_r.hh \
common_sys.hh
bin_PROGRAMS = ltlfilt genltl randltl
ltlfilt_SOURCES = ltlfilt.cc