From 93f84535b3e4342c306afff8fc6cc746f6f07433 Mon Sep 17 00:00:00 2001 From: Jared Casper Date: Fri, 8 Oct 2010 22:02:45 -0700 Subject: [PATCH] Heed and remove warning issued by autoconf 2.68. Starting in autoconf 2.68, "the macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file contents." --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index 239b5f720..a6982fbeb 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -26,7 +26,7 @@ AC_SUBST(install_suffix) # - the object file produced by AC_COMPILE_IFELSE is called "conftest.$ac_objext" # - the nm(1) utility is available, and its name is "nm". AC_DEFUN([_AX_C_UNDERSCORES_MATCH_IF], -[AC_COMPILE_IFELSE([void underscore(void){}], +[AC_COMPILE_IFELSE([AC_LANG_SOURCE([void underscore(void){}])], [AS_IF([nm conftest.$ac_objext|grep $1 >/dev/null 2>/dev/null],[$2],[$3])], [AC_MSG_ERROR([underscore test crashed])] )])