From d6b68e58217ed2971ab581a9c0e4db84b70d0fd6 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 18 Nov 2009 10:31:12 +0000 Subject: dvisvgm: enable support for PostScript specials git-svn-id: svn://tug.org/texlive/trunk@16063 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/configure | 59 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 21 deletions(-) (limited to 'Build/source/configure') diff --git a/Build/source/configure b/Build/source/configure index e159938cda6..2190b3da810 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -938,6 +938,8 @@ enable_dvipos enable_dvipsk enable_dvisvgm with_system_libgs +with_libgs_includes +with_libgs_libdir enable_gsftopk enable_lacheck enable_lcdf_typetools @@ -1775,7 +1777,10 @@ Optional Packages: --without-mf-x-toolkit do not use X toolkit for METAFONT --with-gs=/PATH/TO/gs Hard-wire the location of GhostScript --with-system-libgs build dvisvgm with installed gs headers and library - [default: no, may require CPPFLAGS and LDFLAGS] + [default: no] + --with-libgs-includes=DIR + libgs headers installed in DIR + --with-libgs-libdir=DIR libgs library installed in DIR --with-xdvi-x-toolkit=KIT Use toolkit KIT (motif/xaw/xaw3d/neXtaw) for xdvi [default: Motif if available, else Xaw] @@ -3763,6 +3768,18 @@ if test "${with_system_libgs+set}" = set; then : fi +# Check whether --with-libgs-includes was given. +if test "${with_libgs_includes+set}" = set; then : + withval=$with_libgs_includes; +fi + + +# Check whether --with-libgs-libdir was given. +if test "${with_libgs_libdir+set}" = set; then : + withval=$with_libgs_libdir; +fi + + ## texk/dvisvgm/ac/libgs.ac: configure.ac fragment for the TeX Live subdirectory texk/dvisvgm/ ## configure checks for dvisvgm and libgs if test "x$enable_native_texlive_build:$with_system_libgs" = xyes:yes; then @@ -6729,13 +6746,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:6732: $ac_compile\"" >&5) + (eval echo "\"\$as_me:6749: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6735: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:6752: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:6738: output\"" >&5) + (eval echo "\"\$as_me:6755: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -7941,7 +7958,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 7944 "configure"' > conftest.$ac_ext + echo '#line 7961 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -9573,11 +9590,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9576: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9593: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9580: \$? = $ac_status" >&5 + echo "$as_me:9597: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -9912,11 +9929,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9915: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9932: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9919: \$? = $ac_status" >&5 + echo "$as_me:9936: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -10017,11 +10034,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10020: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10037: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10024: \$? = $ac_status" >&5 + echo "$as_me:10041: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10072,11 +10089,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10075: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10092: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10079: \$? = $ac_status" >&5 + echo "$as_me:10096: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12439,7 +12456,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12442 "configure" +#line 12459 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12535,7 +12552,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12538 "configure" +#line 12555 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17008,11 +17025,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17011: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17028: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17015: \$? = $ac_status" >&5 + echo "$as_me:17032: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -17107,11 +17124,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17110: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17127: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17114: \$? = $ac_status" >&5 + echo "$as_me:17131: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17159,11 +17176,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:17162: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17179: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17166: \$? = $ac_status" >&5 + echo "$as_me:17183: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized -- cgit v1.2.3