summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-09-13 11:36:57 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2007-09-13 11:36:57 +0000
commit0708e6fa812387214ca1da00d8bad941a2ad5aff (patch)
tree6c544412e666c80a3600f8e33f6a466c714a3328 /configure.in
parent29d5acb7c821c8be23b32be9e01b242efad5b872 (diff)
downloadmonitoring-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.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 86f37809..9067978a 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])
1504fi 1504fi
1505 1505
1506dnl Perl modules
1507AC_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])
1512if test "$enable_perl_modules" = "yes" ; then
1513 AC_SUBST(PERLMODS_DIR,perlmods)
1514fi
1515
1506dnl External libraries - see ACKNOWLEDGEMENTS 1516dnl External libraries - see ACKNOWLEDGEMENTS
1507gl_INIT 1517gl_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])
1558ACX_FEATURE([with],[openssl]) 1569ACX_FEATURE([with],[openssl])
1559ACX_FEATURE([with],[gnutls]) 1570ACX_FEATURE([with],[gnutls])
1560ACX_FEATURE([with],[perl]) 1571ACX_FEATURE([with],[perl])
1572ACX_FEATURE([enable],[perl-modules])
1561ACX_FEATURE([with],[cgiurl]) 1573ACX_FEATURE([with],[cgiurl])
1562ACX_FEATURE([with],[trusted-path]) 1574ACX_FEATURE([with],[trusted-path])
1563 1575