]> granicus.if.org Git - graphviz/commitdiff
remove 'GRAPHVIZ_VERSION_BUILD', 'GRAPHVIZ_VERSION_REVISION' from build system
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Nov 2022 17:50:28 +0000 (09:50 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 24 Nov 2022 19:45:02 +0000 (11:45 -0800)
These are only used in legacy Windows files that are no longer built.

Gitlab: #2317

configure.ac

index a15bd0bc179df0956604f38f1892466eb3fa71fb..4cbf008274c123f5fb1a67d1f55971585ffe37e7 100644 (file)
@@ -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])