1 --- cp-tools.orig/configure.ac 2005-10-01 19:26:32.000000000 +0200
2 +++ cp-tools/configure.ac 2005-10-01 19:34:12.000000000 +0200
7 +AC_ARG_WITH([gnu-bytecode-jar],
8 + [AS_HELP_STRING(--with-gnu-bytecode-jar,where to look for the gnu.bytecode.jar [[default=search]])],
10 + if test "x${withval}" != xno; then
11 + with_gnubytecodejar=${withval}
13 + with_gnubytecodejar=no
17 + with_gnubytecodejar=no
20 AM_CONDITIONAL(USE_GNUBYTECODE, test "x${with_gnubytecode}" = xyes)
21 -if test "x${with_gnubytecode}" = xyes
22 +if test "x${with_gnubytecode}" = xyes -a "x${with_gnubytecodejar}" = xno
24 for path in /usr /usr/local; do
25 AC_CHECK_FILE([$path/share/java/bytecode.jar],
27 test -d src || mkdir src
28 test -d src/jars || mkdir src/jars
29 cp -f ${BYTECODE_JAR} src/jars/
31 + BYTECODE_JAR=$with_gnubytecodejar
33 + test -d src || mkdir src
34 + test -d src/jars || mkdir src/jars
35 + cp -f ${BYTECODE_JAR} src/jars/