| 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. |
| 19 | dnl Process this file with autoconf to produce a configure script. |
| 20 | |
| 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 |
| 30 | AC_CHECK_HEADERS(limits.h stddef.h unistd.h) |
| 31 | |
| 32 | BFD_NEED_DECLARATION(sbrk) |
| 33 | BFD_NEED_DECLARATION(getpagesize) |
| 34 | |
| 35 | AC_OUTPUT(Makefile) |