# HG changeset patch # User klao # Date 1119365837 0 # Node ID 14ca1624e8e874be2b35c2c555eae8f49b0c41bc # Parent e8f1ad6cc8dd1d35afa75d6a220e637bb55d0305 Get CPLEX location (include and libdir) from the environment. (On lemon.cs.elte.hu use "cplex_env" command to set the environment appropriately.) diff -r e8f1ad6cc8dd -r 14ca1624e8e8 config/lx_check_cplex.m4 --- a/config/lx_check_cplex.m4 Mon Jun 20 09:08:20 2005 +0000 +++ b/config/lx_check_cplex.m4 Tue Jun 21 14:57:17 2005 +0000 @@ -21,12 +21,16 @@ CPLEX_CFLAGS="-I$with_cplex_includedir" elif test x"$with_cplex" != x"yes"; then CPLEX_CFLAGS="-I$with_cplex/include" + elif test x"$CPLEX_INCLUDEDIR" != x; then + CPLEX_CFLAGS="-I$CPLEX_INCLUDEDIR" fi if test x"$with_cplex_libdir" != x"no"; then CPLEX_LDFLAGS="-L$with_cplex_libdir" elif test x"$with_cplex" != x"yes"; then CPLEX_LDFLAGS="-L$with_cplex/lib" + elif test x"$CPLEX_LIBDIR" != x; then + CPLEX_LDFLAGS="-L$CPLEX_LIBDIR" fi CPLEX_LIBS="-lcplex -lm -lpthread"