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

mjw at icedtea.classpath.org mjw at icedtea.classpath.org
Fri Jan 21 13:55:56 PST 2011


changeset ce49b3019799 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ce49b3019799
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 da307731d8d2 -r ce49b3019799 ChangeLog
--- a/ChangeLog	Thu Oct 14 13:25:44 2010 +0200
+++ b/ChangeLog	Fri Jan 21 22:53:33 2011 +0100
@@ -1,3 +1,7 @@ 2011-11-21  Matthias Klose  <doko at ubuntu
+2011-01-21  Mark Wielaard  <mark at klomp.org>
+
+	* configure.ac (--with-llvm-config): Handle yes/no.
+
 2011-11-21  Matthias Klose  <doko at ubuntu.com>
 
 	* configure.ac: New option --with-llvm-config.
diff -r da307731d8d2 -r ce49b3019799 configure.ac
--- a/configure.ac	Thu Oct 14 13:25:44 2010 +0200
+++ b/configure.ac	Fri Jan 21 22:53:33 2011 +0100
@@ -395,7 +395,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