New attempt at solving the "CPPFLAGS/LDFLAGS for libiconv" problem.

This commit is contained in:
Bruno Haible 2001-05-23 20:34:28 +00:00
parent 26b4e34c46
commit 1d40cc0cb3
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2001-05-23 Bruno Haible <haible@clisp.cons.org>
* INSTALL (Optional Features): Document --with-libiconv-prefix.
(Particular Systems): Generalize section about /usr/local to "most
systems".
2001-05-20 Bruno Haible <haible@clisp.cons.org>
* Makefile.am (SUBDIRS): Add man.

14
INSTALL
View File

@ -119,14 +119,18 @@ find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
For packages that use the GNU libiconv library, you can use the
`configure' option `--with-libiconv-prefix' to specify the prefix you
used while installing libiconv.
Particular Systems
==================
On FreeBSD, NetBSD, and OpenBSD, the compiler doesn't search include
files in /usr/local/include, and the linker doesn't search libraries in
/usr/local/lib. Therefore some packages won't find other packages
installed earlier. To overcome this problem, it is recommended to use
the following options:
On most systems, the compiler doesn't search include files in
/usr/local/include, and the linker doesn't search libraries in
/usr/local/lib. (A notable exception is GNU/Linux.) Therefore some
packages won't find other packages installed earlier. To overcome this
problem, it is recommended to use the following options:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure