dnl Process this file with autoconf to produce a configure script. dnl dnl Copyright (C) 2009 Peter Breitenlohner 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 AC_INIT([vlna for TeX Live], [1.3], [tex-live@tug.org]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR([vlna.w]) AC_CONFIG_AUX_DIR([../../build-aux]) AC_CONFIG_MACRO_DIR([../../m4]) AM_INIT_AUTOMAKE([foreign no-define]) AM_MAINTAINER_MODE # Checks for programs. AC_PROG_CC KPSE_COMPILER_WARNINGS # With --enable-maintainer-mode we may want to regenerate # vlna.c, vlna.tex, and vlna.dvi, this requires ctangle, cweave, and csplain. AC_CHECK_PROGS([CTANGLE], [ctangle], [none]) AC_CHECK_PROGS([CWEAVE], [cweave], [none]) AC_CHECK_PROGS([CSPLAIN], [csplain], [none]) do_cweb=$enable_maintainer_mode if test x"$do_cweb" = xyes; then case :$CTANGLE:$CWEAVE:$CSPLAIN: in *:none:*) AC_MSG_WARN([Can not regenerate vlna.c, vlna.tex, and vlna.dvi -- requires ctangle, cweave, and csplain.]) do_cweb=no ;; esac fi AM_CONDITIONAL([do_cweb], [test "x$do_cweb" = xyes]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT