24 lines
481 B
Text
24 lines
481 B
Text
dnl Process this file with autoconf to produce a configure script.
|
|
AC_PREREQ(2.3)dnl
|
|
AC_INIT(gprof.c)
|
|
|
|
CC=${CC-cc}
|
|
AC_PROG_CC
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
AC_ARG_PROGRAM
|
|
|
|
case "${target}" in
|
|
alpha-*-*) MY_TARGET=alpha ;;
|
|
changequote(,)dnl
|
|
i[345]86-*-*) MY_TARGET=i386 ;;
|
|
changequote([,])dnl
|
|
sparc-*-*) MY_TARGET=sparc ;;
|
|
tahoe-*-*) MY_TARGET=tahoe ;;
|
|
vax-*-*) MY_TARGET=vax ;;
|
|
ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
|
|
*-*-*) MY_TARGET=dummy ;;
|
|
esac
|
|
|
|
AC_SUBST(MY_TARGET)
|
|
AC_OUTPUT(Makefile)
|