summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2011-07-26 20:00:23 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2011-07-26 20:00:23 (GMT)
commit91e2b341aa7d17d483e11c8445f6e45e2aeefee8 (patch)
treef05473accd27a61671c8ffd507076c466183540e /generic/tclOO.c
parent8254c1bf1ad15cf1e96478e23cc91ec54fd75c14 (diff)
downloadtcl-91e2b341aa7d17d483e11c8445f6e45e2aeefee8.zip
tcl-91e2b341aa7d17d483e11c8445f6e45e2aeefee8.tar.gz
tcl-91e2b341aa7d17d483e11c8445f6e45e2aeefee8.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.c1
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" */