diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-11-05 12:46:55 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-11-05 12:46:55 +0100 |
commit | 143fecc00b53b751a11bb0b9301a95c7cd114441 (patch) | |
tree | b0c91640c05cd1d233d72f0cf4ffcc9fb519cd29 /configure.ac | |
parent | 2553cd43803e6af436a6c9e1aa40b4c1d2c3e3d2 (diff) |
port to librevenge-generators
Change-Id: Ie15bcf35d65fdd1b4a9ccd0b59fea05136400625
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 22 insertions, 1 deletions
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 # ================================= |