bfd.h installation location

Alexandre Oliva aoliva@redhat.com
Fri May 17 00:29:00 GMT 2002


On May 17, 2002, Alan Modra <amodra@bigpond.net.au> wrote:

> Oh woe!  This all works ok when make is run in bfd/ and opcodes/,
> but the toplevel Makefile passes $libdir and $includedir down
> to subdirs.

Ouch!  I had missed the fact that you were tweaking libdir and
includedir :-(

> "override VAR = VALUE" isn't sufficiently portable, is it?  I
> suppose that means hacking the toplevel Makefile.

Better set and AC_SUBST bfdlibdir and bfdincludedir in
AM_INSTALL_LIBBFD, then change include_HEADERS (if used at all) and
lib_LTLIBRARIES to bfdinclude_HEADERS and bfdlib_LTLIBRARIES.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Binutils mailing list