# HG changeset patch # User simonis # Date 1435822721 -7200 # Node ID 8c2512d63fac9867d5838e5809a059e4b22760d5 # Parent 4e7196149801b385e175166fa5d3d16f0f2b7100 8130303: Fix bogus check for libX11.so in libraries.m4 Reviewed-by: simonis, erikj Contributed-by: matthias.baesken@sap.com diff -r 4e7196149801 -r 8c2512d63fac common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Tue Jun 30 11:20:42 2015 -0700 +++ b/common/autoconf/generated-configure.sh Thu Jul 02 09:38:41 2015 +0200 @@ -4364,7 +4364,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1434614912 +DATE_WHEN_GENERATED=1435822080 ############################################################################### # @@ -42961,7 +42961,7 @@ if test "x$x_libraries" = xNONE; then if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then x_libraries="$SYSROOT/usr/X11R6/lib" - elif test "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then + elif test -f "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then x_libraries="$SYSROOT/usr/lib64" elif test -f "$SYSROOT/usr/lib/libX11.so"; then x_libraries="$SYSROOT/usr/lib" diff -r 4e7196149801 -r 8c2512d63fac common/autoconf/libraries.m4 --- a/common/autoconf/libraries.m4 Tue Jun 30 11:20:42 2015 -0700 +++ b/common/autoconf/libraries.m4 Thu Jul 02 09:38:41 2015 +0200 @@ -113,7 +113,7 @@ if test "x$x_libraries" = xNONE; then if test -f "$SYSROOT/usr/X11R6/lib/libX11.so"; then x_libraries="$SYSROOT/usr/X11R6/lib" - elif test "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then + elif test -f "$SYSROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then x_libraries="$SYSROOT/usr/lib64" elif test -f "$SYSROOT/usr/lib/libX11.so"; then x_libraries="$SYSROOT/usr/lib"