summaryrefslogtreecommitdiff
path: root/recipes/classpath/files/fix-gmp.patch
blob: 3f0dfbe084262707d7d7e390ec392b8874a4ba3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- classpath-0.98.orig/configure.ac
+++ classpath-0.98/configure.ac
@@ -766,11 +766,11 @@ if test "x${COMPILE_JNI}" = xyes; then
   dnl __gmpz_mul_si for earlier versions (>= 3.1).
   dnl IMPORTANT: if you decide to look for __gmpz_combit, don't forget to
   dnl change the name of the corresponding ac_ variable on lines 860...
   if test "x${COMPILE_GMP}" = xyes; then
     AC_CHECK_LIB(gmp, __gmpz_mul_si,
-      [GMP_CFLAGS=-I/usr/include
+      [GMP_CFLAGS=
        GMP_LIBS=-lgmp ],
       [GMP_CFLAGS=
        GMP_LIBS= ])
     AC_SUBST(GMP_CFLAGS)
     AC_SUBST(GMP_LIBS)