/hg/icedtea6: * configure.ac (--with-llvm-config): Handle yes/no.

mjw at icedtea.classpath.org mjw at icedtea.classpath.org
Fri Jan 21 13:53:58 PST 2011


changeset 52a48baed3cf in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=52a48baed3cf
author: Mark Wielaard <mark at klomp.org>
date: Fri Jan 21 22:53:33 2011 +0100

	* configure.ac (--with-llvm-config): Handle yes/no.


diffstat:

2 files changed, 5 insertions(+), 1 deletion(-)
ChangeLog    |    4 ++++
configure.ac |    2 +-

diffs (23 lines):

diff -r f3aee1b5e567 -r 52a48baed3cf ChangeLog
--- a/ChangeLog	Thu Jan 20 16:33:23 2011 +0100
+++ b/ChangeLog	Fri Jan 21 22:53:33 2011 +0100
@@ -1,3 +1,7 @@ 2011-01-20  Pavel Tisnovsky  <ptisnovs at r
+2011-01-21  Mark Wielaard  <mark at klomp.org>
+
+	* configure.ac (--with-llvm-config): Handle yes/no.
+
 2011-01-20  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* patches/icedtea-jtreg-international-fonts.patch:
diff -r f3aee1b5e567 -r 52a48baed3cf configure.ac
--- a/configure.ac	Thu Jan 20 16:33:23 2011 +0100
+++ b/configure.ac	Fri Jan 21 22:53:33 2011 +0100
@@ -398,7 +398,7 @@ AC_ARG_WITH([llvm-config],
             [AS_HELP_STRING([--with-llvm-config],
                             [llvm-config binary (default is llvm-config)])],
             [
-              if test "x${withval}" != x; then
+              if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then
 	        if which ${withval} >/dev/null 2>&1 && ${withval} --version >/dev/null 2>&1; then
 		  LLVM_CONFIG=${withval}
 		else



More information about the distro-pkg-dev mailing list