summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-24 09:04:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-24 09:04:42 (GMT)
commit6da9178069c3c923e3df144f28034f9d4fee60ed (patch)
tree4a5e0a22eff7b111f66be0b99eafd00a78988233 /unix/configure
parentfc12eac9417801a452f0e1c56bc3b89dfa8581bc (diff)
downloadtk-6da9178069c3c923e3df144f28034f9d4fee60ed.zip
tk-6da9178069c3c923e3df144f28034f9d4fee60ed.tar.gz
tk-6da9178069c3c923e3df144f28034f9d4fee60ed.tar.bz2
sync tcl.m4 with Tcl version
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 efd289f..cf5ce30 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 Intrinsic.h.
+ # Guess where to find include files, by looking for Xlib.h.
# First, try using that file with no special directory specified.
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.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/Intrinsic.h"; then
+ if test -r "$ac_dir/X11/Xlib.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="-lXt $LIBS"
+ LIBS="-lX11 $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.h>
int
main ()
{
-XtMalloc (0)
+XrmInitialize ()
;
return 0;
}