Merge remote-tracking branch 'stevee/ddns-fixes'
[ddns.git] / configure.ac
CommitLineData
3fdcb9d1
MT
1###############################################################################
2# #
dc11f1ea
MT
3# Pakfire - The IPFire package management system #
4# Copyright (C) 2013 Pakfire development team #
3fdcb9d1
MT
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
f22ab085 20
dc11f1ea 21AC_PREREQ([2.64])
f22ab085 22
dc11f1ea 23AC_INIT([ddns],
6e3ef2d8 24 [004],
dc11f1ea
MT
25 [info@ipfire.org],
26 [ddns],
27 [http://git.ipfire.org/?p=oddments/ddns.git;a=summary])
f22ab085 28
dc11f1ea
MT
29AC_CONFIG_MACRO_DIR([m4])
30AC_CONFIG_AUX_DIR([build-aux])
f22ab085 31
dc11f1ea 32AC_PREFIX_DEFAULT([/usr])
f22ab085 33
dc11f1ea
MT
34AM_INIT_AUTOMAKE([
35 foreign
36 1.11
37 -Wall
38 -Wno-portability
39 silent-rules
40 tar-pax
41 subdir-objects
42])
43AM_SILENT_RULES([yes])
f22ab085 44
dc11f1ea 45IT_PROG_INTLTOOL([0.40.0])
f22ab085 46
dc11f1ea
MT
47GETTEXT_PACKAGE=ddns
48AC_SUBST(GETTEXT_PACKAGE)
49
50AC_PROG_LN_S
51AC_PROG_MKDIR_P
0b5e00a2 52AC_PROG_SED
dc11f1ea
MT
53
54# Python
55AM_PATH_PYTHON([2.7])
56
035f1ee3
MT
57# BIND nsupdate
58AC_CHECK_TOOL([NSUPDATE], [nsupdate])
59if test -z "${NSUPDATE}"; then
60 AC_MSG_ERROR([*** nsupdate not found])
61fi
62
dc11f1ea
MT
63save_LIBS="$LIBS"
64
65AC_CONFIG_FILES([
66 Makefile
67 po/Makefile.in
68 src/ddns/__version__.py
69])
70
71AC_OUTPUT
72AC_MSG_RESULT([
7f18751f 73 ${PACKAGE_NAME} ${VERSION}
dc11f1ea 74
7f18751f
MT
75 prefix : ${prefix}
76 sysconfdir : ${sysconfdir}
77
78 nsupdate : ${NSUPDATE}
dc11f1ea 79])