2 ===================================================================
3 RCS file: /home/cvsroot/graphviz2/configure.ac,v
4 retrieving revision 1.327
5 retrieving revision 1.328
7 AC_SUBST(GRAPHVIZ_VERSION_MINOR)
8 AC_SUBST(GRAPHVIZ_VERSION_MICRO)
10 -# Windows version numbers
11 -# For the build number: months since Jan 2000, day of month from the timestamp
12 -# For the revision number: hour, minute from the timestamp
14 -if test $GRAPHVIZ_VERSION_MICRO = "0"; then
15 - GRAPHVIZ_VERSION_BUILD=0
16 - GRAPHVIZ_VERSION_REVISION=0
18 - GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2}
19 - GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4}
21 -AC_SUBST(GRAPHVIZ_VERSION_BUILD)
22 -AC_SUBST(GRAPHVIZ_VERSION_REVISION)
24 dnl ===========================================================================
26 # libtool shared library version for main libs (cdt, graph, gvc)
28 AC_DEFINE_UNQUOTED(GVPLUGIN_VERSION,$GVPLUGIN_VERSION,[Compatibility version number for plugins.])
29 AC_SUBST(GVPLUGIN_VERSION)
31 +GRAPHVIZ_VERSION_BUILD=0
32 +GRAPHVIZ_VERSION_REVISION=0
34 + *uwin* | *cygwin* | *mingw32* )
35 + # Windows version numbers
36 + # For the build number: months since Jan 2000, day of month from the timestamp
37 + # For the revision number: hour, minute from the timestamp
38 + if test $GRAPHVIZ_VERSION_MICRO != "0"; then
39 + GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2}
40 + GRAPHVIZ_VERSION_REVISION=${GRAPHVIZ_VERSION_MICRO:9:4}
44 +AC_SUBST(GRAPHVIZ_VERSION_BUILD)
45 +AC_SUBST(GRAPHVIZ_VERSION_REVISION)