diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-09-13 11:36:57 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-09-13 11:36:57 (GMT) |
commit | 0708e6fa812387214ca1da00d8bad941a2ad5aff (patch) | |
tree | 6c544412e666c80a3600f8e33f6a466c714a3328 /configure.in | |
parent | 29d5acb7c821c8be23b32be9e01b242efad5b872 (diff) | |
download | monitoring-plugins-0708e6fa812387214ca1da00d8bad941a2ad5aff.tar.gz |
Adding in optional Nagios::Plugin perl module (and
dependencies) compilation and installation
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1777 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 86f3780..9067978 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1503,6 +1503,16 @@ elif test "$ac_cv_enable_redhat_pthread_workaround" = "yes" ; then | |||
1503 | AC_DEFINE(REDHAT_SPOPEN_ERROR, 1, [Forced workaround on redhat in spopen]) | 1503 | AC_DEFINE(REDHAT_SPOPEN_ERROR, 1, [Forced workaround on redhat in spopen]) |
1504 | fi | 1504 | fi |
1505 | 1505 | ||
1506 | dnl Perl modules | ||
1507 | AC_ARG_ENABLE(perl-modules, | ||
1508 | AC_HELP_STRING([--enable-perl-modules], | ||
1509 | [Enables installation of Nagios::Plugin and its dependencies (default: no)]), | ||
1510 | [enable_perl_modules=$enableval], | ||
1511 | [enable_perl_modules=no]) | ||
1512 | if test "$enable_perl_modules" = "yes" ; then | ||
1513 | AC_SUBST(PERLMODS_DIR,perlmods) | ||
1514 | fi | ||
1515 | |||
1506 | dnl External libraries - see ACKNOWLEDGEMENTS | 1516 | dnl External libraries - see ACKNOWLEDGEMENTS |
1507 | gl_INIT | 1517 | gl_INIT |
1508 | 1518 | ||
@@ -1521,6 +1531,7 @@ AC_OUTPUT( | |||
1521 | plugins-scripts/subst | 1531 | plugins-scripts/subst |
1522 | plugins-scripts/utils.pm | 1532 | plugins-scripts/utils.pm |
1523 | plugins-scripts/utils.sh | 1533 | plugins-scripts/utils.sh |
1534 | perlmods/Makefile | ||
1524 | command.cfg | 1535 | command.cfg |
1525 | test.pl | 1536 | test.pl |
1526 | pkg/solaris/pkginfo | 1537 | pkg/solaris/pkginfo |
@@ -1558,6 +1569,7 @@ ACX_FEATURE([with],[mysql]) | |||
1558 | ACX_FEATURE([with],[openssl]) | 1569 | ACX_FEATURE([with],[openssl]) |
1559 | ACX_FEATURE([with],[gnutls]) | 1570 | ACX_FEATURE([with],[gnutls]) |
1560 | ACX_FEATURE([with],[perl]) | 1571 | ACX_FEATURE([with],[perl]) |
1572 | ACX_FEATURE([enable],[perl-modules]) | ||
1561 | ACX_FEATURE([with],[cgiurl]) | 1573 | ACX_FEATURE([with],[cgiurl]) |
1562 | ACX_FEATURE([with],[trusted-path]) | 1574 | ACX_FEATURE([with],[trusted-path]) |
1563 | 1575 | ||