Re: testsuite failures with dash: 80 151

2008-11-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Wildenhues on 11/27/2008 12:30 AM: $ CONFIG_SHELL=/bin/dash /bin/dash ./testsuite 80 151 seems to consistently provoke both, while with $ /bin/dash ./testsuite 80 151 Well, the former is supposed to work, while the latter is

Detailed structure checks

2008-11-27 Thread Tim Post
Hello, I have been looking for a macro that will allow me to test to see if a structure exists in a header, and if it has a particular member. I'm writing things that depend on external libraries that are still 'moving targets'. For instance, if a library exposes struct foo { , I need to see if

Re: Detailed structure checks

2008-11-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Tim Post on 11/27/2008 7:24 PM: Hello, Hello Tim, I have been looking for a macro that will allow me to test to see if a structure exists in a header, and if it has a particular member. AC_CHECK_MEMBERS does what you want. - --

Re: Detailed structure checks

2008-11-27 Thread Tim Post
Hi Eric, On Thu, 2008-11-27 at 20:53 -0700, Eric Blake wrote: AC_CHECK_MEMBERS does what you want. Thank you. I'm not sure how I could have missed that. Autoconf is probably one of the best documented projects available .. the manual is so massive that sometimes its easy to get lost :) Thank