Skip to content

Commit

Permalink
Fix infinite recursion in configure
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17563 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 6, 2013
1 parent ab89f81 commit 422d8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ else
AC_CHECK_HEADERS($IPOPT_DIR/include/coin/IpStdCInterface.h, [AC_MSG_RESULT(ipopt directory: $IPOPT_DIR); IPOPT_LDFLAGS=`PKG_CONFIG_PATH=$IPOPT_DIR/lib/pkgconfig:$PKG_CONFIG_PATH pkg-config --libs ipopt`; IPOPT_CFLAGS="-I'"$IPOPT_DIR"/include'"], [NO_IPOPT="yes"])
fi

if (! test "$NO_IPOPT" = "yes") && "$WANT_IPOPT" = "yes"; then
if test "$NO_IPOPT" != "yes" -a "$WANT_IPOPT" = "yes"; then
LIBS=$IPOPT_LDFLAGS
AC_SEARCH_LIBS(CreateIpoptProblem,ipopt,,[NO_IPOPT="yes"])
LIBS=""
Expand Down

0 comments on commit 422d8e0

Please sign in to comment.