aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index 30bb9b2..de86c68 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -2,6 +2,10 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)dnl
AC_INIT(gprof.c)
+AC_CANONICAL_SYSTEM
+
+AM_INIT_AUTOMAKE(gprof, 2.8.1)
+
AC_ARG_ENABLE(shared,
[ --enable-shared build shared BFD library],
[case "${enableval}" in
@@ -16,9 +20,6 @@ AC_PROG_INSTALL
AC_ISC_POSIX
-AC_CANONICAL_SYSTEM
-AC_ARG_PROGRAM
-
case "${target}" in
alpha-*-*) MY_TARGET=alpha ;;
changequote(,)dnl
@@ -117,4 +118,8 @@ esac
AC_SUBST(HLDFLAGS)
AC_SUBST(HLDENV)
+# automake --cygnus requires these for some reason.
+AM_MAINTAINER_MODE
+AM_CYGWIN32
+
AC_OUTPUT(Makefile)