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