summaryrefslogtreecommitdiff
path: root/Build/source/utils/configure.ac
blob: 712041c64800510937249ff9edfb026c7d799653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
dnl Process this file with autoconf to produce a configure script.
dnl
dnl   Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
dnl
dnl   This file is free software; the copyright holder
dnl   gives unlimited permission to copy and/or distribute it,
dnl   with or without modifications, as long as this notice is preserved.
dnl
m4_include([../version.ac])[] dnl define tex_live_version
AC_INIT([TeX Live utils], tex_live_version(), [tex-k@tug.org])
AC_PREREQ([2.65])
AC_CONFIG_SRCDIR([../build-aux/missing])
AC_CONFIG_AUX_DIR([../build-aux])
AC_CONFIG_MACRO_DIR([../m4])

dnl See comment in ../configure.ac
KPSE_SETUP([../])

KPSE_BASIC([utils])

AC_PROG_MKDIR_P

AC_MSG_CHECKING([for Utils programs to build])
MAKE_SUBDIRS=
CONF_SUBDIRS=
KPSE_FOR_PKGS([utils], [
if test -x $srcdir/Kpse_Pkg/configure; then
  test "x$enable_[]Kpse_pkg" = xno || MAKE_SUBDIRS="$MAKE_SUBDIRS Kpse_Pkg"
dnl Cause 'make dist' to recurse into all subutils dirs
  CONF_SUBDIRS="$CONF_SUBDIRS Kpse_Pkg"
dnl Cause 'configure -hr' and 'autoreconf' to recurse into all subutils dirs
  if false; then
    AC_CONFIG_SUBDIRS(Kpse_Pkg)
  fi
fi
])
AC_SUBST([MAKE_SUBDIRS])
AC_SUBST([CONF_SUBDIRS])
AC_MSG_RESULT([$MAKE_SUBDIRS])

AC_CONFIG_FILES([Makefile])

AC_OUTPUT