comparison m4/allocsa.m4 @ 7661:bf2c99d395bd

No need to invoke gl_FUNC_ALLOCA more than once. But using AC_REQUIRE would be wrong here, since gl_FUNC_ALLOCA calls AC_FUNC_ALLOCA which has an effect on @ALLOCA@.
author Bruno Haible <bruno@clisp.org>
date Wed, 15 Nov 2006 20:50:54 +0000
parents a0dfb5334b53
children 359d135f748c
comparison
equal deleted inserted replaced
7660:7aa6fbd6b3b7 7661:bf2c99d395bd
1 # allocsa.m4 serial 5 1 # allocsa.m4 serial 6
2 dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. 2 dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation 3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it, 4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved. 5 dnl with or without modifications, as long as this notice is preserved.
6 6
7 AC_DEFUN([gl_ALLOCSA], 7 AC_DEFUN([gl_ALLOCSA],
8 [ 8 [
9 dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables 9 dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
10 dnl @ALLOCA@ and @LTALLOCA@. 10 dnl @ALLOCA@ and @LTALLOCA@.
11 gl_FUNC_ALLOCA 11 dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies.
12 AC_REQUIRE([gl_EEMALLOC]) 12 AC_REQUIRE([gl_EEMALLOC])
13 AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 13 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
14 AC_REQUIRE([gt_TYPE_LONGDOUBLE]) 14 AC_REQUIRE([gt_TYPE_LONGDOUBLE])
15 ]) 15 ])