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