Move to here from allocsa.m4.
authorBruno Haible <bruno@clisp.org>
Sat, 9 Jun 2007 11:00:18 +0000 (11:00 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 9 Jun 2007 11:00:18 +0000 (11:00 +0000)
m4/malloca.m4 [new file with mode: 0644]

diff --git a/m4/malloca.m4 b/m4/malloca.m4
new file mode 100644 (file)
index 0000000..2841ae8
--- /dev/null
@@ -0,0 +1,14 @@
+# malloca.m4 serial 1
+dnl Copyright (C) 2003-2004, 2006-2007 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_MALLOCA],
+[
+  dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables
+  dnl @ALLOCA@ and @LTALLOCA@.
+  dnl gl_FUNC_ALLOCA   dnl Already brought in by the module dependencies.
+  AC_REQUIRE([gl_EEMALLOC])
+  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
+])