dnl Copyright (C) 2001-2003 Peter Selinger. dnl This file is part of lpr-wrapper. It is free software and it is covered dnl by the GNU general public license. See the file COPYING for details. dnl Process this file with autoconf to produce a configure script. dnl ---------------------------------------------------------------------- dnl Package info AC_INIT(lpr-wrapper.in) AM_INIT_AUTOMAKE(lpr-wrapper, 0.6) DATE="January 2004" dnl ---------------------------------------------------------------------- dnl The names of the installed executables are in dnl principle configurable. However, they should not normally be changed, dnl because other scripts might depend on them. LPRWRAPPER=lpr-wrapper AC_DEFINE_UNQUOTED(LPRWRAPPER,"$LPR-WRAPPER",Name of the lpr-wrapper binary) dnl ---------------------------------------------------------------------- dnl Check for location of "lpr". AC_PATH_PROG(LPR,lpr) if [[ "$LPR" = "" ]]; then LPR=/usr/bin/lpr fi dnl ---------------------------------------------------------------------- dnl set the installation prefix to match that of "lpr" AC_PREFIX_PROGRAM(lpr) dnl ---------------------------------------------------------------------- dnl Set up substitutions of non-standard configuration parameters AC_SUBST(DATE) AC_SUBST(LPRWRAPPER) AC_SUBST(LPR) dnl ---------------------------------------------------------------------- AC_OUTPUT([Makefile lpr-wrapper ])