Changeset: 28abe66d28c1 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=28abe66d28c1 Modified Files: configure.ag Branch: Mar2011 Log Message:
configure: do a post checks test for SQL dependencies When components are auto-enabled, after checking for tools, these can be set to "no". This means, that dependencies then also need to be disabled, or an error needs to be raised. So far, I only implemented for SQL, as I couldn't think of any else. diffs (19 lines): diff --git a/configure.ag b/configure.ag --- a/configure.ag +++ b/configure.ag @@ -3210,6 +3210,15 @@ dnl It has to be overwritten by any project that uses an extra.mk file. AM_CONDITIONAL(HAVE_EXTRA_MK, false) +dnl check dependencies (might need more than just SQL) +if test x"$enable_sql" = xyes && test x"$enable_monetdb5" != x"yes" ; +then + AC_MGS_ERROR([sql needs monetdb5]); +fi +if test x"$enable_sql" = xauto && test x"$enable_monetdb5" = x"no" ; + enable_sql = no +fi + dnl output AM_CONDITIONAL(HAVE_MONETDB4, test "x$enable_monetdb4" = xyes -o "x$enable_monetdb4" = xauto) AM_CONDITIONAL(HAVE_MONETDB5, test "x$enable_monetdb5" = xyes -o "x$enable_monetdb5" = xauto) _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
