Re: CFLAGS for AC_COMPILE_IFELSE.

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

 



On Tue, 13 May 2008, Ralf Corsepius wrote:

/usr/include (and /usr/lib) + /usr/local/include (and /usr/local/lib)
are special to GCC, they are on the system-default (include, library)
search paths, and are treated differently than other directories by GCC

More often than not, the formally installed GCC ignores /usr/local/include. For example, the GCC that comes with OS-X Leopard does not look there. The GCC that comes with FreeBSD 7.0 does not look there. On the other hand, the 'cc' that came with SunOS 4.1.3 does check /usr/local/include by default, so the GCC install for that target did check /usr/local/include by default so that it would match the system compiler. It should not be assumed that if the compiler is GCC that it will pay any attention to /usr/local/include.

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