diff options
author | Alan Modra <amodra@gmail.com> | 2002-12-20 00:09:54 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-12-20 00:09:54 +0000 |
commit | 66e25bab621c0f46430803161b76d537087a8e85 (patch) | |
tree | 873804ab30aa22d398eb1a4c1495f5ca8e726cf2 /bfd/configure.in | |
parent | 3f076845f56ec8c0a2ff3c3ceeae4e0847791330 (diff) | |
download | gdb-66e25bab621c0f46430803161b76d537087a8e85.zip gdb-66e25bab621c0f46430803161b76d537087a8e85.tar.gz gdb-66e25bab621c0f46430803161b76d537087a8e85.tar.bz2 |
* 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/configure.in')
-rw-r--r-- | bfd/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index dc58f28..aa34e7d 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -80,7 +80,7 @@ if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then echo "Setting warning flags = $build_warnings" 6>&1 fi])dnl WARN_CFLAGS="" -if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then +if test "x${build_warnings}" != x && test "x$GCC" = xyes ; then WARN_CFLAGS="${build_warnings}" fi AC_SUBST(WARN_CFLAGS) @@ -440,7 +440,7 @@ case "${host}" in ;; *) changequote(,)dnl - x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | tail -1` + x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` changequote([,])dnl if test -n "$x"; then WIN32LIBADD="-L../libiberty/pic -liberty" |