diff options
author | dgp <dgp@users.sourceforge.net> | 2019-09-16 14:50:46 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2019-09-16 14:50:46 (GMT) |
commit | 439139641c44d7d925b3aa2b2aa2a6183dd33ff0 (patch) | |
tree | f53046c42e25747d0e829f6015c5310ab85896c5 /unix | |
parent | 89c954a53bbf1e6f30760915e38649a265cd2b9d (diff) | |
parent | 487b808fa7ad1096e9ee4112a719c8ed3cd45ff8 (diff) | |
download | tk-439139641c44d7d925b3aa2b2aa2a6183dd33ff0.zip tk-439139641c44d7d925b3aa2b2aa2a6183dd33ff0.tar.gz tk-439139641c44d7d925b3aa2b2aa2a6183dd33ff0.tar.bz2 |
merge 8.6
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/configure | 12 | ||||
-rw-r--r-- | unix/tkUnixFont.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/unix/configure b/unix/configure index 09adff8..074636b 100755 --- a/unix/configure +++ b/unix/configure @@ -9461,7 +9461,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. + # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -9469,7 +9469,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -9496,7 +9496,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then + if test -r "$ac_dir/X11/Intrinsic.h"; then ac_x_includes=$ac_dir break fi @@ -9510,18 +9510,18 @@ if test "$ac_x_libraries" = no; then # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lX11 $LIBS" + LIBS="-lXt $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> int main () { -XrmInitialize () +XtMalloc (0) ; return 0; } diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index f43e086..de1efd2 100644 --- a/unix/tkUnixFont.c +++ b/unix/tkUnixFont.c @@ -3000,7 +3000,7 @@ GetEncodingAlias( EncodingAlias *aliasPtr; for (aliasPtr = encodingAliases; aliasPtr->aliasPattern != NULL; ) { - if (Tcl_StringMatch(name, aliasPtr->aliasPattern)) { + if (Tcl_StringCaseMatch(name, aliasPtr->aliasPattern, 0)) { return aliasPtr->realName; } aliasPtr++; |