From 6d028b545e2adbbfa6ef92f1c229dd9b05789eb8 Mon Sep 17 00:00:00 2001 From: short <> Date: Tue, 4 Nov 2003 19:01:49 +0000 Subject: [PATCH] Fixed include files check for the case of completely cleaned sourcedir. --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 0381ca5..0c92932 100644 --- a/configure.in +++ b/configure.in @@ -380,7 +380,12 @@ GLADE_W_INIT([ have_libntfs_includes=true AC_CHECK_HEADERS + # '#include "config.h"' may be required by 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" -- 1.8.3.1