diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2005-09-12 10:31:29 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2005-09-12 10:31:29 +0000 |
commit | e85edd9e55d79b7e475f009df64accb65f317905 (patch) | |
tree | 1adf431a06733721b459d673fc1214295f53774a /configure.in | |
parent | 3c554b72de0df28175e7ed8a0bcf3b7e509335d9 (diff) | |
download | monitoring-plugins-e85edd9e55d79b7e475f009df64accb65f317905.tar.gz |
ECHILD error at waitpid on Red Hat systems (Peter Pramberger and
Sascha Runschke - 1250191)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1213 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 5453fe1d..4f9dc1c9 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1520,6 +1520,22 @@ AC_SUBST(DEPLIBS) | |||
1520 | AM_GNU_GETTEXT([no-libtool], [need-ngettext]) | 1520 | AM_GNU_GETTEXT([no-libtool], [need-ngettext]) |
1521 | AM_GNU_GETTEXT_VERSION(0.11.5) | 1521 | AM_GNU_GETTEXT_VERSION(0.11.5) |
1522 | 1522 | ||
1523 | dnl Check for Redhat spopen problem | ||
1524 | dnl Wierd problem where ECHILD is returned from a wait call in error | ||
1525 | dnl Only appears to affect nslookup and dig calls. Only affects redhat around | ||
1526 | dnl 2.6.9-11 (okay in 2.6.9-5). Redhat investigating root cause | ||
1527 | dnl We patch plugins/popen.c | ||
1528 | if echo $ac_cv_uname_r | egrep "\.EL$" >/dev/null 2>&1 ; then | ||
1529 | AC_MSG_CHECKING(for redhat spopen problem) | ||
1530 | ( cd config_test && make && make test ) > /dev/null 2>&1 | ||
1531 | if test $? -eq 0 ; then | ||
1532 | AC_MSG_RESULT(okay) | ||
1533 | else | ||
1534 | AC_MSG_RESULT(error) | ||
1535 | AC_DEFINE(REDHAT_SPOPEN_ERROR, 1, "Problem on redhat with spopen") | ||
1536 | fi | ||
1537 | fi | ||
1538 | |||
1523 | dnl External libraries - see ACKNOWLEDGEMENTS | 1539 | dnl External libraries - see ACKNOWLEDGEMENTS |
1524 | np_COREUTILS | 1540 | np_COREUTILS |
1525 | np_CURL | 1541 | np_CURL |