mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 01:20:23 +00:00
configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in body
This commit is contained in:
16
configure.ac
16
configure.ac
@ -476,11 +476,17 @@ AC_CHECK_TYPE(long long,
|
|||||||
|
|
||||||
if test "xyes" = "x$longlong"; then
|
if test "xyes" = "x$longlong"; then
|
||||||
AC_MSG_CHECKING([if numberLL works])
|
AC_MSG_CHECKING([if numberLL works])
|
||||||
AC_COMPILE_IFELSE([long long val = 1000LL;],
|
AC_COMPILE_IFELSE([
|
||||||
[AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])]
|
AC_LANG_PROGRAM([[
|
||||||
AC_MSG_RESULT(yes),
|
]],[[
|
||||||
AC_MSG_RESULT(no)
|
long long val = 1000LL;
|
||||||
)
|
]])
|
||||||
|
],[
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_DEFINE(HAVE_LL, 1, [if your compiler supports LL])
|
||||||
|
],[
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user