mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
configure: fix warnings
Finally! Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
4cfc34f817
commit
0904c7b73d
@ -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])]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user