X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Falways-no-unused-but-set-variable.m4;h=4a3ceb614af8a688c9c3c69b615bb6f04828ea17;hb=76351672c222f28ea1b681097a9eff58a6791555;hp=0e2634da26968b50449ece4e33cdb105599699e3;hpb=2e08aedba456dccddf6418908a55014e56cad226;p=zfs.git diff --git a/config/always-no-unused-but-set-variable.m4 b/config/always-no-unused-but-set-variable.m4 index 0e2634d..4a3ceb6 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_RUN_IFELSE([AC_LANG_PROGRAM([], [])], [ NO_UNUSED_BUT_SET_VARIABLE=-Wno-unused-but-set-variable AC_MSG_RESULT([yes])