Skip to content
Snippets Groups Projects
Commit 5e39ed4c authored by Elias Pipping's avatar Elias Pipping Committed by pipping
Browse files

Untabify

[[Imported from SVN: r5138]]
parent 7469b6ef
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,12 @@ if test x$with_ipopt != xno ; then ...@@ -16,12 +16,12 @@ if test x$with_ipopt != xno ; then
# is --with-ipopt=bla used? # is --with-ipopt=bla used?
if test "x$with_ipopt" != x ; then if test "x$with_ipopt" != x ; then
if ! test -d $with_ipopt; then if ! test -d $with_ipopt; then
AC_MSG_WARN([IPOpt directory $with_ipopt does not exist]) AC_MSG_WARN([IPOpt directory $with_ipopt does not exist])
else else
# expand tilde / other stuff # expand tilde / other stuff
IPOPTROOT=`cd $with_ipopt && pwd` IPOPTROOT=`cd $with_ipopt && pwd`
fi fi
fi fi
if test "x$IPOPTROOT" = x; then if test "x$IPOPTROOT" = x; then
# use some default value... # use some default value...
...@@ -54,10 +54,10 @@ if test x$HAVE_IPOPT = x1 ; then ...@@ -54,10 +54,10 @@ if test x$HAVE_IPOPT = x1 ; then
AC_LINK_IFELSE(AC_LANG_PROGRAM( AC_LINK_IFELSE(AC_LANG_PROGRAM(
[#include "coin/IpIpoptApplication.hpp"], [#include "coin/IpIpoptApplication.hpp"],
[Ipopt::SmartPtr<Ipopt::IpoptApplication> app = new Ipopt::IpoptApplication();]), [Ipopt::SmartPtr<Ipopt::IpoptApplication> app = new Ipopt::IpoptApplication();]),
[IPOPT_LIBS="`PKG_CONFIG_PATH=$IPOPT_LIB_PATH/pkgconfig $PKG_CONFIG --libs-only-l ipopt`" [IPOPT_LIBS="`PKG_CONFIG_PATH=$IPOPT_LIB_PATH/pkgconfig $PKG_CONFIG --libs-only-l ipopt`"
IPOPT_LDFLAGS="`PKG_CONFIG_PATH=$IPOPT_LIB_PATH/pkgconfig $PKG_CONFIG --libs-only-L ipopt`"], IPOPT_LDFLAGS="`PKG_CONFIG_PATH=$IPOPT_LIB_PATH/pkgconfig $PKG_CONFIG --libs-only-L ipopt`"],
[HAVE_IPOPT="0" [HAVE_IPOPT="0"
AC_MSG_WARN(IPOpt not found!)]) AC_MSG_WARN(IPOpt not found!)])
fi fi
AC_LANG_POP([C++]) AC_LANG_POP([C++])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment