Merge branch '2589_ac_lang_source'

* 2589_ac_lang_source:
  Ticket #2589: fix autoconf warning
This commit is contained in:
Andrew Borodin 2011-08-11 13:06:38 +04:00
commit c81c3e4244
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ AC_DEFUN([MC_CHECK_SLANG_BY_PATH], [
dnl check if S-Lang have version 2.0 or newer
if test x"$found_slang" = x"yes"; then
AC_MSG_CHECKING([for S-Lang version 2.0 or newer])
AC_RUN_IFELSE([
AC_RUN_IFELSE([AC_LANG_SOURCE([
#ifdef HAVE_SLANG_SLANG_H
#include <slang/slang.h>
#else
@ -92,7 +92,7 @@ int main (void)
return 1;
#endif
}
],
])],
[mc_slang_is_valid_version=yes],
[mc_slang_is_valid_version=no],
[