summaryrefslogtreecommitdiff
path: root/bfd/acinclude.m4
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-12-20 00:09:54 +0000
committerAlan Modra <amodra@gmail.com>2002-12-20 00:09:54 +0000
commit66e25bab621c0f46430803161b76d537087a8e85 (patch)
tree873804ab30aa22d398eb1a4c1495f5ca8e726cf2 /bfd/acinclude.m4
parent3f076845f56ec8c0a2ff3c3ceeae4e0847791330 (diff)
* acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".
* configure.in (build-warnings): Likewise. (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'bfd/acinclude.m4')
-rw-r--r--bfd/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/acinclude.m4 b/bfd/acinclude.m4
index b3c6ccffb6..7c2902c133 100644
--- a/bfd/acinclude.m4
+++ b/bfd/acinclude.m4
@@ -129,7 +129,7 @@ AC_DEFUN([AM_INSTALL_LIBBFD],
AC_ARG_ENABLE(install-libbfd,
[ --install-libbfd controls installation of libbfd and related headers],
install_libbfd_p=$enableval,
- if test "${host}" = "${target}" -o "$enable_shared" = "yes"; then
+ if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
install_libbfd_p=yes
else
install_libbfd_p=no