aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1995-04-19 18:27:35 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1995-04-19 18:27:35 +0000
commit7858d8dc8a313727713c7af06ae8e3482c71e4ca (patch)
treedd24115dc2493b0366780e95ac2fe065d322f754 /gprof/configure.in
parent4121273fa7e408035fbe7d61de8f8b83d784fe5b (diff)
downloadgdb-7858d8dc8a313727713c7af06ae8e3482c71e4ca.zip
gdb-7858d8dc8a313727713c7af06ae8e3482c71e4ca.tar.gz
gdb-7858d8dc8a313727713c7af06ae8e3482c71e4ca.tar.bz2
* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
comment emitted by this script to gen-c-prog.awk. * Makefile.in, configure.in: Converted to use autoconf. * configure: New file, generated with autoconf 2.3. * config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc, mt-tahoe, mt-vax}: Removed.
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in35
1 files changed, 16 insertions, 19 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index c0e8280..495dfc3 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -1,25 +1,22 @@
-# This file is a shell script that supplies the information necessary
-# to tailor a template configure script into the configure script
-# appropriate for this directory. For more information, check any
-# existing configure script.
+dnl Process this file with autoconf to produce a configure script.
+AC_PREREQ(2.3)dnl
+AC_INIT(gprof.c)
-srctrigger=gprof.c
-srcname="gprof"
+CC=${CC-cc}
+AC_PROG_CC
-# per-host:
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
-# per-target:
case "${target}" in
-alpha-*-*) my_target=alpha ;;
-i[345]86-*-*) my_target=i386 ;;
-sparc-*-*) my_target=sparc ;;
-tahoe-*-*) my_target=tahoe ;;
-vax-*-*) my_target=vax ;;
-ns532-*-*|*-pc532-*) my_target=ns532;;
-*-*-*) my_target=dummy ;;
+alpha-*-*) MY_TARGET=alpha ;;
+i[345]86-*-*) MY_TARGET=i386 ;;
+sparc-*-*) MY_TARGET=sparc ;;
+tahoe-*-*) MY_TARGET=tahoe ;;
+vax-*-*) MY_TARGET=vax ;;
+ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
+*-*-*) MY_TARGET=dummy ;;
esac
-target_makefile_frag=config/mt-${my_target}
-if [ ! -f ${srcdir}/${target_makefile_frag} ] ; then
- target_makefile_frag=
-fi
+AC_SUBST(MY_TARGET)
+AC_OUTPUT(Makefile)