1999-05-03 15:29:11 +08:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
dnl
|
2022-01-02 06:30:17 +08:00
|
|
|
dnl Copyright (C) 2012-2022 Free Software Foundation, Inc.
|
2012-12-18 00:56:12 +08:00
|
|
|
dnl
|
|
|
|
dnl This file is free software; you can redistribute it and/or modify
|
|
|
|
dnl it under the terms of the GNU General Public License as published by
|
|
|
|
dnl the Free Software Foundation; either version 3 of the License, or
|
|
|
|
dnl (at your option) any later version.
|
2015-08-12 19:42:37 +08:00
|
|
|
dnl
|
2012-12-18 00:56:12 +08:00
|
|
|
dnl This program is distributed in the hope that it will be useful,
|
|
|
|
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
dnl GNU General Public License for more details.
|
2015-08-12 19:42:37 +08:00
|
|
|
dnl
|
2012-12-18 00:56:12 +08:00
|
|
|
dnl You should have received a copy of the GNU General Public License
|
|
|
|
dnl along with this program; see the file COPYING3. If not see
|
|
|
|
dnl <http://www.gnu.org/licenses/>.
|
|
|
|
dnl
|
|
|
|
|
2014-07-04 10:05:16 +08:00
|
|
|
m4_include([../bfd/version.m4])
|
2020-01-09 21:19:20 +08:00
|
|
|
m4_include([../config/debuginfod.m4])
|
2014-07-04 10:05:16 +08:00
|
|
|
AC_INIT([binutils], BFD_VERSION)
|
2008-08-24 11:13:05 +08:00
|
|
|
AC_CONFIG_SRCDIR(ar.c)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2008-08-24 11:13:05 +08:00
|
|
|
AC_CANONICAL_TARGET
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2014-07-04 10:05:16 +08:00
|
|
|
AM_INIT_AUTOMAKE
|
2021-11-26 11:58:47 +08:00
|
|
|
AM_SILENT_RULES([yes])
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2007-04-15 04:38:13 +08:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_GNU_SOURCE
|
2008-08-15 16:31:52 +08:00
|
|
|
AC_USE_SYSTEM_EXTENSIONS
|
2009-03-31 16:08:33 +08:00
|
|
|
|
2008-08-24 11:13:05 +08:00
|
|
|
LT_INIT
|
2014-08-14 12:16:09 +08:00
|
|
|
ACX_LARGEFILE
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2021-04-12 17:03:45 +08:00
|
|
|
ac_checking=
|
|
|
|
. ${srcdir}/../bfd/development.sh
|
|
|
|
test "$development" = true && ac_checking=yes
|
|
|
|
AC_ARG_ENABLE(checking,
|
|
|
|
[ --enable-checking enable run-time checks],
|
|
|
|
[case "${enableval}" in
|
|
|
|
no|none) ac_checking= ;;
|
|
|
|
*) ac_checking=yes ;;
|
|
|
|
esac])dnl
|
|
|
|
if test x$ac_checking != x ; then
|
|
|
|
AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
|
|
|
|
fi
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
AC_ARG_ENABLE(targets,
|
|
|
|
[ --enable-targets alternative target configurations],
|
|
|
|
[case "${enableval}" in
|
2008-08-24 11:13:05 +08:00
|
|
|
yes | "") AC_MSG_ERROR(enable-targets option must specify target names or 'all')
|
1999-05-03 15:29:11 +08:00
|
|
|
;;
|
|
|
|
no) enable_targets= ;;
|
|
|
|
*) enable_targets=$enableval ;;
|
|
|
|
esac])dnl
|
|
|
|
|
2020-11-20 21:04:56 +08:00
|
|
|
|
2011-12-22 03:39:11 +08:00
|
|
|
AC_ARG_ENABLE(deterministic-archives,
|
|
|
|
[AS_HELP_STRING([--enable-deterministic-archives],
|
|
|
|
[ar and ranlib default to -D behavior])], [
|
|
|
|
if test "${enableval}" = no; then
|
|
|
|
default_ar_deterministic=0
|
|
|
|
else
|
|
|
|
default_ar_deterministic=1
|
|
|
|
fi], [default_ar_deterministic=0])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_AR_DETERMINISTIC, $default_ar_deterministic,
|
|
|
|
[Should ar and ranlib use -D behavior by default?])
|
|
|
|
|
2020-11-20 21:04:56 +08:00
|
|
|
|
2014-10-31 18:10:37 +08:00
|
|
|
AC_ARG_ENABLE(default-strings-all,
|
|
|
|
[AS_HELP_STRING([--disable-default-strings-all],
|
|
|
|
[strings defaults to --data behavior])], [
|
|
|
|
if test "${enableval}" = no; then
|
|
|
|
default_strings_all=0
|
|
|
|
else
|
|
|
|
default_strings_all=1
|
|
|
|
fi], [default_strings_all=1])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_STRINGS_ALL, $default_strings_all,
|
|
|
|
[Should strings use -a behavior by default?])
|
|
|
|
|
2020-11-20 21:04:56 +08:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(f-for-ifunc-symbols,
|
|
|
|
[AS_HELP_STRING([--enable-f-for-ifunc-symbols],
|
|
|
|
[Have nm use F and f for global and local ifunc symbols])], [
|
|
|
|
if test "${enableval}" = no; then
|
|
|
|
default_f_for_ifunc=0
|
|
|
|
else
|
|
|
|
default_f_for_ifunc=1
|
|
|
|
fi], [default_f_for_ifunc=0])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_F_FOR_IFUNC_SYMBOLS, $default_f_for_ifunc,
|
|
|
|
[Have nm use F and f for global and local ifunc symbols])
|
|
|
|
|
2021-02-12 22:52:22 +08:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(follow-debug-links,
|
|
|
|
[AS_HELP_STRING([--enable-follow-debug-links],
|
|
|
|
[Have readelf and objdump follow debug links by default])], [
|
|
|
|
if test "${enableval}" = no; then
|
|
|
|
default_for_follow_links=0
|
|
|
|
else
|
|
|
|
default_for_follow_links=1
|
|
|
|
fi], [default_for_follow_links=1])
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(DEFAULT_FOR_FOLLOW_LINKS, $default_for_follow_links,
|
|
|
|
[Have readelf and objdump follow debug links by default])
|
|
|
|
|
|
|
|
|
2020-11-20 21:04:56 +08:00
|
|
|
AC_DEBUGINFOD
|
|
|
|
|
2019-09-30 22:04:05 +08:00
|
|
|
GCC_ENABLE([libctf], [yes], [], [Handle .ctf type-info sections])
|
|
|
|
if test "${enable_libctf}" = yes; then
|
|
|
|
AC_DEFINE(ENABLE_LIBCTF, 1, [Handle .ctf type-info sections])
|
|
|
|
fi
|
|
|
|
AM_CONDITIONAL(ENABLE_LIBCTF, test "${enable_libctf}" = yes)
|
|
|
|
|
2005-07-01 23:19:47 +08:00
|
|
|
AM_BINUTILS_WARNINGS
|
2011-12-22 03:39:11 +08:00
|
|
|
|
2008-08-24 11:13:05 +08:00
|
|
|
AC_CONFIG_HEADERS(config.h:config.in)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2012-05-17 23:13:28 +08:00
|
|
|
AH_VERBATIM([00_CONFIG_H_CHECK],
|
|
|
|
[/* Check that config.h is #included before system headers
|
|
|
|
(this works only for glibc, but that should be enough). */
|
2012-11-05 20:26:11 +08:00
|
|
|
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
|
2012-05-17 23:13:28 +08:00
|
|
|
# error config.h must be #included before system headers
|
2012-11-05 20:26:11 +08:00
|
|
|
#endif
|
|
|
|
#define __CONFIG_H__ 1])
|
2012-05-17 23:13:28 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
if test -z "$target" ; then
|
|
|
|
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
|
|
|
|
fi
|
|
|
|
if test -z "$host" ; then
|
|
|
|
AC_MSG_ERROR(Unrecognized host system type; please check config.sub.)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_PROG_YACC
|
|
|
|
AM_PROG_LEX
|
|
|
|
|
2018-03-01 05:56:51 +08:00
|
|
|
ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW"
|
2006-05-31 23:14:46 +08:00
|
|
|
ZW_GNU_GETTEXT_SISTER_DIR
|
|
|
|
AM_PO_SUBDIRS
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
2006-12-11 23:09:46 +08:00
|
|
|
AM_CONDITIONAL(GENINSRC_NEVER, false)
|
1999-05-03 15:29:11 +08:00
|
|
|
AC_EXEEXT
|
1999-06-23 06:50:22 +08:00
|
|
|
if test -n "$EXEEXT"; then
|
|
|
|
AC_DEFINE(HAVE_EXECUTABLE_SUFFIX, 1,
|
|
|
|
[Does the platform use an executable suffix?])
|
|
|
|
fi
|
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
1999-06-23 04:39:46 +08:00
|
|
|
AC_DEFINE_UNQUOTED(EXECUTABLE_SUFFIX, "${EXEEXT}",
|
|
|
|
[Suffix used for executables, if any.])
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
# host-specific stuff:
|
|
|
|
|
|
|
|
HDEFINES=
|
|
|
|
|
|
|
|
. ${srcdir}/../bfd/configure.host
|
|
|
|
|
|
|
|
AC_SUBST(HDEFINES)
|
|
|
|
AR=${AR-ar}
|
|
|
|
AC_SUBST(AR)
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
BFD_CC_FOR_BUILD
|
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
DEMANGLER_NAME=c++filt
|
|
|
|
case "${host}" in
|
|
|
|
*-*-go32* | *-*-msdos*)
|
|
|
|
DEMANGLER_NAME=cxxfilt
|
|
|
|
esac
|
|
|
|
AC_SUBST(DEMANGLER_NAME)
|
|
|
|
|
2014-12-11 13:32:35 +08:00
|
|
|
AC_CHECK_SIZEOF([long])
|
C99 binutils configury
* configure.ac: Assume long long is available. Don't test for
strings.h, stdlib.h, limits.h, locale.h, or wchar.h. Check
inttypes.h, stdint.h, sys/stat.h and sys/types.h. Don't check for
strcoll, setlocale, setmode or location of time_t. Don't check
for fprintf, getenv, snprintf, strnlen, strstr or vsnprintf decls.
(AC_ISC_POSIX, AXC_HEADER_STRING, AC_FUNC_ALLOCA): Don't invoke.
* sysdep.h: Don't include alloca-conf.h, include config.h instead.
Test HAVE_SYS_TYPES_H and reorder includes. Include limits.h,
locale.h, string.h and stdlib.h unconditionally. Remove various
fallback declarations. Assume long long is available.
* addr2line.c: Don't test HAVE_SETLOCALE.
* ar.c: Likewise.
* coffdump.c: Likewise.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.
* elfedit.c: Likewise.
* nm.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* readelf.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* windmc.c: Likewise.
* windres.c: Likewise.
* bucomm.c: Don't test HAVE_TIME_T_IN_TIME_H or HAVE_TIME_T_IN_TYPES_H.
* dwarf.c: Include limits.h unconditionally. Assume long long
is available.
* nm.c: Don't test HAVE_STRCOLL.
* readelf.c: Don't test HAVE_WCHAR_H.
* strings.c: Assume long long is available.
* syslex.l: Include string.h unconditionally.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2021-04-05 14:00:22 +08:00
|
|
|
AC_CHECK_SIZEOF([long long])
|
|
|
|
|
|
|
|
# We use headers from include/ that check various HAVE_*_H macros, thus
|
|
|
|
# should ensure they are set by configure. This is true even when C99
|
|
|
|
# guarantees they are available.
|
|
|
|
# plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
|
|
|
|
# Besides those, we need to check anything used in binutils/ not in C99.
|
2021-04-14 11:12:27 +08:00
|
|
|
AC_CHECK_HEADERS(fcntl.h inttypes.h stdint.h sys/file.h \
|
2021-04-14 23:06:42 +08:00
|
|
|
sys/stat.h sys/time.h sys/types.h unistd.h)
|
1999-05-03 15:29:11 +08:00
|
|
|
AC_HEADER_SYS_WAIT
|
2018-11-03 07:45:41 +08:00
|
|
|
AC_FUNC_MMAP
|
2022-07-22 10:41:24 +08:00
|
|
|
AC_CHECK_FUNCS(getc_unlocked mkdtemp mkstemp utimensat utimes)
|
2021-04-14 23:06:42 +08:00
|
|
|
|
|
|
|
AC_MSG_CHECKING([for mbstate_t])
|
|
|
|
AC_TRY_COMPILE([#include <wchar.h>],
|
|
|
|
[mbstate_t teststate;],
|
|
|
|
have_mbstate_t=yes, have_mbstate_t=no)
|
|
|
|
AC_MSG_RESULT($have_mbstate_t)
|
|
|
|
if test x"$have_mbstate_t" = xyes; then
|
|
|
|
AC_DEFINE(HAVE_MBSTATE_T,1,[Define if mbstate_t exists in wchar.h.])
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Copied from gnulib stat-time.m4.
|
|
|
|
# We should just switch over to using gnulib.
|
|
|
|
AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec],
|
|
|
|
[AC_CACHE_CHECK([whether struct stat.st_atim is of type struct timespec],
|
|
|
|
[ac_cv_typeof_struct_stat_st_atim_is_struct_timespec],
|
|
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
|
|
|
[[
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#if HAVE_SYS_TIME_H
|
|
|
|
# include <sys/time.h>
|
|
|
|
#endif
|
|
|
|
#include <time.h>
|
|
|
|
struct timespec ts;
|
|
|
|
struct stat st;
|
|
|
|
]],
|
|
|
|
[[
|
|
|
|
st.st_atim = ts;
|
|
|
|
]])],
|
|
|
|
[ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=yes],
|
|
|
|
[ac_cv_typeof_struct_stat_st_atim_is_struct_timespec=no])])
|
|
|
|
if test $ac_cv_typeof_struct_stat_st_atim_is_struct_timespec = yes; then
|
|
|
|
AC_DEFINE([TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC], [1],
|
|
|
|
[Define to 1 if the type of the st_atim member of a struct stat is
|
|
|
|
struct timespec.])
|
|
|
|
fi],
|
|
|
|
[AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec], [],
|
|
|
|
[AC_CHECK_MEMBERS([struct stat.st_atimensec], [],
|
|
|
|
[AC_CHECK_MEMBERS([struct stat.st_atim.st__tim.tv_nsec], [], [],
|
|
|
|
[#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>])],
|
|
|
|
[#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>])],
|
|
|
|
[#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>])],
|
|
|
|
[#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>])
|
2001-12-04 18:11:22 +08:00
|
|
|
|
1999-06-12 23:20:21 +08:00
|
|
|
# Some systems have frexp only in -lm, not in -lc.
|
2000-02-26 08:59:51 +08:00
|
|
|
AC_SEARCH_LIBS(frexp, m)
|
1999-06-12 23:20:21 +08:00
|
|
|
|
2012-04-05 16:43:41 +08:00
|
|
|
AM_LC_MESSAGES
|
|
|
|
|
2005-03-31 22:40:41 +08:00
|
|
|
AC_MSG_CHECKING(for a known getopt prototype in unistd.h)
|
|
|
|
AC_CACHE_VAL(bu_cv_decl_getopt_unistd_h,
|
2008-08-24 11:13:05 +08:00
|
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <unistd.h>], [extern int getopt (int, char *const*, const char *);])],
|
2005-03-31 22:40:41 +08:00
|
|
|
bu_cv_decl_getopt_unistd_h=yes, bu_cv_decl_getopt_unistd_h=no)])
|
|
|
|
AC_MSG_RESULT($bu_cv_decl_getopt_unistd_h)
|
|
|
|
if test $bu_cv_decl_getopt_unistd_h = yes; then
|
|
|
|
AC_DEFINE([HAVE_DECL_GETOPT], 1,
|
|
|
|
[Is the prototype for getopt in <unistd.h> in the expected format?])
|
|
|
|
fi
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
# Under Next 3.2 <utime.h> apparently does not define struct utimbuf
|
|
|
|
# by default.
|
|
|
|
AC_MSG_CHECKING([for utime.h])
|
|
|
|
AC_CACHE_VAL(bu_cv_header_utime_h,
|
2008-08-24 11:13:05 +08:00
|
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
1999-05-03 15:29:11 +08:00
|
|
|
#ifdef HAVE_TIME_H
|
|
|
|
#include <time.h>
|
|
|
|
#endif
|
|
|
|
#include <utime.h>],
|
2008-08-24 11:13:05 +08:00
|
|
|
[struct utimbuf s;])],
|
1999-05-03 15:29:11 +08:00
|
|
|
bu_cv_header_utime_h=yes, bu_cv_header_utime_h=no)])
|
|
|
|
AC_MSG_RESULT($bu_cv_header_utime_h)
|
|
|
|
if test $bu_cv_header_utime_h = yes; then
|
|
|
|
AC_DEFINE(HAVE_GOOD_UTIME_H, 1, [Does <utime.h> define struct utimbuf?])
|
|
|
|
fi
|
|
|
|
|
2022-07-22 10:41:24 +08:00
|
|
|
AC_CHECK_DECLS([asprintf, environ, getc_unlocked, stpcpy, strnlen])
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2015-03-31 20:55:46 +08:00
|
|
|
# Link in zlib if we can. This allows us to read compressed debug
|
|
|
|
# sections. This is used only by readelf.c (objdump uses bfd for
|
|
|
|
# reading compressed sections).
|
|
|
|
AM_ZLIB
|
2008-07-10 09:32:23 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
BFD_BINARY_FOPEN
|
|
|
|
|
binutils/readelf: build against msgpack, dump NT_AMDGPU_METADATA note contents
The AMDGPU HSA OS ABI (code object v3 and above) defines the
NT_AMDGPU_METADATA ELF note [1]. The content is a msgpack object
describing, among other things, the kernels present in the code object
and how to call them.
I think it would be useful for readelf to be able to display the content
of those notes. msgpack is a structured format, a bit like JSON, except
not text-based. It is therefore possible to dump the contents in
human-readable form without knowledge of the specific layout of the
note.
Add configury to binutils to optionally check for the msgpack C library
[2]. Add There is a new --with{,out}-msgpack configure flag, and the actual
library lookup is done using pkg-config.
If msgpack support is enabled, dumping a NT_AMDGPU_METADATA note looks
like:
$ readelf --notes amdgpu-code-object
Displaying notes found in: .note
Owner Data size Description
AMDGPU 0x0000040d NT_AMDGPU_METADATA (code object metadata)
{
"amdhsa.kernels": [
{
".args": [
{
".address_space": "global",
".name": "out.coerce",
".offset": 0,
".size": 8,
".value_kind": "global_buffer",
},
<snip>
If msgpack support is disabled, dump the contents as hex, as is done
with notes that are not handled in a special way. This allows one to
decode the contents manually (maybe using a command-line msgpack
decoder) if really needed.
[1] https://llvm.org/docs/AMDGPUUsage.html#code-object-metadata
[2] https://github.com/msgpack/msgpack-c/tree/c_master
binutils/ChangeLog:
* Makefile.am (readelf_CFLAGS): New.
(readelf_LDADD): Add MSGPACK_LIBS.
* Makefile.in: Re-generate.
* config.in: Re-generate.
* configure: Re-generate.
* configure.ac: Add --with-msgpack flag and check for msgpack
using pkg-config.
* readelf.c: Include msgpack.h if HAVE_MSGPACK.
(print_note_contents_hex): New.
(print_indents): New.
(dump_msgpack_obj): New.
(dump_msgpack): New.
(print_amdgpu_note): New.
(process_note): Handle NT_AMDGPU_METADATA note contents.
Use print_note_contents_hex.
Change-Id: Ia60a654e620bc32dfdb1bccd845594e2af328b84
2022-03-16 21:01:36 +08:00
|
|
|
# Support for the msgpack C library.
|
|
|
|
AC_ARG_WITH([msgpack],
|
|
|
|
AC_HELP_STRING([--with-msgpack], [Enable msgpack support (auto/yes/no)]),
|
|
|
|
[],
|
|
|
|
[with_msgpack=auto])
|
|
|
|
|
|
|
|
|
|
|
|
if test "$with_msgpack" != no; then
|
|
|
|
PKG_CHECK_MODULES(MSGPACK, msgpack, [
|
|
|
|
AC_DEFINE([HAVE_MSGPACK], [1], [Define to 1 if msgpack is available.])
|
|
|
|
], [
|
|
|
|
if test "$with_msgpack" = yes; then
|
|
|
|
AC_MSG_ERROR([--with-msgpack was given, but msgpack is missing or unusable.])
|
|
|
|
fi
|
|
|
|
])
|
|
|
|
fi
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
# target-specific stuff:
|
|
|
|
|
|
|
|
# Canonicalize the secondary target names.
|
|
|
|
if test -n "$enable_targets"; then
|
|
|
|
for targ in `echo $enable_targets | sed 's/,/ /g'`
|
|
|
|
do
|
1999-09-15 07:29:35 +08:00
|
|
|
result=`$ac_config_sub $targ 2>/dev/null`
|
1999-05-03 15:29:11 +08:00
|
|
|
if test -n "$result"; then
|
|
|
|
canon_targets="$canon_targets $result"
|
|
|
|
else
|
|
|
|
# Allow targets that config.sub doesn't recognize, like "all".
|
|
|
|
canon_targets="$canon_targets $targ"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
* Makefile.am: Add LIBICONV to windres.
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files.
* configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV.
* config.in: Add ICONV defines.
* aclocal: Regenerate.
* confugure: Regenerate.
* winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$
(ascii_from_unicode): Use codepage_from_unicode.
(ascii_from_unicode): Use unicode_from_codepage.
Use for cygwin windows API for unicode transformation.
* winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros.
(wind_language_t, local_iconv_map): New types.
(wind_find_language_by_id, wind_find_language_by_codepage,
(unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$
2007-06-05 21:10:30 +08:00
|
|
|
AC_CHECK_HEADER(iconv.h)
|
|
|
|
AM_ICONV
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
all_targets=false
|
|
|
|
BUILD_SRCONV=
|
|
|
|
BUILD_DLLTOOL=
|
|
|
|
DLLTOOL_DEFS=
|
2007-02-02 21:59:54 +08:00
|
|
|
DLLTOOL_DEFAULT=
|
1999-05-03 15:29:11 +08:00
|
|
|
BUILD_WINDRES=
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC=
|
1999-05-03 15:29:11 +08:00
|
|
|
BUILD_DLLWRAP=
|
|
|
|
BUILD_MISC=
|
2007-02-28 09:29:32 +08:00
|
|
|
BUILD_INSTALL_MISC=
|
2001-01-10 04:25:31 +08:00
|
|
|
OBJDUMP_DEFS=
|
2011-05-16 20:22:13 +08:00
|
|
|
OBJDUMP_PRIVATE_VECTORS=
|
|
|
|
OBJDUMP_PRIVATE_OFILES=
|
|
|
|
od_vectors=
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
for targ in $target $canon_targets
|
|
|
|
do
|
|
|
|
if test "x$targ" = "xall"; then
|
|
|
|
all_targets=true
|
|
|
|
BUILD_SRCONV='$(SRCONV_PROG)'
|
2007-02-28 09:29:32 +08:00
|
|
|
BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
|
2007-10-17 00:05:41 +08:00
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
|
|
|
|
fi
|
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
|
|
|
|
BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
|
2011-05-16 20:22:13 +08:00
|
|
|
od_vectors="$od_vectors objdump_private_desc_xcoff"
|
1999-05-03 15:29:11 +08:00
|
|
|
else
|
|
|
|
case $targ in
|
|
|
|
*-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
|
|
|
|
esac
|
2011-05-16 20:22:13 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
case $targ in
|
2009-06-18 10:11:03 +08:00
|
|
|
arm-wince-pe* | arm-*-wince | arm*-*-cegcc* | arm*-*-mingw32ce*)
|
2006-08-21 16:12:46 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_WINCE"
|
|
|
|
fi
|
2006-08-21 16:12:46 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
2006-08-21 16:12:46 +08:00
|
|
|
;;
|
|
|
|
arm-*-pe*)
|
1999-05-03 15:29:11 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
|
|
|
|
fi
|
1999-05-03 15:29:11 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
1999-08-05 23:35:10 +08:00
|
|
|
;;
|
2013-03-05 19:52:12 +08:00
|
|
|
x86_64-*-mingw* | x86_64-*-cygwin*)
|
2006-09-20 19:35:11 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MX86_64"
|
|
|
|
fi
|
2006-09-20 19:35:11 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
2006-09-20 19:35:11 +08:00
|
|
|
BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
|
|
|
|
;;
|
1999-05-03 15:29:11 +08:00
|
|
|
changequote(,)dnl
|
2021-07-19 06:32:14 +08:00
|
|
|
i[3-7]86-*-pe* | i[3-7]86-*-cygwin* | i[3-7]86-*-mingw32**)
|
1999-05-03 15:29:11 +08:00
|
|
|
changequote([,])dnl
|
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
|
|
|
|
fi
|
1999-05-03 15:29:11 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
1999-05-03 15:29:11 +08:00
|
|
|
BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
|
1999-08-05 23:35:10 +08:00
|
|
|
;;
|
2003-05-17 00:30:27 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
i[3-7]86-*-interix)
|
|
|
|
changequote([,])dnl
|
1999-08-05 23:35:10 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
|
|
|
|
fi
|
1999-08-05 23:35:10 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
|
|
|
|
;;
|
2004-01-03 01:08:05 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
powerpc*-aix5.[01])
|
|
|
|
changequote([,])dnl
|
|
|
|
;;
|
2009-03-14 17:11:38 +08:00
|
|
|
changequote(,)dnl
|
|
|
|
powerpc*-aix[5-9].*)
|
|
|
|
changequote([,])dnl
|
2004-01-03 01:08:05 +08:00
|
|
|
OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
|
|
|
|
;;
|
2007-08-24 23:37:37 +08:00
|
|
|
powerpc*-*-linux* | powerpc*-*-elf* | powerpc*-*-eabi*)
|
2011-05-31 16:54:47 +08:00
|
|
|
case "$BUILD_INSTALL_MISC" in
|
|
|
|
*embedspu*) ;;
|
|
|
|
*) BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
|
|
|
|
esac
|
2007-01-11 14:24:40 +08:00
|
|
|
;;
|
2002-05-09 07:15:36 +08:00
|
|
|
sh*-*-pe)
|
2000-02-25 03:37:32 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_SH"
|
|
|
|
fi
|
2000-02-25 03:37:32 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
2000-02-25 03:37:32 +08:00
|
|
|
;;
|
2007-02-27 16:31:46 +08:00
|
|
|
spu-*-*)
|
2007-02-28 09:29:32 +08:00
|
|
|
BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
|
2007-02-27 16:31:46 +08:00
|
|
|
;;
|
2002-05-09 07:15:36 +08:00
|
|
|
mips*-*-pe)
|
2000-02-25 03:37:32 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
|
|
|
|
fi
|
2000-02-25 03:37:32 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
2000-02-25 03:37:32 +08:00
|
|
|
;;
|
2003-04-01 18:52:43 +08:00
|
|
|
mcore-*-pe)
|
1999-05-15 23:25:22 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE"
|
|
|
|
fi
|
1999-05-15 23:25:22 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
2007-06-19 21:24:33 +08:00
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
1999-08-05 23:35:10 +08:00
|
|
|
;;
|
2003-04-01 18:52:43 +08:00
|
|
|
mcore-*-elf)
|
1999-05-15 23:25:22 +08:00
|
|
|
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
|
2007-02-02 21:59:54 +08:00
|
|
|
if test -z "$DLLTOOL_DEFAULT"; then
|
|
|
|
DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE_ELF"
|
|
|
|
fi
|
1999-05-15 23:25:22 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
|
1999-08-05 23:35:10 +08:00
|
|
|
;;
|
2007-02-06 03:56:32 +08:00
|
|
|
mep-*)
|
|
|
|
OBJDUMP_DEFS="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
|
|
|
|
;;
|
1999-05-03 15:29:11 +08:00
|
|
|
esac
|
2011-05-16 20:22:13 +08:00
|
|
|
|
|
|
|
# Add objdump private vectors.
|
|
|
|
case $targ in
|
2014-12-09 01:35:24 +08:00
|
|
|
avr-*-*)
|
|
|
|
od_vectors="$od_vectors objdump_private_desc_elf32_avr"
|
|
|
|
;;
|
2018-03-07 08:36:15 +08:00
|
|
|
powerpc*-*-aix* | rs6000-*-aix*)
|
2011-12-13 17:13:15 +08:00
|
|
|
od_vectors="$od_vectors objdump_private_desc_xcoff"
|
|
|
|
;;
|
|
|
|
*-*-darwin*)
|
|
|
|
od_vectors="$od_vectors objdump_private_desc_mach_o"
|
2011-05-16 20:22:13 +08:00
|
|
|
;;
|
|
|
|
esac
|
1999-05-03 15:29:11 +08:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
2011-05-16 20:22:13 +08:00
|
|
|
# Uniq objdump private vector, build objdump target ofiles.
|
|
|
|
od_files=
|
|
|
|
f=""
|
|
|
|
for i in $od_vectors ; do
|
|
|
|
case " $f " in
|
|
|
|
*" $i "*) ;;
|
|
|
|
*)
|
|
|
|
f="$f $i"
|
|
|
|
OBJDUMP_PRIVATE_VECTORS="$OBJDUMP_PRIVATE_VECTORS &$i,"
|
|
|
|
case $i in
|
2014-12-09 01:35:24 +08:00
|
|
|
objdump_private_desc_elf32_avr)
|
|
|
|
od_files="$od_files od-elf32_avr" ;;
|
2011-05-16 20:22:13 +08:00
|
|
|
objdump_private_desc_xcoff)
|
|
|
|
od_files="$od_files od-xcoff" ;;
|
2011-12-13 17:13:15 +08:00
|
|
|
objdump_private_desc_mach_o)
|
|
|
|
od_files="$od_files od-macho" ;;
|
2011-05-16 20:22:13 +08:00
|
|
|
*) AC_MSG_ERROR(*** unknown private vector $i) ;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
|
|
|
# Uniq objdump target ofiles
|
|
|
|
f=""
|
|
|
|
for i in $od_files ; do
|
|
|
|
case " $f " in
|
|
|
|
*" $i "*) ;;
|
|
|
|
*)
|
|
|
|
f="$f $i"
|
|
|
|
OBJDUMP_PRIVATE_OFILES="$OBJDUMP_PRIVATE_OFILES $i.$objext"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2007-02-02 21:59:54 +08:00
|
|
|
DLLTOOL_DEFS="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
|
|
|
|
|
2001-08-04 00:27:22 +08:00
|
|
|
if test "${with_windres+set}" = set; then
|
|
|
|
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
|
|
|
|
fi
|
|
|
|
|
2007-06-19 21:24:33 +08:00
|
|
|
if test "${with_windmc+set}" = set; then
|
|
|
|
BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
|
|
|
|
fi
|
|
|
|
|
2011-05-16 20:22:13 +08:00
|
|
|
OBJDUMP_DEFS="${OBJDUMP_DEFS} -DOBJDUMP_PRIVATE_VECTORS=\"${OBJDUMP_PRIVATE_VECTORS}\""
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
AC_SUBST(BUILD_SRCONV)
|
|
|
|
AC_SUBST(BUILD_DLLTOOL)
|
|
|
|
AC_SUBST(DLLTOOL_DEFS)
|
|
|
|
AC_SUBST(BUILD_WINDRES)
|
2007-06-19 21:24:33 +08:00
|
|
|
AC_SUBST(BUILD_WINDMC)
|
1999-05-03 15:29:11 +08:00
|
|
|
AC_SUBST(BUILD_DLLWRAP)
|
|
|
|
AC_SUBST(BUILD_MISC)
|
2007-02-28 09:29:32 +08:00
|
|
|
AC_SUBST(BUILD_INSTALL_MISC)
|
2001-01-10 04:25:31 +08:00
|
|
|
AC_SUBST(OBJDUMP_DEFS)
|
2011-05-16 20:22:13 +08:00
|
|
|
AC_SUBST(OBJDUMP_PRIVATE_OFILES)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
|
|
|
|
|
|
|
|
targ=$target
|
|
|
|
. $srcdir/../bfd/config.bfd
|
|
|
|
if test "x$targ_underscore" = "xyes"; then
|
|
|
|
UNDERSCORE=1
|
|
|
|
else
|
|
|
|
UNDERSCORE=0
|
|
|
|
fi
|
2002-09-17 15:09:47 +08:00
|
|
|
AC_DEFINE_UNQUOTED(TARGET_PREPENDS_UNDERSCORE, $UNDERSCORE,
|
|
|
|
[Define to 1 if user symbol names have a leading underscore, 0 if not.])
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2011-12-22 03:39:11 +08:00
|
|
|
# Emulation
|
2009-09-28 20:48:16 +08:00
|
|
|
targ=$target
|
|
|
|
. ${srcdir}/configure.tgt
|
|
|
|
EMULATION=$targ_emul
|
2011-12-22 03:39:11 +08:00
|
|
|
EMULATION_VECTOR=$targ_emul_vector
|
2002-03-18 20:46:27 +08:00
|
|
|
|
|
|
|
AC_SUBST(EMULATION)
|
|
|
|
AC_SUBST(EMULATION_VECTOR)
|
|
|
|
|
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
2006-04-07 05:49:35 +08:00
|
|
|
# Required for html and install-html
|
|
|
|
AC_SUBST(datarootdir)
|
|
|
|
AC_SUBST(docdir)
|
|
|
|
AC_SUBST(htmldir)
|
2009-02-03 23:54:05 +08:00
|
|
|
AC_SUBST(pdfdir)
|
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
2006-04-07 05:49:35 +08:00
|
|
|
|
2021-11-26 12:13:37 +08:00
|
|
|
AC_CONFIG_FILES(Makefile po/Makefile.in:po/Make-in)
|
2008-08-24 11:13:05 +08:00
|
|
|
AC_OUTPUT
|
2021-01-12 21:45:28 +08:00
|
|
|
|
|
|
|
GNU_MAKE_JOBSERVER
|