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

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

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

# 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"$enable_maintainer_mode" = xyes; then
  case :$CTANGLE:$CWEAVE:$CSPLAIN: in
  *:none:*)
    AC_MSG_WARN([Maintainer mode disabled -- requires ctangle, cweave, and csplain.])
    enable_maintainer_mode=no
  ;;
  esac
fi

AM_MAINTAINER_MODE[]dnl maintainer mode only if requested

AC_CONFIG_FILES([Makefile])
AC_OUTPUT