clean up makefile

This commit is contained in:
Vitor Santos Costa
2014-02-10 23:30:21 +00:00
parent 231290bad3
commit 00f0d449ec
11 changed files with 48 additions and 60 deletions

View File

@@ -20,11 +20,11 @@ AC_ARG_ENABLE(gecode,
fi], use_gecode=$have_gecode)
if test "$use_gecode" = no; then
ENABLE_GECODE="@# "
PKG_GECODE=""
else
ENABLE_GECODE=""
PKG_GECODE="packages/gecode"
fi
AC_SUBST(ENABLE_GECODE)
AC_SUBST(PKG_GECODE)
AC_MSG_CHECKING([if dynamic arrays are supported])
@@ -90,3 +90,8 @@ fi
AC_SUBST(GECODE_VERSION)
AC_SUBST(GECODE_EXTRALIBS)
if test "$PKG_GECODE" = "packages/gecode"; then
AC_CONFIG_FILES([packages/gecode/Makefile])
fi