the AC_PATH_IDRA macro fails if you try building out of tree. this is because the code assumes you're configuring in the top source directory. the fix is to setup CPPFLAGS correctly
AC_CACHE_CHECK([for IrDA support], irda_found, [
+ CPPFLAGS="$CPPFLAGS -I$srcdir"
struct irda_device_list l;
], irda_found=yes, irda_found=no)
Log in to post a comment.