From 2b6f634a374978f1758d0594c4f72dc1548eb6c3 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Thu, 20 Dec 2012 17:09:21 -0800 Subject: [PATCH] modernize intialization of configure.ac --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index fbcaab9e..a041c544 100644 --- a/configure.ac +++ b/configure.ac @@ -3,12 +3,12 @@ dnl Process this file with autoconf to produce a configure script. dnl !!! WHEN ADDING NEW CONFIGURE TESTS, PLEASE ADD CODE TO MAIN.C !!! dnl !!! TO DUMP THEIR RESULTS WHEN MUTT -V IS CALLED !!! -AC_PREREQ([2.54]) -AC_INIT([mutt.h]) +AC_PREREQ([2.59]) AM_CONFIG_HEADER([config.h]) -mutt_cv_version=`cat "$srcdir/VERSION"` -AM_INIT_AUTOMAKE(mutt, $mutt_cv_version) +AC_INIT([mutt], [m4_esyscmd_s(cat VERSION)]) +AC_CONFIG_SRCDIR(mutt.h) +AM_INIT_AUTOMAKE AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/VERSION']) MUTT_VERSION=`env HGROOT="$srcdir" sh "$srcdir/version.sh"` -- 2.40.0