From c93a17b7aba525ca857d7955d2a22dfafaf1c8b1 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Sun, 5 Nov 1995 03:12:15 +0000 Subject: * configure.in: add AC_HEADER_STDC check. * mmalloc.h: check if STDC_HEADERS instead of __STDC__. * mmprivate.h: check if STDC_HEADERS instead of __STDC__. This change is necessary to build under AIX 3.2.5 w/ cc after Stan's Oct 24 change. I'm not convinced that changing mmalloc.h in this way is such a good thing--if a directory that doesn't use autoconf (or one that DOES use autoconf but doesn't put all the defines on the command line), and it includes mmalloc.h, the right thing won't happen. I believe gdb is the only directory which uses mmalloc, though, so it should be OK. --- mmalloc/configure.in | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) (limited to 'mmalloc/configure.in') diff --git a/mmalloc/configure.in b/mmalloc/configure.in index ebf6088..e7b9a4b 100644 --- a/mmalloc/configure.in +++ b/mmalloc/configure.in @@ -1,33 +1,13 @@ -# This file is a shell script that supplies the information necessary -# to tailor a template configure script into the configure script -# appropriate for this directory. For more information, check any -# existing configure script. +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.3)dnl +AC_INIT(mmalloc.c) -srctrigger=mmalloc.c -srcname="mmalloc library" -configdirs="" +CC=${CC-cc} +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_RANLIB -# per-host: +AC_FUNC_MMAP +AC_HEADER_STDC -case "${host}" in - mips-sgi-irix4) - host_makefile_frag=config/mh-irix4 - ;; - *-sun-sunos4*) - host_makefile_frag=config/mh-sunos4 - ;; - i[34]86-ncr-sysv4*) - host_makefile_frag=config/mh-ncr3000 - ;; - *-*-sysv4*) - host_makefile_frag=config/mh-sysv4 - ;; -esac - -# per-target: - -# -# Local Variables: -# fill-column: 131 -# End: -# +AC_OUTPUT(Makefile) -- cgit v1.1