Merge pull request #3004 from brauner/master

configure: handle checks when cross-compiling
This commit is contained in:
Stéphane Graber 2019-05-15 16:19:19 +02:00 committed by GitHub
commit 8f06ff5491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -656,7 +656,7 @@ int main(void)
return 1;
}
}],
[fmt_m=yes], [fmt_m=no])
[fmt_m=yes], [fmt_m=no],, [fmt_m=no])
if test "x$fmt_m" = "xyes"; then
AC_DEFINE([HAVE_M_FORMAT], 1, [Have %m format])
AC_MSG_RESULT([yes])