Assume VAPIDIR to be ${datadir}/vala/vapi if vala is not enabled.
fi
VAPIDIR=`pkg-config --variable=vapidir vala-1.0`
fi
VAPIDIR=`pkg-config --variable=vapidir vala-1.0`
# FIXME: Whats the proper way for checking for particular Vala bindings
AC_CHECK_FILE("${VAPIDIR}/gupnp-1.0.vapi",
# FIXME: Whats the proper way for checking for particular Vala bindings
AC_CHECK_FILE("${VAPIDIR}/gupnp-1.0.vapi",
AC_CHECK_FILE("${VAPIDIR}/gee-1.0.vapi",
true,
[AC_MSG_ERROR("Unable to find Vala bindings for gee-1.0")])
AC_CHECK_FILE("${VAPIDIR}/gee-1.0.vapi",
true,
[AC_MSG_ERROR("Unable to find Vala bindings for gee-1.0")])
+else
+ VAPIDIR=`echo ${datadir}/vala/vapi`
# Debugging
AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging],,
# Debugging
AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging],,