* xcofflink.c: More improvements, mostly to fix handling of
[deliverable/binutils-gdb.git] / gprof / configure.in
index 107cd6a409eb1485c4022bc34055c93f3a16ad08..7849a858962c4dd50413479030ecc51149afa132 100644 (file)
@@ -1,14 +1,24 @@
-# 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 ;;
+changequote(,)dnl
+i[345]86-*-*)  MY_TARGET=i386 ;;
+changequote([,])dnl
+sparc-*-*)     MY_TARGET=sparc ;;
+tahoe-*-*)     MY_TARGET=tahoe ;;
+vax-*-*)       MY_TARGET=vax ;;
+ns32k-*-*)     MY_TARGET=ns532;;
+*-*-*)         MY_TARGET=dummy ;;
+esac
 
-files=
-links=
+AC_SUBST(MY_TARGET)
+AC_OUTPUT(Makefile)
This page took 0.023043 seconds and 4 git commands to generate.