diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-25 12:33:24 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-25 12:33:24 (GMT) |
commit | 5fd2550d4c96318b2de4a4a44e15e3c50c268e79 (patch) | |
tree | b712838611281a444a9b603949352bc4003de657 /configure.in | |
parent | 80e155c9cf826d977393ee130a07be599401335e (diff) | |
download | monitoring-plugins-5fd2550d4c96318b2de4a4a44e15e3c50c268e79.tar.gz |
Use coreutils' regexp libraries, so regexp always available now
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1403 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 5988b33..977fe53 100644 --- a/configure.in +++ b/configure.in | |||
@@ -38,7 +38,6 @@ AC_CONFIG_LIBOBJ_DIR(lib) | |||
38 | AC_FUNC_GETLOADAVG([lib]) | 38 | AC_FUNC_GETLOADAVG([lib]) |
39 | 39 | ||
40 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) | 40 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) |
41 | dnl AM_WITH_REGEX | ||
42 | 41 | ||
43 | PLUGIN_TEST=`echo $srcdir/plugins/t/*.t|sed -e 's,\.*/plugins/,,g'` | 42 | PLUGIN_TEST=`echo $srcdir/plugins/t/*.t|sed -e 's,\.*/plugins/,,g'` |
44 | AC_SUBST(PLUGIN_TEST)dnl | 43 | AC_SUBST(PLUGIN_TEST)dnl |
@@ -533,7 +532,6 @@ AC_HEADER_TIME | |||
533 | AC_HEADER_SYS_WAIT | 532 | AC_HEADER_SYS_WAIT |
534 | 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) | 533 | 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) |
535 | AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) | 534 | AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) |
536 | AC_CHECK_HEADERS(regex.h,FOUNDREGEX=yes,FOUNDREGEX=no) | ||
537 | 535 | ||
538 | dnl Checks for typedefs, structures, and compiler characteristics. | 536 | dnl Checks for typedefs, structures, and compiler characteristics. |
539 | AC_C_CONST | 537 | AC_C_CONST |
@@ -1617,8 +1615,7 @@ AC_ARG_WITH(apt-get_command, | |||
1617 | with_apt_get_command=$withval, | 1615 | with_apt_get_command=$withval, |
1618 | with_apt_get_command=$PATH_TO_APTGET) | 1616 | with_apt_get_command=$PATH_TO_APTGET) |
1619 | AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) | 1617 | AC_DEFINE_UNQUOTED(PATH_TO_APTGET,"$PATH_TO_APTGET",[Path to apt-get command, if present]) |
1620 | # check_apt needs regex support | 1618 | if test -n "$PATH_TO_APTGET" ; then |
1621 | if test -n "$PATH_TO_APTGET" && test "$FOUNDREGEX" = "yes"; then | ||
1622 | EXTRAS="$EXTRAS check_apt" | 1619 | EXTRAS="$EXTRAS check_apt" |
1623 | fi | 1620 | fi |
1624 | 1621 | ||