summaryrefslogtreecommitdiff
path: root/Build/source/texk/configure.in
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-02-02 14:23:40 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2008-02-02 14:23:40 +0000
commitb12d337486bb1b532ff35ad73b39e547b0c80474 (patch)
treee7b80f7c37f28f03f2af4db043a351e43420bf5a /Build/source/texk/configure.in
parent7b6ec243e2c593053c0987fb720fe3fe565ce7fd (diff)
more autoconf updates
git-svn-id: svn://tug.org/texlive/trunk@6488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/configure.in')
-rw-r--r--Build/source/texk/configure.in34
1 files changed, 5 insertions, 29 deletions
diff --git a/Build/source/texk/configure.in b/Build/source/texk/configure.in
index 4a29b8147ac..ad060defe49 100644
--- a/Build/source/texk/configure.in
+++ b/Build/source/texk/configure.in
@@ -15,7 +15,7 @@ dnl
AC_INIT(kpathsea/kpathsea.texi)
dnl These configure scripts won't work with anything else.
-AC_PREREQ(2.13)
+AC_PREREQ(2.59)
AC_PROG_MAKE_SET
@@ -47,7 +47,9 @@ if test "x$with_x" = xno; then
with_xdvik=no
fi
-PKGS='
+AC_CONFIG_SUBDIRS([kpathsea web2c])
+
+KPSE_CONFIG_SUBDIRS([
afm2pl
bibtex8
cjkutils
@@ -76,33 +78,7 @@ PKGS='
xdv2pdf
xdvik
xdvipdfmx
-'
-
-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)
-
-AC_CONFIG_SUBDIRS(kpathsea web2c $ESUBDIRS)
+])
KPSE_CONFIG_FILES([Makefile])
AC_OUTPUT