Ignore:
Timestamp:
Sep 13, 2010 3:37:47 AM (10 years ago)
Author:
stefan
Message:

change from COIN_HAS_MODULE to COIN_HAS_PACKAGE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/trunk/configure.ac

    r1585 r1681  
    7272###########################################################################
    7373
    74 ADDLIBS=
    75 
    7674AC_LANG_PUSH(C)
    7775
    78 AC_COIN_CHECK_GNU_ZLIB
     76AC_COIN_CHECK_GNU_ZLIB(GLPK)
    7977if test $coin_has_zlib = "yes"; then
    8078  AC_DEFINE([HAVE_ZLIB], [1], [Define to 1 if GNU zlib is available])
     
    8684  if test $coin_has_gmp = yes; then
    8785    AC_DEFINE([HAVE_GMP],[1],[Define to 1 if GMP is available])
    88     ADDLIBS="-lgmp $ADDLIBS"
     86    GLPK_LIBS="-lgmp $GLPK_LIBS"
     87    GLPK_PCLIBS="-lgmp $GLPK_PCLIBS"
    8988  fi
    9089fi
     
    108107  AC_CHECK_LIB(dl,[dlopen],[AC_DEFINE([HAVE_DLFCN],[1],[Define to 1 if dlfcn support is available])],[enable_dl=no])
    109108  if test $enable_dl = yes; then
    110     ADDLIBS="-ldl $ADDLIBS"
     109    GLPK_LIBS="-ldl $GLPK_LIBS"
     110    GLPK_PCLIBS="-ldl $GLPK_PCLIBS"
    111111  fi
    112112fi
     
    118118    AC_CHECK_LIB(ldtl,[lt_dlopen],[AC_DEFINE([HAVE_LTDL],[1],[Define to 1 if ltdl support is available])],[enable_dl=no])
    119119    if test $enable_dl = yes; then
    120       ADDLIBS="-lltdl $ADDLIBS"
     120      GLPK_LIBS="-lltdl $GLPK_LIBS"
     121      GLPK_PCLIBS="-lltdl $GLPK_PCLIBS"
    121122    fi
    122123  fi
     
    251252AC_CONFIG_HEADER([config_glpk.h])
    252253
     254AC_SUBST(GLPK_PCLIBS)
     255
    253256AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.