From c608842db95d138c721b8506d9d91b28bd1b7d17 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 21 Nov 2005 10:31:34 +0000 Subject: [PATCH] (lib_LTLIBRARIES): Define it conditionaly on WITH_GUI. --- src/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e56c7ed..fa1530d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,12 +21,12 @@ VINFO = -version-info @API_VERSION@ -lib_LTLIBRARIES = \ - libm17n-core.la \ - libm17n.la \ - libm17n-gui.la \ - libm17n-X.la \ - libm17n-gd.la +BUILD_LIBS = libm17n-core.la libm17n.la +if WITH_GUI +BUILD_LIBS += libm17n-gui.la libm17n-X.la libm17n-gd.la +endif + +lib_LTLIBRARIES = $(BUILD_LIBS) libm17n_core_la_SOURCES = \ character.h character.c \ -- 1.7.10.4