Ignore:
Timestamp:
10/15/08 20:41:52 (6 years ago)
Author:
wehart
Message:

Setting config/makefile fragments for the acro_utilib_3_0 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • acro-utilib/branches/dev_3_0/configure.ac

    r5389 r5621  
    180180fi 
    181181 
     182# Control whether UTILIB DEBUGPR output is used 
     183ACRO_DEBUGPR_OPTION 
    182184# Control whether UTILIB CommonIO mapping is used 
    183185ACRO_COMMONIO_OPTION 
     
    828830fi 
    829831 
    830 # coopr 
    831 ACRO_ARG_ENABLE_PACKAGE(coopr, COOPR, coopr, 
    832        ${srcdir}/packages/coopr/src/doe/complete_doe.cpp, yes) 
    833 if test X${ac_cv_enable_coopr} = Xyes ; then 
    834    if test -d ${srcdir}/packages/coopr ; then 
    835       AC_CONFIG_FILES([packages/coopr/Makefile:packages/coopr/Makefile.in:packages/dummy/Makefile.in]) 
    836       AC_CONFIG_FILES([packages/coopr/test/Makefile:packages/coopr/test/Makefile.in:packages/dummy/Makefile.in]) 
    837       AC_CONFIG_FILES([packages/coopr/src/Makefile:packages/coopr/src/Makefile.in:packages/dummy/Makefile.in]) 
     832# coopr_tools 
     833ACRO_ARG_ENABLE_PACKAGE(coopr_tools, COOPR_TOOLS, coopr_tools, 
     834       ${srcdir}/packages/coopr_tools/src/doe/complete_doe.cpp, yes) 
     835if test X${ac_cv_enable_coopr_tools} = Xyes ; then 
     836   if test -d ${srcdir}/packages/coopr_tools ; then 
     837      AC_CONFIG_FILES([packages/coopr_tools/Makefile:packages/coopr_tools/Makefile.in:packages/dummy/Makefile.in]) 
     838      AC_CONFIG_FILES([packages/coopr_tools/test/Makefile:packages/coopr_tools/test/Makefile.in:packages/dummy/Makefile.in]) 
     839      AC_CONFIG_FILES([packages/coopr_tools/src/Makefile:packages/coopr_tools/src/Makefile.in:packages/dummy/Makefile.in]) 
    838840   fi 
    839841fi 
     
    860862      AC_CONFIG_FILES([tpl/glpk/Makefile:tpl/glpk/Makefile.in:packages/dummy/Makefile.in]) 
    861863   fi 
     864    # Will add -lgmp to LIBS if libgmp is found.  glpk library uses gmp if it is found, so 
     865    # when we build the solver (glpksol) using the library we need to add -lgmp 
     866 
     867    AC_SEARCH_LIBS([__gmp_randclear], [gmp], [GMP=yes], [GMP=no]) 
     868 
     869    if test GMP == yes ; then 
     870      AC_MSG_NOTICE(["GLPK will use libgmp"]) 
     871    else 
     872      AC_MSG_NOTICE(["GLPK will use NOT libgmp, it is not found"]) 
     873    fi 
    862874fi 
    863875 
Note: See TracChangeset for help on using the changeset viewer.