summaryrefslogtreecommitdiffstats
path: root/config/always-no-unused-but-set-variable.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/always-no-unused-but-set-variable.m4')
-rw-r--r--config/always-no-unused-but-set-variable.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/always-no-unused-but-set-variable.m4 b/config/always-no-unused-but-set-variable.m4
index 4a3ceb614..863c90a16 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])