From: short <> Date: Tue, 4 Nov 2003 19:01:49 +0000 (+0000) Subject: Fixed include files check for the case of completely cleaned sourcedir. X-Git-Tag: captive-1_0_2~21 X-Git-Url: http://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=6d028b545e2adbbfa6ef92f1c229dd9b05789eb8 Fixed include files check for the case of completely cleaned sourcedir. --- 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"