diff options
Diffstat (limited to 'gprof/configure.in')
-rw-r--r-- | gprof/configure.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gprof/configure.in b/gprof/configure.in index 01464f3..78ee912 100644 --- a/gprof/configure.in +++ b/gprof/configure.in @@ -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 For simplicity, we use the BFD configuration file for most 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 @@ if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then 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 |