summaryrefslogtreecommitdiffhomepage
path: root/patches/classpath/classpath-0.99.fix-configure.ac-libX11linking.patch
blob: c3d4e8c1d16c1c4f81043e18673c8edb0dbc6e01 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- classpath-0.99.orig/configure.ac	2012-03-08 19:03:15.000000000 +0100
+++ classpath-0.99/configure.ac	2018-06-07 16:14:32.962168731 +0200
@@ -553,7 +553,7 @@
     dnl Check if we can link against the XTest library and set
     dnl HAVE_XTEST accordingly.
     AC_CHECK_LIB([Xtst], [XTestQueryExtension],
-                 [AC_DEFINE(HAVE_XTEST, 1, [Define to 1 if you have libXtst.])[XTEST_LIBS="$XTEST_LIBS -X11 -lXtst"]],
+                 [AC_DEFINE(HAVE_XTEST, 1, [Define to 1 if you have libXtst.])[XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"]],
                  [true],
                  [${X_LIBS}])