bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug report for autoconf with VTK4.0


From: Akim Demaille
Subject: Re: bug report for autoconf with VTK4.0
Date: Mon, 18 Nov 2002 11:11:37 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

| configure: WARNING: vtkSetGet.h: present but cannot be compiled
| configure: WARNING: vtkSetGet.h: check for missing prerequisite headers?
| configure: WARNING: vtkSetGet.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| 
| 
| As requested I have sent in this bug report. This warning was given as a
| result of our upgrade to vtk4.0. We now test for vtkSetGet.h via a
| AC_CHECK_HEADERS whereas before we needed:
| 
| # special check for vtkSetGet.h which has an include requirement
| # for successful compilation
| AC_CHECK_HEADER(
|     [vtkSetGet.h],,
|     [
|       AC_MSG_ERROR(Cannot find required VTK headers!)
|     ],
|     [#include <vtkScalars.h>]
| )
| 
| Hope this helps. Any more info, please get in touch.
| 
| Thanks and keep up the good work!!!

Thanks!  It seems to me that it is exactly the converse that you ought
to have done: using AC_CHECK_HEADERS before, but now, you should pay
attention to always include the required headers before.  So I guess:

| AC_CHECK_HEADERS([vtkSetGet.h],,
|     [AC_MSG_ERROR([cannot find required VTK headers!])],
|     [[#include <vtkScalars.h>]])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]