From: ellson Date: Tue, 31 Mar 2009 15:07:56 +0000 (+0000) Subject: Hook up Glen's new -Tvdx Visio renderer X-Git-Tag: LAST_LIBGRAPH~32^2~2212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb08fda41ab8ad5d6ad12f28e18893861a8f88a7;p=graphviz Hook up Glen's new -Tvdx Visio renderer --- diff --git a/configure.ac b/configure.ac index e1a9d5278..2b980ea21 100644 --- a/configure.ac +++ b/configure.ac @@ -1883,6 +1883,30 @@ else fi AM_CONDITIONAL(WITH_GS, [test "x$use_ghostscript" = "xYes"]) +dnl ----------------------------------- +dnl INCLUDES and LIBS for VISIO + +AC_ARG_WITH(visio, + [AS_HELP_STRING([--with-visio=no],[visio library])], + [], [with_visio=no]) + +if test "x$with_visio" != "xyes"; then + use_visio="No (disabled by default - experimental)" +else +# AC_CHECK_HEADER(visio/visio.h, VISIO_CFLAGS="",use_visio="No (missing headers)") +# if test "x$use_visio" = "x"; then +# AC_CHECK_LIB(visio, main, VISIO_LIBS="-lgs", use_visio="No (missing lib)") +# if test "x$use_visio" = "x"; then + use_visio="Yes" + AC_DEFINE_UNQUOTED(HAVE_VISIO,1, + [Define if you have the visio library]) + AC_SUBST(VISIO_CFLAGS) + AC_SUBST(VISIO_LIBS) +# fi +# fi +fi +AM_CONDITIONAL(WITH_VISIO, [test "x$use_visio" = "xYes"]) + dnl ----------------------------------- dnl INCLUDES and LIBS for PANGO, CAIRO et.al. @@ -2920,6 +2944,7 @@ AC_CONFIG_FILES(Makefile plugin/pango/Makefile plugin/quartz/Makefile plugin/rsvg/Makefile + plugin/visio/Makefile plugin/xlib/Makefile plugin/dot_layout/Makefile plugin/neato_layout/Makefile @@ -3040,6 +3065,7 @@ echo " ming: $use_ming" echo " pangocairo: $use_pangocairo" echo " quartz: $use_quartz" echo " rsvg: $use_rsvg" +echo " visio: $use_visio" echo " xlib: $use_xlib" echo "" echo "language extensions:"