Re: Passing flags to AC_CHECK_HEADER

2012-02-28 Thread Chris Stankevitz
On Tue, Feb 28, 2012 at 12:00 PM, Nick Bowler wrote: >  old_CPPFLAGS=$CPPFLAGS >  CPPFLAGS="${OPENCV_CPPFLAGS} $CPPFLAGS" > >  # do stuff > >  CPPFLAGS=$old_CPPFLAGS Foolproof! Thank you Nick, I will do this. Chris ___ Autoconf mailing list Autoconf@

Re: Passing flags to AC_CHECK_HEADER

2012-02-28 Thread Nick Bowler
Hi Chris, On 2012-02-28 11:33 -0800, Chris Stankevitz wrote: > The following command assigns the variable OPENCV_CFLAGS with "-I > /path/to/opencv/include": > PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.1,, > AC_MSG_ERROR(${OPENCV_PKG_ERRORS})) Not directly related to your problem, but you should qu

Passing flags to AC_CHECK_HEADER

2012-02-28 Thread Chris Stankevitz
Hello, The following command assigns the variable OPENCV_CFLAGS with "-I /path/to/opencv/include": PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.1,, AC_MSG_ERROR(${OPENCV_PKG_ERRORS})) Q1: How to I tell AC_CHECK_HEADER to use the include directory specified in OPENCV_CFLAGS? A1: CPPFLAGS="${OPENCV_CFL

Re: bug#10898: test-suite output of automake-1.11.3 - it requested I send it to you!

2012-02-28 Thread Stefano Lattarini
On 02/28/2012 05:51 PM, Eric Blake wrote: > [adding autoconf] > > On 02/28/2012 09:42 AM, Stefano Lattarini wrote: > >>>Ah, likely the famous ksh bug with "$@" and empty arguments: >>> >>> >>> > >> See automake

Re: bug#10898: test-suite output of automake-1.11.3 - it requested I send it to you!

2012-02-28 Thread Eric Blake
[adding autoconf] On 02/28/2012 09:42 AM, Stefano Lattarini wrote: >>Ah, likely the famous ksh bug with "$@" and empty arguments: >> >> >> > See automake bug#10898. > > At least the AT&T and OpenSolaris versio