[Nagiosplug-checkins] nagiosplug configure.in,1.187,1.188

Ton Voon tonvoon at users.sourceforge.net
Thu May 25 05:34:21 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20401

Modified Files:
	configure.in 
Log Message:
Use coreutils' regexp libraries, so regexp always available now


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- configure.in	24 May 2006 12:48:07 -0000	1.187
+++ configure.in	25 May 2006 12:33:24 -0000	1.188
@@ -38,7 +38,6 @@
 AC_FUNC_GETLOADAVG([lib])
 
 ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD])
-dnl AM_WITH_REGEX
 
 PLUGIN_TEST=`echo $srcdir/plugins/t/*.t|sed -e 's,\.*/plugins/,,g'`
 AC_SUBST(PLUGIN_TEST)dnl
@@ -533,7 +532,6 @@
 AC_HEADER_SYS_WAIT
 AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h uio.h errno.h sys/types.h sys/time.h sys/socket.h sys/loadavg.h sys/un.h sys/poll.h)
 AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h)
-AC_CHECK_HEADERS(regex.h,FOUNDREGEX=yes,FOUNDREGEX=no)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
@@ -1617,8 +1615,7 @@
                             with_apt_get_command=$withval,
                             with_apt_get_command=$PATH_TO_APTGET)
 AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present])
-# check_apt needs regex support
-if test -n "$PATH_TO_APTGET" && test "$FOUNDREGEX" = "yes"; then
+if test -n "$PATH_TO_APTGET" ; then
 	EXTRAS="$EXTRAS check_apt"
 fi
 





More information about the Commits mailing list