Commit 8fdd0acb authored by prudhomm's avatar prudhomm
Browse files

use AC_LANG_PROGRAM

parent 8e56bb81
......@@ -54,9 +54,11 @@ AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING(for size_t == uint)
AC_TRY_RUN([
return sizeof(size_t)==sizeof(uint);
],
AC_TRY_RUN(AC_LANG_PROGRAM([
#include <cstdlib>
],[
return !(sizeof(size_t)==sizeof(uint));
]),
[
AC_MSG_RESULT(yes)
size_t_same_as_uint=yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment