usage of ac_check_header

2007-07-23 Thread Joao Miguel Ferreira
Hello all, I'm not being able to use AC_CHECK_HEADER to check if the my system has some headers installed: I've tried all these approaches: - AC_CHECK_HEADER(xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2]))

Re: usage of ac_check_header

2007-07-23 Thread Keith Marshall
On Monday 23 July 2007 21:18, Joao Miguel Ferreira wrote: > AC_CHECK_HEADER(libxml2/libxml/xpath.h libxml/xpath.h > xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2])) > > but ./configure always tells me the same: > > ... > checking xpath.h usability... no > checking xpath.h presence... no >

Re: usage of ac_check_header

2007-07-23 Thread Keith Marshall
On Monday 23 July 2007 21:18, Joao Miguel Ferreira wrote: > AC_CHECK_HEADER(libxml2/libxml/xpath.h libxml/xpath.h > xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2])) A further thought; should you not use AC_CHECK_HEADERS, rather than AC_CHECK_HEADER, when you specify a list of candidates?

AC_CONFIG_LINKS breaks every second time

2007-07-23 Thread Sebastian Freundt
Hi all, I've got a problem with a recent change in the implementation of AC_CONFIG_LINKS. It is now checked whether a symlink already exists, if so it does really obscure things. Here's a minimal example: relevant parts of my source tree: ./src/s/ my build directory (distinct from $srcdir): /ho

Re: usage of ac_check_header

2007-07-23 Thread Ralf Wildenhues
Hello Joao, a small side point regarding M4 quotation: instead of * Joao Miguel Ferreira wrote on Mon, Jul 23, 2007 at 10:18:08PM CEST: > AC_CHECK_HEADER(xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2])) it's better to write this: AC_CHECK_HEADER(xpath.h,,[AC_MSG_ERROR([cannot find head