From 6684474324a04b457fe7019684c42eb68c4fea4b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 9 Jul 2006 22:44:40 +0000 Subject: new graphics utility sam2p git-svn-id: svn://tug.org/texlive/trunk@1792 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/configure | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Build/source/configure') diff --git a/Build/source/configure b/Build/source/configure index 7d61a8da2ee..a8b49f29894 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -4374,15 +4374,21 @@ test "$needs_freetype" = yes && test "$using_system_freetype" != yes \ subdirs="$subdirs libs" -PKGS='dialog lcdf-typetools pdfopen psutils t1utils texi2html texinfo' +PKGS='dialog lcdf-typetools pdfopen psutils sam2p t1utils texi2html texinfo' ESUBDIRS= +test -d utils || mkdir utils for pkg in $PKGS; do if test -d $srcdir/utils/$pkg; then if eval "test \"`echo '$with_'${pkg}`\" != no"; then ESUBDIRS="$ESUBDIRS utils/$pkg" + if test $pkg = sam2p; then + # this is a terrible kludge, but sam2p configure actively + # defeats srcdir!=objdir support, and Peter S. doesn't want to + # fix it. So copy the entire sam2p srcdir into objdir. + rm -rf utils/sam2p + cp -pr $srcdir/utils/sam2p utils + fi subdirs="$subdirs utils/$pkg" - - test -d utils || mkdir utils fi fi done -- cgit v1.2.3