From d4a48a4489a5601958cffb6c2ac397dd1f6095f2 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 27 Mar 2021 10:31:55 +0000 Subject: [PATCH] Fix non-Windows compilation. I hate autoconf. Signed-off-by: David Woodhouse --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index b741b3a6..8dc46994 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,11 @@ symver_asprintf= symver_vasprintf= symver_win32_strerror= +# Autoconf is stupid and if the first time it needs to find the C compiler +# is conditional (as it is here for some of the MinGW checks), it forgets +# to ever look for one in the other code paths. Do it explicitly here. +AC_PROG_CC + case $host_os in *linux* | *gnu* | *nacl*) AC_MSG_NOTICE([Applying feature macros for GNU build]) -- 2.49.0