Commit 0c2f3011 authored by Colomban Wendling's avatar Colomban Wendling
Browse files

Correctly find OVCC's VAPI directory

parent 4815976d
......@@ -34,6 +34,13 @@ PKG_CHECK_MODULES([LIBOVCCCLIENT], [glib-2.0 >= ${GLIB_REQUIRE}
CFLAGS="${CFLAGS} ${LIBOVCCCLIENT_CFLAGS} -Werror-implicit-function-declaration"
LIBS="${LIBS} ${LIBOVCCCLIENT_LIBS}"
VALAFLAGS="--pkg glib-2.0 --pkg gio-2.0 --pkg ovcc"
# get the correct VAPI directory for ovcc
AC_MSG_CHECKING([for OVCC VAPI dir])
ovcc_vapidir="$($PKG_CONFIG --variable prefix ovcc)/share/vala/vapi"
VALAFLAGS="$VALAFLAGS --vapidir=$ovcc_vapidir"
AC_MSG_RESULT([$ovcc_vapidir])
AC_SUBST([VALAFLAGS])
# Checks for header files.
......
......@@ -26,6 +26,13 @@ PKG_CHECK_MODULES([OVCCSERVER], [glib-2.0 >= ${GLIB_REQUIRE}
CFLAGS="${CFLAGS} ${OVCCSERVER_CFLAGS} -Werror-implicit-function-declaration"
LIBS="${LIBS} ${OVCCSERVER_LIBS}"
VALAFLAGS="--pkg glib-2.0 --pkg gio-2.0 --pkg ovcc"
# get the correct VAPI directory for ovcc
AC_MSG_CHECKING([for OVCC VAPI dir])
ovcc_vapidir="$($PKG_CONFIG --variable prefix ovcc)/share/vala/vapi"
VALAFLAGS="$VALAFLAGS --vapidir=$ovcc_vapidir"
AC_MSG_RESULT([$ovcc_vapidir])
AC_SUBST([VALAFLAGS])
# Checks for header files.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment