m4/lx_check_soplex.m4
changeset 641 d657c71db7db
parent 480 69928a704ffb
child 674 20dac2104519
equal deleted inserted replaced
2:7566bb701e7b 4:fe12cf5a7522
    18     AC_MSG_CHECKING([for SOPLEX])
    18     AC_MSG_CHECKING([for SOPLEX])
    19 
    19 
    20     if test x"$with_soplex_includedir" != x"no"; then
    20     if test x"$with_soplex_includedir" != x"no"; then
    21       SOPLEX_CXXFLAGS="-I$with_soplex_includedir"
    21       SOPLEX_CXXFLAGS="-I$with_soplex_includedir"
    22     elif test x"$with_soplex" != x"yes"; then
    22     elif test x"$with_soplex" != x"yes"; then
    23       SOPLEX_CXXFLAGS="-I$with_soplex/include"
    23       SOPLEX_CXXFLAGS="-I$with_soplex/src"
    24     fi
    24     fi
    25 
    25 
    26     if test x"$with_soplex_libdir" != x"no"; then
    26     if test x"$with_soplex_libdir" != x"no"; then
    27       SOPLEX_LDFLAGS="-L$with_soplex_libdir"
    27       SOPLEX_LDFLAGS="-L$with_soplex_libdir"
    28     elif test x"$with_soplex" != x"yes"; then
    28     elif test x"$with_soplex" != x"yes"; then
    36     CXXFLAGS="$SOPLEX_CXXFLAGS"
    36     CXXFLAGS="$SOPLEX_CXXFLAGS"
    37     LDFLAGS="$SOPLEX_LDFLAGS"
    37     LDFLAGS="$SOPLEX_LDFLAGS"
    38     LIBS="$SOPLEX_LIBS"
    38     LIBS="$SOPLEX_LIBS"
    39 
    39 
    40     lx_soplex_test_prog='
    40     lx_soplex_test_prog='
    41       #include <soplex/soplex.h>
    41       #include <soplex.h>
    42 
    42 
    43       int main(int argc, char** argv)
    43       int main(int argc, char** argv)
    44       {
    44       {
    45         soplex::SoPlex soplex;
    45         soplex::SoPlex soplex;
    46         return 0;
    46         return 0;