Skip to content

Commit 7188a4c

Browse files
authored
updated test for whether CFLAGS was set by the user (#271)
1 parent 7e92d55 commit 7188a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m4/ax_cc_maxopt.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_REQUIRE([AX_COMPILER_VENDOR])
2626
AC_REQUIRE([AC_CANONICAL_HOST])
2727
2828
# Try to determine "good" native compiler flags if none specified via CFLAGS
29-
if test "$ac_test_CFLAGS" != "set"; then
29+
if test "x$ac_test_CFLAGS" != "xset" -a "x$ac_test_CFLAGS" != "xy"; then
3030
CFLAGS=""
3131
case $ax_cv_c_compiler_vendor in
3232
dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"

0 commit comments

Comments
 (0)