summaryrefslogtreecommitdiff
path: root/Build/source/utils/vlna/configure.ac
blob: a00c07c9dfedf2fdf7fb98a700d83fa9279a864a (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
dnl configure.ac -- Peter Breitenlohner <peb@mppmu.mpg.de> -- Public domain.

AC_PREREQ(2.62)
AC_INIT([vlna], [1.3], [tex-live@tug.org])
AC_CONFIG_SRCDIR([vlna.w])

AM_INIT_AUTOMAKE([foreign no-define])dnl using automake

AM_MAINTAINER_MODE[]dnl maintainer mode only if requested
AC_DISABLE_OPTION_CHECKING[]dnl disable warning for unrecognized inherited options

# Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL

dnl Maintainer mode requires ctangle, cweave, and csplain
AC_CHECK_PROGS([CTANGLE], [ctangle], [none])
AC_CHECK_PROGS([CWEAVE], [cweave], [none])
AC_CHECK_PROGS([CSPLAIN], [csplain], [none])

if test x"$USE_MAINTAINER_MODE" = xyes; then
  case :$CTANGLE:$CWEAVE:$CSPLAIN: in
  *:none:*)
    AC_MSG_ERROR([Maintainer mode requires ctangle, cweave, and csplain in your PATH.])
  ;;
  esac
fi

AM_CONDITIONAL([TETEX_BUILD], [test x"$enable_tetex_build" = xyes])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT