diff options
author | dgp <dgp@users.sourceforge.net> | 2018-11-15 19:11:56 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-11-15 19:11:56 (GMT) |
commit | fad421be1d6e7d3c46b42ca9926af5228122852c (patch) | |
tree | a4d12d051ccf3e52bf9012ab965112df229f02de /unix | |
parent | dc9645b5eab322276e8884db09e3801e709082cb (diff) | |
parent | b20af515852a0876753d5b8b155fb319a0fdb819 (diff) | |
download | tk-fad421be1d6e7d3c46b42ca9926af5228122852c.zip tk-fad421be1d6e7d3c46b42ca9926af5228122852c.tar.gz tk-fad421be1d6e7d3c46b42ca9926af5228122852c.tar.bz2 |
merge 8.6
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/configure | 12 | ||||
-rw-r--r-- | unix/tkConfig.h.in | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/unix/configure b/unix/configure index cf5ce30..efd289f 100755 --- a/unix/configure +++ b/unix/configure @@ -7312,18 +7312,18 @@ 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else 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 @@ -7337,14 +7337,14 @@ 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <X11/Xlib.h> +#include <X11/Intrinsic.h> int main () { -XrmInitialize () +XtMalloc (0) ; return 0; } diff --git a/unix/tkConfig.h.in b/unix/tkConfig.h.in index edd7aa6..d598ca3 100644 --- a/unix/tkConfig.h.in +++ b/unix/tkConfig.h.in @@ -13,6 +13,9 @@ /* Do we have access to Darwin CoreFoundation.framework? */ #undef HAVE_COREFOUNDATION +/* Is 'DIR64' in <sys/types.h>? */ +#undef HAVE_DIR64 + /* Compiler support for module scope symbols */ #undef HAVE_HIDDEN @@ -232,9 +235,6 @@ /* Define to `unsigned' if <sys/types.h> does not define. */ #undef size_t -/* Do we want to use the strtod() in compat? */ -#undef strtod - /* Define to `int' if <sys/types.h> doesn't define. */ #undef uid_t |