From: Harlan Stenn Date: Thu, 1 Aug 2013 21:58:31 +0000 (-0400) Subject: [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock values X-Git-Tag: NTP_4_2_7P379~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c40124d1e00e3a8f14da5dbc4128b66b5032ec3;p=thirdparty%2Fntp.git [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock values bk: 51fada07F_Z7t6_KOZm0CrTSyb36Sg --- diff --git a/ChangeLog b/ChangeLog index b98a6360c..cf12b292c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +* [Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock + values. (4.2.7p378) 2013/08/01 Released by Harlan Stenn * [Bug 2425] move part of input handler code from ntpd.c to ntp_io.c and fix select()-only platforms calling input_handler directly. diff --git a/configure.ac b/configure.ac index 726071412..7f5c699af 100644 --- a/configure.ac +++ b/configure.ac @@ -842,7 +842,7 @@ case "$ans" in ;; esac ;; - [1-9][0-9]*) + [[1-9]][[0-9]]*) ;; *) AC_MSG_ERROR(["--with-stack-limit requires an integer argument."]) ;; @@ -866,7 +866,7 @@ case "$ans" in yes | no) ans=32 ;; - [1-9][0-9]*) ;; + [[1-9]][[0-9]]*) ;; *) AC_MSG_ERROR(["--with-memlock requires an integer argument."]) ;; esac