Re: finding the location of header (.h) files

2006-08-02 Thread tomas
On Tue, Aug 01, 2006 at 06:02:44AM -0400, Thomas Dickey wrote: > On Tue, 1 Aug 2006, [EMAIL PROTECTED] wrote: > > >So you would first check for the existence of pkg-config [...] > and inevitably (since there's more than one version of pkg-config) start > to accumulate autoconf macros to filter th

Re: finding the location of header (.h) files

2006-08-02 Thread tomas
On Sun, Jul 30, 2006 at 02:19:50PM +1000, mick wrote: > On Fri, 14 Jul 2006 18:39, Stepan Kasal wrote: > I have an application that depends on gtkhtml-2.0, which seems to put its > headers in a diferent location in almost every linux or BSD distribution so I > need to replace > INCLUDES = -I/usr

Re: finding the location of header (.h) files

2006-08-02 Thread Stepan Kasal
Hello, On Tue, Aug 01, 2006 at 06:02:44AM -0400, Thomas Dickey wrote: > On Tue, 1 Aug 2006, [EMAIL PROTECTED] wrote: > >So you would first check for the existence of pkg-config (and complain > >if not there) and then use it to get the info needed. > > and inevitably (since there's more than one v

Re: finding the location of header (.h) files

2006-08-01 Thread Thomas Dickey
On Tue, 1 Aug 2006, [EMAIL PROTECTED] wrote: So you would first check for the existence of pkg-config (and complain if not there) and then use it to get the info needed. and inevitably (since there's more than one version of pkg-config) start to accumulate autoconf macros to filter through in

Re: finding the location of header (.h) files

2006-07-31 Thread Stepan Kasal
[omitting the Automake list] Hello, On Sun, Jul 30, 2006 at 02:19:50PM +1000, mick wrote: > AC_CHECK_HEADER ([libgtkhtml/gtkhtml.h], the space is not allowed; in m4, the left parenthesis as to follow the macro name immediately. I tried to make an example. The main trick seems to be to get all

Re: finding the location of header (.h) files

2006-07-14 Thread Stepan Kasal
Hello, On Fri, Jul 14, 2006 at 02:23:36PM +1000, mick wrote: > I have an application that depends on gtkhtml-2.0, which seems to be in a > diferent location in almost every linux or BSD distribution. ... > INCLUDES = -I/usr/include/gtkhtml-2.0 many people use pkg-config to solve this. The gtkht