* configure.in: Change version number to 2.8.2. Call
[deliverable/binutils-gdb.git] / gprof / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_PREREQ(2.5)dnl
3 AC_INIT(gprof.c)
4
5 AC_CANONICAL_SYSTEM
6
7 AM_INIT_AUTOMAKE(gprof, 2.8.2)
8
9 AM_PROG_LIBTOOL
10
11 dnl For simplicity, we use the BFD configuration file for most
12 dnl things. However, we also need our own configuration file for
13 dnl the automake PACKAGE and VERSION macros. We don't name it
14 dnl config.h, to avoid any possible confusion with the bfd config.h.
15 AM_CONFIG_HEADER(gconfig.h:gconfig.in)
16
17 AC_PROG_CC
18 AM_PROG_INSTALL
19
20 AC_ISC_POSIX
21
22 case "${target}" in
23 alpha-*-*) MY_TARGET=alpha ;;
24 changequote(,)dnl
25 i[3456]86-*-*) MY_TARGET=i386 ;;
26 changequote([,])dnl
27 sparc-*-*) MY_TARGET=sparc ;;
28 tahoe-*-*) MY_TARGET=tahoe ;;
29 vax-*-*) MY_TARGET=vax ;;
30 ns32k-*-*) MY_TARGET=ns532;;
31 *-*-*) MY_TARGET=dummy ;;
32 esac
33
34 AC_SUBST(MY_TARGET)
35
36 dnl We need to set BSD44_FORMAT on a host which uses the additional
37 dnl header fields. This is an attempt to do that. I can't think of a
38 dnl good feature test for this.
39 case "${target}" in
40 *-*-bsd4.4* | *-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
41 AC_DEFINE(BSD44_FORMAT)
42 ;;
43 esac
44
45 AM_MAINTAINER_MODE
46 AM_CYGWIN32
47 AM_EXEEXT
48
49 AC_OUTPUT(Makefile)
This page took 0.038129 seconds and 5 git commands to generate.