[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10313: configure fails to find include path on openbsd
From: |
Glenn Morris |
Subject: |
bug#10313: configure fails to find include path on openbsd |
Date: |
Fri, 16 Dec 2011 22:07:40 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Paul Eggert wrote:
> Third, why is this problem limited to /usr/local/include?
> Why doesn't it also happen for /usr/local/lib?
There's a comment in configure.in (for freebsd though) that sounds related:
## Let `ld' find image libs and similar things in /usr/local/lib.
## The system compiler, GCC, has apparently been modified to not
## look there, contrary to what a stock GCC would do.
LD_SWITCH_SYSTEM=-L/usr/local/lib
This dates from at least Emacs 21 (was in src/s/freebsd.h there).