From ffeea7995b4912d4db19d8293ff1dd01f4e2e960 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 9 Mar 2016 15:05:43 +0000 Subject: [PATCH] Revert "configure: Move version and date together." You can't use AC_SUBST before AC_INIT. It resulted in the RELEASE_DATE being an empty string. This reverts commit d53fd558ae00021f0f091d1685832b6c1e32b0a1. --- configure.ac | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 7711c41ed..3cd0a0749 100644 --- a/configure.ac +++ b/configure.ac @@ -15,20 +15,19 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -dnl The major, minor, and release fields MUST be numbers. Packagers can -dnl add extra information using --with-extra="..." which may be any -dnl freeform string. -dnl -dnl Also, the date that this version was released. This is used in -dnl the website 'index.html' file. +# The major, minor, and release fields MUST be numbers. Packagers can +# add extra information using --with-extra="..." which may be any +# freeform string. m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [33]) m4_define([libguestfs_release], [14]) -AC_SUBST([RELEASE_DATE], [2016-03-07]) -dnl Initialize autoconf. AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release) +dnl The date that the above version was released. This is used in +dnl the website 'index.html' file. +AC_SUBST([RELEASE_DATE], [2016-03-07]) + AC_CONFIG_AUX_DIR([build-aux]) AC_REQUIRE_AUX_FILE([guestfs-test-driver])