summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/configure.ac.work
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/configure.ac.work')
-rw-r--r--Build/source/texk/dvipng/configure.ac.work91
1 files changed, 0 insertions, 91 deletions
diff --git a/Build/source/texk/dvipng/configure.ac.work b/Build/source/texk/dvipng/configure.ac.work
deleted file mode 100644
index ed645fa2a89..00000000000
--- a/Build/source/texk/dvipng/configure.ac.work
+++ /dev/null
@@ -1,91 +0,0 @@
-# configure.ac
-
-# Process this file with autoconf to produce a configure script.
-AC_INIT([dvipng], [1.12], [dvipng@nongnu.org])
-AC_CONFIG_SRCDIR([dvipng.c])
-
-
-# Checks for programs.
-AC_SET_MAKE
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_ARG_WITH(gs,
- AC_HELP_STRING([--with-gs=/PATH/TO/gs],[Hard-wire the location of GhostScript]),
- [if test "x$withval" != xno ; then
- AC_PATH_PROG(GS,["$withval"])
- AC_DEFINE_UNQUOTED(GS_PATH, "$GS", [Define as the path to GhostScript.])
- GS_CHECK_DEVICES
- fi],
- [AC_CHECK_PROG(GS,gs,gs)
- AC_DEFINE_UNQUOTED(GS_PATH, "gs", [Define as the path to GhostScript.])
- if test -n "$GS"; then
- GS_CHECK_DEVICES
- else
- AC_MSG_WARN([Cannot find GhostScript in your PATH])
- fi
-])
-
-# Checks for libraries.
-
-# Checks for header files.
-
-# Checks for typedefs, structures, and compiler characteristics.
-
-# Checks for library functions.
-
-# Documentation-related checks
-
-# SELFAUTO
-AC_ARG_ENABLE(selfauto-set,
- AC_HELP_STRING([--enable-selfauto-set],
- [This option will make the final binary explicitly set the
- $SELFAUTO... variables to make it look as dvipng is installed in the
- main texmf tree, even if it isn't. This is necessary when texmf.cnf
- only uses $SELFAUTO... variables and dvipng is not installed in the
- texmf tree. Otherwise, dvipng may not be able to find virtual
- fonts, or psfonts.map. To find out, first build the binary and do
- 'make test'. If the test fails, you need this switch.]),
- [ if test "$enableval" = yes ; then
- AC_MSG_CHECKING([for \$SELFAUTOLOC])
- SELFAUTOLOC=`kpsewhich -expand-var=\\\$SELFAUTOLOC`
- AC_DEFINE_UNQUOTED(ENV_SELFAUTOLOC,["SELFAUTOLOC=$SELFAUTOLOC"],
- [The environment setting for $SELFAUTOLOC])
- AC_MSG_RESULT([$SELFAUTOLOC])
- AC_MSG_CHECKING([for \$SELFAUTODIR])
- SELFAUTODIR=`kpsewhich -expand-var=\\\$SELFAUTODIR`
- AC_DEFINE_UNQUOTED(ENV_SELFAUTODIR,["SELFAUTODIR=$SELFAUTODIR"],
- [The environment setting for $SELFAUTODIR])
- AC_MSG_RESULT([$SELFAUTODIR])
- AC_MSG_CHECKING([for \$SELFAUTOPARENT])
- SELFAUTOPARENT=`kpsewhich -expand-var=\\\$SELFAUTOPARENT`
- AC_DEFINE_UNQUOTED(ENV_SELFAUTOPARENT,["SELFAUTOPARENT=$SELFAUTOPARENT"],
- [The environment setting for $SELFAUTOPARENT])
- AC_MSG_RESULT([$SELFAUTOPARENT])
- fi ],
- [AC_MSG_CHECKING([for texmf.cnf])
- TEXMF_CNF=`kpsewhich texmf.cnf`
- AC_MSG_RESULT([$TEXMF_CNF])
- AC_PATH_PROG(KPSEWHICH, kpsewhich)
- AC_MSG_CHECKING([for psfonts.map])
- cp $KPSEWHICH .
- PSFONTS_MAP=`./kpsewhich psfonts.map`
- rm -f ./kpsewhich
- if test -n "$PSFONTS_MAP"; then
- AC_MSG_RESULT([$PSFONTS_MAP])
- else
- AC_MSG_RESULT([not found from outside the texmf tree])
- AC_MSG_CHECKING([for \$SELFAUTO in texmf.cnf])
- if grep SELFAUTO "$TEXMF_CNF" > /dev/null 2> /dev/null; then
- AC_MSG_RESULT([yes
-***************************************************************
-texmf.cnf is using \$SELFAUTO... variables. If you are going to
-install dvipng outside the texmf tree, you may need to use
---enable-selfauto-set. To find out, do 'make ; make test'. If the test
-is unsuccessful, add the mentioned switch and rebuild.
-***************************************************************])
- else
- AC_MSG_RESULT([no])
- fi
- fi])
-