Gpscanvasname = argv[1], argv++, argc--;
else if (strcmp (argv[0], "-V") == 0) {
fprintf (stderr, "lefty version %s\n", LEFTYVERSION);
- fprintf (stderr, "graphviz version %s (%s)\n", VERSION, BUILDDATE);
+ fprintf (stderr, "graphviz version %s (%s)\n", PACKAGE_VERSION, BUILDDATE);
}
else if (strcmp (argv[0], "-?") == 0)
usage(0);
# graphviz_version_commit
m4_include(./version.m4)
-AC_INIT([graphviz],[graphviz_version_major.graphviz_version_minor.graphviz_version_micro],[http://www.graphviz.org/])
+AC_INIT([graphviz],[graphviz_version_major().graphviz_version_minor().graphviz_version_micro()],[http://www.graphviz.org/])
GRAPHVIZ_VERSION_MAJOR=graphviz_version_major()
GRAPHVIZ_VERSION_MINOR=graphviz_version_minor()
AC_CONFIG_HEADERS([config.h lib/common/types.h])
# put BUILDDATE in its own file so that only targets that use it get rebuilt
-echo "#define BUILDDATE \"$VERSION_DATE\"" > builddate.h
+echo "#define BUILDDATE \"$GRAPHVIZ_VERSION_DATE\"" > builddate.h
# only update ast_common.h (for GNU builds) from master if changed
if ! `cmp -s $srcdir/ast_common.h.in ast_common.h`; then
static char *LibInfo[] = {
"graphviz", /* Program */
- VERSION, /* Version */
+ PACKAGE_VERSION, /* Version */
BUILDDATE /* Build Date */
};
static char *Info[] = {
"gvpr", /* Program */
- VERSION, /* Version */
+ PACKAGE_VERSION, /* Version */
BUILDDATE /* Build Date */
};
return TCL_ERROR;
}
#endif
- if (Tcl_PkgProvide(interp, "Gdtclft", VERSION) != TCL_OK) {
+ if (Tcl_PkgProvide(interp, "Gdtclft", PACKAGE_VERSION) != TCL_OK) {
return TCL_ERROR;
}
return TCL_ERROR;
}
#endif
- if (Tcl_PkgProvide(interp, "Tcldot", VERSION) != TCL_OK) {
+ if (Tcl_PkgProvide(interp, "Tcldot", PACKAGE_VERSION) != TCL_OK) {
return TCL_ERROR;
}
return TCL_ERROR;
}
#endif
- if (Tcl_PkgProvide(interp, "Tclpathplan", VERSION) != TCL_OK) {
+ if (Tcl_PkgProvide(interp, "Tclpathplan", PACKAGE_VERSION) != TCL_OK) {
return TCL_ERROR;
}
Tk_CreateSmoothMethod(interp, &splineSmoothMethod);
- return Tcl_PkgProvide(interp, "Tkspline", VERSION);
+ return Tcl_PkgProvide(interp, "Tkspline", PACKAGE_VERSION);
}
int Tkspline_SafeInit(Tcl_Interp * interp)