From: Mike Frysinger Date: Sun, 13 Dec 2015 04:17:00 +0000 (-0500) Subject: configure: fixed realloc test. X-Git-Tag: v2.6.1~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff622ae961a461aff3433ec8ac908e07d303484e;p=flex configure: fixed realloc test. The [] characters are used for quoting in m4, so the attempt to use them in place of `test` fails yielding the warning at build time: .../flex/configure: line 20222: no: command not found --- diff --git a/configure.ac b/configure.ac index 4350f9d..3781e6c 100644 --- a/configure.ac +++ b/configure.ac @@ -128,7 +128,7 @@ AC_FUNC_REALLOC AC_CHECK_FUNCS([dup2 memset pow reallocarray regcomp setlocale strchr strdup strtol]) -if [ "$ac_cv_func_reallocarray" = "no" ] ; then +if test "$ac_cv_func_reallocarray" = "no" ; then AC_LIBOBJ([reallocarray]) fi