diff options
author | das <das> | 2007-11-14 03:52:07 (GMT) |
---|---|---|
committer | das <das> | 2007-11-14 03:52:07 (GMT) |
commit | 8519ca4be4c713cc83a732a5fef6e63c05861bc2 (patch) | |
tree | 6fe8a2fe4784dd2a3c6a9ef60f78a6085489d7cb /unix | |
parent | 76376c3a25a6131ddf1b824c2a283fbaf1cb5977 (diff) | |
download | tk-8519ca4be4c713cc83a732a5fef6e63c05861bc2.zip tk-8519ca4be4c713cc83a732a5fef6e63c05861bc2.tar.gz tk-8519ca4be4c713cc83a732a5fef6e63c05861bc2.tar.bz2 |
autoconf-2.59
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/configure | 12 |
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; } |