summaryrefslogtreecommitdiffstats
path: root/m4/xalloc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/xalloc.m4')
-rw-r--r--m4/xalloc.m423
1 files changed, 8 insertions, 15 deletions
diff --git a/m4/xalloc.m4 b/m4/xalloc.m4
index dec8417..c0847dd 100644
--- a/m4/xalloc.m4
+++ b/m4/xalloc.m4
@@ -1,16 +1,16 @@
1# xalloc.m4 serial 8 1# xalloc.m4 serial 12
2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3dnl This file is free software, distributed under the terms of the GNU 3dnl This file is free software; the Free Software Foundation
4dnl General Public License. As a special exception to the GNU General 4dnl gives unlimited permission to copy and/or distribute it,
5dnl Public License, this file may be distributed as part of a program 5dnl with or without modifications, as long as this notice is preserved.
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
8 6
9AC_DEFUN([gl_XALLOC], 7AC_DEFUN([gl_XALLOC],
10[ 8[
9 AC_LIBSOURCES([xmalloc.c, xalloc.h])
10 AC_LIBOBJ([xmalloc])
11
11 gl_PREREQ_XALLOC 12 gl_PREREQ_XALLOC
12 gl_PREREQ_XMALLOC 13 gl_PREREQ_XMALLOC
13 gl_PREREQ_XSTRDUP
14]) 14])
15 15
16# Prerequisites of lib/xalloc.h. 16# Prerequisites of lib/xalloc.h.
@@ -21,12 +21,5 @@ AC_DEFUN([gl_PREREQ_XALLOC], [
21# Prerequisites of lib/xmalloc.c. 21# Prerequisites of lib/xmalloc.c.
22AC_DEFUN([gl_PREREQ_XMALLOC], [ 22AC_DEFUN([gl_PREREQ_XMALLOC], [
23 AC_REQUIRE([AC_C_INLINE]) 23 AC_REQUIRE([AC_C_INLINE])
24 AC_REQUIRE([jm_FUNC_MALLOC])
25 AC_REQUIRE([jm_FUNC_REALLOC])
26 :
27])
28
29# Prerequisites of lib/xstrdup.c.
30AC_DEFUN([gl_PREREQ_XSTRDUP], [
31 : 24 :
32]) 25])