3 dnl Configuration script for zoneconf
5 dnl (c) 2011 Mark Wooding
8 dnl----- Licensing notice ---------------------------------------------------
10 dnl This program is free software; you can redistribute it and/or modify
11 dnl it under the terms of the GNU General Public License as published by
12 dnl the Free Software Foundation; either version 2 of the License, or
13 dnl (at your option) any later version.
15 dnl This program is distributed in the hope that it will be useful,
16 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
17 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 dnl GNU General Public License for more details.
20 dnl You should have received a copy of the GNU General Public License
21 dnl along with this program; if not, write to the Free Software Foundation,
22 dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 AC_INIT([zoneconf], AUTO_VERSION, [mdw@distorted.org.uk])
27 AC_CONFIG_SRCDIR([zoneconf.in])
28 AC_CONFIG_AUX_DIR([config])
29 AM_INIT_AUTOMAKE([foreign])
32 dnl Directories for things.
33 AC_MSG_CHECKING([where the BIND utility programs are])
36 /bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin \
37 $(echo $PATH | tr : " ")
40 for prog in rndc named-checkzone dnssec-signzone; do
41 if ! test -x "$dir/$prog"; then
46 case $foundp in t) bindprogsdir=$dir; break ;; esac
49 none) AC_MSG_ERROR([Failed to find BIND utilties.]) ;;
51 AC_MSG_RESULT([$bindprogsdir])
52 AC_SUBST([bindprogsdir])
54 dnl Tcl language support.
62 dnl----- That's all, folks --------------------------------------------------