diff --git a/config/always-no-aggressive-loop-optimizations.m4 b/config/always-no-aggressive-loop-optimizations.m4 index 8f2115ae68..0a5576de17 100644 --- a/config/always-no-aggressive-loop-optimizations.m4 +++ b/config/always-no-aggressive-loop-optimizations.m4 @@ -7,7 +7,7 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_NO_AGGRESSIVE_LOOP_OPTIMIZATIONS], [ saved_flags="$CFLAGS" CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" - AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])], [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [ NO_AGGRESSIVE_LOOP_OPTIMIZATIONS=-fno-aggressive-loop-optimizations AC_MSG_RESULT([yes]) ], [ diff --git a/config/always-no-unused-but-set-variable.m4 b/config/always-no-unused-but-set-variable.m4 index 4a3ceb614a..863c90a16a 100644 --- a/config/always-no-unused-but-set-variable.m4 +++ b/config/always-no-unused-but-set-variable.m4 @@ -12,7 +12,7 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE], [ saved_flags="$CFLAGS" CFLAGS="$CFLAGS -Wunused-but-set-variable" - AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [ NO_UNUSED_BUT_SET_VARIABLE=-Wno-unused-but-set-variable AC_MSG_RESULT([yes]) diff --git a/config/user-frame-larger-than.m4 b/config/user-frame-larger-than.m4 index 7ad86220d7..e0828eca07 100644 --- a/config/user-frame-larger-than.m4 +++ b/config/user-frame-larger-than.m4 @@ -7,7 +7,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_FRAME_LARGER_THAN], [ saved_flags="$CFLAGS" CFLAGS="$CFLAGS -Wframe-larger-than=1024" - AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])], [ FRAME_LARGER_THAN=-Wframe-larger-than=1024 AC_MSG_RESULT([yes])