View | Details | Raw Unified | Return to bug 2144
Collapse All | Expand All

(-)glib-java-0.2.2.orig/macros/am_path_gcj.m4 (-1 / +2 lines)
Lines 41-46 Link Here
41
    PATH="$GCJ_HOME/bin:$PATH"
41
    PATH="$GCJ_HOME/bin:$PATH"
42
  fi
42
  fi
43
  AC_PATH_PROG(GCJ, gcj, no)
43
  AC_PATH_PROG(GCJ, gcj, no)
44
  AC_PATH_PROG(GIJ, gij, no)
44
45
45
  min_gcj_version=ifelse([$0], ,3.0.0,$1)
46
  min_gcj_version=ifelse([$0], ,3.0.0,$1)
46
  AC_MSG_CHECKING(for GCJ - version >= $min_gcj_version)
47
  AC_MSG_CHECKING(for GCJ - version >= $min_gcj_version)
Lines 104-110 Link Here
104
	}
105
	}
105
}
106
}
106
EOF
107
EOF
107
	GCJ_JAR=`gcj -C Test.java && gij Test`
108
	GCJ_JAR=`$GCJ -C Test.java && $GIJ Test`
108
	rm Test.java Test.class
109
	rm Test.java Test.class
109
	if test x$GCJ_JAR == x ; then
110
	if test x$GCJ_JAR == x ; then
110
      GCJ_JAR=`(test -d /usr/share/local/java && find /usr/local/share/java -name libgcj-?.?.?.jar) || (test -d /usr/share/java && find /usr/share/java -name libgcj-?.?.?.jar)`
111
      GCJ_JAR=`(test -d /usr/share/local/java && find /usr/local/share/java -name libgcj-?.?.?.jar) || (test -d /usr/share/java && find /usr/share/java -name libgcj-?.?.?.jar)`

Return to bug 2144