have_libntfs_includes=true
AC_CHECK_HEADERS
+ # '#include "config.h"' may be required by <ntfs/*> include files.
+ test -r config.h || touch config.h
+ captive_save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I." # for "config.h" touched above
AC_CHECK_HEADERS(ntfs/types.h ntfs/volume.h,,[ have_libntfs_includes=false ])
+ CPPFLAGS="$captive_save_CPPFLAGS"
if $have_libntfs_includes;then
captive_save_CPPFLAGS="$CPPFLAGS"