summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-11-15 19:11:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-11-15 19:11:56 (GMT)
commitfad421be1d6e7d3c46b42ca9926af5228122852c (patch)
treea4d12d051ccf3e52bf9012ab965112df229f02de /unix/configure
parentdc9645b5eab322276e8884db09e3801e709082cb (diff)
parentb20af515852a0876753d5b8b155fb319a0fdb819 (diff)
downloadtk-fad421be1d6e7d3c46b42ca9926af5228122852c.zip
tk-fad421be1d6e7d3c46b42ca9926af5228122852c.tar.gz
tk-fad421be1d6e7d3c46b42ca9926af5228122852c.tar.bz2
merge 8.6
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure12
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;
}