autoconf
[Top][All Lists]
Advanced

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

Re: CFLAGS for AC_COMPILE_IFELSE.


From: Bob Friesenhahn
Subject: Re: CFLAGS for AC_COMPILE_IFELSE.
Date: Tue, 13 May 2008 13:11:23 -0500 (CDT)

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
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]