From 143fecc00b53b751a11bb0b9301a95c7cd114441 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Tue, 5 Nov 2013 12:46:55 +0100 Subject: port to librevenge-generators Change-Id: Ie15bcf35d65fdd1b4a9ccd0b59fea05136400625 --- configure.ac | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3cd9418..5b3f67b 100644 --- a/configure.ac +++ b/configure.ac @@ -59,7 +59,6 @@ AC_SUBST(GPERF) # ==================== PKG_CHECK_MODULES([REVENGE],[ librevenge-0.0 - librevenge-stream-0.0 ]) PKG_CHECK_MODULES([LIBXML],[ @@ -116,6 +115,28 @@ AC_CHECK_HEADERS( [] ) +# ===== +# Tools +# ===== +AC_ARG_ENABLE([tools], + [AS_HELP_STRING([--disable-tools], [Build conversion tools])], + [enable_tools="$enableval"], + [enable_tools=yes] +) +AS_IF([test "x$enable_tools" = "xyes"], [ + PKG_CHECK_MODULES([REVENGE_GENERATORS],[ + librevenge-generators-0.0 + ]) + PKG_CHECK_MODULES([REVENGE_STREAM],[ + librevenge-stream-0.0 + ]) +]) +AC_SUBST([REVENGE_GENERATORS_CFLAGS]) +AC_SUBST([REVENGE_GENERATORS_LIBS]) +AC_SUBST([REVENGE_STREAM_CFLAGS]) +AC_SUBST([REVENGE_STREAM_LIBS]) +AM_CONDITIONAL(BUILD_TOOLS, [test "x$enable_tools" = "xyes"]) + # ================================= # Libtool/Version Makefile settings # ================================= -- cgit v1.2.3