From: Werner Fink Date: Mon, 12 Sep 2011 15:25:29 +0000 (+0200) Subject: Correct defines for timeout in configure.ac X-Git-Tag: v22.15~3^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d03fe8ca1d494d1cc48ca26aa0d780ad0cd4898;p=psmisc Correct defines for timeout in configure.ac Signed-off-by: Werner Fink --- diff --git a/ChangeLog b/ChangeLog index e5c36fe..3419cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ Changes in 22.15 * Patch from Corrina Vinschen for compiling on cygwin * Remove doubled content in src/lists.h * Add another 2 for thread brackets in pstree.c + * Correct defines for timeout in configure.ac Changes in 22.14 ================ diff --git a/configure.ac b/configure.ac index 6177975..d54f0ad 100644 --- a/configure.ac +++ b/configure.ac @@ -26,12 +26,12 @@ AC_SUBST([SELINUX_LIB]) dnl Call fork before all stat calls to stop hanging on NFS mounts AC_SUBST([WITH_TIMEOUT_STAT]) -AC_ARG_ENABLE([TIMEOUT_STAT], +AC_ARG_ENABLE([timeout_stat], [AS_HELP_STRING([--enable-timeout-stat], [Use a timeout on stat calls])], [enable_timeout_stat=$enableval], [enable_timeout_stat="no"]) if test "$enable_timeout_stat" = "yes"; then - AC_DEFINE([WITH_timeout_stat], [1], [Use timeout on stat calls]) + AC_DEFINE([WITH_TIMEOUT_STAT], [1], [Use timeout on stat calls]) fi dnl ipv4 only option