diff options
author | das <das@noemail.net> | 2007-11-19 19:38:00 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2007-11-19 19:38:00 (GMT) |
commit | 56f99a2211918eb6f242c382d7afe263d82e61f0 (patch) | |
tree | 7acfc34f84720b68f4be5f80f753efa55186c83a | |
parent | 39e4a1dd2096e4039931215b1ae0e7627005741e (diff) | |
download | tk-56f99a2211918eb6f242c382d7afe263d82e61f0.zip tk-56f99a2211918eb6f242c382d7afe263d82e61f0.tar.gz tk-56f99a2211918eb6f242c382d7afe263d82e61f0.tar.bz2 |
autoconf-2.59core-8-5-b3
FossilOrigin-Name: 35189ded4dc5c61e5063231257afb9bee157ed58
-rwxr-xr-x | unix/configure | 12 |
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; } |