Re: Use of config.h: summary of responses.

2005-01-07 Thread Stepan Kasal
Hi, 4 months ago, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: > > The fact of the matter is that some/many libraries have header files > > which are OS/CPU/compiler dependent and there has to be a way to > > record/work-around these dependencies so that the library headers work > > right. This way

Re: Using $bindir in configure.ac

2005-01-07 Thread Stepan Kasal
Hello, On Thu, Jan 06, 2005 at 02:30:34PM +0100, Magnus Therning wrote: > AC_PROGRAM([MY_PROGR], [mypr], [no], [$bindir:$PATH]) > > but it doesn't seem to work. $bindir is expanded to ${exec_prefix}/bin, > on top of that it seems $exec_prefix still is NONE (i.e. a double > expansion, if I could

Re: Use of config.h: summary of responses.

2005-01-07 Thread Andreas Schwab
Stepan Kasal <[EMAIL PROTECTED]> writes: > Hi, > > 4 months ago, Bob Friesenhahn <[EMAIL PROTECTED]> wrote: >> > The fact of the matter is that some/many libraries have header files >> > which are OS/CPU/compiler dependent and there has to be a way to >> > record/work-around these dependencies so

Re: Can't detect OpenEXR

2005-01-07 Thread Stepan Kasal
Hi, a quick answer to one minor question: On Fri, Dec 31, 2004 at 10:55:10AM -0800, Robin Rowe wrote: > AC_MSG_CHECKING(for openexr support) > AC_LANG(C++) > AC_CHECK_HEADER(OpenEXR/half.h,,AC_MSG_ERROR([*** openexr dev header half.h > not found ***])) ... > I didn't change AC_MSG_CHECKING as Ste

Re: Using $bindir in configure.ac

2005-01-07 Thread Bob Friesenhahn
On Fri, 7 Jan 2005, Magnus Therning wrote: You are right, $bindir is the directory is going to be installed in. However strange, I do have a reason for wanting to use it in my configure.ac. We have a set of related projects, they should all be installed in the same locations. The executable I need

@LIBOBJ@ usage

2005-01-07 Thread Albert Chin
If a program has; 1. Makefile.in's in each directory 2. AC_CONFIG_LIBOBJ_DIR(lib) in the top-level configure.ac then how do subdirectory Makefile.in's make use of @[EMAIL PROTECTED] @LIBOBJ@ contains relative paths, rather than something looking like $(top_builddir)/lib/func.o. -- albert chin

Re: @LIBOBJ@ usage

2005-01-07 Thread Alexandre Duret-Lutz
>>> "Albert" == Albert Chin <[EMAIL PROTECTED]> writes: Albert> If a program has; Albert> 1. Makefile.in's in each directory Albert> 2. AC_CONFIG_LIBOBJ_DIR(lib) in the top-level configure.ac Albert> then how do subdirectory Makefile.in's make use of @[EMAIL PROTECTED] They do not. Only lib