:: commit a36d618737eb76238832b386dc55599be25be311

Caleb Maclennan <caleb@alerque.com> — 2022-05-12 18:41

parents: 916717cce2

Fix inverted system/user CFLAG dection and move before local population (#15)

diff --git a/configure.ac b/configure.ac
index 2d7327a..ad73242 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,13 +5,13 @@ AM_INIT_AUTOMAKE([foreign subdir-objects tar-pax color-tests])
 AM_SILENT_RULES([yes])
 AC_CONFIG_MACRO_DIR([build-aux])
 
-AC_PROG_CC([clang gcc icc])
-LT_INIT
-
 AC_MSG_CHECKING([whether system or user specificed compiler flags are set])
 AM_CONDITIONAL([PASSED_CFLAGS], [test -n "$CFLAGS"])
 AM_COND_IF([PASSED_CFLAGS], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
 
+AC_PROG_CC([clang gcc icc])
+LT_INIT
+
 AC_ARG_WITH([pthread],
 			  AS_HELP_STRING([--without-pthread], [Disable use of pthread library]))
 AM_CONDITIONAL([WITH_PTHREAD], [test x"$with_pthread" != xno])
tab: 248 wrap: offon