From 37d64b89f9a3a293a3eb3f744a62d4b8402ac48c Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
Date: Thu, 13 Oct 2005 11:51:15 +0000
Subject: Run spopen tests for Redhat ES SMP (Hans Engelen)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1252 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/configure.in b/configure.in
index a266682..86cb99f 100644
--- a/configure.in
+++ b/configure.in
@@ -1553,7 +1553,9 @@ dnl Wierd problem where ECHILD is returned from a wait call in error
 dnl Only appears to affect nslookup and dig calls. Only affects redhat around
 dnl 2.6.9-11 (okay in 2.6.9-5). Redhat investigating root cause
 dnl We patch plugins/popen.c
-if echo $ac_cv_uname_r | egrep "\.EL$" >/dev/null 2>&1 ; then
+dnl Need to add smp because uname different on those. May need to check
+dnl Fedora Core too in future
+if echo $ac_cv_uname_r | egrep "\.EL(smp)?$" >/dev/null 2>&1 ; then
 	AC_MSG_CHECKING(for redhat spopen problem)
 	( cd config_test && make && make test ) > /dev/null 2>&1
 	if test $? -eq 0 ; then
-- 
cgit v0.10-9-g596f

