1995-04-19 18:27:35 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1996-06-25 13:11:45 +00:00
|
|
|
AC_PREREQ(2.5)dnl
|
1995-04-19 18:27:35 +00:00
|
|
|
AC_INIT(gprof.c)
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1997-04-15 18:35:39 +00:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
1998-03-30 22:56:58 +00:00
|
|
|
AM_INIT_AUTOMAKE(gprof, 2.9.1)
|
1997-04-15 18:35:39 +00:00
|
|
|
|
1997-08-09 20:30:19 +00: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-07 19:08:04 +00:00
|
|
|
|
1995-04-19 18:27:35 +00:00
|
|
|
AC_PROG_CC
|
1997-08-09 20:30:19 +00:00
|
|
|
AM_PROG_INSTALL
|
1991-07-23 19:09:22 +00:00
|
|
|
|
1996-06-27 15:37:48 +00:00
|
|
|
AC_ISC_POSIX
|
|
|
|
|
1998-04-22 07:33:42 +00:00
|
|
|
ALL_LINGUAS=
|
|
|
|
CY_GNU_GETTEXT
|
|
|
|
|
1997-02-27 17:49:00 +00: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-15 18:35:39 +00:00
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
AM_CYGWIN32
|
1997-08-09 20:30:19 +00:00
|
|
|
AM_EXEEXT
|
1997-04-15 18:35:39 +00:00
|
|
|
|
1998-04-22 07:33:42 +00:00
|
|
|
AC_OUTPUT(Makefile po/Makefile.in:po/Make-in,
|
|
|
|
[sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile])
|