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