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/configure | |
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/configure')
-rwxr-xr-x | unix/configure | 12 |
1 files changed, 6 insertions, 6 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; } |