From 8fcf2f79e6bab05d70da5ada41a68e863f47fbe2 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Fri, 30 Dec 2011 23:01:18 +0000
Subject: [PATCH] Fix check for --with-ipopt=<nothing here>

[[Imported from SVN: r5146]]
---
 m4/ipopt.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/ipopt.m4 b/m4/ipopt.m4
index fb54366f..1df26d22 100644
--- a/m4/ipopt.m4
+++ b/m4/ipopt.m4
@@ -15,7 +15,7 @@ ac_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
 ## do nothing if --without-ipopt is used
 AS_IF([test x$with_ipopt != xno], [
     # is --with-ipopt=bla used?
-    AS_IF([test "x$with_ipopt" != x], [
+    AS_IF([test "x$with_ipopt" != xyes], [
         AS_IF([! test -d $with_ipopt], [
             AC_MSG_WARN([IPOpt directory $with_ipopt does not exist])
         ], [
-- 
GitLab