Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

autotools - INCLUDES = -I/usr/include/<blah>

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
bareassed_caveman
Posts: 10
Joined: 2005-08-27 07:29
Location: Brisbane Qld .au
Contact:

autotools - INCLUDES = -I/usr/include/<blah>

#1 Post by bareassed_caveman »

I have a project which uses the unportable construct:-
[code]INCLUDES = -I/usr/include/gtkhtml-2.0 -I/usr/include/libxml2[/code]
in Makefile.am that I need to replace with something portable that will find the location of those include dirs and feed it into the autoconf/make system.

so far I have found these in:-
/usr/include/gtkhtml-2.0
/usr/X11/include/gtkhtml-2.0
/usr/local/include/gtkhtml-2.0
/opt/include/gtkhtml-2.0
/opt/gnome/include/gtkhtml-2.0
in various distros of linux and BSD.

I have spent many hours reading the devhelp books but haven't been able to make anything work

thanks in advance
/]/]ik

ale2006
Posts: 7
Joined: 2006-06-15 09:12

#2 Post by ale2006 »

Do you use AC_CHECK_HEADERS?

Post Reply