3 AC_SUBST(bv_cv_polymake)
5 AS_HELP_STRING([--with-polymake=DIR], [DIR Location of polymake])],
6 [bv_cv_polymake=$withval], [])
8 if test -z $bv_cv_polymake; then
9 for pm in /usr /usr/local; do
10 if test -f $pm/polymake/Makefile; then
11 bv_cv_polymake=$pm/polymake
16 if test ! -f $bv_cv_polymake/Makefile; then
20 if test -z $bv_cv_polymake; then
21 AC_MSG_ERROR(polymake Makefile not found)
25 AS_HELP_STRING([--with-barvinok=DIR], [DIR Location of barvinok])],
26 [bv_cv_barvinok=$withval], [])
28 if test -n $bv_cv_barvinok; then
29 export PKG_CONFIG_PATH=$bv_cv_barvinok/lib/pkgconfig:$PKG_CONFIG_PATH
32 PKG_CHECK_MODULES([barvinok], [barvinok])