diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-27 19:02:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-06-27 19:02:49 (GMT) |
commit | 37b2fe24513834256beb12e3366f0017f72eb0fc (patch) | |
tree | 2470e16e0855190884dcbb1e8d8801a47211c416 | |
parent | a545516f55dd485161ba6dfb9076d558ca65b3a2 (diff) | |
parent | 629ad2a93f4774731ad0753a48caebb4aabca5ab (diff) | |
download | tk-37b2fe24513834256beb12e3366f0017f72eb0fc.zip tk-37b2fe24513834256beb12e3366f0017f72eb0fc.tar.gz tk-37b2fe24513834256beb12e3366f0017f72eb0fc.tar.bz2 |
manually revert changes caused by different autoconf versions
-rwxr-xr-x | unix/configure | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/configure b/unix/configure index 19cae82..7bc80dc 100755 --- a/unix/configure +++ b/unix/configure @@ -9842,7 +9842,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 Intrinsic.h. + # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -9850,7 +9850,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Intrinsic.h> +#include <X11/Xlib.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -9877,7 +9877,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 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 @@ -9891,18 +9891,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="-lXt $LIBS" + LIBS="-lX11 $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/Intrinsic.h> +#include <X11/Xlib.h> int main () { -XtMalloc (0) +XrmInitialize () ; return 0; } |