mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 01:30:50 +00:00
Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.
gold/: * Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. gdb/: * configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX. sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with definition of AC_CHECK_MEMBER.
This commit is contained in:
parent
7508667609
commit
c462b41bcd
@ -1,3 +1,8 @@
|
|||||||
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of
|
||||||
|
AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX.
|
||||||
|
|
||||||
2009-08-21 Ken Werner <ken@linux.vnet.ibm.com>
|
2009-08-21 Ken Werner <ken@linux.vnet.ibm.com>
|
||||||
Doug Evans <dje@google.com>
|
Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
@ -26,9 +26,7 @@ AC_CONFIG_HEADER(config.h:config.in)
|
|||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_GNU_SOURCE
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
AC_AIX
|
|
||||||
AC_ISC_POSIX
|
|
||||||
gl_EARLY
|
gl_EARLY
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
|
||||||
|
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
* testsuite/Makefile.in: Regenerate.
|
||||||
|
|
||||||
2009-08-19 Cary Coutant <ccoutant@google.com>
|
2009-08-19 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* resolve.cc (Symbol_table::resolve): Don't complain about defined
|
* resolve.cc (Symbol_table::resolve): Don't complain about defined
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Process this file with automake to generate Makefile.in
|
# Process this file with automake to generate Makefile.in
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS =
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
SUBDIRS = po testsuite
|
SUBDIRS = po testsuite
|
||||||
|
|
||||||
|
@ -301,7 +301,7 @@ target_alias = @target_alias@
|
|||||||
target_cpu = @target_cpu@
|
target_cpu = @target_cpu@
|
||||||
target_os = @target_os@
|
target_os = @target_os@
|
||||||
target_vendor = @target_vendor@
|
target_vendor = @target_vendor@
|
||||||
AUTOMAKE_OPTIONS =
|
AUTOMAKE_OPTIONS = foreign
|
||||||
SUBDIRS = po testsuite
|
SUBDIRS = po testsuite
|
||||||
tooldir = $(exec_prefix)/$(target_alias)
|
tooldir = $(exec_prefix)/$(target_alias)
|
||||||
ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# system and the host system are the same. So these tests will not
|
# system and the host system are the same. So these tests will not
|
||||||
# work when building with a cross-compiler.
|
# work when building with a cross-compiler.
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS =
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
# The two_file_test tests -fmerge-constants, so we simply always turn
|
# The two_file_test tests -fmerge-constants, so we simply always turn
|
||||||
# it on. This may need to be controlled by a configure option
|
# it on. This may need to be controlled by a configure option
|
||||||
|
@ -1205,7 +1205,7 @@ target_alias = @target_alias@
|
|||||||
target_cpu = @target_cpu@
|
target_cpu = @target_cpu@
|
||||||
target_os = @target_os@
|
target_os = @target_os@
|
||||||
target_vendor = @target_vendor@
|
target_vendor = @target_vendor@
|
||||||
AUTOMAKE_OPTIONS =
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
# The two_file_test tests -fmerge-constants, so we simply always turn
|
# The two_file_test tests -fmerge-constants, so we simply always turn
|
||||||
# it on. This may need to be controlled by a configure option
|
# it on. This may need to be controlled by a configure option
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
|
||||||
|
definition of AC_CHECK_MEMBER.
|
||||||
|
|
||||||
* aclocal.m4: m4_include toplevel config/override.m4.
|
* aclocal.m4: m4_include toplevel config/override.m4.
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
|
||||||
|
23
sim/common/aclocal.m4
vendored
23
sim/common/aclocal.m4
vendored
@ -945,28 +945,7 @@ dnl
|
|||||||
dnl ---------------------------------------------------------
|
dnl ---------------------------------------------------------
|
||||||
dnl AGGREGATE.MEMBER is for instance `struct passwd.pw_gecos', shell
|
dnl AGGREGATE.MEMBER is for instance `struct passwd.pw_gecos', shell
|
||||||
dnl variables are not a valid argument.
|
dnl variables are not a valid argument.
|
||||||
AC_DEFUN([SIM_CHECK_MEMBER],
|
AC_DEFUN([SIM_CHECK_MEMBER], defn([AC_CHECK_MEMBER]))
|
||||||
dnl Extract the aggregate name, and the member name
|
|
||||||
[AC_CACHE_CHECK([for $1], [ac_]patsubst([$1], [[\. ]], [_]),
|
|
||||||
[ac_]patsubst([$1], [[\. ]], [_])[=no;]
|
|
||||||
AC_TRY_COMPILE([$4],[
|
|
||||||
dnl AGGREGATE ac_aggr;
|
|
||||||
static ]patsubst([$1], [\..*])[ ac_aggr;
|
|
||||||
dnl ac_aggr.MEMBER;
|
|
||||||
if (ac_aggr.]patsubst([$1], [^[^.]*\.])[)
|
|
||||||
return 0;],[ac_]patsubst([$1], [[\. ]], [_])[=yes;],
|
|
||||||
AC_TRY_COMPILE([$4],[
|
|
||||||
dnl AGGREGATE ac_aggr;
|
|
||||||
static ]patsubst([$1], [\..*])[ ac_aggr;
|
|
||||||
dnl ac_aggr.MEMBER;
|
|
||||||
if (sizeof ac_aggr.]patsubst([$1], [^[^.]*\.])[)
|
|
||||||
return 0;],
|
|
||||||
[ac_]patsubst([$1], [[\. ]], [_])[=yes;],
|
|
||||||
[ac_]patsubst([$1], [[\. ]], [_])[=no;]))
|
|
||||||
[if test [$]ac_]patsubst([$1], [[\. ]], [_])[ = yes; then :; [$2]
|
|
||||||
else :; [$3]
|
|
||||||
fi])
|
|
||||||
])dnl SIM_CHECK_MEMBER
|
|
||||||
dnl
|
dnl
|
||||||
dnl Translated from a FC2 autoconf-2.59-3 installation.
|
dnl Translated from a FC2 autoconf-2.59-3 installation.
|
||||||
dnl SIM_CHECK_MEMBERS([AGGREGATE.MEMBER, ...])
|
dnl SIM_CHECK_MEMBERS([AGGREGATE.MEMBER, ...])
|
||||||
|
Loading…
Reference in New Issue
Block a user