From 0904c7b73d3f86c013ec085e81ddc52a14a07011 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 16 Mar 2012 10:39:39 -0700 Subject: [PATCH] configure: fix warnings Finally! Signed-off-by: Sage Weil --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5e9f70fcb59..30cd7b95112 100644 --- a/configure.ac +++ b/configure.ac @@ -58,7 +58,7 @@ AC_DEFUN([AC_CHECK_CC_FLAG], my_cflags_save="$CFLAGS" CFLAGS="$my_cflags_save $1" AC_MSG_CHECKING([whether $CC accepts $1]) - AC_COMPILE_IFELSE(AC_LANG_PROGRAM(), + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[ ]])], [AC_MSG_RESULT([yes]); AC_SUBST([$2], ["$1"])], [AC_MSG_RESULT([no])] )