summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-06-06 08:53:11 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-06-06 08:53:11 -0400
commit05e5e381dae951d74d2d3861017fa2bffd014372 (patch)
tree192646643d84a314bb74120c44036b3b204f920e /build_posix
parentd4fc69a23dbf9c7ebf254c18a17e2227af6ffad4 (diff)
downloadmongo-05e5e381dae951d74d2d3861017fa2bffd014372.tar.gz
I'm getting autoconf complaints about the new ax_func_posix_memalign.m4
macro: configure.ac:93: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:93: You should run autoupdate. ../../lib/autoconf/general.m4:2764: AC_TRY_RUN is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... build_posix/aclocal/ax_func_posix_memalign.m4:27: AX_FUNC_POSIX_MEMALIGN is expanded from... This change is from running autoupdate, but I don't have a way to test it.
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/aclocal/ax_func_posix_memalign.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build_posix/aclocal/ax_func_posix_memalign.m4 b/build_posix/aclocal/ax_func_posix_memalign.m4
index bd60adcbc81..1e21d429b42 100644
--- a/build_posix/aclocal/ax_func_posix_memalign.m4
+++ b/build_posix/aclocal/ax_func_posix_memalign.m4
@@ -27,7 +27,7 @@
AC_DEFUN([AX_FUNC_POSIX_MEMALIGN],
[AC_CACHE_CHECK([for working posix_memalign],
[ax_cv_func_posix_memalign_works],
- [AC_TRY_RUN([
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdlib.h>
int
@@ -39,7 +39,7 @@ main ()
* the size word. */
exit (posix_memalign (&buffer, sizeof(void *), 123) != 0);
}
- ],
+ ]])],
[ax_cv_func_posix_memalign_works=yes],
[ax_cv_func_posix_memalign_works=no],
[ax_cv_func_posix_memalign_works=no])])