1995-04-19 20:27:35 +02:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.3)dnl
|
|
|
|
AC_INIT(gprof.c)
|
1991-07-23 21:09:22 +02:00
|
|
|
|
1995-04-19 20:27:35 +02:00
|
|
|
CC=${CC-cc}
|
|
|
|
AC_PROG_CC
|
1991-07-23 21:09:22 +02:00
|
|
|
|
1995-04-19 20:27:35 +02:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1991-07-23 21:09:22 +02:00
|
|
|
|
1992-07-13 04:54:10 +02:00
|
|
|
case "${target}" in
|
1995-04-19 20:27:35 +02:00
|
|
|
alpha-*-*) MY_TARGET=alpha ;;
|
1995-06-16 21:30:48 +02:00
|
|
|
changequote(,)dnl
|
1995-04-19 20:27:35 +02:00
|
|
|
i[345]86-*-*) MY_TARGET=i386 ;;
|
1995-06-16 21:30:48 +02:00
|
|
|
changequote([,])dnl
|
1995-04-19 20:27:35 +02:00
|
|
|
sparc-*-*) MY_TARGET=sparc ;;
|
|
|
|
tahoe-*-*) MY_TARGET=tahoe ;;
|
|
|
|
vax-*-*) MY_TARGET=vax ;;
|
1995-09-05 21:04:22 +02:00
|
|
|
ns32k-*-*) MY_TARGET=ns532;;
|
1995-04-19 20:27:35 +02:00
|
|
|
*-*-*) MY_TARGET=dummy ;;
|
1992-02-12 00:15:03 +01:00
|
|
|
esac
|
|
|
|
|
1995-04-19 20:27:35 +02:00
|
|
|
AC_SUBST(MY_TARGET)
|
|
|
|
AC_OUTPUT(Makefile)
|