# HG changeset patch # User Andrew John Hughes # Date 1266589165 0 # Node ID 0fe3a89b2dfbfc922a4e1dafdc8c041e0a159f0d # Parent 9ad8a3d44a67260ccae2aea345ad49a4d628c9f0 Make sure the RHINO_JAR variable always refers to a valid file. 2010-02-19 Andrew John Hughes * acinclude.m4: (FIND_RHINO_JAR): Clear RHINO_JAR variable if it still contains "no" at the end of the macro. diff -r 9ad8a3d44a67 -r 0fe3a89b2dfb ChangeLog --- a/ChangeLog Thu Mar 18 14:56:35 2010 +0000 +++ b/ChangeLog Fri Feb 19 14:19:25 2010 +0000 @@ -1,3 +1,10 @@ +2010-02-19 Andrew John Hughes + + * acinclude.m4: + (FIND_RHINO_JAR): Clear RHINO_JAR variable + if it still contains "no" at the end of the + macro. + 2010-02-17 Andrew John Hughes PR icedtea/179 diff -r 9ad8a3d44a67 -r 0fe3a89b2dfb acinclude.m4 --- a/acinclude.m4 Thu Mar 18 14:56:35 2010 +0000 +++ b/acinclude.m4 Fri Feb 19 14:19:25 2010 +0000 @@ -639,6 +639,10 @@ fi AC_MSG_RESULT(${RHINO_JAR}) AM_CONDITIONAL(WITH_RHINO, test x"${RHINO_JAR}" != "xno") +dnl Clear RHINO_JAR if it doesn't contain a valid filename + if test x"${RHINO_JAR}" = "xno"; then + RHINO_JAR= + fi AC_SUBST(RHINO_JAR) ])