summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-11-14 03:52:07 (GMT)
committerdas <das>2007-11-14 03:52:07 (GMT)
commite9385d5fbbaae0d034eb62d5860dfd898319f737 (patch)
tree6fe8a2fe4784dd2a3c6a9ef60f78a6085489d7cb
parent61d71445e5ee79da20c176743c1cc30abac6e496 (diff)
downloadtk-e9385d5fbbaae0d034eb62d5860dfd898319f737.zip
tk-e9385d5fbbaae0d034eb62d5860dfd898319f737.tar.gz
tk-e9385d5fbbaae0d034eb62d5860dfd898319f737.tar.bz2
autoconf-2.59
-rwxr-xr-xunix/configure12
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/configure b/unix/configure
index 32448b7..e79e0ff 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9124,7 +9124,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. */
@@ -9132,7 +9132,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
@@ -9159,7 +9159,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
@@ -9173,18 +9173,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;
}