Commit | Line | Data |
---|---|---|
9365c12c AC |
1 | dnl Autoconf configure script for MMALLOC, the GNU mmemory allocator. |
2 | dnl Copyright 2000 Free Software Foundation, Inc. | |
3 | dnl | |
4 | dnl This file is part of GDB. | |
5 | dnl | |
6 | dnl This program is free software; you can redistribute it and/or modify | |
7 | dnl it under the terms of the GNU General Public License as published by | |
8 | dnl the Free Software Foundation; either version 2 of the License, or | |
9 | dnl (at your option) any later version. | |
10 | dnl | |
11 | dnl This program is distributed in the hope that it will be useful, | |
12 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | dnl GNU General Public License for more details. | |
15 | dnl | |
16 | dnl You should have received a copy of the GNU General Public License | |
17 | dnl along with this program; if not, write to the Free Software | |
18 | dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
c906108c | 19 | dnl Process this file with autoconf to produce a configure script. |
9365c12c | 20 | |
c906108c SS |
21 | AC_PREREQ(2.12.1)dnl |
22 | AC_INIT(mmalloc.c) | |
23 | ||
24 | AC_PROG_CC | |
25 | AC_PROG_INSTALL | |
26 | AC_CHECK_TOOL(AR, ar) | |
27 | AC_CHECK_TOOL(RANLIB, ranlib, :) | |
28 | ||
29 | AC_FUNC_MMAP | |
9365c12c | 30 | AC_CHECK_HEADERS(limits.h stddef.h unistd.h) |
c906108c | 31 | |
dfcd3bfb | 32 | BFD_NEED_DECLARATION(sbrk) |
ff4e7bb2 | 33 | BFD_NEED_DECLARATION(getpagesize) |
dfcd3bfb | 34 | |
c906108c | 35 | AC_OUTPUT(Makefile) |