m4: Define INCLUDE_DIRECTORY for libguestfs only.

This commit is contained in:
Richard W.M. Jones
2020-12-01 14:13:12 +00:00
parent a624016baa
commit 3d2c38d5ab
2 changed files with 8 additions and 1 deletions

2
common

Submodule common updated: 101dac2eac...f7809dd297

View File

@@ -211,3 +211,10 @@ AC_ARG_ENABLE([gnulib-tests],
[ENABLE_GNULIB_TESTS=yes])
AM_CONDITIONAL([ENABLE_GNULIB_TESTS],[test "x$ENABLE_GNULIB_TESTS" = "xyes"])
AC_MSG_RESULT([$ENABLE_GNULIB_TESTS])
dnl Define this so that include/guestfs.h is included
dnl instead of the possibly installed <guestfs.h>. This is
dnl only needed when compiling libguestfs itself. It is
dnl expanded in common/ submodule. For other packages like
dnl virt-v2v which also use common/ it is empty.
AC_SUBST([INCLUDE_DIRECTORY], [-I\$\(top_srcdir\)/include])