From 5890c12b17aedc794f367968d985dd3ccc88f91a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 19 Nov 2022 09:13:13 -0800 Subject: [PATCH] remove 'GRAPHVIZ_VERSION_COMMIT' in the build system This is not used. --- autogen.sh | 4 ---- configure.ac | 5 ----- 2 files changed, 9 deletions(-) diff --git a/autogen.sh b/autogen.sh index 397255243..e9aba690d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -27,9 +27,6 @@ else fi fi echo "Graphviz: version date is based on time of last commit: $GRAPHVIZ_VERSION_DATE" - - GRAPHVIZ_VERSION_COMMIT=$( git log -n 1 --format=%h ) - echo "Graphviz: abbreviated hash of last commit: $GRAPHVIZ_VERSION_COMMIT" fi # initialize version for a "development" build @@ -45,7 +42,6 @@ m4_define([graphviz_change_date],["$GRAPHVIZ_CHANGE_DATE"]) m4_define([graphviz_git_date],["$GRAPHVIZ_GIT_DATE"]) m4_define([graphviz_author_name],["$GRAPHVIZ_AUTHOR_NAME"]) m4_define([graphviz_author_email],[$GRAPHVIZ_AUTHOR_EMAIL]) -m4_define([graphviz_version_commit],[$GRAPHVIZ_VERSION_COMMIT]) EOF diff --git a/configure.ac b/configure.ac index 03812b405..67aff3626 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,6 @@ dnl Set Graphviz version information # graphviz_change_date # graphviz_author_name # graphviz_author_email -# graphviz_version_commit m4_include(./version.m4) AC_INIT([graphviz],[graphviz_version_major().graphviz_version_minor().graphviz_version_micro()], @@ -30,9 +29,6 @@ GRAPHVIZ_AUTHOR_NAME=graphviz_author_name() GRAPHVIZ_AUTHOR_EMAIL=graphviz_author_email() GRAPHVIZ_CHANGE_DATE=graphviz_change_date() -# NB: git commit hash of last commit -GRAPHVIZ_VERSION_COMMIT=graphviz_version_commit() - AC_SUBST([GRAPHVIZ_VERSION_MAJOR]) AC_SUBST([GRAPHVIZ_VERSION_MINOR]) AC_SUBST([GRAPHVIZ_VERSION_MICRO]) @@ -41,7 +37,6 @@ AC_SUBST([GRAPHVIZ_GIT_DATE]) AC_SUBST([GRAPHVIZ_AUTHOR_NAME]) AC_SUBST([GRAPHVIZ_AUTHOR_EMAIL]) AC_SUBST([GRAPHVIZ_CHANGE_DATE]) -AC_SUBST([GRAPHVIZ_VERSION_COMMIT]) dnl =========================================================================== -- 2.50.1