diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2006-07-19 16:14:57 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2006-07-19 16:14:57 +0000 |
| commit | c90f8a668ee109367c2558b4f1bba7e2dd90fb0a (patch) | |
| tree | 584f1d58c567f733139de5041dfaae4d918c1fc5 /src | |
| parent | 263528772958edf1a7987dce0fe974227a9fd5ce (diff) | |
| download | krb5-c90f8a668ee109367c2558b4f1bba7e2dd90fb0a.tar.gz krb5-c90f8a668ee109367c2558b4f1bba7e2dd90fb0a.tar.xz krb5-c90f8a668ee109367c2558b4f1bba7e2dd90fb0a.zip | |
need to look harder for tclConfig.sh
Our current scheme doesn't find tclConfig.sh as installed by NetBSD's
pkg system, even if it finds tclsh and gets the library pathname from
it. The problem is that tclConfig.sh is one directory up.
* aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Check $tcl_dir/.. for tclConfig.sh.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18342 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/aclocal.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 62081052b..79ea8de46 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -870,10 +870,18 @@ dnl AC_DEFUN(AC_KRB5_TCL_FIND_CONFIG,[ AC_REQUIRE([KRB5_LIB_AUX])dnl AC_MSG_CHECKING(for tclConfig.sh) +dnl On Debian, we might be given --with-tcl=/usr, or tclsh might +dnl point us to /usr/lib/tcl8.4; either way, we need to find +dnl /usr/lib/tcl8.4/tclConfig.sh. +dnl On NetBSD, we might be given --with-tcl=/usr/pkg, or tclsh +dnl might point us to /usr/pkg/lib/tcl8.4; we need to find +dnl /usr/pkg/lib/tclConfig.sh. if test -r "$tcl_dir/lib/tclConfig.sh" ; then tcl_conf="$tcl_dir/lib/tclConfig.sh" elif test -r "$tcl_dir/tclConfig.sh" ; then tcl_conf="$tcl_dir/tclConfig.sh" +elif test -r "$tcl_dir/../tclConfig.sh" ; then + tcl_conf="$tcl_dir/../tclConfig.sh" else tcl_conf= lib="$tcl_dir/lib" |
