diff options
author | dgp <dgp@users.sourceforge.net> | 2012-09-13 15:57:08 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2012-09-13 15:57:08 (GMT) |
commit | a3797a6afe41e049f65e052b16c78f651be1f093 (patch) | |
tree | c06d233ab2f137a3c78512a4864c806d88c8a40c | |
parent | 3d4b27d90c3c257b645097a58df4b34ae16e5474 (diff) | |
parent | 613b11b96f3952debe6c90fd79fa83c69da66d57 (diff) | |
download | tk-a3797a6afe41e049f65e052b16c78f651be1f093.zip tk-a3797a6afe41e049f65e052b16c78f651be1f093.tar.gz tk-a3797a6afe41e049f65e052b16c78f651be1f093.tar.bz2 |
merge trunk
-rwxr-xr-x | unix/configure | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unix/configure b/unix/configure index 148e1f5..577b844 100755 --- a/unix/configure +++ b/unix/configure @@ -6591,7 +6591,7 @@ else arch=`isainfo` echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5 echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6 - if test "$arch" = "amd64 i386"; then + if test "$arch" = "amd64 i386" -o "$arch" = "i386"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 @@ -6790,7 +6790,7 @@ else fi case $system in - SunOS-5.[1-9][0-9]*) + SunOS-5.[1-9][0-9]*|SunOS-5.[7-9]) SHLIB_LD="\${CC} -G -z $textmode \${LDFLAGS}";; *) SHLIB_LD="/usr/ccs/bin/ld -G -z $textmode";; @@ -9934,7 +9934,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. */ @@ -9942,7 +9942,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 @@ -9969,7 +9969,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 @@ -9983,18 +9983,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; } |