configure: fix warnings

Finally!

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2012-03-16 10:39:39 -07:00
parent 4cfc34f817
commit 0904c7b73d

View File

@ -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])]
)