diff options
| author | Alexander Barton <alex@barton.de> | 2011-01-18 22:41:27 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-01-18 22:41:27 +0100 |
| commit | 58a4dae56dd34e41b32dd3e5cede03a7ea5c7bb5 (patch) | |
| tree | 12d59a516b1674c23c784d3327b51b9fdea001e6 /configure.in | |
| parent | 914d6a26d85ecaf7e0962c40392769cf4764e987 (diff) | |
| download | ngircd-58a4dae56dd34e41b32dd3e5cede03a7ea5c7bb5.tar.gz ngircd-58a4dae56dd34e41b32dd3e5cede03a7ea5c7bb5.zip | |
conf: fix 'Value of "..." is not a number!' for negative values
Don't use isdigit() function any more, because it only checks the first character of the variable value and because it doesn't know about the minus sign which is required e.g. for "Group = -1".
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9a368432..5e334963 100644 --- a/configure.in +++ b/configure.in @@ -162,7 +162,7 @@ AC_CHECK_FUNCS([ \ bind gethostbyaddr gethostbyname gethostname inet_ntoa \ setsid setsockopt socket strcasecmp waitpid],,AC_MSG_ERROR([required function missing!])) -AC_CHECK_FUNCS(getaddrinfo getnameinfo inet_aton isdigit sigaction sigprocmask snprintf \ +AC_CHECK_FUNCS(getaddrinfo getnameinfo inet_aton sigaction sigprocmask snprintf \ vsnprintf strdup strlcpy strlcat strtok_r) # -- Configuration options -- |