Adding PACKAGE_PATCHLEVEL to an extension
- From: "Tim Baker" <tnbaker1@xxxxxxx>
- Date: Sat, 28 May 2005 21:29:58 GMT
I added these lines to my configure.ac file:
AC_SUBST([PACKAGE_PATCHLEVEL], [1.0.1])
AC_DEFINE_UNQUOTED(PACKAGE_PATCHLEVEL, "$PACKAGE_PATCHLEVEL")
This passes -DPACKAGE_PATCHLEVEL=\"1.0.1\" to the compiler.
My question is, should I call Tcl_PkgProvide("1.0.1") or just
Tcl_PkgProvide("1.0")?
Tcl and Tk pass 8.4 not 8.4.9, while the Tile extension passes 0.6.3 not
0.6.
Also, should my pkgIndex.tcl file call "package provide MyPkg 1.0.1" or
"package provide MyPkg 1.0"? It seems the Tile Windows pkgIndex.tcl file
uses 0.6 while the Tile Unix pkgIndex.tcl file uses 0.6.3.
-- Tim Baker
.
- Prev by Date: Re: Just wanted to express my appreciation
- Next by Date: Re: RegExp Help
- Previous by thread: RegExp Help
- Next by thread: Iwidgets problems
- Index(es):
Relevant Pages
|