From: Matthew Fernandez Date: Sat, 19 Nov 2022 17:50:28 +0000 (-0800) Subject: remove 'GRAPHVIZ_VERSION_BUILD', 'GRAPHVIZ_VERSION_REVISION' from build system X-Git-Tag: 7.0.3~4^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54f29a7bad65e2d5024cd9032ff7b858bbc0925a;p=graphviz remove 'GRAPHVIZ_VERSION_BUILD', 'GRAPHVIZ_VERSION_REVISION' from build system These are only used in legacy Windows files that are no longer built. Gitlab: #2317 --- diff --git a/configure.ac b/configure.ac index a15bd0bc1..4cbf00827 100644 --- a/configure.ac +++ b/configure.ac @@ -83,22 +83,6 @@ esac AC_DEFINE_UNQUOTED(GVPLUGIN_VERSION,$GVPLUGIN_VERSION,[Compatibility version number for plugins.]) AC_SUBST([GVPLUGIN_VERSION]) -GRAPHVIZ_VERSION_BUILD=0 -GRAPHVIZ_VERSION_REVISION=0 -case "${host_os}" in - *uwin* | *cygwin* | *mingw32* ) - # Windows version numbers - # For the build number: months since Jan 2000, day of month from the timestamp - # For the revision number: hour, minute from the timestamp - if test $GRAPHVIZ_VERSION_MICRO != "0"; then - GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2} - GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4} - fi - ;; -esac -AC_SUBST([GRAPHVIZ_VERSION_BUILD]) -AC_SUBST([GRAPHVIZ_VERSION_REVISION]) - AC_ARG_VAR(LIBPOSTFIX, [subscript to lib, e.g. "/64" for "/usr/lib/64" on Solaris]) AC_ARG_VAR(INTGOSIZE, [integer size for go, 32 or 64]) AC_ARG_VAR(RUBY_VER, [version number of the ruby package])