Re: AC_CHECK_LIB and C++ classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 23 Apr 2005, f18m_217828 wrote:

obviously the compilation fails because the test program needs to be compiled with some additional C flags (e.g. -I/usr/local/include, -L/usr/local/lib -lwx -lwxbaseXXXX .... ).


However, I could not find any way to modify the options used by autoconf to compile test programs.... how can I do that ?

Within the configure.ac file, you want to extend the CPPFLAGS, LDFLAGS, and LIBS variables, similar to the way you would extend them using the configure environment variable options. See a typical GNU INSTALL file in order to see how the variables are used.


Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux