]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2448] Fix checks for configure --with-stack-limit and --with-memlock values
authorHarlan Stenn <stenn@ntp.org>
Thu, 1 Aug 2013 21:58:31 +0000 (17:58 -0400)
committerHarlan Stenn <stenn@ntp.org>
Thu, 1 Aug 2013 21:58:31 +0000 (17:58 -0400)
bk: 51fada07F_Z7t6_KOZm0CrTSyb36Sg

ChangeLog
configure.ac

index b98a6360c306d7b00977800d3997c7394d5cd384..cf12b292ccba9d561ab57a3c5aef97e2a2e815e8 100644 (file)
--- 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 <stenn@ntp.org>
 * [Bug 2425] move part of input handler code from ntpd.c to ntp_io.c
   and fix select()-only platforms calling input_handler directly.
index 72607141206eaf9c2dc37a990821563fc8df0b4e..7f5c699af89cc84c9607e5c3008f53e670bee174 100644 (file)
@@ -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