PKGNAME=clp
PKGSEC=math
PKGDEP="osi coinutils suitesparse glpk"
PKGDES="COIN-OR linear programming solver"

ABTYPE=autotools
AUTOTOOLS_AFTER=(
	--with-osi-lib="-lOsi"
	--with-osi-incdir="/usr/include/coin/"
	--with-coinutils-lib="-lCoinUtils"
	--with-coinutils-incdir="/usr/include/coin"
	--with-cholmod-lib="-lcholmod"
	--with-cholmod-incdir="/usr/include/suitesparse"
	--with-glpk-lib="-lglpk"
	--with-glpk-incdir="/usr/include"
)
# FIXME: reconf fails
# error: possibly undefined macro: AC_COIN_CREATE_LIBTOOL
RECONF=0

AB_FLAGS_O3=1
NOLTO__LOONGSON3=1
