* 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.
This commit is contained in:
parent
3f076845f5
commit
66e25bab62
6 changed files with 498 additions and 525 deletions
|
@ -1,3 +1,13 @@
|
|||
2002-12-20 Paul Eggert <eggert@twinsun.com>
|
||||
|
||||
Port to POSIX 1003.1-2001.
|
||||
* 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.
|
||||
|
||||
2002-12-19 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* coff-h8300.c: Include libiberty.h.
|
||||
|
|
|
@ -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
|
||||
|
|
20
bfd/aclocal.m4
vendored
20
bfd/aclocal.m4
vendored
|
@ -141,7 +141,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
|
||||
|
@ -173,24 +173,6 @@ else
|
|||
$1_FALSE=
|
||||
fi])
|
||||
|
||||
#serial 1
|
||||
# This test replaces the one in autoconf.
|
||||
# Currently this macro should have the same name as the autoconf macro
|
||||
# because gettext's gettext.m4 (distributed in the automake package)
|
||||
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
|
||||
# give these diagnostics:
|
||||
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
|
||||
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
|
||||
|
||||
undefine([AC_ISC_POSIX])
|
||||
|
||||
AC_DEFUN([AC_ISC_POSIX],
|
||||
[
|
||||
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
|
||||
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
|
||||
]
|
||||
)
|
||||
|
||||
# Do all the work for Automake. This macro actually does too much --
|
||||
# some checks are only needed if your package does certain things.
|
||||
# But this isn't really a big deal.
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
#undef off_t
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
#undef _POSIX_SOURCE
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
#undef size_t
|
||||
|
||||
|
|
984
bfd/configure
vendored
984
bfd/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue