diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-26 20:00:23 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-07-26 20:00:23 (GMT) |
commit | 14ad161abd380e690e0691879b23235ca74ab75e (patch) | |
tree | f05473accd27a61671c8ffd507076c466183540e /generic/tclOO.c | |
parent | 72096946ccb5a10021b7bcf2ba22cd11ccdc1726 (diff) | |
download | tcl-14ad161abd380e690e0691879b23235ca74ab75e.zip tcl-14ad161abd380e690e0691879b23235ca74ab75e.tar.gz tcl-14ad161abd380e690e0691879b23235ca74ab75e.tar.bz2 |
Ensure that TclOO is properly found by all the various package mechanisms (by
adding a dummy ifneeded script) and not just some of them.
Diffstat (limited to 'generic/tclOO.c')
-rw-r--r-- | generic/tclOO.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclOO.c b/generic/tclOO.c index 9df3f53..8b76eeb 100644 --- a/generic/tclOO.c +++ b/generic/tclOO.c @@ -130,6 +130,7 @@ static const DeclaredClassMethod objMethods[] = { }; static char initScript[] = + "package ifneeded TclOO " TCLOO_PATCHLEVEL " {# Already present, OK?};" "namespace eval ::oo { variable version " TCLOO_VERSION " };" "namespace eval ::oo { variable patchlevel " TCLOO_PATCHLEVEL " };"; /* "tcl_findLibrary tcloo $oo::version $oo::version" */ |