diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-26 12:32:29 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-26 12:32:29 +0000 |
commit | c00c8298eb6913b74270a36c1f1018f1e9946f7b (patch) | |
tree | 0626d89e0bf74a988ddca1422070ecc5d529f75a /Build/source/texk/dvisvgm/configure.ac | |
parent | 4b8ae4eaaafdf1d834cafb73275b51b1578f6f47 (diff) |
dvisvgm: Add configure option '--without-libgs'
git-svn-id: svn://tug.org/texlive/trunk@32488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm/configure.ac')
-rw-r--r-- | Build/source/texk/dvisvgm/configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/dvisvgm/configure.ac b/Build/source/texk/dvisvgm/configure.ac index f61b91ce82e..9bb07ed41c3 100644 --- a/Build/source/texk/dvisvgm/configure.ac +++ b/Build/source/texk/dvisvgm/configure.ac @@ -51,6 +51,8 @@ KPSE_POTRACE_FLAGS KPSE_SAVE_FLAGS +AS_IF([test "x$with-libgs" = xno], [libgs_mode=no], + [dnl if test "x$with_system_libgs" = xyes; then libgs_mode=link AS_CASE([$with_libgs_includes], @@ -92,11 +94,13 @@ else if test "x$ac_cv_header_dlfcn_h:$ac_cv_func_dlopen" != xyes:yes; then libgs_mode=no KPSE_RESTORE_FLAGS - AC_DEFINE([DISABLE_GS], 1, - [Set to 1 if PostScript support should be disabled.]) LIBGS_LIBS= fi fi +fi]) +if test "x$libgs_mode" = xno; then + AC_DEFINE([DISABLE_GS], 1, + [Set to 1 if PostScript support should be disabled.]) fi AC_SUBST([LIBGS_INCLUDES]) AC_SUBST([LIBGS_LIBS]) |