changeset 2361:ce49b3019799

* configure.ac (--with-llvm-config): Handle yes/no.
author Mark Wielaard <mark@klomp.org>
date Fri, 21 Jan 2011 22:53:33 +0100
parents da307731d8d2
children 5cdaab119e8a
files ChangeLog configure.ac
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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-01-21  Mark Wielaard  <mark@klomp.org>
+
+	* configure.ac (--with-llvm-config): Handle yes/no.
+
 2011-11-21  Matthias Klose  <doko@ubuntu.com>
 
 	* configure.ac: New option --with-llvm-config.
--- 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 @@
             [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