Bug 635948 - Fix AC_TRY_COMPILE call for valid compiler/Mac OS X SDK combination check

This commit is contained in:
Mike Hommey 2011-03-03 10:40:21 +01:00
parent 1592ff67f7
commit c44dfdd819

View File

@ -1154,8 +1154,7 @@ tools are selected during the Xcode/Developer Tools installation.])
AC_LANG_SAVE
AC_MSG_CHECKING([for valid compiler/Mac OS X SDK combination])
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <new>
int main() { return 0; }],
AC_TRY_COMPILE([#include <new>],[],
result=yes,
result=no)
AC_LANG_RESTORE