1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 16:39:36 +00:00

configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body

This commit is contained in:
Yang Tse
2010-11-13 04:15:16 +01:00
parent dac69d52c2
commit 0b504d7065

View File

@ -476,11 +476,17 @@ AC_CHECK_TYPE(long long,
if test "xyes" = "x$longlong"; then
AC_MSG_CHECKING([if numberLL works])
AC_COMPILE_IFELSE([long long val = 1000LL;],
[AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])]
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no)
)
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
]],[[
long long val = 1000LL;
]])
],[
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])
],[
AC_MSG_RESULT([no])
])
fi