When doing an out-of-tree build, the comedi_version.h file is in
the build tree, not in the source tree. The CFLAGS needs an additional
-I option so the compiler can find it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
AX_TLS
-COMEDILIB_CFLAGS="$COMEDILIB_CFLAGS -I\$(top_srcdir)/include $COMEDILIB_DEBUG"
+COMEDILIB_CFLAGS="$COMEDILIB_CFLAGS -I\$(top_srcdir)/include -I\$(top_builddir)/include $COMEDILIB_DEBUG"
COMEDILIB_LIBS="$COMEDILIB_LIBS \$(top_builddir)/lib/libcomedi.la -lm"
AC_SUBST(COMEDILIB_CFLAGS)
AC_SUBST(COMEDILIB_LIBS)