summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authordas <das>2007-11-19 19:38:00 (GMT)
committerdas <das>2007-11-19 19:38:00 (GMT)
commit815c7d7ce6956950ce2a9549e883912698525f8a (patch)
tree7acfc34f84720b68f4be5f80f753efa55186c83a /unix/configure
parentd296e41f2cd37ef9bd4c2bcf18cc0841bdf75d35 (diff)
downloadtk-815c7d7ce6956950ce2a9549e883912698525f8a.zip
tk-815c7d7ce6956950ce2a9549e883912698525f8a.tar.gz
tk-815c7d7ce6956950ce2a9549e883912698525f8a.tar.bz2
autoconf-2.59core_8_5_b3
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 39a500b..de9b59e 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9406,7 +9406,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. */
@@ -9414,7 +9414,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
@@ -9441,7 +9441,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
@@ -9455,18 +9455,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;
}