]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/configure.ac
Fix seg-fault when generating an empty DLL with LTO enabled.
[thirdparty/binutils-gdb.git] / bfd / configure.ac
CommitLineData
252b5132
RH
1dnl Process this file with autoconf to produce a configure script.
2dnl
d87bef3a 3dnl Copyright (C) 2012-2023 Free Software Foundation, Inc.
5bf135a7
NC
4dnl
5dnl This file is free software; you can redistribute it and/or modify
6dnl it under the terms of the GNU General Public License as published by
7dnl the Free Software Foundation; either version 3 of the License, or
8dnl (at your option) any later version.
1b786873 9dnl
5bf135a7
NC
10dnl This program is distributed in the hope that it will be useful,
11dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13dnl GNU General Public License for more details.
1b786873 14dnl
5bf135a7
NC
15dnl You should have received a copy of the GNU General Public License
16dnl along with this program; see the file COPYING3. If not see
17dnl <http://www.gnu.org/licenses/>.
18dnl
252b5132 19
2e98a7bd
AM
20m4_include([version.m4])
21AC_INIT([bfd], BFD_VERSION)
5464f5a1 22AC_CONFIG_SRCDIR([libbfd.c])
252b5132 23
5464f5a1 24AC_CANONICAL_TARGET
252b5132 25
c4dd807e 26AM_INIT_AUTOMAKE
75ea503e 27AM_SILENT_RULES([yes])
252b5132 28
da594c4a 29dnl These must be called before LT_INIT, because it may want
252b5132
RH
30dnl to call AC_CHECK_PROG.
31AC_CHECK_TOOL(AR, ar)
32AC_CHECK_TOOL(RANLIB, ranlib, :)
33
34dnl Default to a non shared library. This may be overridden by the
35dnl configure option --enable-shared.
da594c4a 36AC_DISABLE_SHARED
252b5132 37
cfbc9945
SE
38AC_PROG_CC
39AC_GNU_SOURCE
7357c5b6 40AC_USE_SYSTEM_EXTENSIONS
08c13eba 41
ce3c775b
NC
42LT_INIT([dlopen])
43
da2f07f1
JK
44# AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
45ACX_LARGEFILE
ce3c775b 46
1e927850
AM
47changequote(,)dnl
48case "${target}" in
ab4f385b
JE
49 hppa*64*-*-*) ;;
50 *-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
1e927850
AM
51changequote([,])dnl
52 if test "$plugins" = "yes"; then
53 if test "${enable_plugins+set}" = set; then
54 AC_MSG_WARN(Enabling plugins for AOUT is experimental)
55 else
56 plugins=no
57 fi
58 fi ;;
c40e6650 59 hppa*-*-hpux* | *-*-*vms* | \
1e927850
AM
60 powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*)
61 if test "$plugins" = "yes"; then
62 if test "${enable_plugins+set}" = set; then
63 AC_MSG_WARN(Enabling plugins may result in ar creating non-standard archives for ${target})
64 else
65 plugins=no
66 fi
67 fi ;;
68esac
69
ce3c775b
NC
70AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes")
71
43e05cd4
AM
72ac_checking=
73. ${srcdir}/development.sh
74test "$development" = true && ac_checking=yes
75AC_ARG_ENABLE(checking,
76[ --enable-checking enable run-time checks],
77[case "${enableval}" in
78 no|none) ac_checking= ;;
79 *) ac_checking=yes ;;
80esac])dnl
81if test x$ac_checking != x ; then
82 AC_DEFINE(ENABLE_CHECKING, 1, [Define if you want run-time sanity checks.])
83fi
84
1d5269c9
MF
85BFD_64_BIT
86if test $enable_64_bit_bfd = yes ; then
87 want64=true
88else
89 want64=false
90fi
504b7d20 91
252b5132
RH
92AC_ARG_ENABLE(targets,
93[ --enable-targets alternative target configurations],
94[case "${enableval}" in
5464f5a1 95 yes | "") AC_MSG_ERROR([enable-targets option must specify target names or 'all'])
252b5132
RH
96 ;;
97 no) enable_targets= ;;
98 *) enable_targets=$enableval ;;
99esac])dnl
504b7d20 100
e6cc316a
L
101AC_ARG_ENABLE(64_bit_archive,
102 AS_HELP_STRING([--enable-64-bit-archive],
103 [force 64-bit archives]),
104[case "${enableval}" in
105 yes) want_64_bit_archive=true ;;
106 no) want_64_bit_archive=false ;;
107 *) AC_MSG_ERROR(bad value ${enableval} for 64-bit-archive option) ;;
108esac],[want_64_bit_archive=unset])dnl
109
252b5132
RH
110AC_ARG_WITH(mmap,
111[ --with-mmap try using mmap for BFD input files if available],
112[case "${withval}" in
113 yes) want_mmap=true ;;
114 no) want_mmap=false ;;
115 *) AC_MSG_ERROR(bad value ${withval} for BFD with-mmap option) ;;
116esac],[want_mmap=false])dnl
117
6ec7057a
RH
118AC_ARG_ENABLE(secureplt,
119[ --enable-secureplt Default to creating read-only plt entries],
120[case "${enableval}" in
121 yes) use_secureplt=true ;;
122 no) use_secureplt=false ;;
123 *) AC_MSG_ERROR(bad value ${enableval} for secureplt option) ;;
cc75d373 124esac],[use_secureplt=true])dnl
6ec7057a
RH
125if test $use_secureplt = true; then
126 AC_DEFINE(USE_SECUREPLT, 1,
127 [Define if we should default to creating read-only plt entries])
128fi
129
f6aec96d
L
130# Decide if -z separate-code should be enabled in ELF linker by default.
131ac_default_ld_z_separate_code=unset
132AC_ARG_ENABLE(separate-code,
133 AS_HELP_STRING([--enable-separate-code],
134 [enable -z separate-code in ELF linker by default]),
135[case "${enableval}" in
136 yes) ac_default_ld_z_separate_code=1 ;;
137 no) ac_default_ld_z_separate_code=0 ;;
138esac])
139# Enable -z separate-code by default for Linux/x86.
872899f1 140changequote(,)dnl
f6aec96d
L
141case "${target}" in
142i[3-7]86-*-linux-* | x86_64-*-linux-*)
872899f1 143changequote([,])dnl
f6aec96d
L
144 if test ${ac_default_ld_z_separate_code} = unset; then
145 ac_default_ld_z_separate_code=1
146 fi
147 ;;
148esac
149if test "${ac_default_ld_z_separate_code}" = unset; then
150 ac_default_ld_z_separate_code=0
151fi
152AC_DEFINE_UNQUOTED(DEFAULT_LD_Z_SEPARATE_CODE,
153 $ac_default_ld_z_separate_code,
154 [Define to 1 if you want to enable -z separate-code in ELF linker by default.])
155
ef72a554
KT
156AC_ARG_ENABLE(leading-mingw64-underscores,
157 AS_HELP_STRING([--enable-leading-mingw64-underscores],
158 [Enable leading underscores on 64 bit mingw targets]),
159 [],[])
160AS_IF([ test x"$enable_leading_mingw64_underscores" = xyes ],
161 [AC_DEFINE(USE_MINGW64_LEADING_UNDERSCORES, 1,
162 [Define if we should use leading underscore on 64 bit mingw targets])])
163
0d4a1476 164DEBUGDIR=${libdir}/debug
0d4a1476
AS
165AC_ARG_WITH(separate-debug-dir,
166 AS_HELP_STRING([--with-separate-debug-dir=DIR],
167 [Look for global separate debug info in DIR [[default=LIBDIR/debug]]]),
168[DEBUGDIR="${withval}"])
169AC_SUBST(DEBUGDIR)
170
a1ac8190 171ACX_PKGVERSION([GNU Binutils])
2990bf40 172ACX_BUGURL([https://sourceware.org/bugzilla/])
c428fa83 173
9e9b66a9 174AM_BINUTILS_WARNINGS
a2d91340 175
da594c4a 176AC_CONFIG_HEADERS(config.h:config.in)
252b5132 177
df7b86aa
NC
178# PR 14072
179AH_VERBATIM([00_CONFIG_H_CHECK],
180[/* Check that config.h is #included before system headers
181 (this works only for glibc, but that should be enough). */
d17dce55 182#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
df7b86aa
NC
183# error config.h must be #included before system headers
184#endif
185#define __CONFIG_H__ 1])
186
252b5132
RH
187if test -z "$target" ; then
188 AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)
189fi
252b5132
RH
190
191AM_MAINTAINER_MODE
d5fbea21 192AM_CONDITIONAL(GENINSRC_NEVER, false)
a703a6ea 193AM_INSTALL_LIBBFD
252b5132
RH
194AC_EXEEXT
195
1a528d3e
MM
196AC_C_BIGENDIAN
197
252b5132
RH
198host64=false
199target64=false
69263e90 200bfd_default_target_size=32
252b5132
RH
201
202# host stuff:
203
293b4d4f 204ALL_LINGUAS="da es fi fr hr id ja ro ru rw sr sv tr uk vi zh_CN pt"
20e95c23
DJ
205ZW_GNU_GETTEXT_SISTER_DIR
206AM_PO_SUBDIRS
252b5132
RH
207
208# Permit host specific settings.
209. ${srcdir}/configure.host
210
211AC_SUBST(HDEFINES)
212AC_PROG_INSTALL
213
83c79df8 214AC_CHECK_SIZEOF(long long)
d2df793a 215AC_CHECK_SIZEOF(void *)
2ba49b59 216AC_CHECK_SIZEOF(long)
242a1159 217AC_CHECK_SIZEOF(int)
d2df793a
NC
218
219if test "x${ac_cv_sizeof_void_p}" = "x8"; then
6726e1ea 220 host64=true
bce5e5c9
AM
221fi
222
252b5132
RH
223BFD_CC_FOR_BUILD
224
83c79df8
AM
225AC_CHECK_HEADERS(fcntl.h sys/file.h sys/resource.h sys/stat.h sys/types.h \
226 unistd.h)
17d5dae2 227
83c79df8
AM
228AC_CHECK_FUNCS(fcntl fdopen fileno fls getgid getpagesize getrlimit getuid \
229 sysconf)
252b5132 230
b737d304 231AC_CHECK_DECLS([basename, ffs, stpcpy, asprintf, vasprintf, strnlen])
9d099144 232AC_CHECK_DECLS([___lc_codepage_func], [], [], [[#include <locale.h>]])
2e9ebff5 233
252b5132
RH
234BFD_BINARY_FOPEN
235
2cac01e3 236# Link in zlib/zstd if we can. This allows us to read compressed debug sections.
9ae46699
L
237# This is used only by compress.c.
238AM_ZLIB
2cac01e3 239AC_ZSTD
1b315056 240
629dabe3
AM
241save_CFLAGS="$CFLAGS"
242CFLAGS="$CFLAGS -Werror"
8722de9c
AM
243AC_CACHE_CHECK([compiler support for hidden visibility], bfd_cv_hidden,
244[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
245const char hw[] __attribute__ ((__visibility__ ("hidden"))) = "Hello, World\n";
246extern void print (const char *) __attribute__ ((__visibility__ ("hidden")));]],
247 [[print (hw);]])],
248 [bfd_cv_hidden=yes], [bfd_cv_hidden=no])])
629dabe3 249CFLAGS="$save_CFLAGS"
8722de9c
AM
250if test $bfd_cv_hidden = yes; then
251 AC_DEFINE(HAVE_HIDDEN, 1,
252 [Define if your compiler supports hidden visibility.])
253fi
254
51dec227
AM
255# Check if linker supports --as-needed and --no-as-needed options
256AC_CACHE_CHECK(linker --as-needed support, bfd_cv_ld_as_needed,
257 [bfd_cv_ld_as_needed=no
258 if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
259 bfd_cv_ld_as_needed=yes
260 fi
261 ])
262
263LT_LIB_M
264
29670fb9
AM
265# When building a shared libbfd, link against the pic version of libiberty
266# so that apps that use libbfd won't need libiberty just to satisfy any
267# libbfd references.
268# We can't do that if a pic libiberty is unavailable since including non-pic
269# code would insert text relocations into libbfd.
270SHARED_LIBADD=
271SHARED_LDFLAGS=
272if test "$enable_shared" = "yes"; then
bb2a49f2 273changequote(,)dnl
c5cb8442 274 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
bb2a49f2 275changequote([,])dnl
c5cb8442 276 if test -n "$x"; then
29670fb9 277 SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
c5cb8442 278 fi
95148614
NA
279fi
280
281SHARED_LIBADD="$SHARED_LIBADD $LIBINTL"
29670fb9 282
95148614 283if test "$enable_shared" = "yes"; then
29670fb9 284 case "${host}" in
edd01d07 285 # More hacks to build DLLs on Windows.
29670fb9
AM
286 *-*-cygwin*)
287 SHARED_LDFLAGS="-no-undefined"
95148614 288 SHARED_LIBADD="-L`pwd`/../libiberty -liberty $SHARED_LIBADD -lcygwin -lkernel32"
73589c9d 289 ;;
29670fb9 290 esac
51dec227
AM
291
292 if test -n "$SHARED_LIBADD"; then
293 if test -n "$LIBM"; then
294 if test x"$bfd_cv_ld_as_needed" = xyes; then
295 # Link against libm only when needed. Put -lc, -lm inside -Wl
296 # to stop libtool reordering these options.
297 SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
298 else
299 SHARED_LIBADD="$SHARED_LIBADD $LIBM"
300 fi
301 fi
302 fi
29670fb9
AM
303fi
304AC_SUBST(SHARED_LDFLAGS)
305AC_SUBST(SHARED_LIBADD)
252b5132
RH
306
307# target stuff:
308
309# Canonicalize the secondary target names.
310if test -n "$enable_targets" ; then
311 for targ in `echo $enable_targets | sed 's/,/ /g'`
312 do
6d83c84b 313 result=`$ac_config_sub $targ 2>/dev/null`
252b5132
RH
314 if test -n "$result" ; then
315 canon_targets="$canon_targets $result"
316 else
317 # Allow targets that config.sub doesn't recognize, like "all".
318 canon_targets="$canon_targets $targ"
319 fi
320 done
321fi
322
323all_targets=false
324defvec=
325selvecs=
08f74004 326assocvecs=
252b5132
RH
327selarchs=
328TDEFINES=
329for targ in $target $canon_targets
330do
999d6dff 331 if test $targ = all; then
252b5132 332 all_targets=true
08f74004 333 assocvecs="$assocvecs $targ_defvec $targ_selvecs"
999d6dff 334 elif test $targ != plugin; then
252b5132 335 . $srcdir/config.bfd
999d6dff 336 if test $targ = $target; then
252b5132
RH
337 defvec=$targ_defvec
338 fi
339 selvecs="$selvecs $targ_defvec $targ_selvecs"
340 selarchs="$selarchs $targ_archs"
341 TDEFINES="$TDEFINES $targ_cflags"
342 fi
343done
344AC_SUBST(TDEFINES)
345
346# This processing still needs to be done if we're to decide properly whether
347# 64-bit support needs to be compiled in. Currently, it will be included if
348# the default or any other explicitly requested target requires it; it
349# will not be included on a 32-bit host if no 64-bit target is requested, and
9eb7245e 350# no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
252b5132
RH
351# used.
352
353# uniq the default and selected vectors in all the configured targets.
354f=""
355for i in $selvecs ; do
356 case " $f " in
357 *" $i "*) ;;
358 *) f="$f $i" ;;
359 esac
360done
361selvecs="$f"
362
363
08f74004
AM
364# uniq the associated vectors in all the configured targets.
365f=""
366for i in $assocvecs ; do
367 case " $f " in
368 *" $i "*) ;;
369 *) f="$f $i" ;;
370 esac
371done
372assocvecs="$f"
373
374
252b5132
RH
375# uniq the architectures in all the configured targets.
376f=""
377for i in $selarchs ; do
378 case " $f " in
379 *" $i "*) ;;
380 *) f="$f $i" ;;
381 esac
382done
383selarchs="$f"
384
385# Target backend .o files.
386tb=
387
98641896 388elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo
cf0e0a0b 389 elf-sframe.lo dwarf1.lo dwarf2.lo"
f4943d82
AM
390coffgen="coffgen.lo dwarf2.lo"
391coff="cofflink.lo $coffgen"
392ecoff="ecofflink.lo $coffgen"
393xcoff="xcofflink.lo $coffgen"
252b5132 394
bbd19b19 395elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo"
252b5132
RH
396for vec in $selvecs
397do
69263e90 398 target_size=32
252b5132
RH
399 case "$vec" in
400 # This list is alphabetized to make it easy to compare
dc810e39
AM
401 # with the two vector lists in targets.c. For the same reason,
402 # use one entry per line, even though this leads to long lines.
2f67d686
AM
403 aarch64_elf32_be_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
404 aarch64_elf32_le_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
a75cf613
ES
405 aarch64_elf64_be_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
406 aarch64_elf64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
407 aarch64_elf64_le_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
408 aarch64_elf64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
f075eb5e 409 aarch64_mach_o_vec) tb="$tb mach-o-aarch64.lo"; target_size=64 ;;
c60b3806
JT
410 aarch64_pei_le_vec) tb="$tb pei-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
411 aarch64_pe_le_vec) tb="$tb pe-aarch64.lo pe-aarch64igen.lo $coff"; target_size=64 ;;
f4943d82 412 alpha_ecoff_le_vec) tb="$tb coff-alpha.lo ecoff.lo $ecoff"; target_size=64 ;;
2f67d686
AM
413 alpha_elf64_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
414 alpha_elf64_fbsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
2f67d686
AM
415 alpha_vms_vec) tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
416 alpha_vms_lib_txt_vec) tb="$tb vms-lib.lo vms-misc.lo" ;;
417 am33_elf32_linux_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
978602e8 418 amdgcn_elf64_le_vec) tb="$tb elf64-amdgcn.lo elf64.lo $elf"; target_size=64 ;;
6d00b590 419 aout0_be_vec) tb="$tb aout0.lo aout32.lo" ;;
2f67d686
AM
420 aout64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
421 aout_vec) tb="$tb host-aout.lo aout32.lo" ;;
2f67d686
AM
422 arc_elf32_be_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
423 arc_elf32_le_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
2f67d686
AM
424 arm_elf32_be_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
425 arm_elf32_le_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
617a5ada
CL
426 arm_elf32_fdpic_be_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
427 arm_elf32_fdpic_le_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
2f67d686
AM
428 arm_elf32_nacl_be_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
429 arm_elf32_nacl_le_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
2f67d686
AM
430 arm_elf32_vxworks_be_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
431 arm_elf32_vxworks_le_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
f4943d82
AM
432 arm_pe_be_vec) tb="$tb pe-arm.lo peigen.lo $coff" ;;
433 arm_pe_le_vec) tb="$tb pe-arm.lo peigen.lo $coff" ;;
f4943d82
AM
434 arm_pe_wince_be_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
435 arm_pe_wince_le_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo $coff" ;;
436 arm_pei_be_vec) tb="$tb pei-arm.lo peigen.lo $coff" ;;
437 arm_pei_le_vec) tb="$tb pei-arm.lo peigen.lo $coff" ;;
f4943d82
AM
438 arm_pei_wince_be_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
439 arm_pei_wince_le_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo $coff" ;;
f075eb5e 440 arm_mach_o_vec) tb="$tb mach-o-arm.lo" ;;
6d00b590
AM
441 avr_elf32_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
442 bfin_elf32_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
443 bfin_elf32_fdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
6d00b590 444 cr16_elf32_vec) tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
2f67d686 445 cris_aout_vec) tb="$tb aout-cris.lo" ;;
6d00b590 446 cris_elf32_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
2f67d686 447 cris_elf32_us_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
6d00b590 448 crx_elf32_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;;
b8891f8d
AJ
449 csky_elf32_be_vec) tb="$tb elf32-csky.lo elf32.lo $elf" ;;
450 csky_elf32_le_vec) tb="$tb elf32-csky.lo elf32.lo $elf" ;;
6d00b590
AM
451 d10v_elf32_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
452 d30v_elf32_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
453 dlx_elf32_be_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
2f67d686
AM
454 elf32_be_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
455 elf32_le_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
456 elf64_be_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
457 elf64_le_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
45d5293f
JM
458 bpf_elf64_le_vec) tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64;;
459 bpf_elf64_be_vec) tb="$tb elf64-bpf.lo elf64.lo $elf"; target_size=64 ;;
6d00b590
AM
460 epiphany_elf32_vec) tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
461 fr30_elf32_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
462 frv_elf32_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
463 frv_elf32_fdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
464 h8300_elf32_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
5518c738 465 h8300_elf32_linux_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
2f67d686 466 hppa_elf32_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
6d00b590
AM
467 hppa_elf32_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
468 hppa_elf32_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
2f67d686
AM
469 hppa_elf64_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
470 hppa_elf64_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
471 hppa_som_vec) tb="$tb som.lo" ;;
2f67d686
AM
472 i386_aout_vec) tb="$tb i386aout.lo aout32.lo" ;;
473 i386_aout_bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;;
2f67d686 474 i386_aout_lynx_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
f4943d82
AM
475 i386_coff_vec) tb="$tb coff-i386.lo $coff" ;;
476 i386_coff_go32_vec) tb="$tb coff-go32.lo $coff" ;;
477 i386_coff_go32stubbed_vec) tb="$tb coff-stgo32.lo $coff" ;;
478 i386_coff_lynx_vec) tb="$tb cf-i386lynx.lo lynx-core.lo $coff" ;;
5f2a6b85
AM
479 i386_elf32_vec) tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
480 i386_elf32_fbsd_vec) tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
5f2a6b85
AM
481 i386_elf32_sol2_vec) tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
482 i386_elf32_vxworks_vec) tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
2f67d686
AM
483 i386_mach_o_vec) tb="$tb mach-o-i386.lo" ;;
484 i386_msdos_vec) tb="$tb i386msdos.lo" ;;
f4943d82 485 i386_pe_vec) tb="$tb pe-i386.lo peigen.lo $coff" ;;
251dae91 486 i386_pe_big_vec) tb="$tb pe-i386.lo peigen.lo $coff" ;;
f4943d82 487 i386_pei_vec) tb="$tb pei-i386.lo peigen.lo $coff" ;;
5f2a6b85 488 iamcu_elf32_vec) tb="$tb elf32-i386.lo $elfxx_x86 elf32.lo $elf" ;;
6d00b590
AM
489 ia64_elf32_be_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
490 ia64_elf32_hpux_be_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
2f67d686
AM
491 ia64_elf64_be_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
492 ia64_elf64_le_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
493 ia64_elf64_hpux_be_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
494 ia64_elf64_vms_vec) tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
f4943d82 495 ia64_pei_vec) tb="$tb pei-ia64.lo pepigen.lo $coff"; target_size=64 ;;
6d00b590
AM
496 ip2k_elf32_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
497 iq2000_elf32_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
498 lm32_elf32_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
499 lm32_elf32_fdpic_vec) tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
e214f8db 500 loongarch_elf32_vec) tb="$tb elf32-loongarch.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf" ;;
501 loongarch_elf64_vec) tb="$tb elf64-loongarch.lo elf64.lo elfxx-loongarch.lo elf32.lo elf-ifunc.lo $elf"; target_size=64 ;;
31f60095 502 loongarch64_pei_vec) tb="$tb pei-loongarch64.lo pe-loongarch64igen.lo $coff"; target_size=64 ;;
6d00b590
AM
503 m32c_elf32_vec) tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
504 m32r_elf32_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
505 m32r_elf32_le_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
506 m32r_elf32_linux_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
507 m32r_elf32_linux_le_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
508 m68hc11_elf32_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
509 m68hc12_elf32_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
510 m68k_elf32_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
7b4ae824 511 s12z_elf32_vec) tb="$tb elf32-s12z.lo elf32.lo $elf" ;;
f4943d82
AM
512 mach_o_be_vec) tb="$tb mach-o.lo dwarf2.lo" ;;
513 mach_o_le_vec) tb="$tb mach-o.lo dwarf2.lo" ;;
514 mach_o_fat_vec) tb="$tb mach-o.lo dwarf2.lo" ;;
6d00b590
AM
515 mcore_elf32_be_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
516 mcore_elf32_le_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
f4943d82
AM
517 mcore_pe_be_vec) tb="$tb pe-mcore.lo peigen.lo $coff" ;;
518 mcore_pe_le_vec) tb="$tb pe-mcore.lo peigen.lo $coff" ;;
519 mcore_pei_be_vec) tb="$tb pei-mcore.lo peigen.lo $coff" ;;
520 mcore_pei_le_vec) tb="$tb pei-mcore.lo peigen.lo $coff" ;;
6d00b590
AM
521 mep_elf32_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
522 mep_elf32_le_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
523 metag_elf32_vec) tb="$tb elf32-metag.lo elf32.lo $elf" ;;
6d00b590 524 microblaze_elf32_vec) tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
2f67d686 525 microblaze_elf32_le_vec) tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
8e415ce8
AM
526 mips_ecoff_be_vec) tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
527 mips_ecoff_le_vec) tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
528 mips_ecoff_bele_vec) tb="$tb coff-mips.lo ecoff.lo $ecoff" ;;
f4943d82
AM
529 mips_elf32_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
530 mips_elf32_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
531 mips_elf32_n_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
532 mips_elf32_n_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
533 mips_elf32_ntrad_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
534 mips_elf32_ntrad_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
535 mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
536 mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
537 mips_elf32_trad_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
538 mips_elf32_trad_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
539 mips_elf32_tradfbsd_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
540 mips_elf32_tradfbsd_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
541 mips_elf32_vxworks_be_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
542 mips_elf32_vxworks_le_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff" ;;
543 mips_elf64_be_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
544 mips_elf64_le_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
545 mips_elf64_trad_be_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
546 mips_elf64_trad_le_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
547 mips_elf64_tradfbsd_be_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
548 mips_elf64_tradfbsd_le_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf $ecoff"; target_size=64 ;;
2f67d686
AM
549 mmix_elf64_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
550 mmix_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
551 mn10200_elf32_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
552 mn10300_elf32_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
553 moxie_elf32_be_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
554 moxie_elf32_le_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
555 msp430_elf32_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
556 msp430_elf32_ti_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
557 mt_elf32_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
6d00b590
AM
558 nds32_elf32_be_vec) tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
559 nds32_elf32_le_vec) tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
560 nds32_elf32_linux_be_vec) tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
561 nds32_elf32_linux_le_vec) tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
fe944acf 562 nfp_elf64_vec) tb="$tb elf64-nfp.lo elf64.lo $elf" ;;
2f67d686
AM
563 nios2_elf32_be_vec) tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
564 nios2_elf32_le_vec) tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
565 ns32k_aout_pc532mach_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
566 ns32k_aout_pc532nbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
6d00b590 567 or1k_elf32_vec) tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
6a69b0a1 568 pdb_vec) tb="$tb pdb.lo" ;;
2f67d686
AM
569 pdp11_aout_vec) tb="$tb pdp11.lo" ;;
570 pef_vec) tb="$tb pef.lo" ;;
571 pef_xlib_vec) tb="$tb pef.lo" ;;
6d00b590
AM
572 pj_elf32_vec) tb="$tb elf32-pj.lo elf32.lo $elf" ;;
573 pj_elf32_le_vec) tb="$tb elf32-pj.lo elf32.lo $elf" ;;
2f67d686 574 powerpc_boot_vec) tb="$tb ppcboot.lo" ;;
6d00b590
AM
575 powerpc_elf32_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
576 powerpc_elf32_le_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
577 powerpc_elf32_fbsd_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
578 powerpc_elf32_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
2f67d686
AM
579 powerpc_elf64_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
580 powerpc_elf64_le_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
581 powerpc_elf64_fbsd_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
6afcdeb3 582 powerpc_elf64_fbsd_le_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
f4943d82 583 powerpc_xcoff_vec) tb="$tb coff-rs6000.lo $xcoff" ;;
889294f6 584 pru_elf32_vec) tb="$tb elf32-pru.lo elf32.lo $elf" ;;
02dd9d25
NC
585 riscv_elf32_vec) tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
586 riscv_elf64_vec) tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
fbc09e7a
MC
587 riscv_elf32_be_vec) tb="$tb elf32-riscv.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf" ;;
588 riscv_elf64_be_vec) tb="$tb elf64-riscv.lo elf64.lo elfxx-riscv.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
6d00b590 589 rl78_elf32_vec) tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
f4943d82
AM
590 rs6000_xcoff64_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
591 rs6000_xcoff64_aix_vec) tb="$tb coff64-rs6000.lo aix5ppc-core.lo $xcoff"; target_size=64 ;;
592 rs6000_xcoff_vec) tb="$tb coff-rs6000.lo $xcoff" ;;
6d00b590
AM
593 rx_elf32_be_vec) tb="$tb elf32-rx.lo elf32.lo $elf" ;;
594 rx_elf32_be_ns_vec) tb="$tb elf32-rx.lo elf32.lo $elf" ;;
2f67d686 595 rx_elf32_le_vec) tb="$tb elf32-rx.lo elf32.lo $elf" ;;
8d3c78e4 596 rx_elf32_linux_le_vec) tb="$tb elf32-rx.lo elf32.lo $elf" ;;
6d00b590 597 s390_elf32_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
2f67d686 598 s390_elf64_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
a8e14f4c
NC
599 score_elf32_be_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
600 score_elf32_le_vec) tb="$tb elf32-score.lo elf32-score7.lo elf32.lo elf64.lo $elf"; want64=true; target_size=64 ;;
f4943d82
AM
601 sh_coff_vec) tb="$tb coff-sh.lo $coff" ;;
602 sh_coff_le_vec) tb="$tb coff-sh.lo $coff" ;;
603 sh_coff_small_vec) tb="$tb coff-sh.lo $coff" ;;
604 sh_coff_small_le_vec) tb="$tb coff-sh.lo $coff" ;;
605 sh_elf32_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
606 sh_elf32_le_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
607 sh_elf32_fdpic_be_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
608 sh_elf32_fdpic_le_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
609 sh_elf32_linux_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
610 sh_elf32_linux_be_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
611 sh_elf32_nbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
612 sh_elf32_nbsd_le_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
f4943d82
AM
613 sh_elf32_vxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
614 sh_elf32_vxworks_le_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo $coff" ;;
615 sh_pe_le_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo $coff" ;;
616 sh_pei_le_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo $coff" ;;
2f67d686
AM
617 sparc_elf32_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
618 sparc_elf32_sol2_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
619 sparc_elf32_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
620 sparc_elf64_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
621 sparc_elf64_fbsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
622 sparc_elf64_sol2_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
2f67d686 623 spu_elf32_vec) tb="$tb elf32-spu.lo elf32.lo $elf" ;;
6d00b590 624 sym_vec) tb="$tb xsym.lo" ;;
f4943d82
AM
625 tic30_coff_vec) tb="$tb coff-tic30.lo $coffgen" ;;
626 tic4x_coff0_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
627 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
628 tic4x_coff1_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
629 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
630 tic4x_coff2_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
631 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo $coffgen" ;;
632 tic54x_coff0_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
633 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
634 tic54x_coff1_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
635 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
636 tic54x_coff2_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
637 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo $coffgen" ;;
2f67d686
AM
638 tic6x_elf32_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
639 tic6x_elf32_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
640 tic6x_elf32_c6000_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
641 tic6x_elf32_c6000_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
642 tic6x_elf32_linux_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
643 tic6x_elf32_linux_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
2f67d686
AM
644 tilegx_elf32_be_vec) tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
645 tilegx_elf32_le_vec) tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
646 tilegx_elf64_be_vec) tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
647 tilegx_elf64_le_vec) tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
648 tilepro_elf32_vec) tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
649 v800_elf32_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
650 v850_elf32_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
6d00b590 651 vax_aout_1knbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;;
2f67d686
AM
652 vax_aout_nbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
653 vax_elf32_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;;
3f8107ab 654 ft32_elf32_vec) tb="$tb elf32-ft32.lo elf32.lo $elf" ;;
d924db55 655 visium_elf32_vec) tb="$tb elf32-visium.lo elf32.lo $elf" ;;
a6be0538 656 wasm_vec) tb="$tb wasm-module.lo" ;;
8fb740dd 657 wasm32_elf32_vec) tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
f4943d82 658 x86_64_coff_vec) tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
5f2a6b85 659 x86_64_elf32_vec) tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo elf32.lo $elf"; target_size=64 ;;
5f2a6b85
AM
660 x86_64_elf64_vec) tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
661 x86_64_elf64_cloudabi_vec) tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
662 x86_64_elf64_fbsd_vec) tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
5f2a6b85 663 x86_64_elf64_sol2_vec) tb="$tb elf64-x86-64.lo $elfxx_x86 elf64.lo $elf"; target_size=64 ;;
2f67d686 664 x86_64_mach_o_vec) tb="$tb mach-o-x86-64.lo" ;;
f4943d82 665 x86_64_pe_vec) tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
251dae91 666 x86_64_pe_big_vec) tb="$tb pe-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
f4943d82 667 x86_64_pei_vec) tb="$tb pei-x86_64.lo pex64igen.lo $coff"; target_size=64 ;;
2f67d686
AM
668 xgate_elf32_vec) tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
669 xstormy16_elf32_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
d0a2cfbd
MF
670 xtensa_elf32_be_vec) tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
671 xtensa_elf32_le_vec) tb="$tb xtensa-dynconfig.lo xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
f4943d82 672 z80_coff_vec) tb="$tb coff-z80.lo reloc16.lo $coffgen" ;;
6655dba2 673 z80_elf32_vec) tb="$tb elf32-z80.lo elf32.lo $elf" ;;
f4943d82 674 z8k_coff_vec) tb="$tb coff-z8k.lo reloc16.lo $coff" ;;
252b5132 675
341ca622 676 # These appear out of order in targets.c
6d00b590
AM
677 srec_vec) tb="$tb srec.lo" ;;
678 symbolsrec_vec) tb="$tb srec.lo" ;;
679 tekhex_vec) tb="$tb tekhex.lo" ;;
680 core_cisco_be_vec) tb="$tb cisco-core.lo" ;;
681 core_cisco_le_vec) tb="$tb cisco-core.lo" ;;
341ca622 682
6d00b590 683 "") ;;
252b5132
RH
684 *) AC_MSG_ERROR(*** unknown target vector $vec) ;;
685 esac
69263e90
AM
686
687 if test ${target_size} = 64; then
688 target64=true
689 fi
690 if test x"${vec}" = x"${defvec}"; then
691 bfd_default_target_size=${target_size}
692 fi
252b5132
RH
693done
694
999d6dff
AM
695if test "$plugins" = "yes"; then
696 tb="$tb plugin.lo"
697fi
698
252b5132
RH
699# Target architecture .o files.
700# A couple of CPUs use shorter file names to avoid problems on DOS
701# filesystems.
d031aafb 702ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
252b5132
RH
703
704# Weed out duplicate .o files.
705f=""
706for i in $tb ; do
707 case " $f " in
708 *" $i "*) ;;
709 *) f="$f $i" ;;
710 esac
711done
712tb="$f"
713
714f=""
715for i in $ta ; do
716 case " $f " in
717 *" $i "*) ;;
718 *) f="$f $i" ;;
719 esac
720done
721ta="$f"
722
723bfd_backends="$tb"
724bfd_machines="$ta"
725
726if test x${all_targets} = xtrue ; then
727 bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
728 bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
729 selvecs=
7256a114 730 havevecs=-DHAVE_all_vecs
252b5132 731 selarchs=
08f74004
AM
732 test -n "$assocvecs" &&
733 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
252b5132
RH
734else # all_targets is true
735 # Only set these if they will be nonempty, for the clever echo.
736 havevecs=
08f74004 737 assocvecs=
252b5132
RH
738 test -n "$selvecs" &&
739 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
740 test -n "$selvecs" &&
741 selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
742 test -n "$selarchs" &&
743 selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
744fi # all_targets is true
745
e6cc316a
L
746# 64-bit archives need a 64-bit bfd_vma.
747if test "x$want_64_bit_archive" = xtrue; then
748 want64=true
749 AC_DEFINE(USE_64_BIT_ARCHIVE, 1,
865422fa 750 [Define if 64-bit archives should always be used.])
e6cc316a
L
751fi
752
c603b11b
AM
753case ${host64}-${target64}-${want64} in
754 *true*)
755 wordsize=64
756 bfd64_libs='$(BFD64_LIBS)'
757 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
c603b11b
AM
758 if test -n "$GCC" ; then
759 bad_64bit_gcc=no;
760 AC_MSG_CHECKING([for gcc version with buggy 64-bit support])
761 # Add more tests for gcc versions with non-working 64-bit support here.
762 AC_EGREP_CPP([: 2 : 91 : 1 :],[:__GNUC__:__GNUC_MINOR__:__i386__:],
763 bad_64bit_gcc=yes;
764 AC_MSG_RESULT([yes: egcs-1.1.2 on ix86 spotted]),
765 AC_MSG_RESULT(no))
766 if test $bad_64bit_gcc = yes ; then
767 AC_MSG_ERROR([A newer version of gcc is needed for the requested 64-bit BFD configuration])
768 fi
769 fi
770 ;;
771 false-false-false)
772 wordsize=32
773 all_backends='$(BFD32_BACKENDS)'
774 ;;
775esac
776
777tdefaults=""
778test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
779test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
780test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
781test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
782
783AC_SUBST(wordsize)
784AC_SUBST(bfd64_libs)
785AC_SUBST(all_backends)
786AC_SUBST(bfd_backends)
787AC_SUBST(bfd_machines)
788AC_SUBST(bfd_default_target_size)
789AC_SUBST(tdefaults)
790AC_SUBST(havevecs)
791
792# If we are configured native, pick a core file support file.
793COREFILE=
794COREFLAG=
795CORE_HEADER=
796TRAD_HEADER=
797if test "${target}" = "${host}"; then
798 case "${host}" in
799 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-*vms*)
800 COREFILE=''
801 ;;
802 alpha*-*-linux-*)
803 COREFILE=trad-core.lo
804 TRAD_HEADER='"hosts/alphalinux.h"'
805 ;;
806 alpha*-*-netbsd* | alpha*-*-openbsd*)
807 COREFILE=netbsd-core.lo
808 ;;
809 alpha*-*-*)
810 COREFILE=osf-core.lo
811 ;;
812 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
813 COREFILE='' ;;
8b5d0a4f 814 arm*-*-netbsd* | arm-*-openbsd*)
c603b11b
AM
815 COREFILE=netbsd-core.lo
816 ;;
c603b11b
AM
817 hppa*-*-hpux*) COREFILE=hpux-core.lo ;;
818 hppa*-*-hiux*) COREFILE=hpux-core.lo ;;
819 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;;
820 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo"
821 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
822 hppa*-*-netbsd* | hppa*-*-openbsd*)
823 COREFILE=netbsd-core.lo
824 ;;
825
c603b11b
AM
826changequote(,)dnl
827 i[3-7]86-*-bsdi)
828changequote([,])dnl
829 COREFILE=
830 ;;
831changequote(,)dnl
3002e78a 832 i[3-7]86-*-bsd* | i[3-7]86-*-freebsd[123] | i[3-7]86-*-freebsd[123]\.* | i[3-7]86-*-freebsd4\.[01234] | i[3-7]86-*-freebsd4\.[01234]\.*)
c603b11b
AM
833changequote([,])dnl
834 COREFILE=trad-core.lo
835 TRAD_HEADER='"hosts/i386bsd.h"'
836 ;;
837changequote(,)dnl
838 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*)
839changequote([,])dnl
840 COREFILE=''
841 TRAD_HEADER='"hosts/i386bsd.h"'
842 ;;
843changequote(,)dnl
844 i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
845changequote([,])dnl
846 COREFILE=netbsd-core.lo
847 ;;
848changequote(,)dnl
849 i[3-7]86-esix-sysv3*)
850changequote([,])dnl
851 COREFILE=trad-core.lo
852 TRAD_HEADER='"hosts/esix.h"'
853 ;;
c603b11b
AM
854changequote(,)dnl
855 i[3-7]86-*-mach3*)
856changequote([,])dnl
857 COREFILE=trad-core.lo
858 TRAD_HEADER='"hosts/i386mach3.h"'
859 ;;
860changequote(,)dnl
861 i[3-7]86-*-linux-*)
862changequote([,])dnl
863 COREFILE=trad-core.lo
864 TRAD_HEADER='"hosts/i386linux.h"'
865 case "$enable_targets"-"$want64" in
866 *x86_64-*linux*|*-true)
867 CORE_HEADER='"hosts/x86-64linux.h"'
868 esac
869 ;;
8b5d0a4f 870 mips*-*-netbsd* | mips*-*-openbsd*)
c603b11b
AM
871 COREFILE=netbsd-core.lo
872 ;;
3002e78a
AM
873 mips-*-irix*)
874 COREFILE=irix-core.lo
875 ;;
c603b11b
AM
876 m68*-*-linux-*)
877 COREFILE=trad-core.lo
878 TRAD_HEADER='"hosts/m68klinux.h"'
879 ;;
dc12032b 880 m68*-*-netbsd*)
c603b11b
AM
881 COREFILE=netbsd-core.lo
882 ;;
c603b11b
AM
883 ns32k-pc532-mach)
884 COREFILE=trad-core.lo
885 TRAD_HEADER='"hosts/pc532mach.h"'
886 ;;
887 ns32k-*-netbsd* | ns32k-*-openbsd*)
888 COREFILE=netbsd-core.lo
889 ;;
890 rs6000-*-lynx*)
891 COREFILE=lynx-core.lo
892 ;;
893changequote(,)dnl
894 rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
895changequote([,])dnl
896 COREFILE=rs6000-core.lo
897 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
898 ;;
899changequote(,)dnl
900 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
901changequote([,])dnl
902 COREFILE=rs6000-core.lo
903 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
904 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
905 # have c_impl as a member of struct core_dumpx
906 AC_MSG_CHECKING([for c_impl in struct core_dumpx])
907 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <core.h>]], [[struct core_dumpx c; c.c_impl = 0;]])],[AC_DEFINE(HAVE_ST_C_IMPL, 1,
908 [Define if struct core_dumpx has member c_impl])
909 AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
910 ;;
911 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
912 rs6000-*-*) COREFILE=rs6000-core.lo ;;
913 powerpc64-*-aix*) COREFILE=rs6000-core.lo ;;
914 powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
915 powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
916 powerpc-*-beos*) ;;
917 powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
918 COREFILE='' ;;
919 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
920 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
921 s390*-*-*) COREFILE=trad-core.lo ;;
922 sh*-*-netbsd* | sh*-*-openbsd*)
923 COREFILE=netbsd-core.lo
924 ;;
925 sparc-*-netbsd* | sparc*-*-openbsd*)
926 COREFILE=netbsd-core.lo
927 ;;
c603b11b
AM
928 vax-*-netbsd* | vax-*-openbsd*)
929 COREFILE=netbsd-core.lo
930 ;;
c603b11b
AM
931 vax-*-linux-*)
932 COREFILE=trad-core.lo
933 TRAD_HEADER='"hosts/vaxlinux.h"'
934 ;;
935 vax-*-*)
936 COREFILE=trad-core.lo
937 TRAD_HEADER='"hosts/vaxbsd.h"'
938 ;;
939 x86_64-*-linux*)
940 CORE_HEADER='"hosts/x86-64linux.h"'
941 ;;
942 x86_64-*-netbsd* | x86_64-*-openbsd*)
943 COREFILE=netbsd-core.lo
944 ;;
945 esac
946
947 case "$COREFILE" in
c603b11b
AM
948 hppabsd-core.lo) COREFLAG=-DHPPABSD_CORE ;;
949 hpux-core.lo) COREFLAG=-DHPUX_CORE ;;
950 irix-core.lo) COREFLAG=-DIRIX_CORE ;;
951 lynx-core.lo) COREFLAG=-DLYNX_CORE ;;
952 netbsd-core.lo) COREFLAG=-DNETBSD_CORE ;;
953 osf-core.lo) COREFLAG=-DOSF_CORE ;;
954 ptrace-core.lo) COREFLAG=-DPTRACE_CORE ;;
955 rs6000-core.lo) COREFLAG="$COREFLAG -DAIX_CORE" ;;
c603b11b
AM
956 trad-core.lo) COREFLAG="$COREFLAG -DTRAD_CORE" ;;
957 esac
252b5132 958
c603b11b
AM
959 # ELF corefile support has several flavors, but all of
960 # them use something called <sys/procfs.h>
c8693053 961 BFD_SYS_PROCFS_H
c603b11b
AM
962 if test "$ac_cv_header_sys_procfs_h" = yes; then
963 BFD_HAVE_SYS_PROCFS_TYPE(prstatus_t)
964 BFD_HAVE_SYS_PROCFS_TYPE(prstatus32_t)
965 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(prstatus_t, pr_who)
966 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(prstatus32_t, pr_who)
967 BFD_HAVE_SYS_PROCFS_TYPE(pstatus_t)
968 BFD_HAVE_SYS_PROCFS_TYPE(pxstatus_t)
969 BFD_HAVE_SYS_PROCFS_TYPE(pstatus32_t)
970 BFD_HAVE_SYS_PROCFS_TYPE(prpsinfo_t)
971 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(prpsinfo_t, pr_pid)
972 BFD_HAVE_SYS_PROCFS_TYPE(prpsinfo32_t)
973 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(prpsinfo32_t, pr_pid)
974 BFD_HAVE_SYS_PROCFS_TYPE(psinfo_t)
975 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(psinfo_t, pr_pid)
976 BFD_HAVE_SYS_PROCFS_TYPE(psinfo32_t)
977 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(psinfo32_t, pr_pid)
978 BFD_HAVE_SYS_PROCFS_TYPE(lwpstatus_t)
979 BFD_HAVE_SYS_PROCFS_TYPE(lwpxstatus_t)
980 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(lwpstatus_t, pr_context)
981 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(lwpstatus_t, pr_reg)
982 BFD_HAVE_SYS_PROCFS_TYPE_MEMBER(lwpstatus_t, pr_fpreg)
983 BFD_HAVE_SYS_PROCFS_TYPE(win32_pstatus_t)
984 fi
985fi
986AC_SUBST(COREFILE)
987AC_SUBST(COREFLAG)
988if test -n "$CORE_HEADER"; then
989 AC_DEFINE_UNQUOTED(CORE_HEADER, $CORE_HEADER,
990 [Name of host specific core header file to include in elf.c.])
991fi
992if test -n "$TRAD_HEADER"; then
993 AC_DEFINE_UNQUOTED(TRAD_HEADER, $TRAD_HEADER,
994 [Name of host specific header file to include in trad-core.c.])
995fi
252b5132 996
ce3c775b
NC
997if test "$plugins" = "yes"; then
998 supports_plugins=1
999else
1000 supports_plugins=0
1001fi
1002AC_SUBST(supports_plugins)
3cf9e6c4 1003AC_SUBST(lt_cv_dlopen_libs)
ce3c775b 1004
96fe4562 1005# Determine the host dependent file_ptr a.k.a. off_t type. In order
1012372a
AC
1006# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
1007# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
1008# Hopefully a reasonable assumption since fseeko et.al. should be
1009# upward compatible.
2e6f4fae 1010AC_CHECK_FUNCS(ftello ftello64 fseeko fseeko64 fopen64)
83c79df8 1011AC_CHECK_DECLS([ftello, ftello64, fseeko, fseeko64, fopen64])
1012372a 1012if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
2ba49b59 1013 AC_CHECK_SIZEOF(off_t)
1012372a 1014fi
ccba357f
AM
1015AC_MSG_CHECKING([file_ptr type])
1016bfd_file_ptr="long"
1017bfd_ufile_ptr="unsigned long"
1018if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
1019 -o x"${ac_cv_sizeof_off_t}" = x8; then
65d13793
AM
1020 bfd_file_ptr=int64_t
1021 bfd_ufile_ptr=uint64_t
1012372a
AC
1022fi
1023AC_MSG_RESULT($bfd_file_ptr)
1024AC_SUBST(bfd_file_ptr)
1025AC_SUBST(bfd_ufile_ptr)
1026
252b5132
RH
1027AC_FUNC_MMAP
1028AC_CHECK_FUNCS(madvise mprotect)
1029case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
1030 true+yes ) AC_DEFINE(USE_MMAP, 1, [Use mmap if it's available?]) ;;
1031esac
1032
bd32be01 1033AC_CONFIG_FILES([Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in])
20e95c23
DJ
1034
1035dnl We need this duplication, even though we use AM_PO_SUBDIRS, because of
1036dnl our two separate POTFILES. Yuck.
1037AC_CONFIG_COMMANDS([default],
1038[[
1039case "$srcdir" in
1040 .) srcdirpre= ;;
1041 *) srcdirpre='$(srcdir)/' ;;
1042esac
1043POFILES=
1044GMOFILES=
1045for lang in dummy $OBSOLETE_ALL_LINGUAS; do
1046 if test $lang != dummy; then
1047 POFILES="$POFILES $srcdirpre$lang.po"
1048 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
1049 fi
1050done
1051sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
1052 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
1053 -e "s,@POFILES@,$POFILES," \
1054 -e "s,@GMOFILES@,$GMOFILES," \
1055 po/Makefile.in > po/Makefile]],[[]])
108a6f8e 1056
31dd3154 1057dnl Required by html, pdf, install-pdf and install-html
108a6f8e
CD
1058AC_SUBST(datarootdir)
1059AC_SUBST(docdir)
1060AC_SUBST(htmldir)
31dd3154 1061AC_SUBST(pdfdir)
108a6f8e 1062
5464f5a1 1063AC_OUTPUT
d546b610
L
1064
1065GNU_MAKE_JOBSERVER