diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2017-05-19 10:22:44 +0200 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2017-05-19 07:29:15 -0400 |
commit | 2b290d8ebdfa73b8f4665847fb689884eceee269 (patch) | |
tree | 89c70c5d43d8c609baea84ae0f41db4685e6efb7 /configure.ac | |
parent | 3a70bac04ac4743d64c23d5f5a3df55494bf6050 (diff) |
scanner: Use reallocarr() when available.
NetBSD had a crash during build. Since the provided substitute for
reallocarray() wasn't working, use NetBSD's reallocarr(). Let
configure choose that function whenever it is available. Use
reallocarray if available. Still fallback if neither is available.
Fixes #219
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 55e774b..d0f3b7d 100644 --- a/configure.ac +++ b/configure.ac @@ -166,6 +166,7 @@ strtol dnl AC_CHECK_FUNCS([dnl pow dnl Used only by "examples/manual/expr" setlocale dnl Needed only if NLS is enabled +reallocarr dnl NetBSD function. Use reallocarray if not available. reallocarray dnl OpenBSD function. We have replacement if not available. ]) |