1995-04-20 02:27:35 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1996-06-25 21:11:45 +08:00
|
|
|
AC_PREREQ(2.5)dnl
|
1995-04-20 02:27:35 +08:00
|
|
|
AC_INIT(gprof.c)
|
1991-07-24 04:09:22 +09:00
|
|
|
|
1997-04-16 02:35:39 +08:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
1997-08-10 04:30:19 +08:00
|
|
|
AM_INIT_AUTOMAKE(gprof, 2.8.2)
|
1997-04-16 02:35:39 +08:00
|
|
|
|
1997-08-10 04:30:19 +08:00
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
|
|
|
dnl For simplicity, we use the BFD configuration file for most
|
|
|
|
dnl things. However, we also need our own configuration file for
|
|
|
|
dnl the automake PACKAGE and VERSION macros. We don't name it
|
|
|
|
dnl config.h, to avoid any possible confusion with the bfd config.h.
|
|
|
|
AM_CONFIG_HEADER(gconfig.h:gconfig.in)
|
1996-02-08 03:08:04 +08:00
|
|
|
|
1995-04-20 02:27:35 +08:00
|
|
|
AC_PROG_CC
|
1997-08-10 04:30:19 +08:00
|
|
|
AM_PROG_INSTALL
|
1991-07-24 04:09:22 +09:00
|
|
|
|
1996-06-27 23:37:48 +08:00
|
|
|
AC_ISC_POSIX
|
|
|
|
|
1997-02-28 01:49:00 +08:00
|
|
|
dnl We need to set BSD44_FORMAT on a host which uses the additional
|
|
|
|
dnl header fields. This is an attempt to do that. I can't think of a
|
|
|
|
dnl good feature test for this.
|
|
|
|
case "${target}" in
|
|
|
|
*-*-bsd4.4* | *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
|
|
|
|
AC_DEFINE(BSD44_FORMAT)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
1997-04-16 02:35:39 +08:00
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
AM_CYGWIN32
|
1997-08-10 04:30:19 +08:00
|
|
|
AM_EXEEXT
|
1997-04-16 02:35:39 +08:00
|
|
|
|
1995-04-20 02:27:35 +08:00
|
|
|
AC_OUTPUT(Makefile)
|