diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/configure.in b/configure.in index a6261c6..5c067b4 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,23 +1,18 @@ | |||
1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_REVISION ($Revision$) | 2 | AC_REVISION ($Revision$) |
3 | AC_PREREQ(2.50) | 3 | AC_PREREQ(2.50) |
4 | AC_INIT(Helper.pm) | 4 | AC_INIT(nagios-plugins,1.3.99) |
5 | VER=1.3.99 | 5 | AC_CONFIG_SRCDIR(Helper.pm) |
6 | REL=1 | 6 | AM_INIT_AUTOMAKE |
7 | AC_SUBST(VER) | ||
8 | AC_SUBST(REL) | ||
9 | PACKAGE_VERSION="${VER}" | ||
10 | AC_SUBST(PACKAGE_VERSION) | ||
11 | PACKAGE_RELEASE="${REL}" | ||
12 | AC_SUBST(PACKAGE_RELEASE) | ||
13 | AM_INIT_AUTOMAKE(nagios-plugins,${PACKAGE_VERSION}) | ||
14 | AM_CONFIG_HEADER(plugins/config.h) | 7 | AM_CONFIG_HEADER(plugins/config.h) |
15 | AC_CANONICAL_HOST | 8 | AC_CANONICAL_HOST |
16 | 9 | ||
10 | RELEASE=1 | ||
11 | AC_SUBST(RELEASE) | ||
12 | |||
17 | AC_PREFIX_DEFAULT(/usr/local/nagios) | 13 | AC_PREFIX_DEFAULT(/usr/local/nagios) |
18 | 14 | ||
19 | dnl Figure out how to invoke "install" and what install options to use. | 15 | dnl Figure out how to invoke "install" and what install options to use. |
20 | |||
21 | AC_PROG_INSTALL | 16 | AC_PROG_INSTALL |
22 | AC_SUBST(INSTALL) | 17 | AC_SUBST(INSTALL) |
23 | 18 | ||
@@ -1394,9 +1389,10 @@ AC_SUBST(EXTRAS) | |||
1394 | AC_SUBST(EXTRA_NETOBJS) | 1389 | AC_SUBST(EXTRA_NETOBJS) |
1395 | AC_SUBST(DEPLIBS) | 1390 | AC_SUBST(DEPLIBS) |
1396 | 1391 | ||
1397 | AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}",[package version]) | 1392 | GETTEXT_VERSION=0.11.4 |
1393 | AM_GNU_GETTEXT | ||
1398 | 1394 | ||
1399 | AC_OUTPUT(Makefile lib/Makefile plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl pkg/solaris/pkginfo) | 1395 | AC_OUTPUT(Makefile lib/Makefile plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl pkg/solaris/pkginfo intl/Makefile po/Makefile.in ) |
1400 | 1396 | ||
1401 | ACX_FEATURE([with],[cgiurl]) | 1397 | ACX_FEATURE([with],[cgiurl]) |
1402 | ACX_FEATURE([with],[nagios-user]) | 1398 | ACX_FEATURE([with],[nagios-user]) |