Jose Roman Bilbao <[EMAIL PROTECTED]> writes:
> AC_ARG_WITH(vtk-incdir,[ --with-vtk-incdir=DIR location of
> the vtk include directory],
> [CPPFLAGS="${CPPFLAGS} -I${withval}"])
[...]
> AC_CHECK_HEADER([vtkImageFFT.h],,
> [AC_MSG_ERROR([VTK headers not found; Check your installation or try
> ./configure --with-vtk-incdir=/libdir/for/vtkheaders])])
This looks good to me. A similar example works for me with current
autoconf. Can you tell us what version of autoconf you are running
and also send the output from config.log?