summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure.in
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-10 16:51:06 +0000
committerKarl Berry <karl@freefriends.org>2007-01-10 16:51:06 +0000
commit6bbcb6d005d8788677d5e132889de498d5fd62fb (patch)
treeae6455b860725a73219151172af2064695938b27 /Build/source/texk/configure.in
parent906465a305515a397c4957e7241dfd57a0fcb9fc (diff)
include dvipos for context
git-svn-id: svn://tug.org/texlive/trunk@3293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/configure.in')
-rw-r--r--Build/source/texk/configure.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/configure.in b/Build/source/texk/configure.in
index 0b67f8aa0a4..4a29b8147ac 100644
--- a/Build/source/texk/configure.in
+++ b/Build/source/texk/configure.in
@@ -1,3 +1,6 @@
+dnl Public domain. Originally written many years ago by Karl Berry and
+dnl Thomas Esser, and others.
+dnl
dnl Top-level configure for kpathsea-using programs.
dnl Our job is to run configure in the relevant subdirectories.
dnl
@@ -57,6 +60,7 @@ PKGS='
dvipdfm
dvipdfmx
dvipng
+ dvipos
dvipsk
gsftopk
lacheck
@@ -78,6 +82,22 @@ ESUBDIRS=
for pkg in $PKGS; do
if eval "test \"x`echo '$with_'${pkg}`\" != xno"; then
ESUBDIRS="$ESUBDIRS $pkg"
+
+ if test "$pkg" = dvipos; then
+ # attempt to discover if srcdir = builddir.
+ dir_src=`cd $srcdir/dvipos && /bin/pwd`
+ dir_work=`/bin/pwd`/dvipos # may not exist, so don't cd
+ echo "testing configure kludge for dvipos..."
+ if test "$dir_src" != "$dir_work"; then
+ # this is a terrible kludge, but dvipos has no real configure
+ # and it is claimed crucial for context.
+ # So copy the entire sam2p srcdir into objdir.
+ rm -rf $dir_work
+ mkdir $dir_work
+ cp -pr $dir_src/* $dir_work/ # omit .svn
+ echo " copied dvipos dir_src ($dir_src) dir_work ($dir_work)"
+ fi
+ fi
fi
done
AC_SUBST(ESUBDIRS)