diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/mpers.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/mpers.m4 b/m4/mpers.m4 index 5dcc5f176..aec248060 100644 --- a/m4/mpers.m4 +++ b/m4/mpers.m4 @@ -105,15 +105,15 @@ case "$arch" in CFLAGS="$CFLAGS MPERS_CFLAGS" AC_CACHE_CHECK([for mpers_name personality compile support (using $CC $CPPFLAGS $CFLAGS)], [st_cv_cc], - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> - int main(){return 0;}]])], + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>]], + [[return 0]])], [st_cv_cc=yes], [st_cv_cc=no])]) if test $st_cv_cc = yes; then AC_CACHE_CHECK([for mpers_name personality runtime support], [st_cv_runtime], - [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdint.h> - int main(){return 0;}]])], + [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>]], + [[return 0]])], [st_cv_runtime=yes], [st_cv_runtime=no], [st_cv_runtime=no])]) |