Joao Miguel Ferreira wrote: >> Same as with Linux: >> >> -I/usr/local/include >> > >> -L path-to-library-at-link-time -R path-to-library-at-runtime >> > > Hi Bart, > > thank you... but... > > my test applications are also instaled with the GNU Autotools. My > problem is that, during the ./configure phase, configure can't find the > header files in /usr/local/include. If, I install the header files > in /usr/include configure will find them and things work just fine. > > The same goes for the lib. If I install the lib in /usr/lib the Solaris > loader is able to find the lib and run the program. But if I put it in > the default Autotools dir /usr/local/lib the Solaris "ld" will not find > it... :(
The autotools accept variables to set these - CFLAGS, CPPFLAGS, LDFLAGS, etc. - see http://www.gnu.org/software/autoconf/manual/html_node/Compilers-and-Options.html -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering
