public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* gprof configury upgrade
@ 2004-06-15  3:23 Ben Elliston
  0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2004-06-15  3:23 UTC (permalink / raw)
  To: binutils

I'm about to commit the following patch which updates the configury in
the gprof/ directory to use the latest versions of the auto* tools.
Tested on a couple of different native systems (gprof is a host tool).

Ben

2004-06-15  Ben Elliston  <bje@au.ibm.com>

        * configure.in: Run through autoupdate.
        * configure: Regenerate with autoconf 2.59.
        * Makefile.am (install-local): Rename from this ..
        (install-data-local): .. to this.
        * Makefile.in: Regenerate with automake 1.8.5.
        * aclocal.m4: Regenerate with aclocal 1.8.5.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/gprof/configure.in,v
retrieving revision 1.19
diff -u -r1.19 configure.in
--- configure.in        26 Aug 2003 17:19:19 -0000      1.19
+++ configure.in        15 Jun 2004 03:20:41 -0000
@@ -1,8 +1,9 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.13)
-AC_INIT(gprof.c)
+AC_PREREQ(2.59)
+AC_INIT
+AC_CONFIG_SRCDIR([gprof.c])

-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET([])
 AC_ISC_POSIX

 changequote(,)dnl
@@ -16,7 +17,7 @@
 dnl things.  However, we also need our own configuration file for
 dnl the automake PACKAGE and VERSION macros.  We don't name it
 dnl config.h, to avoid any possible confusion with the bfd config.h.
-AM_CONFIG_HEADER(gconfig.h:gconfig.in)
+AC_CONFIG_HEADERS([gconfig.h:gconfig.in])

 AC_PROG_CC
 AC_PROG_INSTALL
@@ -52,5 +53,6 @@
 fi
 AC_SUBST(WARN_CFLAGS)

-AC_OUTPUT(Makefile po/Makefile.in:po/Make-in,
-[sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile])
+AC_CONFIG_FILES([Makefile po/Makefile.in:po/Make-in])
+AC_CONFIG_COMMANDS([default],[[sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile]],[[]])
+AC_OUTPUT
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/gprof/Makefile.am,v
retrieving revision 1.20
diff -u -r1.20 Makefile.am
--- Makefile.am 19 Mar 2004 07:07:22 -0000      1.20
+++ Makefile.am 15 Jun 2004 03:20:42 -0000
@@ -73,7 +73,7 @@

 # We want install to imply install-info as per GNU standards, despite the
 # cygnus option.
-install: install-info
+install-data-local: install-info

 # Targets to rebuild dependencies in this Makefile.
 # Have to get rid of DEP1 here so that "$?" later includes all sources.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-15  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15  3:23 gprof configury upgrade Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).