From 1d0ab50c050bbb52968b55293fd12c22e4fe1482 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 18 Sep 2012 21:34:07 -0500 Subject: Fix thinko in configure.ac CFLAGS empty checking Since commit d2669b47, CFLAGS specified on the command line haven't been respected at all, resulting in no optimization being applied to builds. This exposed one warning flag issue in some new code, which is also fixed here. Signed-off-by: Dan McGee Signed-off-by: Allan McRae --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7fe696a9..2d7580ea 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,7 @@ LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision LIB_VERSION_INFO="lib_current:lib_revision:lib_age" # Respect empty CFLAGS during compiler tests -if test "x$CFLAGS" != "x"; then +if test "x$CFLAGS" = "x"; then CFLAGS="" fi -- cgit v1.2.3-24-g4f1b