diff -r 2c17cbccf2ef -r 0cf466e2de61 common/autoconf/libraries.m4 --- a/common/autoconf/libraries.m4 Wed Oct 23 13:05:58 2013 +0200 +++ b/common/autoconf/libraries.m4 Wed Oct 23 17:03:19 2013 +0200 @@ -136,16 +136,6 @@ AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG]) fi - # Some of the old makefiles require a setting of OPENWIN_HOME - # Since the X11R6 directory has disappeared on later Linuxes, - # we need to probe for it. - if test "x$OPENJDK_TARGET_OS" = xlinux; then - if test -d "$SYS_ROOT/usr/X11R6"; then - OPENWIN_HOME="$SYS_ROOT/usr/X11R6" - elif test -d "$SYS_ROOT/usr/include/X11"; then - OPENWIN_HOME="$SYS_ROOT/usr" - fi - fi if test "x$OPENJDK_TARGET_OS" = xsolaris; then OPENWIN_HOME="/usr/openwin" fi