diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-08-27 05:24:43 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-08-27 05:24:43 +0000 |
commit | 573e8a1cd233066d864f0c0597df9e9cb689fae4 (patch) | |
tree | 862108a7be6dad9f1a7be8eca8030a5d8ffe894e /bfd/acinclude.m4 | |
parent | 2efab443eb62bbb0fb1e6a4ed0449460199c321a (diff) | |
download | gdb-573e8a1cd233066d864f0c0597df9e9cb689fae4.zip gdb-573e8a1cd233066d864f0c0597df9e9cb689fae4.tar.gz gdb-573e8a1cd233066d864f0c0597df9e9cb689fae4.tar.bz2 |
Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.
opcodes/:
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/:
* acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
bfdlibdir and bfdincludedir.
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/:
* Makefile.in: Regenerate.
Diffstat (limited to 'bfd/acinclude.m4')
-rw-r--r-- | bfd/acinclude.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/acinclude.m4 b/bfd/acinclude.m4 index cd4fd55..aaa147e 100644 --- a/bfd/acinclude.m4 +++ b/bfd/acinclude.m4 @@ -64,6 +64,8 @@ AC_DEFUN([AM_INSTALL_LIBBFD], bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include' fi AC_SUBST(bfdlibdir) + AM_SUBST_NOTMAKE(bfdlibdir) AC_SUBST(bfdincludedir) + AM_SUBST_NOTMAKE(bfdincludedir) ] ) |