Do not use -Wno-format-contains-nul. clang doesn't understand it and prints a warning: warning: unknown warning option '-Wno-format-contains-nul' [-Wunknown-warning-option] while gcc 4.2 prints an error: cc1: error: unrecognized command line option "-Wno-format-contains-nul" https://sourceforge.net/p/autogen/bugs/186/ --- configure.orig 2018-08-26 12:44:54.000000000 -0500 +++ configure 2018-09-16 06:52:27.000000000 -0500 @@ -18926 +18926 @@ - CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing" + CFLAGS="$CFLAGS -fno-strict-aliasing"