Codebase list dosfstools / upstream/4.2+git20220828.1.53ef9ad
Import upstream version 4.2+git20220828.1.53ef9ad Debian Janitor 1 year, 6 months ago
38 changed file(s) with 8982 addition(s) and 4723 deletion(s). Raw diff Collapse all Expand all
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
180180 unique=`for i in $$list; do \
181181 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
182182 done | $(am__uniquify_input)`
183 ETAGS = etags
184 CTAGS = ctags
185 CSCOPE = cscope
186183 DIST_SUBDIRS = $(SUBDIRS)
187184 am__DIST_COMMON = $(srcdir)/Makefile.in COPYING ChangeLog NEWS README \
188185 compile config.guess config.rpath config.sub install-sh \
225222 DIST_ARCHIVES = $(distdir).tar.gz
226223 GZIP_ENV = --best
227224 DIST_TARGETS = dist-gzip
225 # Exists only to be overridden by the user if desired.
226 AM_DISTCHECK_DVI_TARGET = dvi
228227 distuninstallcheck_listfiles = find . -type f -print
229228 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
230229 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
242241 CHECKATARI = @CHECKATARI@
243242 CPP = @CPP@
244243 CPPFLAGS = @CPPFLAGS@
244 CSCOPE = @CSCOPE@
245 CTAGS = @CTAGS@
245246 CYGPATH_W = @CYGPATH_W@
246247 DEFS = @DEFS@
247248 DEPDIR = @DEPDIR@
249250 ECHO_N = @ECHO_N@
250251 ECHO_T = @ECHO_T@
251252 EGREP = @EGREP@
253 ETAGS = @ETAGS@
252254 EXEEXT = @EXEEXT@
253255 GREP = @GREP@
254256 INSTALL = @INSTALL@
506508 distclean-tags:
507509 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
508510 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
509
510511 distdir: $(BUILT_SOURCES)
511512 $(MAKE) $(AM_MAKEFLAGS) distdir-am
512513
590591 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
591592 $(am__post_remove_distdir)
592593
594 dist-zstd: distdir
595 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
596 $(am__post_remove_distdir)
597
593598 dist-tarZ: distdir
594599 @echo WARNING: "Support for distribution archives compressed with" \
595600 "legacy program 'compress' is deprecated." >&2
632637 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
633638 *.zip*) \
634639 unzip $(distdir).zip ;;\
640 *.tar.zst*) \
641 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
635642 esac
636643 chmod -R a-w $(distdir)
637644 chmod u+w $(distdir)
647654 $(DISTCHECK_CONFIGURE_FLAGS) \
648655 --srcdir=../.. --prefix="$$dc_install_base" \
649656 && $(MAKE) $(AM_MAKEFLAGS) \
650 && $(MAKE) $(AM_MAKEFLAGS) dvi \
657 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
651658 && $(MAKE) $(AM_MAKEFLAGS) check \
652659 && $(MAKE) $(AM_MAKEFLAGS) install \
653660 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
811818 am--refresh check check-am clean clean-cscope clean-generic \
812819 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
813820 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
814 distcheck distclean distclean-generic distclean-tags \
821 dist-zstd distcheck distclean distclean-generic distclean-tags \
815822 distcleancheck distdir distuninstallcheck dvi dvi-am html \
816823 html-am info info-am install install-am install-data \
817824 install-data-am install-dist_docDATA install-dvi \
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1313 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1414 m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
17 [m4_warning([this file was generated for autoconf 2.71.
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22 # iconv.m4 serial 19 (gettext-0.18.2)
23 dnl Copyright (C) 2000-2002, 2007-2014, 2016 Free Software Foundation, Inc.
22 # host-cpu-c-abi.m4 serial 13
23 dnl Copyright (C) 2002-2020 Free Software Foundation, Inc.
24 dnl This file is free software; the Free Software Foundation
25 dnl gives unlimited permission to copy and/or distribute it,
26 dnl with or without modifications, as long as this notice is preserved.
27
28 dnl From Bruno Haible and Sam Steingold.
29
30 dnl Sets the HOST_CPU variable to the canonical name of the CPU.
31 dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its
32 dnl C language ABI (application binary interface).
33 dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in
34 dnl config.h.
35 dnl
36 dnl This canonical name can be used to select a particular assembly language
37 dnl source file that will interoperate with C code on the given host.
38 dnl
39 dnl For example:
40 dnl * 'i386' and 'sparc' are different canonical names, because code for i386
41 dnl will not run on SPARC CPUs and vice versa. They have different
42 dnl instruction sets.
43 dnl * 'sparc' and 'sparc64' are different canonical names, because code for
44 dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code
45 dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit
46 dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit
47 dnl mode, but not both.
48 dnl * 'mips' and 'mipsn32' are different canonical names, because they use
49 dnl different argument passing and return conventions for C functions, and
50 dnl although the instruction set of 'mips' is a large subset of the
51 dnl instruction set of 'mipsn32'.
52 dnl * 'mipsn32' and 'mips64' are different canonical names, because they use
53 dnl different sizes for the C types like 'int' and 'void *', and although
54 dnl the instruction sets of 'mipsn32' and 'mips64' are the same.
55 dnl * The same canonical name is used for different endiannesses. You can
56 dnl determine the endianness through preprocessor symbols:
57 dnl - 'arm': test __ARMEL__.
58 dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL.
59 dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN.
60 dnl * The same name 'i386' is used for CPUs of type i386, i486, i586
61 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because
62 dnl - Instructions that do not exist on all of these CPUs (cmpxchg,
63 dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your
64 dnl assembly language source files use such instructions, you will
65 dnl need to make the distinction.
66 dnl - Speed of execution of the common instruction set is reasonable across
67 dnl the entire family of CPUs. If you have assembly language source files
68 dnl that are optimized for particular CPU types (like GNU gmp has), you
69 dnl will need to make the distinction.
70 dnl See <https://en.wikipedia.org/wiki/X86_instruction_listings>.
71 AC_DEFUN([gl_HOST_CPU_C_ABI],
72 [
73 AC_REQUIRE([AC_CANONICAL_HOST])
74 AC_REQUIRE([gl_C_ASM])
75 AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi],
76 [case "$host_cpu" in
77
78 changequote(,)dnl
79 i[34567]86 )
80 changequote([,])dnl
81 gl_cv_host_cpu_c_abi=i386
82 ;;
83
84 x86_64 )
85 # On x86_64 systems, the C compiler may be generating code in one of
86 # these ABIs:
87 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
88 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
89 # with native Windows (mingw, MSVC).
90 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
91 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
92 AC_COMPILE_IFELSE(
93 [AC_LANG_SOURCE(
94 [[#if (defined __x86_64__ || defined __amd64__ \
95 || defined _M_X64 || defined _M_AMD64)
96 int ok;
97 #else
98 error fail
99 #endif
100 ]])],
101 [AC_COMPILE_IFELSE(
102 [AC_LANG_SOURCE(
103 [[#if defined __ILP32__ || defined _ILP32
104 int ok;
105 #else
106 error fail
107 #endif
108 ]])],
109 [gl_cv_host_cpu_c_abi=x86_64-x32],
110 [gl_cv_host_cpu_c_abi=x86_64])],
111 [gl_cv_host_cpu_c_abi=i386])
112 ;;
113
114 changequote(,)dnl
115 alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] )
116 changequote([,])dnl
117 gl_cv_host_cpu_c_abi=alpha
118 ;;
119
120 arm* | aarch64 )
121 # Assume arm with EABI.
122 # On arm64 systems, the C compiler may be generating code in one of
123 # these ABIs:
124 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
125 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
126 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
127 AC_COMPILE_IFELSE(
128 [AC_LANG_SOURCE(
129 [[#ifdef __aarch64__
130 int ok;
131 #else
132 error fail
133 #endif
134 ]])],
135 [AC_COMPILE_IFELSE(
136 [AC_LANG_SOURCE(
137 [[#if defined __ILP32__ || defined _ILP32
138 int ok;
139 #else
140 error fail
141 #endif
142 ]])],
143 [gl_cv_host_cpu_c_abi=arm64-ilp32],
144 [gl_cv_host_cpu_c_abi=arm64])],
145 [# Don't distinguish little-endian and big-endian arm, since they
146 # don't require different machine code for simple operations and
147 # since the user can distinguish them through the preprocessor
148 # defines __ARMEL__ vs. __ARMEB__.
149 # But distinguish arm which passes floating-point arguments and
150 # return values in integer registers (r0, r1, ...) - this is
151 # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which
152 # passes them in float registers (s0, s1, ...) and double registers
153 # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer
154 # sets the preprocessor defines __ARM_PCS (for the first case) and
155 # __ARM_PCS_VFP (for the second case), but older GCC does not.
156 echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c
157 # Look for a reference to the register d0 in the .s file.
158 AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1
159 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then
160 gl_cv_host_cpu_c_abi=armhf
161 else
162 gl_cv_host_cpu_c_abi=arm
163 fi
164 rm -f conftest*
165 ])
166 ;;
167
168 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
169 # On hppa, the C compiler may be generating 32-bit code or 64-bit
170 # code. In the latter case, it defines _LP64 and __LP64__.
171 AC_COMPILE_IFELSE(
172 [AC_LANG_SOURCE(
173 [[#ifdef __LP64__
174 int ok;
175 #else
176 error fail
177 #endif
178 ]])],
179 [gl_cv_host_cpu_c_abi=hppa64],
180 [gl_cv_host_cpu_c_abi=hppa])
181 ;;
182
183 ia64* )
184 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
185 # 32-bit code. In the latter case, it defines _ILP32.
186 AC_COMPILE_IFELSE(
187 [AC_LANG_SOURCE(
188 [[#ifdef _ILP32
189 int ok;
190 #else
191 error fail
192 #endif
193 ]])],
194 [gl_cv_host_cpu_c_abi=ia64-ilp32],
195 [gl_cv_host_cpu_c_abi=ia64])
196 ;;
197
198 mips* )
199 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
200 # at 32.
201 AC_COMPILE_IFELSE(
202 [AC_LANG_SOURCE(
203 [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
204 int ok;
205 #else
206 error fail
207 #endif
208 ]])],
209 [gl_cv_host_cpu_c_abi=mips64],
210 [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but
211 # may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIN32.
212 # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but
213 # may later get defined by <sgidefs.h>), and _MIPS_SIM == _ABIO32.
214 AC_COMPILE_IFELSE(
215 [AC_LANG_SOURCE(
216 [[#if (_MIPS_SIM == _ABIN32)
217 int ok;
218 #else
219 error fail
220 #endif
221 ]])],
222 [gl_cv_host_cpu_c_abi=mipsn32],
223 [gl_cv_host_cpu_c_abi=mips])])
224 ;;
225
226 powerpc* )
227 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
228 # No need to distinguish them here; the caller may distinguish
229 # them based on the OS.
230 # On powerpc64 systems, the C compiler may still be generating
231 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
232 # be generating 64-bit code.
233 AC_COMPILE_IFELSE(
234 [AC_LANG_SOURCE(
235 [[#if defined __powerpc64__ || defined _ARCH_PPC64
236 int ok;
237 #else
238 error fail
239 #endif
240 ]])],
241 [# On powerpc64, there are two ABIs on Linux: The AIX compatible
242 # one and the ELFv2 one. The latter defines _CALL_ELF=2.
243 AC_COMPILE_IFELSE(
244 [AC_LANG_SOURCE(
245 [[#if defined _CALL_ELF && _CALL_ELF == 2
246 int ok;
247 #else
248 error fail
249 #endif
250 ]])],
251 [gl_cv_host_cpu_c_abi=powerpc64-elfv2],
252 [gl_cv_host_cpu_c_abi=powerpc64])
253 ],
254 [gl_cv_host_cpu_c_abi=powerpc])
255 ;;
256
257 rs6000 )
258 gl_cv_host_cpu_c_abi=powerpc
259 ;;
260
261 riscv32 | riscv64 )
262 # There are 2 architectures (with variants): rv32* and rv64*.
263 AC_COMPILE_IFELSE(
264 [AC_LANG_SOURCE(
265 [[#if __riscv_xlen == 64
266 int ok;
267 #else
268 error fail
269 #endif
270 ]])],
271 [cpu=riscv64],
272 [cpu=riscv32])
273 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
274 # Size of 'long' and 'void *':
275 AC_COMPILE_IFELSE(
276 [AC_LANG_SOURCE(
277 [[#if defined __LP64__
278 int ok;
279 #else
280 error fail
281 #endif
282 ]])],
283 [main_abi=lp64],
284 [main_abi=ilp32])
285 # Float ABIs:
286 # __riscv_float_abi_double:
287 # 'float' and 'double' are passed in floating-point registers.
288 # __riscv_float_abi_single:
289 # 'float' are passed in floating-point registers.
290 # __riscv_float_abi_soft:
291 # No values are passed in floating-point registers.
292 AC_COMPILE_IFELSE(
293 [AC_LANG_SOURCE(
294 [[#if defined __riscv_float_abi_double
295 int ok;
296 #else
297 error fail
298 #endif
299 ]])],
300 [float_abi=d],
301 [AC_COMPILE_IFELSE(
302 [AC_LANG_SOURCE(
303 [[#if defined __riscv_float_abi_single
304 int ok;
305 #else
306 error fail
307 #endif
308 ]])],
309 [float_abi=f],
310 [float_abi=''])
311 ])
312 gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}"
313 ;;
314
315 s390* )
316 # On s390x, the C compiler may be generating 64-bit (= s390x) code
317 # or 31-bit (= s390) code.
318 AC_COMPILE_IFELSE(
319 [AC_LANG_SOURCE(
320 [[#if defined __LP64__ || defined __s390x__
321 int ok;
322 #else
323 error fail
324 #endif
325 ]])],
326 [gl_cv_host_cpu_c_abi=s390x],
327 [gl_cv_host_cpu_c_abi=s390])
328 ;;
329
330 sparc | sparc64 )
331 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
332 # C compiler still generates 32-bit code.
333 AC_COMPILE_IFELSE(
334 [AC_LANG_SOURCE(
335 [[#if defined __sparcv9 || defined __arch64__
336 int ok;
337 #else
338 error fail
339 #endif
340 ]])],
341 [gl_cv_host_cpu_c_abi=sparc64],
342 [gl_cv_host_cpu_c_abi=sparc])
343 ;;
344
345 *)
346 gl_cv_host_cpu_c_abi="$host_cpu"
347 ;;
348 esac
349 ])
350
351 dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same.
352 HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'`
353 HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi"
354 AC_SUBST([HOST_CPU])
355 AC_SUBST([HOST_CPU_C_ABI])
356
357 # This was
358 # AC_DEFINE_UNQUOTED([__${HOST_CPU}__])
359 # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__])
360 # earlier, but KAI C++ 3.2d doesn't like this.
361 sed -e 's/-/_/g' >> confdefs.h <<EOF
362 #ifndef __${HOST_CPU}__
363 #define __${HOST_CPU}__ 1
364 #endif
365 #ifndef __${HOST_CPU_C_ABI}__
366 #define __${HOST_CPU_C_ABI}__ 1
367 #endif
368 EOF
369 AH_TOP([/* CPU and C ABI indicator */
370 #ifndef __i386__
371 #undef __i386__
372 #endif
373 #ifndef __x86_64_x32__
374 #undef __x86_64_x32__
375 #endif
376 #ifndef __x86_64__
377 #undef __x86_64__
378 #endif
379 #ifndef __alpha__
380 #undef __alpha__
381 #endif
382 #ifndef __arm__
383 #undef __arm__
384 #endif
385 #ifndef __armhf__
386 #undef __armhf__
387 #endif
388 #ifndef __arm64_ilp32__
389 #undef __arm64_ilp32__
390 #endif
391 #ifndef __arm64__
392 #undef __arm64__
393 #endif
394 #ifndef __hppa__
395 #undef __hppa__
396 #endif
397 #ifndef __hppa64__
398 #undef __hppa64__
399 #endif
400 #ifndef __ia64_ilp32__
401 #undef __ia64_ilp32__
402 #endif
403 #ifndef __ia64__
404 #undef __ia64__
405 #endif
406 #ifndef __m68k__
407 #undef __m68k__
408 #endif
409 #ifndef __mips__
410 #undef __mips__
411 #endif
412 #ifndef __mipsn32__
413 #undef __mipsn32__
414 #endif
415 #ifndef __mips64__
416 #undef __mips64__
417 #endif
418 #ifndef __powerpc__
419 #undef __powerpc__
420 #endif
421 #ifndef __powerpc64__
422 #undef __powerpc64__
423 #endif
424 #ifndef __powerpc64_elfv2__
425 #undef __powerpc64_elfv2__
426 #endif
427 #ifndef __riscv32__
428 #undef __riscv32__
429 #endif
430 #ifndef __riscv64__
431 #undef __riscv64__
432 #endif
433 #ifndef __riscv32_ilp32__
434 #undef __riscv32_ilp32__
435 #endif
436 #ifndef __riscv32_ilp32f__
437 #undef __riscv32_ilp32f__
438 #endif
439 #ifndef __riscv32_ilp32d__
440 #undef __riscv32_ilp32d__
441 #endif
442 #ifndef __riscv64_ilp32__
443 #undef __riscv64_ilp32__
444 #endif
445 #ifndef __riscv64_ilp32f__
446 #undef __riscv64_ilp32f__
447 #endif
448 #ifndef __riscv64_ilp32d__
449 #undef __riscv64_ilp32d__
450 #endif
451 #ifndef __riscv64_lp64__
452 #undef __riscv64_lp64__
453 #endif
454 #ifndef __riscv64_lp64f__
455 #undef __riscv64_lp64f__
456 #endif
457 #ifndef __riscv64_lp64d__
458 #undef __riscv64_lp64d__
459 #endif
460 #ifndef __s390__
461 #undef __s390__
462 #endif
463 #ifndef __s390x__
464 #undef __s390x__
465 #endif
466 #ifndef __sh__
467 #undef __sh__
468 #endif
469 #ifndef __sparc__
470 #undef __sparc__
471 #endif
472 #ifndef __sparc64__
473 #undef __sparc64__
474 #endif
475 ])
476
477 ])
478
479
480 dnl Sets the HOST_CPU_C_ABI_32BIT variable to 'yes' if the C language ABI
481 dnl (application binary interface) is a 32-bit one, to 'no' if it is a 64-bit
482 dnl one, or to 'unknown' if unknown.
483 dnl This is a simplified variant of gl_HOST_CPU_C_ABI.
484 AC_DEFUN([gl_HOST_CPU_C_ABI_32BIT],
485 [
486 AC_REQUIRE([AC_CANONICAL_HOST])
487 AC_CACHE_CHECK([32-bit host C ABI], [gl_cv_host_cpu_c_abi_32bit],
488 [if test -n "$gl_cv_host_cpu_c_abi"; then
489 case "$gl_cv_host_cpu_c_abi" in
490 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
491 gl_cv_host_cpu_c_abi_32bit=yes ;;
492 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
493 gl_cv_host_cpu_c_abi_32bit=no ;;
494 *)
495 gl_cv_host_cpu_c_abi_32bit=unknown ;;
496 esac
497 else
498 case "$host_cpu" in
499
500 # CPUs that only support a 32-bit ABI.
501 arc \
502 | bfin \
503 | cris* \
504 | csky \
505 | epiphany \
506 | ft32 \
507 | h8300 \
508 | m68k \
509 | microblaze | microblazeel \
510 | nds32 | nds32le | nds32be \
511 | nios2 | nios2eb | nios2el \
512 | or1k* \
513 | or32 \
514 | sh | sh[1234] | sh[1234]e[lb] \
515 | tic6x \
516 | xtensa* )
517 gl_cv_host_cpu_c_abi_32bit=yes
518 ;;
519
520 # CPUs that only support a 64-bit ABI.
521 changequote(,)dnl
522 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
523 | mmix )
524 changequote([,])dnl
525 gl_cv_host_cpu_c_abi_32bit=no
526 ;;
527
528 changequote(,)dnl
529 i[34567]86 )
530 changequote([,])dnl
531 gl_cv_host_cpu_c_abi_32bit=yes
532 ;;
533
534 x86_64 )
535 # On x86_64 systems, the C compiler may be generating code in one of
536 # these ABIs:
537 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
538 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
539 # with native Windows (mingw, MSVC).
540 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
541 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
542 AC_COMPILE_IFELSE(
543 [AC_LANG_SOURCE(
544 [[#if (defined __x86_64__ || defined __amd64__ \
545 || defined _M_X64 || defined _M_AMD64) \
546 && !(defined __ILP32__ || defined _ILP32)
547 int ok;
548 #else
549 error fail
550 #endif
551 ]])],
552 [gl_cv_host_cpu_c_abi_32bit=no],
553 [gl_cv_host_cpu_c_abi_32bit=yes])
554 ;;
555
556 arm* | aarch64 )
557 # Assume arm with EABI.
558 # On arm64 systems, the C compiler may be generating code in one of
559 # these ABIs:
560 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
561 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
562 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
563 AC_COMPILE_IFELSE(
564 [AC_LANG_SOURCE(
565 [[#if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
566 int ok;
567 #else
568 error fail
569 #endif
570 ]])],
571 [gl_cv_host_cpu_c_abi_32bit=no],
572 [gl_cv_host_cpu_c_abi_32bit=yes])
573 ;;
574
575 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
576 # On hppa, the C compiler may be generating 32-bit code or 64-bit
577 # code. In the latter case, it defines _LP64 and __LP64__.
578 AC_COMPILE_IFELSE(
579 [AC_LANG_SOURCE(
580 [[#ifdef __LP64__
581 int ok;
582 #else
583 error fail
584 #endif
585 ]])],
586 [gl_cv_host_cpu_c_abi_32bit=no],
587 [gl_cv_host_cpu_c_abi_32bit=yes])
588 ;;
589
590 ia64* )
591 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
592 # 32-bit code. In the latter case, it defines _ILP32.
593 AC_COMPILE_IFELSE(
594 [AC_LANG_SOURCE(
595 [[#ifdef _ILP32
596 int ok;
597 #else
598 error fail
599 #endif
600 ]])],
601 [gl_cv_host_cpu_c_abi_32bit=yes],
602 [gl_cv_host_cpu_c_abi_32bit=no])
603 ;;
604
605 mips* )
606 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
607 # at 32.
608 AC_COMPILE_IFELSE(
609 [AC_LANG_SOURCE(
610 [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
611 int ok;
612 #else
613 error fail
614 #endif
615 ]])],
616 [gl_cv_host_cpu_c_abi_32bit=no],
617 [gl_cv_host_cpu_c_abi_32bit=yes])
618 ;;
619
620 powerpc* )
621 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
622 # No need to distinguish them here; the caller may distinguish
623 # them based on the OS.
624 # On powerpc64 systems, the C compiler may still be generating
625 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
626 # be generating 64-bit code.
627 AC_COMPILE_IFELSE(
628 [AC_LANG_SOURCE(
629 [[#if defined __powerpc64__ || defined _ARCH_PPC64
630 int ok;
631 #else
632 error fail
633 #endif
634 ]])],
635 [gl_cv_host_cpu_c_abi_32bit=no],
636 [gl_cv_host_cpu_c_abi_32bit=yes])
637 ;;
638
639 rs6000 )
640 gl_cv_host_cpu_c_abi_32bit=yes
641 ;;
642
643 riscv32 | riscv64 )
644 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
645 # Size of 'long' and 'void *':
646 AC_COMPILE_IFELSE(
647 [AC_LANG_SOURCE(
648 [[#if defined __LP64__
649 int ok;
650 #else
651 error fail
652 #endif
653 ]])],
654 [gl_cv_host_cpu_c_abi_32bit=no],
655 [gl_cv_host_cpu_c_abi_32bit=yes])
656 ;;
657
658 s390* )
659 # On s390x, the C compiler may be generating 64-bit (= s390x) code
660 # or 31-bit (= s390) code.
661 AC_COMPILE_IFELSE(
662 [AC_LANG_SOURCE(
663 [[#if defined __LP64__ || defined __s390x__
664 int ok;
665 #else
666 error fail
667 #endif
668 ]])],
669 [gl_cv_host_cpu_c_abi_32bit=no],
670 [gl_cv_host_cpu_c_abi_32bit=yes])
671 ;;
672
673 sparc | sparc64 )
674 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
675 # C compiler still generates 32-bit code.
676 AC_COMPILE_IFELSE(
677 [AC_LANG_SOURCE(
678 [[#if defined __sparcv9 || defined __arch64__
679 int ok;
680 #else
681 error fail
682 #endif
683 ]])],
684 [gl_cv_host_cpu_c_abi_32bit=no],
685 [gl_cv_host_cpu_c_abi_32bit=yes])
686 ;;
687
688 *)
689 gl_cv_host_cpu_c_abi_32bit=unknown
690 ;;
691 esac
692 fi
693 ])
694
695 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
696 ])
697
698 # iconv.m4 serial 21
699 dnl Copyright (C) 2000-2002, 2007-2014, 2016-2020 Free Software Foundation,
700 dnl Inc.
24701 dnl This file is free software; the Free Software Foundation
25702 dnl gives unlimited permission to copy and/or distribute it,
26703 dnl with or without modifications, as long as this notice is preserved.
188865 #endif
189866 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
190867 provided. */
191 if (/* Try standardized names. */
192 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
193 /* Try IRIX, OSF/1 names. */
194 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
195 /* Try AIX names. */
196 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
197 /* Try HP-UX names. */
198 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
199 result |= 16;
868 {
869 /* Try standardized names. */
870 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
871 /* Try IRIX, OSF/1 names. */
872 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
873 /* Try AIX names. */
874 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
875 /* Try HP-UX names. */
876 iconv_t cd4 = iconv_open ("utf8", "eucJP");
877 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
878 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
879 result |= 16;
880 if (cd1 != (iconv_t)(-1))
881 iconv_close (cd1);
882 if (cd2 != (iconv_t)(-1))
883 iconv_close (cd2);
884 if (cd3 != (iconv_t)(-1))
885 iconv_close (cd3);
886 if (cd4 != (iconv_t)(-1))
887 iconv_close (cd4);
888 }
200889 return result;
201890 ]])],
202891 [am_cv_func_iconv_works=yes], ,
279968 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
280969 AC_MSG_RESULT([
281970 $am_cv_proto_iconv])
282 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
283 [Define as const if the declaration of iconv() needs const.])
284 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
285 m4_ifdef([gl_ICONV_H_DEFAULTS],
286 [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
287 if test -n "$am_cv_proto_iconv_arg1"; then
288 ICONV_CONST="const"
289 fi
290 ])
971 else
972 dnl When compiling GNU libiconv on a system that does not have iconv yet,
973 dnl pick the POSIX compliant declaration without 'const'.
974 am_cv_proto_iconv_arg1=""
291975 fi
976 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
977 [Define as const if the declaration of iconv() needs const.])
978 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
979 m4_ifdef([gl_ICONV_H_DEFAULTS],
980 [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
981 if test -n "$am_cv_proto_iconv_arg1"; then
982 ICONV_CONST="const"
983 fi
984 ])
292985 ])
293986
294 # lib-ld.m4 serial 6
295 dnl Copyright (C) 1996-2003, 2009-2016 Free Software Foundation, Inc.
987 # lib-ld.m4 serial 9
988 dnl Copyright (C) 1996-2003, 2009-2020 Free Software Foundation, Inc.
296989 dnl This file is free software; the Free Software Foundation
297990 dnl gives unlimited permission to copy and/or distribute it,
298991 dnl with or without modifications, as long as this notice is preserved.
3401033 }
3411034 fi
3421035
343 ac_prog=ld
344 if test "$GCC" = yes; then
345 # Check if gcc -print-prog-name=ld gives a path.
1036 if test -n "$LD"; then
1037 AC_MSG_CHECKING([for ld])
1038 elif test "$GCC" = yes; then
3461039 AC_MSG_CHECKING([for ld used by $CC])
347 case $host in
348 *-*-mingw*)
349 # gcc leaves a trailing carriage return which upsets mingw
350 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
351 *)
352 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
353 esac
354 case $ac_prog in
355 # Accept absolute paths.
356 [[\\/]]* | ?:[[\\/]]*)
357 re_direlt='/[[^/]][[^/]]*/\.\./'
358 # Canonicalize the pathname of ld
359 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
360 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
361 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
362 done
363 test -z "$LD" && LD="$ac_prog"
364 ;;
365 "")
366 # If it fails, then pretend we aren't using GCC.
367 ac_prog=ld
368 ;;
369 *)
370 # If it is relative, then search for the first ld in PATH.
371 with_gnu_ld=unknown
372 ;;
373 esac
3741040 elif test "$with_gnu_ld" = yes; then
3751041 AC_MSG_CHECKING([for GNU ld])
3761042 else
3771043 AC_MSG_CHECKING([for non-GNU ld])
3781044 fi
379 AC_CACHE_VAL([acl_cv_path_LD],
380 [if test -z "$LD"; then
381 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
382 for ac_dir in $PATH; do
383 IFS="$acl_save_ifs"
384 test -z "$ac_dir" && ac_dir=.
385 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
386 acl_cv_path_LD="$ac_dir/$ac_prog"
387 # Check to see if the program is GNU ld. I'd rather use --version,
388 # but apparently some variants of GNU ld only accept -v.
389 # Break only if it was the GNU/non-GNU ld that we prefer.
390 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
391 *GNU* | *'with BFD'*)
392 test "$with_gnu_ld" != no && break
393 ;;
394 *)
395 test "$with_gnu_ld" != yes && break
396 ;;
1045 if test -n "$LD"; then
1046 # Let the user override the test with a path.
1047 :
1048 else
1049 AC_CACHE_VAL([acl_cv_path_LD],
1050 [
1051 acl_cv_path_LD= # Final result of this test
1052 ac_prog=ld # Program to search in $PATH
1053 if test "$GCC" = yes; then
1054 # Check if gcc -print-prog-name=ld gives a path.
1055 case $host in
1056 *-*-mingw*)
1057 # gcc leaves a trailing carriage return which upsets mingw
1058 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1059 *)
1060 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
1061 esac
1062 case $acl_output in
1063 # Accept absolute paths.
1064 [[\\/]]* | ?:[[\\/]]*)
1065 re_direlt='/[[^/]][[^/]]*/\.\./'
1066 # Canonicalize the pathname of ld
1067 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
1068 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
1069 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
1070 done
1071 # Got the pathname. No search in PATH is needed.
1072 acl_cv_path_LD="$acl_output"
1073 ac_prog=
1074 ;;
1075 "")
1076 # If it fails, then pretend we aren't using GCC.
1077 ;;
1078 *)
1079 # If it is relative, then search for the first ld in PATH.
1080 with_gnu_ld=unknown
1081 ;;
3971082 esac
3981083 fi
399 done
400 IFS="$acl_save_ifs"
401 else
402 acl_cv_path_LD="$LD" # Let the user override the test with a path.
403 fi])
404 LD="$acl_cv_path_LD"
1084 if test -n "$ac_prog"; then
1085 # Search for $ac_prog in $PATH.
1086 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1087 for ac_dir in $PATH; do
1088 IFS="$acl_save_ifs"
1089 test -z "$ac_dir" && ac_dir=.
1090 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1091 acl_cv_path_LD="$ac_dir/$ac_prog"
1092 # Check to see if the program is GNU ld. I'd rather use --version,
1093 # but apparently some variants of GNU ld only accept -v.
1094 # Break only if it was the GNU/non-GNU ld that we prefer.
1095 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
1096 *GNU* | *'with BFD'*)
1097 test "$with_gnu_ld" != no && break
1098 ;;
1099 *)
1100 test "$with_gnu_ld" != yes && break
1101 ;;
1102 esac
1103 fi
1104 done
1105 IFS="$acl_save_ifs"
1106 fi
1107 case $host in
1108 *-*-aix*)
1109 AC_COMPILE_IFELSE(
1110 [AC_LANG_SOURCE(
1111 [[#if defined __powerpc64__ || defined _ARCH_PPC64
1112 int ok;
1113 #else
1114 error fail
1115 #endif
1116 ]])],
1117 [# The compiler produces 64-bit code. Add option '-b64' so that the
1118 # linker groks 64-bit object files.
1119 case "$acl_cv_path_LD " in
1120 *" -b64 "*) ;;
1121 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
1122 esac
1123 ], [])
1124 ;;
1125 sparc64-*-netbsd*)
1126 AC_COMPILE_IFELSE(
1127 [AC_LANG_SOURCE(
1128 [[#if defined __sparcv9 || defined __arch64__
1129 int ok;
1130 #else
1131 error fail
1132 #endif
1133 ]])],
1134 [],
1135 [# The compiler produces 32-bit code. Add option '-m elf32_sparc'
1136 # so that the linker groks 32-bit object files.
1137 case "$acl_cv_path_LD " in
1138 *" -m elf32_sparc "*) ;;
1139 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
1140 esac
1141 ])
1142 ;;
1143 esac
1144 ])
1145 LD="$acl_cv_path_LD"
1146 fi
4051147 if test -n "$LD"; then
4061148 AC_MSG_RESULT([$LD])
4071149 else
4081150 AC_MSG_RESULT([no])
1151 AC_MSG_ERROR([no acceptable ld found in \$PATH])
4091152 fi
410 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4111153 AC_LIB_PROG_LD_GNU
4121154 ])
4131155
414 # lib-link.m4 serial 26 (gettext-0.18.2)
415 dnl Copyright (C) 2001-2016 Free Software Foundation, Inc.
1156 # lib-link.m4 serial 31
1157 dnl Copyright (C) 2001-2020 Free Software Foundation, Inc.
4161158 dnl This file is free software; the Free Software Foundation
4171159 dnl gives unlimited permission to copy and/or distribute it,
4181160 dnl with or without modifications, as long as this notice is preserved.
4191161
4201162 dnl From Bruno Haible.
4211163
422 AC_PREREQ([2.54])
1164 AC_PREREQ([2.61])
4231165
4241166 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
4251167 dnl the libraries corresponding to explicit and implicit dependencies.
5371279 dnl acl_hardcode_minus_L.
5381280 AC_DEFUN([AC_LIB_RPATH],
5391281 [
540 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
541 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
1282 dnl Complain if config.rpath is missing.
1283 AC_REQUIRE_AUX_FILE([config.rpath])
5421284 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
5431285 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
5441286 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
6001342 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
6011343 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
6021344 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
603 dnl Autoconf >= 2.61 supports dots in --with options.
604 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
6051345 dnl By default, look in $includedir and $libdir.
6061346 use_additional=yes
6071347 AC_LIB_WITH_FINAL_PREFIX([
6081348 eval additional_includedir=\"$includedir\"
6091349 eval additional_libdir=\"$libdir\"
1350 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
1351 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
6101352 ])
611 AC_ARG_WITH(P_A_C_K[-prefix],
612 [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
613 --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
1353 AC_ARG_WITH(PACK[-prefix],
1354 [[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
1355 --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
6141356 [
6151357 if test "X$withval" = "Xno"; then
6161358 use_additional=no
6191361 AC_LIB_WITH_FINAL_PREFIX([
6201362 eval additional_includedir=\"$includedir\"
6211363 eval additional_libdir=\"$libdir\"
1364 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
1365 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
6221366 ])
6231367 else
6241368 additional_includedir="$withval/include"
6251369 additional_libdir="$withval/$acl_libdirstem"
626 if test "$acl_libdirstem2" != "$acl_libdirstem" \
627 && ! test -d "$withval/$acl_libdirstem"; then
628 additional_libdir="$withval/$acl_libdirstem2"
629 fi
1370 additional_libdir2="$withval/$acl_libdirstem2"
1371 additional_libdir3="$withval/$acl_libdirstem3"
6301372 fi
6311373 fi
6321374 ])
1375 if test "X$additional_libdir2" = "X$additional_libdir"; then
1376 additional_libdir2=
1377 fi
1378 if test "X$additional_libdir3" = "X$additional_libdir"; then
1379 additional_libdir3=
1380 fi
6331381 dnl Search the library and its dependencies in $additional_libdir and
6341382 dnl $LDFLAGS. Using breadth-first-seach.
6351383 LIB[]NAME=
6851433 shrext=
6861434 fi
6871435 if test $use_additional = yes; then
688 dir="$additional_libdir"
689 dnl The same code as in the loop below:
690 dnl First look for a shared library.
691 if test -n "$acl_shlibext"; then
692 if test -f "$dir/$libname$shrext"; then
693 found_dir="$dir"
694 found_so="$dir/$libname$shrext"
695 else
696 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
697 ver=`(cd "$dir" && \
698 for f in "$libname$shrext".*; do echo "$f"; done \
699 | sed -e "s,^$libname$shrext\\\\.,," \
700 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
701 | sed 1q ) 2>/dev/null`
702 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
703 found_dir="$dir"
704 found_so="$dir/$libname$shrext.$ver"
705 fi
706 else
707 eval library_names=\"$acl_library_names_spec\"
708 for f in $library_names; do
709 if test -f "$dir/$f"; then
710 found_dir="$dir"
711 found_so="$dir/$f"
712 break
713 fi
714 done
715 fi
716 fi
717 fi
718 dnl Then look for a static library.
719 if test "X$found_dir" = "X"; then
720 if test -f "$dir/$libname.$acl_libext"; then
721 found_dir="$dir"
722 found_a="$dir/$libname.$acl_libext"
723 fi
724 fi
725 if test "X$found_dir" != "X"; then
726 if test -f "$dir/$libname.la"; then
727 found_la="$dir/$libname.la"
728 fi
729 fi
730 fi
731 if test "X$found_dir" = "X"; then
732 for x in $LDFLAGS $LTLIB[]NAME; do
733 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
734 case "$x" in
735 -L*)
736 dir=`echo "X$x" | sed -e 's/^X-L//'`
1436 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
1437 if test "X$found_dir" = "X"; then
1438 eval dir=\$$additional_libdir_variable
1439 if test -n "$dir"; then
1440 dnl The same code as in the loop below:
7371441 dnl First look for a shared library.
7381442 if test -n "$acl_shlibext"; then
739 if test -f "$dir/$libname$shrext"; then
1443 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
7401444 found_dir="$dir"
7411445 found_so="$dir/$libname$shrext"
7421446 else
7461450 | sed -e "s,^$libname$shrext\\\\.,," \
7471451 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7481452 | sed 1q ) 2>/dev/null`
749 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1453 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
7501454 found_dir="$dir"
7511455 found_so="$dir/$libname$shrext.$ver"
7521456 fi
7531457 else
7541458 eval library_names=\"$acl_library_names_spec\"
7551459 for f in $library_names; do
756 if test -f "$dir/$f"; then
1460 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
7571461 found_dir="$dir"
7581462 found_so="$dir/$f"
7591463 break
7641468 fi
7651469 dnl Then look for a static library.
7661470 if test "X$found_dir" = "X"; then
767 if test -f "$dir/$libname.$acl_libext"; then
1471 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
1472 found_dir="$dir"
1473 found_a="$dir/$libname.$acl_libext"
1474 fi
1475 fi
1476 if test "X$found_dir" != "X"; then
1477 if test -f "$dir/$libname.la"; then
1478 found_la="$dir/$libname.la"
1479 fi
1480 fi
1481 fi
1482 fi
1483 done
1484 fi
1485 if test "X$found_dir" = "X"; then
1486 for x in $LDFLAGS $LTLIB[]NAME; do
1487 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1488 case "$x" in
1489 -L*)
1490 dir=`echo "X$x" | sed -e 's/^X-L//'`
1491 dnl First look for a shared library.
1492 if test -n "$acl_shlibext"; then
1493 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
1494 found_dir="$dir"
1495 found_so="$dir/$libname$shrext"
1496 else
1497 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1498 ver=`(cd "$dir" && \
1499 for f in "$libname$shrext".*; do echo "$f"; done \
1500 | sed -e "s,^$libname$shrext\\\\.,," \
1501 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1502 | sed 1q ) 2>/dev/null`
1503 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
1504 found_dir="$dir"
1505 found_so="$dir/$libname$shrext.$ver"
1506 fi
1507 else
1508 eval library_names=\"$acl_library_names_spec\"
1509 for f in $library_names; do
1510 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
1511 found_dir="$dir"
1512 found_so="$dir/$f"
1513 break
1514 fi
1515 done
1516 fi
1517 fi
1518 fi
1519 dnl Then look for a static library.
1520 if test "X$found_dir" = "X"; then
1521 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
7681522 found_dir="$dir"
7691523 found_a="$dir/$libname.$acl_libext"
7701524 fi
7901544 dnl standard /usr/lib.
7911545 if test "$enable_rpath" = no \
7921546 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
793 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
1547 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
1548 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
7941549 dnl No hardcoding is needed.
7951550 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
7961551 else
8901645 fi
8911646 additional_includedir="$basedir/include"
8921647 ;;
1648 */$acl_libdirstem3 | */$acl_libdirstem3/)
1649 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
1650 if test "$name" = '$1'; then
1651 LIB[]NAME[]_PREFIX="$basedir"
1652 fi
1653 additional_includedir="$basedir/include"
1654 ;;
8931655 esac
8941656 if test "X$additional_includedir" != "X"; then
8951657 dnl Potentially add $additional_includedir to $INCNAME.
9401702 for dep in $dependency_libs; do
9411703 case "$dep" in
9421704 -L*)
943 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
944 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1705 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1706 dnl Potentially add $dependency_libdir to $LIBNAME and $LTLIBNAME.
9451707 dnl But don't add it
9461708 dnl 1. if it's the standard /usr/lib,
9471709 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
9481710 dnl 3. if it's already present in $LDFLAGS or the already
9491711 dnl constructed $LIBNAME,
9501712 dnl 4. if it doesn't exist as a directory.
951 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
952 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
1713 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
1714 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
1715 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
9531716 haveit=
954 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
955 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
1717 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
1718 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
1719 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
9561720 if test -n "$GCC"; then
9571721 case $host_os in
9581722 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9631727 haveit=
9641728 for x in $LDFLAGS $LIB[]NAME; do
9651729 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
966 if test "X$x" = "X-L$additional_libdir"; then
1730 if test "X$x" = "X-L$dependency_libdir"; then
9671731 haveit=yes
9681732 break
9691733 fi
9701734 done
9711735 if test -z "$haveit"; then
972 if test -d "$additional_libdir"; then
973 dnl Really add $additional_libdir to $LIBNAME.
974 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1736 if test -d "$dependency_libdir"; then
1737 dnl Really add $dependency_libdir to $LIBNAME.
1738 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$dependency_libdir"
9751739 fi
9761740 fi
9771741 haveit=
9781742 for x in $LDFLAGS $LTLIB[]NAME; do
9791743 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
980 if test "X$x" = "X-L$additional_libdir"; then
1744 if test "X$x" = "X-L$dependency_libdir"; then
9811745 haveit=yes
9821746 break
9831747 fi
9841748 done
9851749 if test -z "$haveit"; then
986 if test -d "$additional_libdir"; then
987 dnl Really add $additional_libdir to $LTLIBNAME.
988 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1750 if test -d "$dependency_libdir"; then
1751 dnl Really add $dependency_libdir to $LTLIBNAME.
1752 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$dependency_libdir"
9891753 fi
9901754 fi
9911755 fi
10831847 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
10841848 done
10851849 fi
1086 popdef([P_A_C_K])
10871850 popdef([PACKLIBS])
10881851 popdef([PACKUP])
10891852 popdef([PACK])
11341897 dir="$next"
11351898 dnl No need to hardcode the standard /usr/lib.
11361899 if test "X$dir" != "X/usr/$acl_libdirstem" \
1137 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1900 && test "X$dir" != "X/usr/$acl_libdirstem2" \
1901 && test "X$dir" != "X/usr/$acl_libdirstem3"; then
11381902 rpathdirs="$rpathdirs $dir"
11391903 fi
11401904 next=
11441908 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
11451909 dnl No need to hardcode the standard /usr/lib.
11461910 if test "X$dir" != "X/usr/$acl_libdirstem" \
1147 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1911 && test "X$dir" != "X/usr/$acl_libdirstem2" \
1912 && test "X$dir" != "X/usr/$acl_libdirstem3"; then
11481913 rpathdirs="$rpathdirs $dir"
11491914 fi
11501915 next= ;;
11891954 AC_SUBST([$1])
11901955 ])
11911956
1192 # lib-prefix.m4 serial 7 (gettext-0.18)
1193 dnl Copyright (C) 2001-2005, 2008-2016 Free Software Foundation, Inc.
1957 # lib-prefix.m4 serial 17
1958 dnl Copyright (C) 2001-2005, 2008-2020 Free Software Foundation, Inc.
11941959 dnl This file is free software; the Free Software Foundation
11951960 dnl gives unlimited permission to copy and/or distribute it,
11961961 dnl with or without modifications, as long as this notice is preserved.
11971962
11981963 dnl From Bruno Haible.
1199
1200 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
1201 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
1202 dnl require excessive bracketing.
1203 ifdef([AC_HELP_STRING],
1204 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
1205 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
12061964
12071965 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
12081966 dnl to access previously installed libraries. The basic assumption is that
12231981 eval additional_includedir=\"$includedir\"
12241982 eval additional_libdir=\"$libdir\"
12251983 ])
1226 AC_LIB_ARG_WITH([lib-prefix],
1227 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1228 --without-lib-prefix don't search for libraries in includedir and libdir],
1984 AC_ARG_WITH([lib-prefix],
1985 [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1986 --without-lib-prefix don't search for libraries in includedir and libdir]],
12291987 [
12301988 if test "X$withval" = "Xno"; then
12311989 use_additional=no
13452103 ])
13462104
13472105 dnl AC_LIB_PREPARE_MULTILIB creates
1348 dnl - a variable acl_libdirstem, containing the basename of the libdir, either
1349 dnl "lib" or "lib64" or "lib/64",
1350 dnl - a variable acl_libdirstem2, as a secondary possible value for
1351 dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
1352 dnl "lib/amd64".
2106 dnl - a function acl_is_expected_elfclass, that tests whether standard input
2107 dn; has a 32-bit or 64-bit ELF header, depending on the host CPU ABI,
2108 dnl - 3 variables acl_libdirstem, acl_libdirstem2, acl_libdirstem3, containing
2109 dnl the basename of the libdir to try in turn, either "lib" or "lib64" or
2110 dnl "lib/64" or "lib32" or "lib/sparcv9" or "lib/amd64" or similar.
13532111 AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
13542112 [
1355 dnl There is no formal standard regarding lib and lib64.
1356 dnl On glibc systems, the current practice is that on a system supporting
2113 dnl There is no formal standard regarding lib, lib32, and lib64.
2114 dnl On most glibc systems, the current practice is that on a system supporting
13572115 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
1358 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
1359 dnl the compiler's default mode by looking at the compiler's library search
1360 dnl path. If at least one of its elements ends in /lib64 or points to a
1361 dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
1362 dnl Otherwise we use the default, namely "lib".
2116 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. However, on
2117 dnl Arch Linux based distributions, it's the opposite: 32-bit libraries go
2118 dnl under $prefix/lib32 and 64-bit libraries go under $prefix/lib.
2119 dnl We determine the compiler's default mode by looking at the compiler's
2120 dnl library search path. If at least one of its elements ends in /lib64 or
2121 dnl points to a directory whose absolute pathname ends in /lib64, we use that
2122 dnl for 64-bit ABIs. Similarly for 32-bit ABIs. Otherwise we use the default,
2123 dnl namely "lib".
13632124 dnl On Solaris systems, the current practice is that on a system supporting
13642125 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
13652126 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
13662127 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
13672128 AC_REQUIRE([AC_CANONICAL_HOST])
1368 acl_libdirstem=lib
1369 acl_libdirstem2=
1370 case "$host_os" in
1371 solaris*)
1372 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
1373 dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
1374 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
1375 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
1376 dnl symlink is missing, so we set acl_libdirstem2 too.
1377 AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
1378 [AC_EGREP_CPP([sixtyfour bits], [
1379 #ifdef _LP64
1380 sixtyfour bits
1381 #endif
1382 ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
1383 ])
1384 if test $gl_cv_solaris_64bit = yes; then
1385 acl_libdirstem=lib/64
1386 case "$host_cpu" in
1387 sparc*) acl_libdirstem2=lib/sparcv9 ;;
1388 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
1389 esac
1390 fi
1391 ;;
1392 *)
1393 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
1394 if test -n "$searchpath"; then
1395 acl_save_IFS="${IFS= }"; IFS=":"
1396 for searchdir in $searchpath; do
1397 if test -d "$searchdir"; then
1398 case "$searchdir" in
1399 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
1400 */../ | */.. )
1401 # Better ignore directories of this form. They are misleading.
1402 ;;
1403 *) searchdir=`cd "$searchdir" && pwd`
1404 case "$searchdir" in
1405 */lib64 ) acl_libdirstem=lib64 ;;
1406 esac ;;
1407 esac
1408 fi
1409 done
1410 IFS="$acl_save_IFS"
1411 fi
1412 ;;
1413 esac
1414 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
2129 AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT])
2130
2131 AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf],
2132 [AC_EGREP_CPP([Extensible Linking Format],
2133 [#ifdef __ELF__
2134 Extensible Linking Format
2135 #endif
2136 ],
2137 [gl_cv_elf=yes],
2138 [gl_cv_elf=no])
2139 ])
2140 if test $gl_cv_elf; then
2141 # Extract the ELF class of a file (5th byte) in decimal.
2142 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
2143 if od -A x < /dev/null >/dev/null 2>/dev/null; then
2144 # Use POSIX od.
2145 func_elfclass ()
2146 {
2147 od -A n -t d1 -j 4 -N 1
2148 }
2149 else
2150 # Use BSD hexdump.
2151 func_elfclass ()
2152 {
2153 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
2154 echo
2155 }
2156 fi
2157 changequote(,)dnl
2158 case $HOST_CPU_C_ABI_32BIT in
2159 yes)
2160 # 32-bit ABI.
2161 acl_is_expected_elfclass ()
2162 {
2163 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1
2164 }
2165 ;;
2166 no)
2167 # 64-bit ABI.
2168 acl_is_expected_elfclass ()
2169 {
2170 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2
2171 }
2172 ;;
2173 *)
2174 # Unknown.
2175 acl_is_expected_elfclass ()
2176 {
2177 :
2178 }
2179 ;;
2180 esac
2181 changequote([,])dnl
2182 else
2183 acl_is_expected_elfclass ()
2184 {
2185 :
2186 }
2187 fi
2188
2189 dnl Allow the user to override the result by setting acl_cv_libdirstems.
2190 AC_CACHE_CHECK([for the common suffixes of directories in the library search path],
2191 [acl_cv_libdirstems],
2192 [dnl Try 'lib' first, because that's the default for libdir in GNU, see
2193 dnl <https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>.
2194 acl_libdirstem=lib
2195 acl_libdirstem2=
2196 acl_libdirstem3=
2197 case "$host_os" in
2198 solaris*)
2199 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
2200 dnl <https://docs.oracle.com/cd/E19253-01/816-5138/dev-env/index.html>.
2201 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
2202 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
2203 dnl symlink is missing, so we set acl_libdirstem2 too.
2204 if test $HOST_CPU_C_ABI_32BIT = no; then
2205 acl_libdirstem2=lib/64
2206 case "$host_cpu" in
2207 sparc*) acl_libdirstem3=lib/sparcv9 ;;
2208 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
2209 esac
2210 fi
2211 ;;
2212 *)
2213 dnl If $CC generates code for a 32-bit ABI, the libraries are
2214 dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64.
2215 dnl Similarly, if $CC generates code for a 64-bit ABI, the libraries
2216 dnl are surely under $prefix/lib or $prefix/lib64, not $prefix/lib32.
2217 dnl Find the compiler's search path. However, non-system compilers
2218 dnl sometimes have odd library search paths. But we can't simply invoke
2219 dnl '/usr/bin/gcc -print-search-dirs' because that would not take into
2220 dnl account the -m32/-m31 or -m64 options from the $CC or $CFLAGS.
2221 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
2222 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
2223 if test $HOST_CPU_C_ABI_32BIT != no; then
2224 # 32-bit or unknown ABI.
2225 if test -d /usr/lib32; then
2226 acl_libdirstem2=lib32
2227 fi
2228 fi
2229 if test $HOST_CPU_C_ABI_32BIT != yes; then
2230 # 64-bit or unknown ABI.
2231 if test -d /usr/lib64; then
2232 acl_libdirstem3=lib64
2233 fi
2234 fi
2235 if test -n "$searchpath"; then
2236 acl_save_IFS="${IFS= }"; IFS=":"
2237 for searchdir in $searchpath; do
2238 if test -d "$searchdir"; then
2239 case "$searchdir" in
2240 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
2241 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
2242 */../ | */.. )
2243 # Better ignore directories of this form. They are misleading.
2244 ;;
2245 *) searchdir=`cd "$searchdir" && pwd`
2246 case "$searchdir" in
2247 */lib32 ) acl_libdirstem2=lib32 ;;
2248 */lib64 ) acl_libdirstem3=lib64 ;;
2249 esac ;;
2250 esac
2251 fi
2252 done
2253 IFS="$acl_save_IFS"
2254 if test $HOST_CPU_C_ABI_32BIT = yes; then
2255 # 32-bit ABI.
2256 acl_libdirstem3=
2257 fi
2258 if test $HOST_CPU_C_ABI_32BIT = no; then
2259 # 64-bit ABI.
2260 acl_libdirstem2=
2261 fi
2262 fi
2263 ;;
2264 esac
2265 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
2266 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
2267 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
2268 ])
2269 dnl Decompose acl_cv_libdirstems into acl_libdirstem, acl_libdirstem2, and
2270 dnl acl_libdirstem3.
2271 changequote(,)dnl
2272 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
2273 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
2274 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
2275 changequote([,])dnl
14152276 ])
14162277
1417 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
2278 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
14182279 #
14192280 # This file is free software; the Free Software Foundation
14202281 # gives unlimited permission to copy and/or distribute it,
14292290 [am__api_version='1.16'
14302291 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
14312292 dnl require some minimum version. Point them to the right macro.
1432 m4_if([$1], [1.16.1], [],
2293 m4_if([$1], [1.16.5], [],
14332294 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
14342295 ])
14352296
14452306 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
14462307 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
14472308 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1448 [AM_AUTOMAKE_VERSION([1.16.1])dnl
2309 [AM_AUTOMAKE_VERSION([1.16.5])dnl
14492310 m4_ifndef([AC_AUTOCONF_VERSION],
14502311 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
14512312 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
14522313
14532314 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
14542315
1455 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2316 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
14562317 #
14572318 # This file is free software; the Free Software Foundation
14582319 # gives unlimited permission to copy and/or distribute it,
15042365
15052366 # AM_CONDITIONAL -*- Autoconf -*-
15062367
1507 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
2368 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
15082369 #
15092370 # This file is free software; the Free Software Foundation
15102371 # gives unlimited permission to copy and/or distribute it,
15352396 Usually this means the macro was only invoked conditionally.]])
15362397 fi])])
15372398
1538 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
2399 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
15392400 #
15402401 # This file is free software; the Free Software Foundation
15412402 # gives unlimited permission to copy and/or distribute it,
17262587
17272588 # Generate code to set up dependency tracking. -*- Autoconf -*-
17282589
1729 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
2590 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
17302591 #
17312592 # This file is free software; the Free Software Foundation
17322593 # gives unlimited permission to copy and/or distribute it,
17652626 done
17662627 if test $am_rc -ne 0; then
17672628 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
1768 for automatic dependency tracking. Try re-running configure with the
2629 for automatic dependency tracking. If GNU make was not used, consider
2630 re-running the configure script with MAKE="gmake" (or whatever is
2631 necessary). You can also try re-running configure with the
17692632 '--disable-dependency-tracking' option to at least be able to build
17702633 the package (albeit without support for automatic dependency tracking).])
17712634 fi
17922655
17932656 # Do all the work for Automake. -*- Autoconf -*-
17942657
1795 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
2658 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
17962659 #
17972660 # This file is free software; the Free Software Foundation
17982661 # gives unlimited permission to copy and/or distribute it,
18202683 # release and drop the old call support.
18212684 AC_DEFUN([AM_INIT_AUTOMAKE],
18222685 [AC_PREREQ([2.65])dnl
2686 m4_ifdef([_$0_ALREADY_INIT],
2687 [m4_fatal([$0 expanded multiple times
2688 ]m4_defn([_$0_ALREADY_INIT]))],
2689 [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
18232690 dnl Autoconf wants to disallow AM_ names. We explicitly allow
18242691 dnl the ones we care about.
18252692 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
18562723 [_AM_SET_OPTIONS([$1])dnl
18572724 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
18582725 m4_if(
1859 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
2726 m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
18602727 [ok:ok],,
18612728 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
18622729 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
19082775 [m4_define([AC_PROG_OBJCXX],
19092776 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
19102777 ])
2778 # Variables for tags utilities; see am/tags.am
2779 if test -z "$CTAGS"; then
2780 CTAGS=ctags
2781 fi
2782 AC_SUBST([CTAGS])
2783 if test -z "$ETAGS"; then
2784 ETAGS=etags
2785 fi
2786 AC_SUBST([ETAGS])
2787 if test -z "$CSCOPE"; then
2788 CSCOPE=cscope
2789 fi
2790 AC_SUBST([CSCOPE])
2791
19112792 AC_REQUIRE([AM_SILENT_RULES])dnl
19122793 dnl The testsuite driver may need to know about EXEEXT, so add the
19132794 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
19892870 done
19902871 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
19912872
1992 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2873 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
19932874 #
19942875 # This file is free software; the Free Software Foundation
19952876 # gives unlimited permission to copy and/or distribute it,
20102891 fi
20112892 AC_SUBST([install_sh])])
20122893
2013 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
2894 # Copyright (C) 2003-2021 Free Software Foundation, Inc.
20142895 #
20152896 # This file is free software; the Free Software Foundation
20162897 # gives unlimited permission to copy and/or distribute it,
20312912
20322913 # Check to see how 'make' treats includes. -*- Autoconf -*-
20332914
2034 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2915 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
20352916 #
20362917 # This file is free software; the Free Software Foundation
20372918 # gives unlimited permission to copy and/or distribute it,
20742955
20752956 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
20762957
2077 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
2958 # Copyright (C) 1997-2021 Free Software Foundation, Inc.
20782959 #
20792960 # This file is free software; the Free Software Foundation
20802961 # gives unlimited permission to copy and/or distribute it,
20952976 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
20962977 AC_REQUIRE_AUX_FILE([missing])dnl
20972978 if test x"${MISSING+set}" != xset; then
2098 case $am_aux_dir in
2099 *\ * | *\ *)
2100 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2101 *)
2102 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2103 esac
2979 MISSING="\${SHELL} '$am_aux_dir/missing'"
21042980 fi
21052981 # Use eval to expand $SHELL
21062982 if eval "$MISSING --is-lightweight"; then
21132989
21142990 # Helper functions for option handling. -*- Autoconf -*-
21152991
2116 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
2992 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
21172993 #
21182994 # This file is free software; the Free Software Foundation
21192995 # gives unlimited permission to copy and/or distribute it,
21423018 AC_DEFUN([_AM_IF_OPTION],
21433019 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
21443020
2145 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
3021 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
21463022 #
21473023 # This file is free software; the Free Software Foundation
21483024 # gives unlimited permission to copy and/or distribute it,
21893065 # For backward compatibility.
21903066 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
21913067
2192 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
3068 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
21933069 #
21943070 # This file is free software; the Free Software Foundation
21953071 # gives unlimited permission to copy and/or distribute it,
22083084
22093085 # Check to make sure that the build environment is sane. -*- Autoconf -*-
22103086
2211 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
3087 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
22123088 #
22133089 # This file is free software; the Free Software Foundation
22143090 # gives unlimited permission to copy and/or distribute it,
22893165 rm -f conftest.file
22903166 ])
22913167
2292 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
3168 # Copyright (C) 2009-2021 Free Software Foundation, Inc.
22933169 #
22943170 # This file is free software; the Free Software Foundation
22953171 # gives unlimited permission to copy and/or distribute it,
23493225 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
23503226 ])
23513227
2352 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
3228 # Copyright (C) 2001-2021 Free Software Foundation, Inc.
23533229 #
23543230 # This file is free software; the Free Software Foundation
23553231 # gives unlimited permission to copy and/or distribute it,
23773253 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
23783254 AC_SUBST([INSTALL_STRIP_PROGRAM])])
23793255
2380 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
3256 # Copyright (C) 2006-2021 Free Software Foundation, Inc.
23813257 #
23823258 # This file is free software; the Free Software Foundation
23833259 # gives unlimited permission to copy and/or distribute it,
23963272
23973273 # Check how to create a tarball. -*- Autoconf -*-
23983274
2399 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
3275 # Copyright (C) 2004-2021 Free Software Foundation, Inc.
24003276 #
24013277 # This file is free software; the Free Software Foundation
24023278 # gives unlimited permission to copy and/or distribute it,
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
5252 MINGW*)
5353 file_conv=mingw
5454 ;;
55 CYGWIN*)
55 CYGWIN* | MSYS*)
5656 file_conv=cygwin
5757 ;;
5858 *)
6666 mingw/*)
6767 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6868 ;;
69 cygwin/*)
69 cygwin/* | msys/*)
7070 file=`cygpath -m "$file" || echo "$file"`
7171 ;;
7272 wine/*)
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-02-24'
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-01-09'
57
68 # This file is free software; you can redistribute it and/or modify it
79 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
10 # the Free Software Foundation, either version 3 of the License, or
911 # (at your option) any later version.
1012 #
1113 # This program is distributed in the hope that it will be useful, but
2628 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2729 #
2830 # You can get the latest version of this script from:
29 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31 # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
3032 #
3133 # Please send patches to <config-patches@gnu.org>.
34
35
36 # The "shellcheck disable" line above the timestamp inhibits complaints
37 # about features and limitations of the classic Bourne shell that were
38 # superseded or lifted in POSIX. However, this script identifies a wide
39 # variety of pre-POSIX systems that do not have POSIX shells at all, and
40 # even some reasonably current systems (Solaris 10 as case-in-point) still
41 # have a pre-POSIX /bin/sh.
3242
3343
3444 me=`echo "$0" | sed -e 's,.*/,,'`
4959 GNU config.guess ($timestamp)
5060
5161 Originally written by Per Bothner.
52 Copyright 1992-2018 Free Software Foundation, Inc.
62 Copyright 1992-2022 Free Software Foundation, Inc.
5363
5464 This is free software; see the source for copying conditions. There is NO
5565 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8393 exit 1
8494 fi
8595
86 trap 'exit 1' 1 2 15
96 # Just in case it came from the environment.
97 GUESS=
8798
8899 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
89100 # compiler to aid in system detection is discouraged as it requires
95106
96107 # Portable tmp directory creation inspired by the Autoconf team.
97108
98 set_cc_for_build='
99 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
100 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
101 : ${TMPDIR=/tmp} ;
102 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
103 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
104 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
105 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
106 dummy=$tmp/dummy ;
107 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
108 case $CC_FOR_BUILD,$HOST_CC,$CC in
109 ,,) echo "int x;" > "$dummy.c" ;
110 for c in cc gcc c89 c99 ; do
111 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
112 CC_FOR_BUILD="$c"; break ;
113 fi ;
114 done ;
115 if test x"$CC_FOR_BUILD" = x ; then
116 CC_FOR_BUILD=no_compiler_found ;
117 fi
118 ;;
119 ,,*) CC_FOR_BUILD=$CC ;;
120 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
121 esac ; set_cc_for_build= ;'
109 tmp=
110 # shellcheck disable=SC2172
111 trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15
112
113 set_cc_for_build() {
114 # prevent multiple calls if $tmp is already set
115 test "$tmp" && return 0
116 : "${TMPDIR=/tmp}"
117 # shellcheck disable=SC2039,SC3028
118 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
119 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
120 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
121 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
122 dummy=$tmp/dummy
123 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
124 ,,) echo "int x;" > "$dummy.c"
125 for driver in cc gcc c89 c99 ; do
126 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
127 CC_FOR_BUILD=$driver
128 break
129 fi
130 done
131 if test x"$CC_FOR_BUILD" = x ; then
132 CC_FOR_BUILD=no_compiler_found
133 fi
134 ;;
135 ,,*) CC_FOR_BUILD=$CC ;;
136 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
137 esac
138 }
122139
123140 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
124141 # (ghazi@noc.rutgers.edu 1994-08-24)
125 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
142 if test -f /.attbin/uname ; then
126143 PATH=$PATH:/.attbin ; export PATH
127144 fi
128145
129146 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
130147 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
131 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
148 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
132149 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
133150
134 case "$UNAME_SYSTEM" in
151 case $UNAME_SYSTEM in
135152 Linux|GNU|GNU/*)
136 # If the system lacks a compiler, then just pick glibc.
137 # We could probably try harder.
138 LIBC=gnu
139
140 eval "$set_cc_for_build"
153 LIBC=unknown
154
155 set_cc_for_build
141156 cat <<-EOF > "$dummy.c"
142157 #include <features.h>
143158 #if defined(__UCLIBC__)
144159 LIBC=uclibc
145160 #elif defined(__dietlibc__)
146161 LIBC=dietlibc
162 #elif defined(__GLIBC__)
163 LIBC=gnu
147164 #else
148 LIBC=gnu
165 #include <stdarg.h>
166 /* First heuristic to detect musl libc. */
167 #ifdef __DEFINED_va_list
168 LIBC=musl
169 #endif
149170 #endif
150171 EOF
151 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
152
153 # If ldd exists, use it to detect musl libc.
154 if command -v ldd >/dev/null && \
155 ldd --version 2>&1 | grep -q ^musl
156 then
157 LIBC=musl
172 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
173 eval "$cc_set_libc"
174
175 # Second heuristic to detect musl libc.
176 if [ "$LIBC" = unknown ] &&
177 command -v ldd >/dev/null &&
178 ldd --version 2>&1 | grep -q ^musl; then
179 LIBC=musl
180 fi
181
182 # If the system lacks a compiler, then just pick glibc.
183 # We could probably try harder.
184 if [ "$LIBC" = unknown ]; then
185 LIBC=gnu
158186 fi
159187 ;;
160188 esac
161189
162190 # Note: order is significant - the case branches are not exclusive.
163191
164 case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
192 case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
165193 *:NetBSD:*:*)
166194 # NetBSD (nbsd) targets should (where applicable) match one or
167195 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
173201 #
174202 # Note: NetBSD doesn't particularly care about the vendor
175203 # portion of the name. We always set it to "unknown".
176 sysctl="sysctl -n hw.machine_arch"
177204 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
178 "/sbin/$sysctl" 2>/dev/null || \
179 "/usr/sbin/$sysctl" 2>/dev/null || \
205 /sbin/sysctl -n hw.machine_arch 2>/dev/null || \
206 /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \
180207 echo unknown)`
181 case "$UNAME_MACHINE_ARCH" in
208 case $UNAME_MACHINE_ARCH in
209 aarch64eb) machine=aarch64_be-unknown ;;
182210 armeb) machine=armeb-unknown ;;
183211 arm*) machine=arm-unknown ;;
184212 sh3el) machine=shl-unknown ;;
187215 earmv*)
188216 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
189217 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
190 machine="${arch}${endian}"-unknown
218 machine=${arch}${endian}-unknown
191219 ;;
192 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
220 *) machine=$UNAME_MACHINE_ARCH-unknown ;;
193221 esac
194222 # The Operating System including object format, if it has switched
195223 # to ELF recently (or will in the future) and ABI.
196 case "$UNAME_MACHINE_ARCH" in
224 case $UNAME_MACHINE_ARCH in
197225 earm*)
198226 os=netbsdelf
199227 ;;
200228 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
201 eval "$set_cc_for_build"
229 set_cc_for_build
202230 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
203231 | grep -q __ELF__
204232 then
214242 ;;
215243 esac
216244 # Determine ABI tags.
217 case "$UNAME_MACHINE_ARCH" in
245 case $UNAME_MACHINE_ARCH in
218246 earm*)
219247 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
220248 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
225253 # thus, need a distinct triplet. However, they do not need
226254 # kernel version information, so it can be replaced with a
227255 # suitable tag, in the style of linux-gnu.
228 case "$UNAME_VERSION" in
256 case $UNAME_VERSION in
229257 Debian*)
230258 release='-gnu'
231259 ;;
236264 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
237265 # contains redundant information, the shorter form:
238266 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
239 echo "$machine-${os}${release}${abi}"
240 exit ;;
267 GUESS=$machine-${os}${release}${abi-}
268 ;;
241269 *:Bitrig:*:*)
242270 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
243 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
244 exit ;;
271 GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE
272 ;;
245273 *:OpenBSD:*:*)
246274 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
247 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
248 exit ;;
275 GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE
276 ;;
277 *:SecBSD:*:*)
278 UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
279 GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE
280 ;;
249281 *:LibertyBSD:*:*)
250282 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
251 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
252 exit ;;
283 GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE
284 ;;
253285 *:MidnightBSD:*:*)
254 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
255 exit ;;
286 GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE
287 ;;
256288 *:ekkoBSD:*:*)
257 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
258 exit ;;
289 GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE
290 ;;
259291 *:SolidBSD:*:*)
260 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
261 exit ;;
292 GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE
293 ;;
294 *:OS108:*:*)
295 GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE
296 ;;
262297 macppc:MirBSD:*:*)
263 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
264 exit ;;
298 GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE
299 ;;
265300 *:MirBSD:*:*)
266 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
267 exit ;;
301 GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE
302 ;;
268303 *:Sortix:*:*)
269 echo "$UNAME_MACHINE"-unknown-sortix
270 exit ;;
304 GUESS=$UNAME_MACHINE-unknown-sortix
305 ;;
306 *:Twizzler:*:*)
307 GUESS=$UNAME_MACHINE-unknown-twizzler
308 ;;
271309 *:Redox:*:*)
272 echo "$UNAME_MACHINE"-unknown-redox
273 exit ;;
310 GUESS=$UNAME_MACHINE-unknown-redox
311 ;;
274312 mips:OSF1:*.*)
275 echo mips-dec-osf1
276 exit ;;
313 GUESS=mips-dec-osf1
314 ;;
277315 alpha:OSF1:*:*)
316 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
317 trap '' 0
278318 case $UNAME_RELEASE in
279319 *4.0)
280320 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
288328 # covers most systems running today. This code pipes the CPU
289329 # types through head -n 1, so we only detect the type of CPU 0.
290330 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
291 case "$ALPHA_CPU_TYPE" in
331 case $ALPHA_CPU_TYPE in
292332 "EV4 (21064)")
293333 UNAME_MACHINE=alpha ;;
294334 "EV4.5 (21064)")
325365 # A Tn.n version is a released field test version.
326366 # A Xn.n version is an unreleased experimental baselevel.
327367 # 1.2 uses "1.2" for uname -r.
328 echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
329 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
330 exitcode=$?
331 trap '' 0
332 exit $exitcode ;;
368 OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
369 GUESS=$UNAME_MACHINE-dec-osf$OSF_REL
370 ;;
333371 Amiga*:UNIX_System_V:4.0:*)
334 echo m68k-unknown-sysv4
335 exit ;;
372 GUESS=m68k-unknown-sysv4
373 ;;
336374 *:[Aa]miga[Oo][Ss]:*:*)
337 echo "$UNAME_MACHINE"-unknown-amigaos
338 exit ;;
375 GUESS=$UNAME_MACHINE-unknown-amigaos
376 ;;
339377 *:[Mm]orph[Oo][Ss]:*:*)
340 echo "$UNAME_MACHINE"-unknown-morphos
341 exit ;;
378 GUESS=$UNAME_MACHINE-unknown-morphos
379 ;;
342380 *:OS/390:*:*)
343 echo i370-ibm-openedition
344 exit ;;
381 GUESS=i370-ibm-openedition
382 ;;
345383 *:z/VM:*:*)
346 echo s390-ibm-zvmoe
347 exit ;;
384 GUESS=s390-ibm-zvmoe
385 ;;
348386 *:OS400:*:*)
349 echo powerpc-ibm-os400
350 exit ;;
387 GUESS=powerpc-ibm-os400
388 ;;
351389 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
352 echo arm-acorn-riscix"$UNAME_RELEASE"
353 exit ;;
390 GUESS=arm-acorn-riscix$UNAME_RELEASE
391 ;;
354392 arm*:riscos:*:*|arm*:RISCOS:*:*)
355 echo arm-unknown-riscos
356 exit ;;
393 GUESS=arm-unknown-riscos
394 ;;
357395 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
358 echo hppa1.1-hitachi-hiuxmpp
359 exit ;;
396 GUESS=hppa1.1-hitachi-hiuxmpp
397 ;;
360398 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
361399 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
362 if test "`(/bin/universe) 2>/dev/null`" = att ; then
363 echo pyramid-pyramid-sysv3
364 else
365 echo pyramid-pyramid-bsd
366 fi
367 exit ;;
400 case `(/bin/universe) 2>/dev/null` in
401 att) GUESS=pyramid-pyramid-sysv3 ;;
402 *) GUESS=pyramid-pyramid-bsd ;;
403 esac
404 ;;
368405 NILE*:*:*:dcosx)
369 echo pyramid-pyramid-svr4
370 exit ;;
406 GUESS=pyramid-pyramid-svr4
407 ;;
371408 DRS?6000:unix:4.0:6*)
372 echo sparc-icl-nx6
373 exit ;;
409 GUESS=sparc-icl-nx6
410 ;;
374411 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
375412 case `/usr/bin/uname -p` in
376 sparc) echo sparc-icl-nx7; exit ;;
377 esac ;;
413 sparc) GUESS=sparc-icl-nx7 ;;
414 esac
415 ;;
378416 s390x:SunOS:*:*)
379 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
380 exit ;;
417 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
418 GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL
419 ;;
381420 sun4H:SunOS:5.*:*)
382 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
383 exit ;;
421 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
422 GUESS=sparc-hal-solaris2$SUN_REL
423 ;;
384424 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
385 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
386 exit ;;
425 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
426 GUESS=sparc-sun-solaris2$SUN_REL
427 ;;
387428 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
388 echo i386-pc-auroraux"$UNAME_RELEASE"
389 exit ;;
429 GUESS=i386-pc-auroraux$UNAME_RELEASE
430 ;;
390431 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
391 eval "$set_cc_for_build"
432 set_cc_for_build
392433 SUN_ARCH=i386
393434 # If there is a compiler, see if it is configured for 64-bit objects.
394435 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
395436 # This test works for both compilers.
396 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
437 if test "$CC_FOR_BUILD" != no_compiler_found; then
397438 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
398 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
439 (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
399440 grep IS_64BIT_ARCH >/dev/null
400441 then
401442 SUN_ARCH=x86_64
402443 fi
403444 fi
404 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
405 exit ;;
445 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
446 GUESS=$SUN_ARCH-pc-solaris2$SUN_REL
447 ;;
406448 sun4*:SunOS:6*:*)
407449 # According to config.sub, this is the proper way to canonicalize
408450 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
409451 # it's likely to be more like Solaris than SunOS4.
410 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
411 exit ;;
452 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
453 GUESS=sparc-sun-solaris3$SUN_REL
454 ;;
412455 sun4*:SunOS:*:*)
413 case "`/usr/bin/arch -k`" in
456 case `/usr/bin/arch -k` in
414457 Series*|S4*)
415458 UNAME_RELEASE=`uname -v`
416459 ;;
417460 esac
418461 # Japanese Language versions have a version number like `4.1.3-JL'.
419 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
420 exit ;;
462 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
463 GUESS=sparc-sun-sunos$SUN_REL
464 ;;
421465 sun3*:SunOS:*:*)
422 echo m68k-sun-sunos"$UNAME_RELEASE"
423 exit ;;
466 GUESS=m68k-sun-sunos$UNAME_RELEASE
467 ;;
424468 sun*:*:4.2BSD:*)
425469 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
426470 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
427 case "`/bin/arch`" in
471 case `/bin/arch` in
428472 sun3)
429 echo m68k-sun-sunos"$UNAME_RELEASE"
473 GUESS=m68k-sun-sunos$UNAME_RELEASE
430474 ;;
431475 sun4)
432 echo sparc-sun-sunos"$UNAME_RELEASE"
476 GUESS=sparc-sun-sunos$UNAME_RELEASE
433477 ;;
434478 esac
435 exit ;;
479 ;;
436480 aushp:SunOS:*:*)
437 echo sparc-auspex-sunos"$UNAME_RELEASE"
438 exit ;;
481 GUESS=sparc-auspex-sunos$UNAME_RELEASE
482 ;;
439483 # The situation for MiNT is a little confusing. The machine name
440484 # can be virtually everything (everything which is not
441485 # "atarist" or "atariste" at least should have a processor
445489 # MiNT. But MiNT is downward compatible to TOS, so this should
446490 # be no problem.
447491 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint"$UNAME_RELEASE"
449 exit ;;
492 GUESS=m68k-atari-mint$UNAME_RELEASE
493 ;;
450494 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
451 echo m68k-atari-mint"$UNAME_RELEASE"
452 exit ;;
495 GUESS=m68k-atari-mint$UNAME_RELEASE
496 ;;
453497 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
454 echo m68k-atari-mint"$UNAME_RELEASE"
455 exit ;;
498 GUESS=m68k-atari-mint$UNAME_RELEASE
499 ;;
456500 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
457 echo m68k-milan-mint"$UNAME_RELEASE"
458 exit ;;
501 GUESS=m68k-milan-mint$UNAME_RELEASE
502 ;;
459503 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
460 echo m68k-hades-mint"$UNAME_RELEASE"
461 exit ;;
504 GUESS=m68k-hades-mint$UNAME_RELEASE
505 ;;
462506 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
463 echo m68k-unknown-mint"$UNAME_RELEASE"
464 exit ;;
507 GUESS=m68k-unknown-mint$UNAME_RELEASE
508 ;;
465509 m68k:machten:*:*)
466 echo m68k-apple-machten"$UNAME_RELEASE"
467 exit ;;
510 GUESS=m68k-apple-machten$UNAME_RELEASE
511 ;;
468512 powerpc:machten:*:*)
469 echo powerpc-apple-machten"$UNAME_RELEASE"
470 exit ;;
513 GUESS=powerpc-apple-machten$UNAME_RELEASE
514 ;;
471515 RISC*:Mach:*:*)
472 echo mips-dec-mach_bsd4.3
473 exit ;;
516 GUESS=mips-dec-mach_bsd4.3
517 ;;
474518 RISC*:ULTRIX:*:*)
475 echo mips-dec-ultrix"$UNAME_RELEASE"
476 exit ;;
519 GUESS=mips-dec-ultrix$UNAME_RELEASE
520 ;;
477521 VAX*:ULTRIX*:*:*)
478 echo vax-dec-ultrix"$UNAME_RELEASE"
479 exit ;;
522 GUESS=vax-dec-ultrix$UNAME_RELEASE
523 ;;
480524 2020:CLIX:*:* | 2430:CLIX:*:*)
481 echo clipper-intergraph-clix"$UNAME_RELEASE"
482 exit ;;
525 GUESS=clipper-intergraph-clix$UNAME_RELEASE
526 ;;
483527 mips:*:*:UMIPS | mips:*:*:RISCos)
484 eval "$set_cc_for_build"
528 set_cc_for_build
485529 sed 's/^ //' << EOF > "$dummy.c"
486530 #ifdef __cplusplus
487531 #include <stdio.h> /* for printf() prototype */
507551 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
508552 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
509553 { echo "$SYSTEM_NAME"; exit; }
510 echo mips-mips-riscos"$UNAME_RELEASE"
511 exit ;;
554 GUESS=mips-mips-riscos$UNAME_RELEASE
555 ;;
512556 Motorola:PowerMAX_OS:*:*)
513 echo powerpc-motorola-powermax
514 exit ;;
557 GUESS=powerpc-motorola-powermax
558 ;;
515559 Motorola:*:4.3:PL8-*)
516 echo powerpc-harris-powermax
517 exit ;;
560 GUESS=powerpc-harris-powermax
561 ;;
518562 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
519 echo powerpc-harris-powermax
520 exit ;;
563 GUESS=powerpc-harris-powermax
564 ;;
521565 Night_Hawk:Power_UNIX:*:*)
522 echo powerpc-harris-powerunix
523 exit ;;
566 GUESS=powerpc-harris-powerunix
567 ;;
524568 m88k:CX/UX:7*:*)
525 echo m88k-harris-cxux7
526 exit ;;
569 GUESS=m88k-harris-cxux7
570 ;;
527571 m88k:*:4*:R4*)
528 echo m88k-motorola-sysv4
529 exit ;;
572 GUESS=m88k-motorola-sysv4
573 ;;
530574 m88k:*:3*:R3*)
531 echo m88k-motorola-sysv3
532 exit ;;
575 GUESS=m88k-motorola-sysv3
576 ;;
533577 AViiON:dgux:*:*)
534578 # DG/UX returns AViiON for all architectures
535579 UNAME_PROCESSOR=`/usr/bin/uname -p`
536 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
580 if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110
537581 then
538 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
539 [ "$TARGET_BINARY_INTERFACE"x = x ]
582 if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \
583 test "$TARGET_BINARY_INTERFACE"x = x
540584 then
541 echo m88k-dg-dgux"$UNAME_RELEASE"
585 GUESS=m88k-dg-dgux$UNAME_RELEASE
542586 else
543 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
587 GUESS=m88k-dg-dguxbcs$UNAME_RELEASE
544588 fi
545589 else
546 echo i586-dg-dgux"$UNAME_RELEASE"
547 fi
548 exit ;;
590 GUESS=i586-dg-dgux$UNAME_RELEASE
591 fi
592 ;;
549593 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
550 echo m88k-dolphin-sysv3
551 exit ;;
594 GUESS=m88k-dolphin-sysv3
595 ;;
552596 M88*:*:R3*:*)
553597 # Delta 88k system running SVR3
554 echo m88k-motorola-sysv3
555 exit ;;
598 GUESS=m88k-motorola-sysv3
599 ;;
556600 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
557 echo m88k-tektronix-sysv3
558 exit ;;
601 GUESS=m88k-tektronix-sysv3
602 ;;
559603 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
560 echo m68k-tektronix-bsd
561 exit ;;
604 GUESS=m68k-tektronix-bsd
605 ;;
562606 *:IRIX*:*:*)
563 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
564 exit ;;
607 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
608 GUESS=mips-sgi-irix$IRIX_REL
609 ;;
565610 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
566 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
567 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
611 GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id
612 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
568613 i*86:AIX:*:*)
569 echo i386-ibm-aix
570 exit ;;
614 GUESS=i386-ibm-aix
615 ;;
571616 ia64:AIX:*:*)
572 if [ -x /usr/bin/oslevel ] ; then
617 if test -x /usr/bin/oslevel ; then
573618 IBM_REV=`/usr/bin/oslevel`
574619 else
575 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
576 fi
577 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
578 exit ;;
620 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
621 fi
622 GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV
623 ;;
579624 *:AIX:2:3)
580625 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
581 eval "$set_cc_for_build"
626 set_cc_for_build
582627 sed 's/^ //' << EOF > "$dummy.c"
583628 #include <sys/systemcfg.h>
584629
592637 EOF
593638 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
594639 then
595 echo "$SYSTEM_NAME"
640 GUESS=$SYSTEM_NAME
596641 else
597 echo rs6000-ibm-aix3.2.5
642 GUESS=rs6000-ibm-aix3.2.5
598643 fi
599644 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
600 echo rs6000-ibm-aix3.2.4
645 GUESS=rs6000-ibm-aix3.2.4
601646 else
602 echo rs6000-ibm-aix3.2
603 fi
604 exit ;;
647 GUESS=rs6000-ibm-aix3.2
648 fi
649 ;;
605650 *:AIX:*:[4567])
606651 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
607652 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
609654 else
610655 IBM_ARCH=powerpc
611656 fi
612 if [ -x /usr/bin/lslpp ] ; then
613 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
657 if test -x /usr/bin/lslpp ; then
658 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \
614659 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
615660 else
616 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
617 fi
618 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
619 exit ;;
661 IBM_REV=$UNAME_VERSION.$UNAME_RELEASE
662 fi
663 GUESS=$IBM_ARCH-ibm-aix$IBM_REV
664 ;;
620665 *:AIX:*:*)
621 echo rs6000-ibm-aix
622 exit ;;
666 GUESS=rs6000-ibm-aix
667 ;;
623668 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
624 echo romp-ibm-bsd4.4
625 exit ;;
669 GUESS=romp-ibm-bsd4.4
670 ;;
626671 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
627 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
628 exit ;; # report: romp-ibm BSD 4.3
672 GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to
673 ;; # report: romp-ibm BSD 4.3
629674 *:BOSX:*:*)
630 echo rs6000-bull-bosx
631 exit ;;
675 GUESS=rs6000-bull-bosx
676 ;;
632677 DPX/2?00:B.O.S.:*:*)
633 echo m68k-bull-sysv3
634 exit ;;
678 GUESS=m68k-bull-sysv3
679 ;;
635680 9000/[34]??:4.3bsd:1.*:*)
636 echo m68k-hp-bsd
637 exit ;;
681 GUESS=m68k-hp-bsd
682 ;;
638683 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
639 echo m68k-hp-bsd4.4
640 exit ;;
684 GUESS=m68k-hp-bsd4.4
685 ;;
641686 9000/[34678]??:HP-UX:*:*)
642 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
643 case "$UNAME_MACHINE" in
687 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
688 case $UNAME_MACHINE in
644689 9000/31?) HP_ARCH=m68000 ;;
645690 9000/[34]??) HP_ARCH=m68k ;;
646691 9000/[678][0-9][0-9])
647 if [ -x /usr/bin/getconf ]; then
692 if test -x /usr/bin/getconf; then
648693 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
649694 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
650 case "$sc_cpu_version" in
695 case $sc_cpu_version in
651696 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
652697 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
653698 532) # CPU_PA_RISC2_0
654 case "$sc_kernel_bits" in
699 case $sc_kernel_bits in
655700 32) HP_ARCH=hppa2.0n ;;
656701 64) HP_ARCH=hppa2.0w ;;
657702 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
658703 esac ;;
659704 esac
660705 fi
661 if [ "$HP_ARCH" = "" ]; then
662 eval "$set_cc_for_build"
706 if test "$HP_ARCH" = ""; then
707 set_cc_for_build
663708 sed 's/^ //' << EOF > "$dummy.c"
664709
665710 #define _HPUX_SOURCE
697742 test -z "$HP_ARCH" && HP_ARCH=hppa
698743 fi ;;
699744 esac
700 if [ "$HP_ARCH" = hppa2.0w ]
745 if test "$HP_ARCH" = hppa2.0w
701746 then
702 eval "$set_cc_for_build"
747 set_cc_for_build
703748
704749 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
705750 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
718763 HP_ARCH=hppa64
719764 fi
720765 fi
721 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
722 exit ;;
766 GUESS=$HP_ARCH-hp-hpux$HPUX_REV
767 ;;
723768 ia64:HP-UX:*:*)
724 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
725 echo ia64-hp-hpux"$HPUX_REV"
726 exit ;;
769 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
770 GUESS=ia64-hp-hpux$HPUX_REV
771 ;;
727772 3050*:HI-UX:*:*)
728 eval "$set_cc_for_build"
773 set_cc_for_build
729774 sed 's/^ //' << EOF > "$dummy.c"
730775 #include <unistd.h>
731776 int
753798 EOF
754799 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
755800 { echo "$SYSTEM_NAME"; exit; }
756 echo unknown-hitachi-hiuxwe2
757 exit ;;
801 GUESS=unknown-hitachi-hiuxwe2
802 ;;
758803 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
759 echo hppa1.1-hp-bsd
760 exit ;;
804 GUESS=hppa1.1-hp-bsd
805 ;;
761806 9000/8??:4.3bsd:*:*)
762 echo hppa1.0-hp-bsd
763 exit ;;
807 GUESS=hppa1.0-hp-bsd
808 ;;
764809 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
765 echo hppa1.0-hp-mpeix
766 exit ;;
810 GUESS=hppa1.0-hp-mpeix
811 ;;
767812 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
768 echo hppa1.1-hp-osf
769 exit ;;
813 GUESS=hppa1.1-hp-osf
814 ;;
770815 hp8??:OSF1:*:*)
771 echo hppa1.0-hp-osf
772 exit ;;
816 GUESS=hppa1.0-hp-osf
817 ;;
773818 i*86:OSF1:*:*)
774 if [ -x /usr/sbin/sysversion ] ; then
775 echo "$UNAME_MACHINE"-unknown-osf1mk
819 if test -x /usr/sbin/sysversion ; then
820 GUESS=$UNAME_MACHINE-unknown-osf1mk
776821 else
777 echo "$UNAME_MACHINE"-unknown-osf1
778 fi
779 exit ;;
822 GUESS=$UNAME_MACHINE-unknown-osf1
823 fi
824 ;;
780825 parisc*:Lites*:*:*)
781 echo hppa1.1-hp-lites
782 exit ;;
826 GUESS=hppa1.1-hp-lites
827 ;;
783828 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
784 echo c1-convex-bsd
785 exit ;;
829 GUESS=c1-convex-bsd
830 ;;
786831 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
787832 if getsysinfo -f scalar_acc
788833 then echo c32-convex-bsd
790835 fi
791836 exit ;;
792837 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
793 echo c34-convex-bsd
794 exit ;;
838 GUESS=c34-convex-bsd
839 ;;
795840 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
796 echo c38-convex-bsd
797 exit ;;
841 GUESS=c38-convex-bsd
842 ;;
798843 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
799 echo c4-convex-bsd
800 exit ;;
844 GUESS=c4-convex-bsd
845 ;;
801846 CRAY*Y-MP:*:*:*)
802 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
803 exit ;;
847 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
848 GUESS=ymp-cray-unicos$CRAY_REL
849 ;;
804850 CRAY*[A-Z]90:*:*:*)
805851 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
806852 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
808854 -e 's/\.[^.]*$/.X/'
809855 exit ;;
810856 CRAY*TS:*:*:*)
811 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
812 exit ;;
857 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
858 GUESS=t90-cray-unicos$CRAY_REL
859 ;;
813860 CRAY*T3E:*:*:*)
814 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
815 exit ;;
861 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
862 GUESS=alphaev5-cray-unicosmk$CRAY_REL
863 ;;
816864 CRAY*SV1:*:*:*)
817 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
818 exit ;;
865 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
866 GUESS=sv1-cray-unicos$CRAY_REL
867 ;;
819868 *:UNICOS/mp:*:*)
820 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
821 exit ;;
869 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 GUESS=craynv-cray-unicosmp$CRAY_REL
871 ;;
822872 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
823873 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
824874 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
825875 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
826 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
827 exit ;;
876 GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
877 ;;
828878 5000:UNIX_System_V:4.*:*)
829879 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
830880 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
831 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
832 exit ;;
881 GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}
882 ;;
833883 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
834 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
835 exit ;;
884 GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE
885 ;;
836886 sparc*:BSD/OS:*:*)
837 echo sparc-unknown-bsdi"$UNAME_RELEASE"
838 exit ;;
887 GUESS=sparc-unknown-bsdi$UNAME_RELEASE
888 ;;
839889 *:BSD/OS:*:*)
840 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
841 exit ;;
890 GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE
891 ;;
892 arm:FreeBSD:*:*)
893 UNAME_PROCESSOR=`uname -p`
894 set_cc_for_build
895 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
896 | grep -q __ARM_PCS_VFP
897 then
898 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
899 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi
900 else
901 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
902 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf
903 fi
904 ;;
842905 *:FreeBSD:*:*)
843906 UNAME_PROCESSOR=`/usr/bin/uname -p`
844 case "$UNAME_PROCESSOR" in
907 case $UNAME_PROCESSOR in
845908 amd64)
846909 UNAME_PROCESSOR=x86_64 ;;
847910 i386)
848911 UNAME_PROCESSOR=i586 ;;
849912 esac
850 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
851 exit ;;
913 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
914 GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL
915 ;;
852916 i*:CYGWIN*:*)
853 echo "$UNAME_MACHINE"-pc-cygwin
854 exit ;;
917 GUESS=$UNAME_MACHINE-pc-cygwin
918 ;;
855919 *:MINGW64*:*)
856 echo "$UNAME_MACHINE"-pc-mingw64
857 exit ;;
920 GUESS=$UNAME_MACHINE-pc-mingw64
921 ;;
858922 *:MINGW*:*)
859 echo "$UNAME_MACHINE"-pc-mingw32
860 exit ;;
923 GUESS=$UNAME_MACHINE-pc-mingw32
924 ;;
861925 *:MSYS*:*)
862 echo "$UNAME_MACHINE"-pc-msys
863 exit ;;
926 GUESS=$UNAME_MACHINE-pc-msys
927 ;;
864928 i*:PW*:*)
865 echo "$UNAME_MACHINE"-pc-pw32
866 exit ;;
929 GUESS=$UNAME_MACHINE-pc-pw32
930 ;;
931 *:SerenityOS:*:*)
932 GUESS=$UNAME_MACHINE-pc-serenity
933 ;;
867934 *:Interix*:*)
868 case "$UNAME_MACHINE" in
935 case $UNAME_MACHINE in
869936 x86)
870 echo i586-pc-interix"$UNAME_RELEASE"
871 exit ;;
937 GUESS=i586-pc-interix$UNAME_RELEASE
938 ;;
872939 authenticamd | genuineintel | EM64T)
873 echo x86_64-unknown-interix"$UNAME_RELEASE"
874 exit ;;
940 GUESS=x86_64-unknown-interix$UNAME_RELEASE
941 ;;
875942 IA64)
876 echo ia64-unknown-interix"$UNAME_RELEASE"
877 exit ;;
943 GUESS=ia64-unknown-interix$UNAME_RELEASE
944 ;;
878945 esac ;;
879946 i*:UWIN*:*)
880 echo "$UNAME_MACHINE"-pc-uwin
881 exit ;;
947 GUESS=$UNAME_MACHINE-pc-uwin
948 ;;
882949 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
883 echo x86_64-unknown-cygwin
884 exit ;;
950 GUESS=x86_64-pc-cygwin
951 ;;
885952 prep*:SunOS:5.*:*)
886 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
887 exit ;;
953 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
954 GUESS=powerpcle-unknown-solaris2$SUN_REL
955 ;;
888956 *:GNU:*:*)
889957 # the GNU system
890 echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
891 exit ;;
958 GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
959 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
960 GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL
961 ;;
892962 *:GNU/*:*:*)
893963 # other systems with GNU libc and userland
894 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
895 exit ;;
896 i*86:Minix:*:*)
897 echo "$UNAME_MACHINE"-pc-minix
898 exit ;;
964 GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
965 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
966 GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
967 ;;
968 *:Minix:*:*)
969 GUESS=$UNAME_MACHINE-unknown-minix
970 ;;
899971 aarch64:Linux:*:*)
900 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
901 exit ;;
972 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
973 ;;
902974 aarch64_be:Linux:*:*)
903975 UNAME_MACHINE=aarch64_be
904 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
905 exit ;;
976 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
977 ;;
906978 alpha:Linux:*:*)
907 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
979 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
908980 EV5) UNAME_MACHINE=alphaev5 ;;
909981 EV56) UNAME_MACHINE=alphaev56 ;;
910982 PCA56) UNAME_MACHINE=alphapca56 ;;
915987 esac
916988 objdump --private-headers /bin/sh | grep -q ld.so.1
917989 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
918 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
919 exit ;;
920 arc:Linux:*:* | arceb:Linux:*:*)
921 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
922 exit ;;
990 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
991 ;;
992 arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*)
993 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
994 ;;
923995 arm*:Linux:*:*)
924 eval "$set_cc_for_build"
996 set_cc_for_build
925997 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
926998 | grep -q __ARM_EABI__
927999 then
928 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1000 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
9291001 else
9301002 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
9311003 | grep -q __ARM_PCS_VFP
9321004 then
933 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
1005 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi
9341006 else
935 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
1007 GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf
9361008 fi
9371009 fi
938 exit ;;
1010 ;;
9391011 avr32*:Linux:*:*)
940 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
941 exit ;;
1012 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1013 ;;
9421014 cris:Linux:*:*)
943 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
944 exit ;;
1015 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1016 ;;
9451017 crisv32:Linux:*:*)
946 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
947 exit ;;
1018 GUESS=$UNAME_MACHINE-axis-linux-$LIBC
1019 ;;
9481020 e2k:Linux:*:*)
949 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
950 exit ;;
1021 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1022 ;;
9511023 frv:Linux:*:*)
952 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
953 exit ;;
1024 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1025 ;;
9541026 hexagon:Linux:*:*)
955 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
956 exit ;;
1027 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1028 ;;
9571029 i*86:Linux:*:*)
958 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
959 exit ;;
1030 GUESS=$UNAME_MACHINE-pc-linux-$LIBC
1031 ;;
9601032 ia64:Linux:*:*)
961 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
962 exit ;;
1033 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1034 ;;
9631035 k1om:Linux:*:*)
964 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
965 exit ;;
1036 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1037 ;;
1038 loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*)
1039 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1040 ;;
9661041 m32r*:Linux:*:*)
967 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
968 exit ;;
1042 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1043 ;;
9691044 m68*:Linux:*:*)
970 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
971 exit ;;
1045 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1046 ;;
9721047 mips:Linux:*:* | mips64:Linux:*:*)
973 eval "$set_cc_for_build"
1048 set_cc_for_build
1049 IS_GLIBC=0
1050 test x"${LIBC}" = xgnu && IS_GLIBC=1
9741051 sed 's/^ //' << EOF > "$dummy.c"
9751052 #undef CPU
976 #undef ${UNAME_MACHINE}
977 #undef ${UNAME_MACHINE}el
1053 #undef mips
1054 #undef mipsel
1055 #undef mips64
1056 #undef mips64el
1057 #if ${IS_GLIBC} && defined(_ABI64)
1058 LIBCABI=gnuabi64
1059 #else
1060 #if ${IS_GLIBC} && defined(_ABIN32)
1061 LIBCABI=gnuabin32
1062 #else
1063 LIBCABI=${LIBC}
1064 #endif
1065 #endif
1066
1067 #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
1068 CPU=mipsisa64r6
1069 #else
1070 #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6
1071 CPU=mipsisa32r6
1072 #else
1073 #if defined(__mips64)
1074 CPU=mips64
1075 #else
1076 CPU=mips
1077 #endif
1078 #endif
1079 #endif
1080
9781081 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
979 CPU=${UNAME_MACHINE}el
1082 MIPS_ENDIAN=el
9801083 #else
9811084 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
982 CPU=${UNAME_MACHINE}
1085 MIPS_ENDIAN=
9831086 #else
984 CPU=
1087 MIPS_ENDIAN=
9851088 #endif
9861089 #endif
9871090 EOF
988 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
989 test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
1091 cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'`
1092 eval "$cc_set_vars"
1093 test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; }
9901094 ;;
9911095 mips64el:Linux:*:*)
992 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
993 exit ;;
1096 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1097 ;;
9941098 openrisc*:Linux:*:*)
995 echo or1k-unknown-linux-"$LIBC"
996 exit ;;
1099 GUESS=or1k-unknown-linux-$LIBC
1100 ;;
9971101 or32:Linux:*:* | or1k*:Linux:*:*)
998 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
999 exit ;;
1102 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1103 ;;
10001104 padre:Linux:*:*)
1001 echo sparc-unknown-linux-"$LIBC"
1002 exit ;;
1105 GUESS=sparc-unknown-linux-$LIBC
1106 ;;
10031107 parisc64:Linux:*:* | hppa64:Linux:*:*)
1004 echo hppa64-unknown-linux-"$LIBC"
1005 exit ;;
1108 GUESS=hppa64-unknown-linux-$LIBC
1109 ;;
10061110 parisc:Linux:*:* | hppa:Linux:*:*)
10071111 # Look for CPU level
10081112 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1009 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1010 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1011 *) echo hppa-unknown-linux-"$LIBC" ;;
1113 PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;;
1114 PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;;
1115 *) GUESS=hppa-unknown-linux-$LIBC ;;
10121116 esac
1013 exit ;;
1117 ;;
10141118 ppc64:Linux:*:*)
1015 echo powerpc64-unknown-linux-"$LIBC"
1016 exit ;;
1119 GUESS=powerpc64-unknown-linux-$LIBC
1120 ;;
10171121 ppc:Linux:*:*)
1018 echo powerpc-unknown-linux-"$LIBC"
1019 exit ;;
1122 GUESS=powerpc-unknown-linux-$LIBC
1123 ;;
10201124 ppc64le:Linux:*:*)
1021 echo powerpc64le-unknown-linux-"$LIBC"
1022 exit ;;
1125 GUESS=powerpc64le-unknown-linux-$LIBC
1126 ;;
10231127 ppcle:Linux:*:*)
1024 echo powerpcle-unknown-linux-"$LIBC"
1025 exit ;;
1026 riscv32:Linux:*:* | riscv64:Linux:*:*)
1027 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1028 exit ;;
1128 GUESS=powerpcle-unknown-linux-$LIBC
1129 ;;
1130 riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*)
1131 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1132 ;;
10291133 s390:Linux:*:* | s390x:Linux:*:*)
1030 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1031 exit ;;
1134 GUESS=$UNAME_MACHINE-ibm-linux-$LIBC
1135 ;;
10321136 sh64*:Linux:*:*)
1033 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1034 exit ;;
1137 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1138 ;;
10351139 sh*:Linux:*:*)
1036 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1037 exit ;;
1140 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1141 ;;
10381142 sparc:Linux:*:* | sparc64:Linux:*:*)
1039 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1040 exit ;;
1143 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1144 ;;
10411145 tile*:Linux:*:*)
1042 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1043 exit ;;
1146 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1147 ;;
10441148 vax:Linux:*:*)
1045 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1046 exit ;;
1149 GUESS=$UNAME_MACHINE-dec-linux-$LIBC
1150 ;;
10471151 x86_64:Linux:*:*)
1048 if objdump -f /bin/sh | grep -q elf32-x86-64; then
1049 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
1050 else
1051 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1052 fi
1053 exit ;;
1152 set_cc_for_build
1153 LIBCABI=$LIBC
1154 if test "$CC_FOR_BUILD" != no_compiler_found; then
1155 if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
1156 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1157 grep IS_X32 >/dev/null
1158 then
1159 LIBCABI=${LIBC}x32
1160 fi
1161 fi
1162 GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
1163 ;;
10541164 xtensa*:Linux:*:*)
1055 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1056 exit ;;
1165 GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
1166 ;;
10571167 i*86:DYNIX/ptx:4*:*)
10581168 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
10591169 # earlier versions are messed up and put the nodename in both
10601170 # sysname and nodename.
1061 echo i386-sequent-sysv4
1062 exit ;;
1171 GUESS=i386-sequent-sysv4
1172 ;;
10631173 i*86:UNIX_SV:4.2MP:2.*)
10641174 # Unixware is an offshoot of SVR4, but it has its own version
10651175 # number series starting with 2...
10661176 # I am not positive that other SVR4 systems won't match this,
10671177 # I just have to hope. -- rms.
10681178 # Use sysv4.2uw... so that sysv4* matches it.
1069 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
1070 exit ;;
1179 GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
1180 ;;
10711181 i*86:OS/2:*:*)
10721182 # If we were able to find `uname', then EMX Unix compatibility
10731183 # is probably installed.
1074 echo "$UNAME_MACHINE"-pc-os2-emx
1075 exit ;;
1184 GUESS=$UNAME_MACHINE-pc-os2-emx
1185 ;;
10761186 i*86:XTS-300:*:STOP)
1077 echo "$UNAME_MACHINE"-unknown-stop
1078 exit ;;
1187 GUESS=$UNAME_MACHINE-unknown-stop
1188 ;;
10791189 i*86:atheos:*:*)
1080 echo "$UNAME_MACHINE"-unknown-atheos
1081 exit ;;
1190 GUESS=$UNAME_MACHINE-unknown-atheos
1191 ;;
10821192 i*86:syllable:*:*)
1083 echo "$UNAME_MACHINE"-pc-syllable
1084 exit ;;
1193 GUESS=$UNAME_MACHINE-pc-syllable
1194 ;;
10851195 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1086 echo i386-unknown-lynxos"$UNAME_RELEASE"
1087 exit ;;
1196 GUESS=i386-unknown-lynxos$UNAME_RELEASE
1197 ;;
10881198 i*86:*DOS:*:*)
1089 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1090 exit ;;
1199 GUESS=$UNAME_MACHINE-pc-msdosdjgpp
1200 ;;
10911201 i*86:*:4.*:*)
10921202 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10931203 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1094 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
1204 GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL
10951205 else
1096 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1097 fi
1098 exit ;;
1206 GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL
1207 fi
1208 ;;
10991209 i*86:*:5:[678]*)
11001210 # UnixWare 7.x, OpenUNIX and OpenServer 6.
11011211 case `/bin/uname -X | grep "^Machine"` in
11031213 *Pentium) UNAME_MACHINE=i586 ;;
11041214 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
11051215 esac
1106 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
1107 exit ;;
1216 GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1217 ;;
11081218 i*86:*:3.2:*)
11091219 if test -f /usr/options/cb.name; then
11101220 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1111 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
1221 GUESS=$UNAME_MACHINE-pc-isc$UNAME_REL
11121222 elif /bin/uname -X 2>/dev/null >/dev/null ; then
11131223 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
11141224 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
11181228 && UNAME_MACHINE=i686
11191229 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
11201230 && UNAME_MACHINE=i686
1121 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1231 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL
11221232 else
1123 echo "$UNAME_MACHINE"-pc-sysv32
1124 fi
1125 exit ;;
1233 GUESS=$UNAME_MACHINE-pc-sysv32
1234 fi
1235 ;;
11261236 pc:*:*:*)
11271237 # Left here for compatibility:
11281238 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11301240 # Note: whatever this is, it MUST be the same as what config.sub
11311241 # prints for the "djgpp" host, or else GDB configure will decide that
11321242 # this is a cross-build.
1133 echo i586-pc-msdosdjgpp
1134 exit ;;
1243 GUESS=i586-pc-msdosdjgpp
1244 ;;
11351245 Intel:Mach:3*:*)
1136 echo i386-pc-mach3
1137 exit ;;
1246 GUESS=i386-pc-mach3
1247 ;;
11381248 paragon:*:*:*)
1139 echo i860-intel-osf1
1140 exit ;;
1249 GUESS=i860-intel-osf1
1250 ;;
11411251 i860:*:4.*:*) # i860-SVR4
11421252 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1143 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
1253 GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4
11441254 else # Add other i860-SVR4 vendors below as they are discovered.
1145 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
1146 fi
1147 exit ;;
1255 GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4
1256 fi
1257 ;;
11481258 mini*:CTIX:SYS*5:*)
11491259 # "miniframe"
1150 echo m68010-convergent-sysv
1151 exit ;;
1260 GUESS=m68010-convergent-sysv
1261 ;;
11521262 mc68k:UNIX:SYSTEM5:3.51m)
1153 echo m68k-convergent-sysv
1154 exit ;;
1263 GUESS=m68k-convergent-sysv
1264 ;;
11551265 M680?0:D-NIX:5.3:*)
1156 echo m68k-diab-dnix
1157 exit ;;
1266 GUESS=m68k-diab-dnix
1267 ;;
11581268 M68*:*:R3V[5678]*:*)
11591269 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
11601270 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
11791289 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
11801290 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11811291 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1182 echo m68k-unknown-lynxos"$UNAME_RELEASE"
1183 exit ;;
1292 GUESS=m68k-unknown-lynxos$UNAME_RELEASE
1293 ;;
11841294 mc68030:UNIX_System_V:4.*:*)
1185 echo m68k-atari-sysv4
1186 exit ;;
1295 GUESS=m68k-atari-sysv4
1296 ;;
11871297 TSUNAMI:LynxOS:2.*:*)
1188 echo sparc-unknown-lynxos"$UNAME_RELEASE"
1189 exit ;;
1298 GUESS=sparc-unknown-lynxos$UNAME_RELEASE
1299 ;;
11901300 rs6000:LynxOS:2.*:*)
1191 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1192 exit ;;
1301 GUESS=rs6000-unknown-lynxos$UNAME_RELEASE
1302 ;;
11931303 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1194 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
1195 exit ;;
1304 GUESS=powerpc-unknown-lynxos$UNAME_RELEASE
1305 ;;
11961306 SM[BE]S:UNIX_SV:*:*)
1197 echo mips-dde-sysv"$UNAME_RELEASE"
1198 exit ;;
1307 GUESS=mips-dde-sysv$UNAME_RELEASE
1308 ;;
11991309 RM*:ReliantUNIX-*:*:*)
1200 echo mips-sni-sysv4
1201 exit ;;
1310 GUESS=mips-sni-sysv4
1311 ;;
12021312 RM*:SINIX-*:*:*)
1203 echo mips-sni-sysv4
1204 exit ;;
1313 GUESS=mips-sni-sysv4
1314 ;;
12051315 *:SINIX-*:*:*)
12061316 if uname -p 2>/dev/null >/dev/null ; then
12071317 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1208 echo "$UNAME_MACHINE"-sni-sysv4
1318 GUESS=$UNAME_MACHINE-sni-sysv4
12091319 else
1210 echo ns32k-sni-sysv
1211 fi
1212 exit ;;
1320 GUESS=ns32k-sni-sysv
1321 fi
1322 ;;
12131323 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
12141324 # says <Richard.M.Bartel@ccMail.Census.GOV>
1215 echo i586-unisys-sysv4
1216 exit ;;
1325 GUESS=i586-unisys-sysv4
1326 ;;
12171327 *:UNIX_System_V:4*:FTX*)
12181328 # From Gerald Hewes <hewes@openmarket.com>.
12191329 # How about differentiating between stratus architectures? -djm
1220 echo hppa1.1-stratus-sysv4
1221 exit ;;
1330 GUESS=hppa1.1-stratus-sysv4
1331 ;;
12221332 *:*:*:FTX*)
12231333 # From seanf@swdc.stratus.com.
1224 echo i860-stratus-sysv4
1225 exit ;;
1334 GUESS=i860-stratus-sysv4
1335 ;;
12261336 i*86:VOS:*:*)
12271337 # From Paul.Green@stratus.com.
1228 echo "$UNAME_MACHINE"-stratus-vos
1229 exit ;;
1338 GUESS=$UNAME_MACHINE-stratus-vos
1339 ;;
12301340 *:VOS:*:*)
12311341 # From Paul.Green@stratus.com.
1232 echo hppa1.1-stratus-vos
1233 exit ;;
1342 GUESS=hppa1.1-stratus-vos
1343 ;;
12341344 mc68*:A/UX:*:*)
1235 echo m68k-apple-aux"$UNAME_RELEASE"
1236 exit ;;
1345 GUESS=m68k-apple-aux$UNAME_RELEASE
1346 ;;
12371347 news*:NEWS-OS:6*:*)
1238 echo mips-sony-newsos6
1239 exit ;;
1348 GUESS=mips-sony-newsos6
1349 ;;
12401350 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1241 if [ -d /usr/nec ]; then
1242 echo mips-nec-sysv"$UNAME_RELEASE"
1351 if test -d /usr/nec; then
1352 GUESS=mips-nec-sysv$UNAME_RELEASE
12431353 else
1244 echo mips-unknown-sysv"$UNAME_RELEASE"
1245 fi
1246 exit ;;
1354 GUESS=mips-unknown-sysv$UNAME_RELEASE
1355 fi
1356 ;;
12471357 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1248 echo powerpc-be-beos
1249 exit ;;
1358 GUESS=powerpc-be-beos
1359 ;;
12501360 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1251 echo powerpc-apple-beos
1252 exit ;;
1361 GUESS=powerpc-apple-beos
1362 ;;
12531363 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1254 echo i586-pc-beos
1255 exit ;;
1364 GUESS=i586-pc-beos
1365 ;;
12561366 BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
1257 echo i586-pc-haiku
1258 exit ;;
1367 GUESS=i586-pc-haiku
1368 ;;
12591369 x86_64:Haiku:*:*)
1260 echo x86_64-unknown-haiku
1261 exit ;;
1370 GUESS=x86_64-unknown-haiku
1371 ;;
12621372 SX-4:SUPER-UX:*:*)
1263 echo sx4-nec-superux"$UNAME_RELEASE"
1264 exit ;;
1373 GUESS=sx4-nec-superux$UNAME_RELEASE
1374 ;;
12651375 SX-5:SUPER-UX:*:*)
1266 echo sx5-nec-superux"$UNAME_RELEASE"
1267 exit ;;
1376 GUESS=sx5-nec-superux$UNAME_RELEASE
1377 ;;
12681378 SX-6:SUPER-UX:*:*)
1269 echo sx6-nec-superux"$UNAME_RELEASE"
1270 exit ;;
1379 GUESS=sx6-nec-superux$UNAME_RELEASE
1380 ;;
12711381 SX-7:SUPER-UX:*:*)
1272 echo sx7-nec-superux"$UNAME_RELEASE"
1273 exit ;;
1382 GUESS=sx7-nec-superux$UNAME_RELEASE
1383 ;;
12741384 SX-8:SUPER-UX:*:*)
1275 echo sx8-nec-superux"$UNAME_RELEASE"
1276 exit ;;
1385 GUESS=sx8-nec-superux$UNAME_RELEASE
1386 ;;
12771387 SX-8R:SUPER-UX:*:*)
1278 echo sx8r-nec-superux"$UNAME_RELEASE"
1279 exit ;;
1388 GUESS=sx8r-nec-superux$UNAME_RELEASE
1389 ;;
12801390 SX-ACE:SUPER-UX:*:*)
1281 echo sxace-nec-superux"$UNAME_RELEASE"
1282 exit ;;
1391 GUESS=sxace-nec-superux$UNAME_RELEASE
1392 ;;
12831393 Power*:Rhapsody:*:*)
1284 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1285 exit ;;
1394 GUESS=powerpc-apple-rhapsody$UNAME_RELEASE
1395 ;;
12861396 *:Rhapsody:*:*)
1287 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1288 exit ;;
1397 GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE
1398 ;;
1399 arm64:Darwin:*:*)
1400 GUESS=aarch64-apple-darwin$UNAME_RELEASE
1401 ;;
12891402 *:Darwin:*:*)
1290 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1291 eval "$set_cc_for_build"
1292 if test "$UNAME_PROCESSOR" = unknown ; then
1293 UNAME_PROCESSOR=powerpc
1294 fi
1295 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1296 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1297 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1298 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1299 grep IS_64BIT_ARCH >/dev/null
1300 then
1301 case $UNAME_PROCESSOR in
1302 i386) UNAME_PROCESSOR=x86_64 ;;
1303 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1304 esac
1305 fi
1306 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1307 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1308 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1309 grep IS_PPC >/dev/null
1310 then
1311 UNAME_PROCESSOR=powerpc
1312 fi
1403 UNAME_PROCESSOR=`uname -p`
1404 case $UNAME_PROCESSOR in
1405 unknown) UNAME_PROCESSOR=powerpc ;;
1406 esac
1407 if command -v xcode-select > /dev/null 2> /dev/null && \
1408 ! xcode-select --print-path > /dev/null 2> /dev/null ; then
1409 # Avoid executing cc if there is no toolchain installed as
1410 # cc will be a stub that puts up a graphical alert
1411 # prompting the user to install developer tools.
1412 CC_FOR_BUILD=no_compiler_found
1413 else
1414 set_cc_for_build
1415 fi
1416 if test "$CC_FOR_BUILD" != no_compiler_found; then
1417 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1418 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1419 grep IS_64BIT_ARCH >/dev/null
1420 then
1421 case $UNAME_PROCESSOR in
1422 i386) UNAME_PROCESSOR=x86_64 ;;
1423 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1424 esac
1425 fi
1426 # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1427 if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1428 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1429 grep IS_PPC >/dev/null
1430 then
1431 UNAME_PROCESSOR=powerpc
13131432 fi
13141433 elif test "$UNAME_PROCESSOR" = i386 ; then
1315 # Avoid executing cc on OS X 10.9, as it ships with a stub
1316 # that puts up a graphical alert prompting to install
1317 # developer tools. Any system running Mac OS X 10.7 or
1318 # later (Darwin 11 and later) is required to have a 64-bit
1319 # processor. This is not true of the ARM version of Darwin
1320 # that Apple uses in portable devices.
1321 UNAME_PROCESSOR=x86_64
1322 fi
1323 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1324 exit ;;
1434 # uname -m returns i386 or x86_64
1435 UNAME_PROCESSOR=$UNAME_MACHINE
1436 fi
1437 GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE
1438 ;;
13251439 *:procnto*:*:* | *:QNX:[0123456789]*:*)
13261440 UNAME_PROCESSOR=`uname -p`
13271441 if test "$UNAME_PROCESSOR" = x86; then
13281442 UNAME_PROCESSOR=i386
13291443 UNAME_MACHINE=pc
13301444 fi
1331 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1332 exit ;;
1445 GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE
1446 ;;
13331447 *:QNX:*:4*)
1334 echo i386-pc-qnx
1335 exit ;;
1448 GUESS=i386-pc-qnx
1449 ;;
13361450 NEO-*:NONSTOP_KERNEL:*:*)
1337 echo neo-tandem-nsk"$UNAME_RELEASE"
1338 exit ;;
1451 GUESS=neo-tandem-nsk$UNAME_RELEASE
1452 ;;
13391453 NSE-*:NONSTOP_KERNEL:*:*)
1340 echo nse-tandem-nsk"$UNAME_RELEASE"
1341 exit ;;
1454 GUESS=nse-tandem-nsk$UNAME_RELEASE
1455 ;;
13421456 NSR-*:NONSTOP_KERNEL:*:*)
1343 echo nsr-tandem-nsk"$UNAME_RELEASE"
1344 exit ;;
1457 GUESS=nsr-tandem-nsk$UNAME_RELEASE
1458 ;;
13451459 NSV-*:NONSTOP_KERNEL:*:*)
1346 echo nsv-tandem-nsk"$UNAME_RELEASE"
1347 exit ;;
1460 GUESS=nsv-tandem-nsk$UNAME_RELEASE
1461 ;;
13481462 NSX-*:NONSTOP_KERNEL:*:*)
1349 echo nsx-tandem-nsk"$UNAME_RELEASE"
1350 exit ;;
1463 GUESS=nsx-tandem-nsk$UNAME_RELEASE
1464 ;;
13511465 *:NonStop-UX:*:*)
1352 echo mips-compaq-nonstopux
1353 exit ;;
1466 GUESS=mips-compaq-nonstopux
1467 ;;
13541468 BS2000:POSIX*:*:*)
1355 echo bs2000-siemens-sysv
1356 exit ;;
1469 GUESS=bs2000-siemens-sysv
1470 ;;
13571471 DS/*:UNIX_System_V:*:*)
1358 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1359 exit ;;
1472 GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE
1473 ;;
13601474 *:Plan9:*:*)
13611475 # "uname -m" is not consistent, so use $cputype instead. 386
13621476 # is converted to i386 for consistency with other x86
13631477 # operating systems.
1364 if test "$cputype" = 386; then
1478 if test "${cputype-}" = 386; then
13651479 UNAME_MACHINE=i386
1366 else
1367 UNAME_MACHINE="$cputype"
1368 fi
1369 echo "$UNAME_MACHINE"-unknown-plan9
1370 exit ;;
1480 elif test "x${cputype-}" != x; then
1481 UNAME_MACHINE=$cputype
1482 fi
1483 GUESS=$UNAME_MACHINE-unknown-plan9
1484 ;;
13711485 *:TOPS-10:*:*)
1372 echo pdp10-unknown-tops10
1373 exit ;;
1486 GUESS=pdp10-unknown-tops10
1487 ;;
13741488 *:TENEX:*:*)
1375 echo pdp10-unknown-tenex
1376 exit ;;
1489 GUESS=pdp10-unknown-tenex
1490 ;;
13771491 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1378 echo pdp10-dec-tops20
1379 exit ;;
1492 GUESS=pdp10-dec-tops20
1493 ;;
13801494 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1381 echo pdp10-xkl-tops20
1382 exit ;;
1495 GUESS=pdp10-xkl-tops20
1496 ;;
13831497 *:TOPS-20:*:*)
1384 echo pdp10-unknown-tops20
1385 exit ;;
1498 GUESS=pdp10-unknown-tops20
1499 ;;
13861500 *:ITS:*:*)
1387 echo pdp10-unknown-its
1388 exit ;;
1501 GUESS=pdp10-unknown-its
1502 ;;
13891503 SEI:*:*:SEIUX)
1390 echo mips-sei-seiux"$UNAME_RELEASE"
1391 exit ;;
1504 GUESS=mips-sei-seiux$UNAME_RELEASE
1505 ;;
13921506 *:DragonFly:*:*)
1393 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
1394 exit ;;
1507 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1508 GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL
1509 ;;
13951510 *:*VMS:*:*)
13961511 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1397 case "$UNAME_MACHINE" in
1398 A*) echo alpha-dec-vms ; exit ;;
1399 I*) echo ia64-dec-vms ; exit ;;
1400 V*) echo vax-dec-vms ; exit ;;
1512 case $UNAME_MACHINE in
1513 A*) GUESS=alpha-dec-vms ;;
1514 I*) GUESS=ia64-dec-vms ;;
1515 V*) GUESS=vax-dec-vms ;;
14011516 esac ;;
14021517 *:XENIX:*:SysV)
1403 echo i386-pc-xenix
1404 exit ;;
1518 GUESS=i386-pc-xenix
1519 ;;
14051520 i*86:skyos:*:*)
1406 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
1407 exit ;;
1521 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`
1522 GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL
1523 ;;
14081524 i*86:rdos:*:*)
1409 echo "$UNAME_MACHINE"-pc-rdos
1410 exit ;;
1411 i*86:AROS:*:*)
1412 echo "$UNAME_MACHINE"-pc-aros
1413 exit ;;
1525 GUESS=$UNAME_MACHINE-pc-rdos
1526 ;;
1527 i*86:Fiwix:*:*)
1528 GUESS=$UNAME_MACHINE-pc-fiwix
1529 ;;
1530 *:AROS:*:*)
1531 GUESS=$UNAME_MACHINE-unknown-aros
1532 ;;
14141533 x86_64:VMkernel:*:*)
1415 echo "$UNAME_MACHINE"-unknown-esx
1416 exit ;;
1534 GUESS=$UNAME_MACHINE-unknown-esx
1535 ;;
14171536 amd64:Isilon\ OneFS:*:*)
1418 echo x86_64-unknown-onefs
1419 exit ;;
1537 GUESS=x86_64-unknown-onefs
1538 ;;
1539 *:Unleashed:*:*)
1540 GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
1541 ;;
14201542 esac
14211543
1544 # Do we have a guess based on uname results?
1545 if test "x$GUESS" != x; then
1546 echo "$GUESS"
1547 exit
1548 fi
1549
1550 # No uname command or uname output not recognized.
1551 set_cc_for_build
1552 cat > "$dummy.c" <<EOF
1553 #ifdef _SEQUENT_
1554 #include <sys/types.h>
1555 #include <sys/utsname.h>
1556 #endif
1557 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1558 #if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1559 #include <signal.h>
1560 #if defined(_SIZE_T_) || defined(SIGLOST)
1561 #include <sys/utsname.h>
1562 #endif
1563 #endif
1564 #endif
1565 main ()
1566 {
1567 #if defined (sony)
1568 #if defined (MIPSEB)
1569 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1570 I don't know.... */
1571 printf ("mips-sony-bsd\n"); exit (0);
1572 #else
1573 #include <sys/param.h>
1574 printf ("m68k-sony-newsos%s\n",
1575 #ifdef NEWSOS4
1576 "4"
1577 #else
1578 ""
1579 #endif
1580 ); exit (0);
1581 #endif
1582 #endif
1583
1584 #if defined (NeXT)
1585 #if !defined (__ARCHITECTURE__)
1586 #define __ARCHITECTURE__ "m68k"
1587 #endif
1588 int version;
1589 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1590 if (version < 4)
1591 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1592 else
1593 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1594 exit (0);
1595 #endif
1596
1597 #if defined (MULTIMAX) || defined (n16)
1598 #if defined (UMAXV)
1599 printf ("ns32k-encore-sysv\n"); exit (0);
1600 #else
1601 #if defined (CMU)
1602 printf ("ns32k-encore-mach\n"); exit (0);
1603 #else
1604 printf ("ns32k-encore-bsd\n"); exit (0);
1605 #endif
1606 #endif
1607 #endif
1608
1609 #if defined (__386BSD__)
1610 printf ("i386-pc-bsd\n"); exit (0);
1611 #endif
1612
1613 #if defined (sequent)
1614 #if defined (i386)
1615 printf ("i386-sequent-dynix\n"); exit (0);
1616 #endif
1617 #if defined (ns32000)
1618 printf ("ns32k-sequent-dynix\n"); exit (0);
1619 #endif
1620 #endif
1621
1622 #if defined (_SEQUENT_)
1623 struct utsname un;
1624
1625 uname(&un);
1626 if (strncmp(un.version, "V2", 2) == 0) {
1627 printf ("i386-sequent-ptx2\n"); exit (0);
1628 }
1629 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1630 printf ("i386-sequent-ptx1\n"); exit (0);
1631 }
1632 printf ("i386-sequent-ptx\n"); exit (0);
1633 #endif
1634
1635 #if defined (vax)
1636 #if !defined (ultrix)
1637 #include <sys/param.h>
1638 #if defined (BSD)
1639 #if BSD == 43
1640 printf ("vax-dec-bsd4.3\n"); exit (0);
1641 #else
1642 #if BSD == 199006
1643 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1644 #else
1645 printf ("vax-dec-bsd\n"); exit (0);
1646 #endif
1647 #endif
1648 #else
1649 printf ("vax-dec-bsd\n"); exit (0);
1650 #endif
1651 #else
1652 #if defined(_SIZE_T_) || defined(SIGLOST)
1653 struct utsname un;
1654 uname (&un);
1655 printf ("vax-dec-ultrix%s\n", un.release); exit (0);
1656 #else
1657 printf ("vax-dec-ultrix\n"); exit (0);
1658 #endif
1659 #endif
1660 #endif
1661 #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__)
1662 #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__)
1663 #if defined(_SIZE_T_) || defined(SIGLOST)
1664 struct utsname *un;
1665 uname (&un);
1666 printf ("mips-dec-ultrix%s\n", un.release); exit (0);
1667 #else
1668 printf ("mips-dec-ultrix\n"); exit (0);
1669 #endif
1670 #endif
1671 #endif
1672
1673 #if defined (alliant) && defined (i860)
1674 printf ("i860-alliant-bsd\n"); exit (0);
1675 #endif
1676
1677 exit (1);
1678 }
1679 EOF
1680
1681 $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` &&
1682 { echo "$SYSTEM_NAME"; exit; }
1683
1684 # Apollos put the system type in the environment.
1685 test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; }
1686
14221687 echo "$0: unable to guess system type" >&2
14231688
1424 case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1689 case $UNAME_MACHINE:$UNAME_SYSTEM in
14251690 mips:Linux | mips64:Linux)
14261691 # If we got here on MIPS GNU/Linux, output extra information.
14271692 cat >&2 <<EOF
14381703 operating system you are using. If your script is old, overwrite *all*
14391704 copies of config.guess and config.sub with the latest versions from:
14401705
1441 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1706 https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
14421707 and
1443 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1708 https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
1709 EOF
1710
1711 our_year=`echo $timestamp | sed 's,-.*,,'`
1712 thisyear=`date +%Y`
1713 # shellcheck disable=SC2003
1714 script_age=`expr "$thisyear" - "$our_year"`
1715 if test "$script_age" -lt 3 ; then
1716 cat >&2 <<EOF
14441717
14451718 If $0 has already been updated, send the following data and any
14461719 information you think might be pertinent to config-patches@gnu.org to
14681741 UNAME_SYSTEM = "$UNAME_SYSTEM"
14691742 UNAME_VERSION = "$UNAME_VERSION"
14701743 EOF
1744 fi
14711745
14721746 exit 1
14731747
14741748 # Local variables:
1475 # eval: (add-hook 'write-file-functions 'time-stamp)
1749 # eval: (add-hook 'before-save-hook 'time-stamp)
14761750 # time-stamp-start: "timestamp='"
14771751 # time-stamp-format: "%:y-%02m-%02d"
14781752 # time-stamp-end: "'"
11 # Output a system dependent set of variables, describing how to set the
22 # run time search path of shared libraries in an executable.
33 #
4 # Copyright 1996-2016 Free Software Foundation, Inc.
4 # Copyright 1996-2020 Free Software Foundation, Inc.
55 # Taken from GNU libtool, 2001
66 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
77 #
+1545
-1456
config.sub less more
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2018 Free Software Foundation, Inc.
3
4 timestamp='2018-02-22'
2 # Copyright 1992-2022 Free Software Foundation, Inc.
3
4 # shellcheck disable=SC2006,SC2268 # see below for rationale
5
6 timestamp='2022-01-03'
57
68 # This file is free software; you can redistribute it and/or modify it
79 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
10 # the Free Software Foundation, either version 3 of the License, or
911 # (at your option) any later version.
1012 #
1113 # This program is distributed in the hope that it will be useful, but
3234 # Otherwise, we print the canonical config type on stdout and succeed.
3335
3436 # You can get the latest version of this script from:
35 # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
37 # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
3638
3739 # This file is supposed to be the same for all GNU packages
3840 # and recognize all the CPU types, system types and aliases
4951 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
5052 # It is wrong to echo any other type of specification.
5153
54 # The "shellcheck disable" line above the timestamp inhibits complaints
55 # about features and limitations of the classic Bourne shell that were
56 # superseded or lifted in POSIX. However, this script identifies a wide
57 # variety of pre-POSIX systems that do not have POSIX shells at all, and
58 # even some reasonably current systems (Solaris 10 as case-in-point) still
59 # have a pre-POSIX /bin/sh.
60
5261 me=`echo "$0" | sed -e 's,.*/,,'`
5362
5463 usage="\
6675 version="\
6776 GNU config.sub ($timestamp)
6877
69 Copyright 1992-2018 Free Software Foundation, Inc.
78 Copyright 1992-2022 Free Software Foundation, Inc.
7079
7180 This is free software; see the source for copying conditions. There is NO
7281 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
8897 - ) # Use stdin as input.
8998 break ;;
9099 -* )
91 echo "$me: invalid option $1$help"
100 echo "$me: invalid option $1$help" >&2
92101 exit 1 ;;
93102
94103 *local*)
109118 exit 1;;
110119 esac
111120
112 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
113 # Here we must recognize all the valid KERNEL-OS combinations.
114 maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
115 case $maybe_os in
116 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
117 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
118 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
119 kopensolaris*-gnu* | cloudabi*-eabi* | \
120 storm-chaos* | os2-emx* | rtmk-nova*)
121 os=-$maybe_os
122 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123 ;;
124 android-linux)
125 os=-linux-android
126 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
127 ;;
128 *)
129 basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
130 if [ "$basic_machine" != "$1" ]
131 then os=`echo "$1" | sed 's/.*-/-/'`
132 else os=; fi
133 ;;
121 # Split fields of configuration type
122 # shellcheck disable=SC2162
123 saved_IFS=$IFS
124 IFS="-" read field1 field2 field3 field4 <<EOF
125 $1
126 EOF
127 IFS=$saved_IFS
128
129 # Separate into logical components for further validation
130 case $1 in
131 *-*-*-*-*)
132 echo Invalid configuration \`"$1"\': more than four components >&2
133 exit 1
134 ;;
135 *-*-*-*)
136 basic_machine=$field1-$field2
137 basic_os=$field3-$field4
138 ;;
139 *-*-*)
140 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
141 # parts
142 maybe_os=$field2-$field3
143 case $maybe_os in
144 nto-qnx* | linux-* | uclinux-uclibc* \
145 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
146 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
147 | storm-chaos* | os2-emx* | rtmk-nova*)
148 basic_machine=$field1
149 basic_os=$maybe_os
150 ;;
151 android-linux)
152 basic_machine=$field1-unknown
153 basic_os=linux-android
154 ;;
155 *)
156 basic_machine=$field1-$field2
157 basic_os=$field3
158 ;;
159 esac
160 ;;
161 *-*)
162 # A lone config we happen to match not fitting any pattern
163 case $field1-$field2 in
164 decstation-3100)
165 basic_machine=mips-dec
166 basic_os=
167 ;;
168 *-*)
169 # Second component is usually, but not always the OS
170 case $field2 in
171 # Prevent following clause from handling this valid os
172 sun*os*)
173 basic_machine=$field1
174 basic_os=$field2
175 ;;
176 zephyr*)
177 basic_machine=$field1-unknown
178 basic_os=$field2
179 ;;
180 # Manufacturers
181 dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
182 | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
183 | unicom* | ibm* | next | hp | isi* | apollo | altos* \
184 | convergent* | ncr* | news | 32* | 3600* | 3100* \
185 | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
186 | ultra | tti* | harris | dolphin | highlevel | gould \
187 | cbm | ns | masscomp | apple | axis | knuth | cray \
188 | microblaze* | sim | cisco \
189 | oki | wec | wrs | winbond)
190 basic_machine=$field1-$field2
191 basic_os=
192 ;;
193 *)
194 basic_machine=$field1
195 basic_os=$field2
196 ;;
197 esac
198 ;;
199 esac
200 ;;
201 *)
202 # Convert single-component short-hands not valid as part of
203 # multi-component configurations.
204 case $field1 in
205 386bsd)
206 basic_machine=i386-pc
207 basic_os=bsd
208 ;;
209 a29khif)
210 basic_machine=a29k-amd
211 basic_os=udi
212 ;;
213 adobe68k)
214 basic_machine=m68010-adobe
215 basic_os=scout
216 ;;
217 alliant)
218 basic_machine=fx80-alliant
219 basic_os=
220 ;;
221 altos | altos3068)
222 basic_machine=m68k-altos
223 basic_os=
224 ;;
225 am29k)
226 basic_machine=a29k-none
227 basic_os=bsd
228 ;;
229 amdahl)
230 basic_machine=580-amdahl
231 basic_os=sysv
232 ;;
233 amiga)
234 basic_machine=m68k-unknown
235 basic_os=
236 ;;
237 amigaos | amigados)
238 basic_machine=m68k-unknown
239 basic_os=amigaos
240 ;;
241 amigaunix | amix)
242 basic_machine=m68k-unknown
243 basic_os=sysv4
244 ;;
245 apollo68)
246 basic_machine=m68k-apollo
247 basic_os=sysv
248 ;;
249 apollo68bsd)
250 basic_machine=m68k-apollo
251 basic_os=bsd
252 ;;
253 aros)
254 basic_machine=i386-pc
255 basic_os=aros
256 ;;
257 aux)
258 basic_machine=m68k-apple
259 basic_os=aux
260 ;;
261 balance)
262 basic_machine=ns32k-sequent
263 basic_os=dynix
264 ;;
265 blackfin)
266 basic_machine=bfin-unknown
267 basic_os=linux
268 ;;
269 cegcc)
270 basic_machine=arm-unknown
271 basic_os=cegcc
272 ;;
273 convex-c1)
274 basic_machine=c1-convex
275 basic_os=bsd
276 ;;
277 convex-c2)
278 basic_machine=c2-convex
279 basic_os=bsd
280 ;;
281 convex-c32)
282 basic_machine=c32-convex
283 basic_os=bsd
284 ;;
285 convex-c34)
286 basic_machine=c34-convex
287 basic_os=bsd
288 ;;
289 convex-c38)
290 basic_machine=c38-convex
291 basic_os=bsd
292 ;;
293 cray)
294 basic_machine=j90-cray
295 basic_os=unicos
296 ;;
297 crds | unos)
298 basic_machine=m68k-crds
299 basic_os=
300 ;;
301 da30)
302 basic_machine=m68k-da30
303 basic_os=
304 ;;
305 decstation | pmax | pmin | dec3100 | decstatn)
306 basic_machine=mips-dec
307 basic_os=
308 ;;
309 delta88)
310 basic_machine=m88k-motorola
311 basic_os=sysv3
312 ;;
313 dicos)
314 basic_machine=i686-pc
315 basic_os=dicos
316 ;;
317 djgpp)
318 basic_machine=i586-pc
319 basic_os=msdosdjgpp
320 ;;
321 ebmon29k)
322 basic_machine=a29k-amd
323 basic_os=ebmon
324 ;;
325 es1800 | OSE68k | ose68k | ose | OSE)
326 basic_machine=m68k-ericsson
327 basic_os=ose
328 ;;
329 gmicro)
330 basic_machine=tron-gmicro
331 basic_os=sysv
332 ;;
333 go32)
334 basic_machine=i386-pc
335 basic_os=go32
336 ;;
337 h8300hms)
338 basic_machine=h8300-hitachi
339 basic_os=hms
340 ;;
341 h8300xray)
342 basic_machine=h8300-hitachi
343 basic_os=xray
344 ;;
345 h8500hms)
346 basic_machine=h8500-hitachi
347 basic_os=hms
348 ;;
349 harris)
350 basic_machine=m88k-harris
351 basic_os=sysv3
352 ;;
353 hp300 | hp300hpux)
354 basic_machine=m68k-hp
355 basic_os=hpux
356 ;;
357 hp300bsd)
358 basic_machine=m68k-hp
359 basic_os=bsd
360 ;;
361 hppaosf)
362 basic_machine=hppa1.1-hp
363 basic_os=osf
364 ;;
365 hppro)
366 basic_machine=hppa1.1-hp
367 basic_os=proelf
368 ;;
369 i386mach)
370 basic_machine=i386-mach
371 basic_os=mach
372 ;;
373 isi68 | isi)
374 basic_machine=m68k-isi
375 basic_os=sysv
376 ;;
377 m68knommu)
378 basic_machine=m68k-unknown
379 basic_os=linux
380 ;;
381 magnum | m3230)
382 basic_machine=mips-mips
383 basic_os=sysv
384 ;;
385 merlin)
386 basic_machine=ns32k-utek
387 basic_os=sysv
388 ;;
389 mingw64)
390 basic_machine=x86_64-pc
391 basic_os=mingw64
392 ;;
393 mingw32)
394 basic_machine=i686-pc
395 basic_os=mingw32
396 ;;
397 mingw32ce)
398 basic_machine=arm-unknown
399 basic_os=mingw32ce
400 ;;
401 monitor)
402 basic_machine=m68k-rom68k
403 basic_os=coff
404 ;;
405 morphos)
406 basic_machine=powerpc-unknown
407 basic_os=morphos
408 ;;
409 moxiebox)
410 basic_machine=moxie-unknown
411 basic_os=moxiebox
412 ;;
413 msdos)
414 basic_machine=i386-pc
415 basic_os=msdos
416 ;;
417 msys)
418 basic_machine=i686-pc
419 basic_os=msys
420 ;;
421 mvs)
422 basic_machine=i370-ibm
423 basic_os=mvs
424 ;;
425 nacl)
426 basic_machine=le32-unknown
427 basic_os=nacl
428 ;;
429 ncr3000)
430 basic_machine=i486-ncr
431 basic_os=sysv4
432 ;;
433 netbsd386)
434 basic_machine=i386-pc
435 basic_os=netbsd
436 ;;
437 netwinder)
438 basic_machine=armv4l-rebel
439 basic_os=linux
440 ;;
441 news | news700 | news800 | news900)
442 basic_machine=m68k-sony
443 basic_os=newsos
444 ;;
445 news1000)
446 basic_machine=m68030-sony
447 basic_os=newsos
448 ;;
449 necv70)
450 basic_machine=v70-nec
451 basic_os=sysv
452 ;;
453 nh3000)
454 basic_machine=m68k-harris
455 basic_os=cxux
456 ;;
457 nh[45]000)
458 basic_machine=m88k-harris
459 basic_os=cxux
460 ;;
461 nindy960)
462 basic_machine=i960-intel
463 basic_os=nindy
464 ;;
465 mon960)
466 basic_machine=i960-intel
467 basic_os=mon960
468 ;;
469 nonstopux)
470 basic_machine=mips-compaq
471 basic_os=nonstopux
472 ;;
473 os400)
474 basic_machine=powerpc-ibm
475 basic_os=os400
476 ;;
477 OSE68000 | ose68000)
478 basic_machine=m68000-ericsson
479 basic_os=ose
480 ;;
481 os68k)
482 basic_machine=m68k-none
483 basic_os=os68k
484 ;;
485 paragon)
486 basic_machine=i860-intel
487 basic_os=osf
488 ;;
489 parisc)
490 basic_machine=hppa-unknown
491 basic_os=linux
492 ;;
493 psp)
494 basic_machine=mipsallegrexel-sony
495 basic_os=psp
496 ;;
497 pw32)
498 basic_machine=i586-unknown
499 basic_os=pw32
500 ;;
501 rdos | rdos64)
502 basic_machine=x86_64-pc
503 basic_os=rdos
504 ;;
505 rdos32)
506 basic_machine=i386-pc
507 basic_os=rdos
508 ;;
509 rom68k)
510 basic_machine=m68k-rom68k
511 basic_os=coff
512 ;;
513 sa29200)
514 basic_machine=a29k-amd
515 basic_os=udi
516 ;;
517 sei)
518 basic_machine=mips-sei
519 basic_os=seiux
520 ;;
521 sequent)
522 basic_machine=i386-sequent
523 basic_os=
524 ;;
525 sps7)
526 basic_machine=m68k-bull
527 basic_os=sysv2
528 ;;
529 st2000)
530 basic_machine=m68k-tandem
531 basic_os=
532 ;;
533 stratus)
534 basic_machine=i860-stratus
535 basic_os=sysv4
536 ;;
537 sun2)
538 basic_machine=m68000-sun
539 basic_os=
540 ;;
541 sun2os3)
542 basic_machine=m68000-sun
543 basic_os=sunos3
544 ;;
545 sun2os4)
546 basic_machine=m68000-sun
547 basic_os=sunos4
548 ;;
549 sun3)
550 basic_machine=m68k-sun
551 basic_os=
552 ;;
553 sun3os3)
554 basic_machine=m68k-sun
555 basic_os=sunos3
556 ;;
557 sun3os4)
558 basic_machine=m68k-sun
559 basic_os=sunos4
560 ;;
561 sun4)
562 basic_machine=sparc-sun
563 basic_os=
564 ;;
565 sun4os3)
566 basic_machine=sparc-sun
567 basic_os=sunos3
568 ;;
569 sun4os4)
570 basic_machine=sparc-sun
571 basic_os=sunos4
572 ;;
573 sun4sol2)
574 basic_machine=sparc-sun
575 basic_os=solaris2
576 ;;
577 sun386 | sun386i | roadrunner)
578 basic_machine=i386-sun
579 basic_os=
580 ;;
581 sv1)
582 basic_machine=sv1-cray
583 basic_os=unicos
584 ;;
585 symmetry)
586 basic_machine=i386-sequent
587 basic_os=dynix
588 ;;
589 t3e)
590 basic_machine=alphaev5-cray
591 basic_os=unicos
592 ;;
593 t90)
594 basic_machine=t90-cray
595 basic_os=unicos
596 ;;
597 toad1)
598 basic_machine=pdp10-xkl
599 basic_os=tops20
600 ;;
601 tpf)
602 basic_machine=s390x-ibm
603 basic_os=tpf
604 ;;
605 udi29k)
606 basic_machine=a29k-amd
607 basic_os=udi
608 ;;
609 ultra3)
610 basic_machine=a29k-nyu
611 basic_os=sym1
612 ;;
613 v810 | necv810)
614 basic_machine=v810-nec
615 basic_os=none
616 ;;
617 vaxv)
618 basic_machine=vax-dec
619 basic_os=sysv
620 ;;
621 vms)
622 basic_machine=vax-dec
623 basic_os=vms
624 ;;
625 vsta)
626 basic_machine=i386-pc
627 basic_os=vsta
628 ;;
629 vxworks960)
630 basic_machine=i960-wrs
631 basic_os=vxworks
632 ;;
633 vxworks68)
634 basic_machine=m68k-wrs
635 basic_os=vxworks
636 ;;
637 vxworks29k)
638 basic_machine=a29k-wrs
639 basic_os=vxworks
640 ;;
641 xbox)
642 basic_machine=i686-pc
643 basic_os=mingw32
644 ;;
645 ymp)
646 basic_machine=ymp-cray
647 basic_os=unicos
648 ;;
649 *)
650 basic_machine=$1
651 basic_os=
652 ;;
653 esac
654 ;;
134655 esac
135656
136 ### Let's recognize common machines as not being operating systems so
137 ### that things like config.sub decstation-3100 work. We also
138 ### recognize some manufacturers as not being operating systems, so we
139 ### can provide default operating systems below.
140 case $os in
141 -sun*os*)
142 # Prevent following clause from handling this invalid input.
143 ;;
144 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
145 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
146 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
147 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
148 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
149 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
150 -apple | -axis | -knuth | -cray | -microblaze*)
151 os=
152 basic_machine=$1
153 ;;
154 -bluegene*)
155 os=-cnk
156 ;;
157 -sim | -cisco | -oki | -wec | -winbond)
158 os=
159 basic_machine=$1
160 ;;
161 -scout)
162 ;;
163 -wrs)
164 os=-vxworks
165 basic_machine=$1
166 ;;
167 -chorusos*)
168 os=-chorusos
169 basic_machine=$1
170 ;;
171 -chorusrdb)
172 os=-chorusrdb
173 basic_machine=$1
174 ;;
175 -hiux*)
176 os=-hiuxwe2
177 ;;
178 -sco6)
179 os=-sco5v6
180 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
181 ;;
182 -sco5)
183 os=-sco3.2v5
184 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
185 ;;
186 -sco4)
187 os=-sco3.2v4
188 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
189 ;;
190 -sco3.2.[4-9]*)
191 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
192 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
193 ;;
194 -sco3.2v[4-9]*)
195 # Don't forget version if it is 3.2v4 or newer.
196 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
197 ;;
198 -sco5v6*)
199 # Don't forget version if it is 3.2v4 or newer.
200 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
201 ;;
202 -sco*)
203 os=-sco3.2v2
204 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
205 ;;
206 -udk*)
207 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
208 ;;
209 -isc)
210 os=-isc2.2
211 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
212 ;;
213 -clix*)
214 basic_machine=clipper-intergraph
215 ;;
216 -isc*)
217 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
218 ;;
219 -lynx*178)
220 os=-lynxos178
221 ;;
222 -lynx*5)
223 os=-lynxos5
224 ;;
225 -lynx*)
226 os=-lynxos
227 ;;
228 -ptx*)
229 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
230 ;;
231 -psos*)
232 os=-psos
233 ;;
234 -mint | -mint[0-9]*)
235 basic_machine=m68k-atari
236 os=-mint
237 ;;
238 esac
239
240 # Decode aliases for certain CPU-COMPANY combinations.
657 # Decode 1-component or ad-hoc basic machines
241658 case $basic_machine in
242 # Recognize the basic CPU types without company name.
243 # Some are omitted here because they have special meanings below.
244 1750a | 580 \
245 | a29k \
246 | aarch64 | aarch64_be \
247 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
248 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
249 | am33_2.0 \
250 | arc | arceb \
251 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
252 | avr | avr32 \
253 | ba \
254 | be32 | be64 \
255 | bfin \
256 | c4x | c8051 | clipper \
257 | d10v | d30v | dlx | dsp16xx \
258 | e2k | epiphany \
259 | fido | fr30 | frv | ft32 \
260 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
261 | hexagon \
262 | i370 | i860 | i960 | ia16 | ia64 \
263 | ip2k | iq2000 \
264 | k1om \
265 | le32 | le64 \
266 | lm32 \
267 | m32c | m32r | m32rle | m68000 | m68k | m88k \
268 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
269 | mips | mipsbe | mipseb | mipsel | mipsle \
270 | mips16 \
271 | mips64 | mips64el \
272 | mips64octeon | mips64octeonel \
273 | mips64orion | mips64orionel \
274 | mips64r5900 | mips64r5900el \
275 | mips64vr | mips64vrel \
276 | mips64vr4100 | mips64vr4100el \
277 | mips64vr4300 | mips64vr4300el \
278 | mips64vr5000 | mips64vr5000el \
279 | mips64vr5900 | mips64vr5900el \
280 | mipsisa32 | mipsisa32el \
281 | mipsisa32r2 | mipsisa32r2el \
282 | mipsisa32r6 | mipsisa32r6el \
283 | mipsisa64 | mipsisa64el \
284 | mipsisa64r2 | mipsisa64r2el \
285 | mipsisa64r6 | mipsisa64r6el \
286 | mipsisa64sb1 | mipsisa64sb1el \
287 | mipsisa64sr71k | mipsisa64sr71kel \
288 | mipsr5900 | mipsr5900el \
289 | mipstx39 | mipstx39el \
290 | mn10200 | mn10300 \
291 | moxie \
292 | mt \
293 | msp430 \
294 | nds32 | nds32le | nds32be \
295 | nios | nios2 | nios2eb | nios2el \
296 | ns16k | ns32k \
297 | open8 | or1k | or1knd | or32 \
298 | pdp10 | pj | pjl \
299 | powerpc | powerpc64 | powerpc64le | powerpcle \
300 | pru \
301 | pyramid \
302 | riscv32 | riscv64 \
303 | rl78 | rx \
304 | score \
305 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
306 | sh64 | sh64le \
307 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
308 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
309 | spu \
310 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
311 | ubicom32 \
312 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
313 | visium \
314 | wasm32 \
315 | x86 | xc16x | xstormy16 | xtensa \
316 | z8k | z80)
317 basic_machine=$basic_machine-unknown
318 ;;
319 c54x)
320 basic_machine=tic54x-unknown
321 ;;
322 c55x)
323 basic_machine=tic55x-unknown
324 ;;
325 c6x)
326 basic_machine=tic6x-unknown
659 # Here we handle the default manufacturer of certain CPU types. It is in
660 # some cases the only manufacturer, in others, it is the most popular.
661 w89k)
662 cpu=hppa1.1
663 vendor=winbond
664 ;;
665 op50n)
666 cpu=hppa1.1
667 vendor=oki
668 ;;
669 op60c)
670 cpu=hppa1.1
671 vendor=oki
672 ;;
673 ibm*)
674 cpu=i370
675 vendor=ibm
676 ;;
677 orion105)
678 cpu=clipper
679 vendor=highlevel
680 ;;
681 mac | mpw | mac-mpw)
682 cpu=m68k
683 vendor=apple
684 ;;
685 pmac | pmac-mpw)
686 cpu=powerpc
687 vendor=apple
688 ;;
689
690 # Recognize the various machine names and aliases which stand
691 # for a CPU type and a company and sometimes even an OS.
692 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
693 cpu=m68000
694 vendor=att
695 ;;
696 3b*)
697 cpu=we32k
698 vendor=att
699 ;;
700 bluegene*)
701 cpu=powerpc
702 vendor=ibm
703 basic_os=cnk
704 ;;
705 decsystem10* | dec10*)
706 cpu=pdp10
707 vendor=dec
708 basic_os=tops10
709 ;;
710 decsystem20* | dec20*)
711 cpu=pdp10
712 vendor=dec
713 basic_os=tops20
714 ;;
715 delta | 3300 | motorola-3300 | motorola-delta \
716 | 3300-motorola | delta-motorola)
717 cpu=m68k
718 vendor=motorola
719 ;;
720 dpx2*)
721 cpu=m68k
722 vendor=bull
723 basic_os=sysv3
724 ;;
725 encore | umax | mmax)
726 cpu=ns32k
727 vendor=encore
728 ;;
729 elxsi)
730 cpu=elxsi
731 vendor=elxsi
732 basic_os=${basic_os:-bsd}
733 ;;
734 fx2800)
735 cpu=i860
736 vendor=alliant
737 ;;
738 genix)
739 cpu=ns32k
740 vendor=ns
741 ;;
742 h3050r* | hiux*)
743 cpu=hppa1.1
744 vendor=hitachi
745 basic_os=hiuxwe2
746 ;;
747 hp3k9[0-9][0-9] | hp9[0-9][0-9])
748 cpu=hppa1.0
749 vendor=hp
750 ;;
751 hp9k2[0-9][0-9] | hp9k31[0-9])
752 cpu=m68000
753 vendor=hp
754 ;;
755 hp9k3[2-9][0-9])
756 cpu=m68k
757 vendor=hp
758 ;;
759 hp9k6[0-9][0-9] | hp6[0-9][0-9])
760 cpu=hppa1.0
761 vendor=hp
762 ;;
763 hp9k7[0-79][0-9] | hp7[0-79][0-9])
764 cpu=hppa1.1
765 vendor=hp
766 ;;
767 hp9k78[0-9] | hp78[0-9])
768 # FIXME: really hppa2.0-hp
769 cpu=hppa1.1
770 vendor=hp
771 ;;
772 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
773 # FIXME: really hppa2.0-hp
774 cpu=hppa1.1
775 vendor=hp
776 ;;
777 hp9k8[0-9][13679] | hp8[0-9][13679])
778 cpu=hppa1.1
779 vendor=hp
780 ;;
781 hp9k8[0-9][0-9] | hp8[0-9][0-9])
782 cpu=hppa1.0
783 vendor=hp
784 ;;
785 i*86v32)
786 cpu=`echo "$1" | sed -e 's/86.*/86/'`
787 vendor=pc
788 basic_os=sysv32
789 ;;
790 i*86v4*)
791 cpu=`echo "$1" | sed -e 's/86.*/86/'`
792 vendor=pc
793 basic_os=sysv4
794 ;;
795 i*86v)
796 cpu=`echo "$1" | sed -e 's/86.*/86/'`
797 vendor=pc
798 basic_os=sysv
799 ;;
800 i*86sol2)
801 cpu=`echo "$1" | sed -e 's/86.*/86/'`
802 vendor=pc
803 basic_os=solaris2
804 ;;
805 j90 | j90-cray)
806 cpu=j90
807 vendor=cray
808 basic_os=${basic_os:-unicos}
809 ;;
810 iris | iris4d)
811 cpu=mips
812 vendor=sgi
813 case $basic_os in
814 irix*)
815 ;;
816 *)
817 basic_os=irix4
818 ;;
819 esac
820 ;;
821 miniframe)
822 cpu=m68000
823 vendor=convergent
824 ;;
825 *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
826 cpu=m68k
827 vendor=atari
828 basic_os=mint
829 ;;
830 news-3600 | risc-news)
831 cpu=mips
832 vendor=sony
833 basic_os=newsos
834 ;;
835 next | m*-next)
836 cpu=m68k
837 vendor=next
838 case $basic_os in
839 openstep*)
840 ;;
841 nextstep*)
842 ;;
843 ns2*)
844 basic_os=nextstep2
845 ;;
846 *)
847 basic_os=nextstep3
848 ;;
849 esac
850 ;;
851 np1)
852 cpu=np1
853 vendor=gould
854 ;;
855 op50n-* | op60c-*)
856 cpu=hppa1.1
857 vendor=oki
858 basic_os=proelf
859 ;;
860 pa-hitachi)
861 cpu=hppa1.1
862 vendor=hitachi
863 basic_os=hiuxwe2
864 ;;
865 pbd)
866 cpu=sparc
867 vendor=tti
868 ;;
869 pbb)
870 cpu=m68k
871 vendor=tti
872 ;;
873 pc532)
874 cpu=ns32k
875 vendor=pc532
876 ;;
877 pn)
878 cpu=pn
879 vendor=gould
880 ;;
881 power)
882 cpu=power
883 vendor=ibm
884 ;;
885 ps2)
886 cpu=i386
887 vendor=ibm
888 ;;
889 rm[46]00)
890 cpu=mips
891 vendor=siemens
892 ;;
893 rtpc | rtpc-*)
894 cpu=romp
895 vendor=ibm
896 ;;
897 sde)
898 cpu=mipsisa32
899 vendor=sde
900 basic_os=${basic_os:-elf}
901 ;;
902 simso-wrs)
903 cpu=sparclite
904 vendor=wrs
905 basic_os=vxworks
906 ;;
907 tower | tower-32)
908 cpu=m68k
909 vendor=ncr
910 ;;
911 vpp*|vx|vx-*)
912 cpu=f301
913 vendor=fujitsu
914 ;;
915 w65)
916 cpu=w65
917 vendor=wdc
918 ;;
919 w89k-*)
920 cpu=hppa1.1
921 vendor=winbond
922 basic_os=proelf
923 ;;
924 none)
925 cpu=none
926 vendor=none
327927 ;;
328928 leon|leon[3-9])
329 basic_machine=sparc-$basic_machine
330 ;;
331 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
332 basic_machine=$basic_machine-unknown
333 os=-none
334 ;;
335 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
336 ;;
337 ms1)
338 basic_machine=mt-unknown
339 ;;
340
341 strongarm | thumb | xscale)
342 basic_machine=arm-unknown
343 ;;
344 xgate)
345 basic_machine=$basic_machine-unknown
346 os=-none
347 ;;
348 xscaleeb)
349 basic_machine=armeb-unknown
350 ;;
351
352 xscaleel)
353 basic_machine=armel-unknown
354 ;;
355
929 cpu=sparc
930 vendor=$basic_machine
931 ;;
932 leon-*|leon[3-9]-*)
933 cpu=sparc
934 vendor=`echo "$basic_machine" | sed 's/-.*//'`
935 ;;
936
937 *-*)
938 # shellcheck disable=SC2162
939 saved_IFS=$IFS
940 IFS="-" read cpu vendor <<EOF
941 $basic_machine
942 EOF
943 IFS=$saved_IFS
944 ;;
356945 # We use `pc' rather than `unknown'
357946 # because (1) that's what they normally are, and
358947 # (2) the word "unknown" tends to confuse beginning users.
359948 i*86 | x86_64)
360 basic_machine=$basic_machine-pc
361 ;;
362 # Object if more than one company name word.
363 *-*-*)
364 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
365 exit 1
366 ;;
367 # Recognize the basic CPU types with company name.
368 580-* \
369 | a29k-* \
370 | aarch64-* | aarch64_be-* \
371 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
372 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
373 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
374 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
375 | avr-* | avr32-* \
376 | ba-* \
377 | be32-* | be64-* \
378 | bfin-* | bs2000-* \
379 | c[123]* | c30-* | [cjt]90-* | c4x-* \
380 | c8051-* | clipper-* | craynv-* | cydra-* \
381 | d10v-* | d30v-* | dlx-* \
382 | e2k-* | elxsi-* \
383 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
384 | h8300-* | h8500-* \
385 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
386 | hexagon-* \
387 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
388 | ip2k-* | iq2000-* \
389 | k1om-* \
390 | le32-* | le64-* \
391 | lm32-* \
392 | m32c-* | m32r-* | m32rle-* \
393 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
394 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
395 | microblaze-* | microblazeel-* \
396 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
397 | mips16-* \
398 | mips64-* | mips64el-* \
399 | mips64octeon-* | mips64octeonel-* \
400 | mips64orion-* | mips64orionel-* \
401 | mips64r5900-* | mips64r5900el-* \
402 | mips64vr-* | mips64vrel-* \
403 | mips64vr4100-* | mips64vr4100el-* \
404 | mips64vr4300-* | mips64vr4300el-* \
405 | mips64vr5000-* | mips64vr5000el-* \
406 | mips64vr5900-* | mips64vr5900el-* \
407 | mipsisa32-* | mipsisa32el-* \
408 | mipsisa32r2-* | mipsisa32r2el-* \
409 | mipsisa32r6-* | mipsisa32r6el-* \
410 | mipsisa64-* | mipsisa64el-* \
411 | mipsisa64r2-* | mipsisa64r2el-* \
412 | mipsisa64r6-* | mipsisa64r6el-* \
413 | mipsisa64sb1-* | mipsisa64sb1el-* \
414 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
415 | mipsr5900-* | mipsr5900el-* \
416 | mipstx39-* | mipstx39el-* \
417 | mmix-* \
418 | mt-* \
419 | msp430-* \
420 | nds32-* | nds32le-* | nds32be-* \
421 | nios-* | nios2-* | nios2eb-* | nios2el-* \
422 | none-* | np1-* | ns16k-* | ns32k-* \
423 | open8-* \
424 | or1k*-* \
425 | orion-* \
426 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
427 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
428 | pru-* \
429 | pyramid-* \
430 | riscv32-* | riscv64-* \
431 | rl78-* | romp-* | rs6000-* | rx-* \
432 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
433 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
434 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
435 | sparclite-* \
436 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
437 | tahoe-* \
438 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
439 | tile*-* \
440 | tron-* \
441 | ubicom32-* \
442 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
443 | vax-* \
444 | visium-* \
445 | wasm32-* \
446 | we32k-* \
447 | x86-* | x86_64-* | xc16x-* | xps100-* \
448 | xstormy16-* | xtensa*-* \
449 | ymp-* \
450 | z8k-* | z80-*)
451 ;;
452 # Recognize the basic CPU types without company name, with glob match.
453 xtensa*)
454 basic_machine=$basic_machine-unknown
455 ;;
456 # Recognize the various machine names and aliases which stand
457 # for a CPU type and a company and sometimes even an OS.
458 386bsd)
459 basic_machine=i386-pc
460 os=-bsd
461 ;;
462 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
463 basic_machine=m68000-att
464 ;;
465 3b*)
466 basic_machine=we32k-att
467 ;;
468 a29khif)
469 basic_machine=a29k-amd
470 os=-udi
471 ;;
472 abacus)
473 basic_machine=abacus-unknown
474 ;;
475 adobe68k)
476 basic_machine=m68010-adobe
477 os=-scout
478 ;;
479 alliant | fx80)
480 basic_machine=fx80-alliant
481 ;;
482 altos | altos3068)
483 basic_machine=m68k-altos
484 ;;
485 am29k)
486 basic_machine=a29k-none
487 os=-bsd
488 ;;
489 amd64)
490 basic_machine=x86_64-pc
491 ;;
949 cpu=$basic_machine
950 vendor=pc
951 ;;
952 # These rules are duplicated from below for sake of the special case above;
953 # i.e. things that normalized to x86 arches should also default to "pc"
954 pc98)
955 cpu=i386
956 vendor=pc
957 ;;
958 x64 | amd64)
959 cpu=x86_64
960 vendor=pc
961 ;;
962 # Recognize the basic CPU types without company name.
963 *)
964 cpu=$basic_machine
965 vendor=unknown
966 ;;
967 esac
968
969 unset -v basic_machine
970
971 # Decode basic machines in the full and proper CPU-Company form.
972 case $cpu-$vendor in
973 # Here we handle the default manufacturer of certain CPU types in canonical form. It is in
974 # some cases the only manufacturer, in others, it is the most popular.
975 craynv-unknown)
976 vendor=cray
977 basic_os=${basic_os:-unicosmp}
978 ;;
979 c90-unknown | c90-cray)
980 vendor=cray
981 basic_os=${Basic_os:-unicos}
982 ;;
983 fx80-unknown)
984 vendor=alliant
985 ;;
986 romp-unknown)
987 vendor=ibm
988 ;;
989 mmix-unknown)
990 vendor=knuth
991 ;;
992 microblaze-unknown | microblazeel-unknown)
993 vendor=xilinx
994 ;;
995 rs6000-unknown)
996 vendor=ibm
997 ;;
998 vax-unknown)
999 vendor=dec
1000 ;;
1001 pdp11-unknown)
1002 vendor=dec
1003 ;;
1004 we32k-unknown)
1005 vendor=att
1006 ;;
1007 cydra-unknown)
1008 vendor=cydrome
1009 ;;
1010 i370-ibm*)
1011 vendor=ibm
1012 ;;
1013 orion-unknown)
1014 vendor=highlevel
1015 ;;
1016 xps-unknown | xps100-unknown)
1017 cpu=xps100
1018 vendor=honeywell
1019 ;;
1020
1021 # Here we normalize CPU types with a missing or matching vendor
1022 armh-unknown | armh-alt)
1023 cpu=armv7l
1024 vendor=alt
1025 basic_os=${basic_os:-linux-gnueabihf}
1026 ;;
1027 dpx20-unknown | dpx20-bull)
1028 cpu=rs6000
1029 vendor=bull
1030 basic_os=${basic_os:-bosx}
1031 ;;
1032
1033 # Here we normalize CPU types irrespective of the vendor
4921034 amd64-*)
493 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
494 ;;
495 amdahl)
496 basic_machine=580-amdahl
497 os=-sysv
498 ;;
499 amiga | amiga-*)
500 basic_machine=m68k-unknown
501 ;;
502 amigaos | amigados)
503 basic_machine=m68k-unknown
504 os=-amigaos
505 ;;
506 amigaunix | amix)
507 basic_machine=m68k-unknown
508 os=-sysv4
509 ;;
510 apollo68)
511 basic_machine=m68k-apollo
512 os=-sysv
513 ;;
514 apollo68bsd)
515 basic_machine=m68k-apollo
516 os=-bsd
517 ;;
518 aros)
519 basic_machine=i386-pc
520 os=-aros
521 ;;
522 asmjs)
523 basic_machine=asmjs-unknown
524 ;;
525 aux)
526 basic_machine=m68k-apple
527 os=-aux
528 ;;
529 balance)
530 basic_machine=ns32k-sequent
531 os=-dynix
532 ;;
533 blackfin)
534 basic_machine=bfin-unknown
535 os=-linux
1035 cpu=x86_64
5361036 ;;
5371037 blackfin-*)
538 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
539 os=-linux
540 ;;
541 bluegene*)
542 basic_machine=powerpc-ibm
543 os=-cnk
1038 cpu=bfin
1039 basic_os=linux
5441040 ;;
5451041 c54x-*)
546 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1042 cpu=tic54x
5471043 ;;
5481044 c55x-*)
549 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1045 cpu=tic55x
5501046 ;;
5511047 c6x-*)
552 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
553 ;;
554 c90)
555 basic_machine=c90-cray
556 os=-unicos
557 ;;
558 cegcc)
559 basic_machine=arm-unknown
560 os=-cegcc
561 ;;
562 convex-c1)
563 basic_machine=c1-convex
564 os=-bsd
565 ;;
566 convex-c2)
567 basic_machine=c2-convex
568 os=-bsd
569 ;;
570 convex-c32)
571 basic_machine=c32-convex
572 os=-bsd
573 ;;
574 convex-c34)
575 basic_machine=c34-convex
576 os=-bsd
577 ;;
578 convex-c38)
579 basic_machine=c38-convex
580 os=-bsd
581 ;;
582 cray | j90)
583 basic_machine=j90-cray
584 os=-unicos
585 ;;
586 craynv)
587 basic_machine=craynv-cray
588 os=-unicosmp
589 ;;
590 cr16 | cr16-*)
591 basic_machine=cr16-unknown
592 os=-elf
593 ;;
594 crds | unos)
595 basic_machine=m68k-crds
596 ;;
597 crisv32 | crisv32-* | etraxfs*)
598 basic_machine=crisv32-axis
599 ;;
600 cris | cris-* | etrax*)
601 basic_machine=cris-axis
602 ;;
603 crx)
604 basic_machine=crx-unknown
605 os=-elf
606 ;;
607 da30 | da30-*)
608 basic_machine=m68k-da30
609 ;;
610 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
611 basic_machine=mips-dec
612 ;;
613 decsystem10* | dec10*)
614 basic_machine=pdp10-dec
615 os=-tops10
616 ;;
617 decsystem20* | dec20*)
618 basic_machine=pdp10-dec
619 os=-tops20
620 ;;
621 delta | 3300 | motorola-3300 | motorola-delta \
622 | 3300-motorola | delta-motorola)
623 basic_machine=m68k-motorola
624 ;;
625 delta88)
626 basic_machine=m88k-motorola
627 os=-sysv3
628 ;;
629 dicos)
630 basic_machine=i686-pc
631 os=-dicos
632 ;;
633 djgpp)
634 basic_machine=i586-pc
635 os=-msdosdjgpp
636 ;;
637 dpx20 | dpx20-*)
638 basic_machine=rs6000-bull
639 os=-bosx
640 ;;
641 dpx2*)
642 basic_machine=m68k-bull
643 os=-sysv3
644 ;;
645 e500v[12])
646 basic_machine=powerpc-unknown
647 os=$os"spe"
1048 cpu=tic6x
6481049 ;;
6491050 e500v[12]-*)
650 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
651 os=$os"spe"
652 ;;
653 ebmon29k)
654 basic_machine=a29k-amd
655 os=-ebmon
656 ;;
657 elxsi)
658 basic_machine=elxsi-elxsi
659 os=-bsd
660 ;;
661 encore | umax | mmax)
662 basic_machine=ns32k-encore
663 ;;
664 es1800 | OSE68k | ose68k | ose | OSE)
665 basic_machine=m68k-ericsson
666 os=-ose
667 ;;
668 fx2800)
669 basic_machine=i860-alliant
670 ;;
671 genix)
672 basic_machine=ns32k-ns
673 ;;
674 gmicro)
675 basic_machine=tron-gmicro
676 os=-sysv
677 ;;
678 go32)
679 basic_machine=i386-pc
680 os=-go32
681 ;;
682 h3050r* | hiux*)
683 basic_machine=hppa1.1-hitachi
684 os=-hiuxwe2
685 ;;
686 h8300hms)
687 basic_machine=h8300-hitachi
688 os=-hms
689 ;;
690 h8300xray)
691 basic_machine=h8300-hitachi
692 os=-xray
693 ;;
694 h8500hms)
695 basic_machine=h8500-hitachi
696 os=-hms
697 ;;
698 harris)
699 basic_machine=m88k-harris
700 os=-sysv3
701 ;;
702 hp300-*)
703 basic_machine=m68k-hp
704 ;;
705 hp300bsd)
706 basic_machine=m68k-hp
707 os=-bsd
708 ;;
709 hp300hpux)
710 basic_machine=m68k-hp
711 os=-hpux
712 ;;
713 hp3k9[0-9][0-9] | hp9[0-9][0-9])
714 basic_machine=hppa1.0-hp
715 ;;
716 hp9k2[0-9][0-9] | hp9k31[0-9])
717 basic_machine=m68000-hp
718 ;;
719 hp9k3[2-9][0-9])
720 basic_machine=m68k-hp
721 ;;
722 hp9k6[0-9][0-9] | hp6[0-9][0-9])
723 basic_machine=hppa1.0-hp
724 ;;
725 hp9k7[0-79][0-9] | hp7[0-79][0-9])
726 basic_machine=hppa1.1-hp
727 ;;
728 hp9k78[0-9] | hp78[0-9])
729 # FIXME: really hppa2.0-hp
730 basic_machine=hppa1.1-hp
731 ;;
732 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
733 # FIXME: really hppa2.0-hp
734 basic_machine=hppa1.1-hp
735 ;;
736 hp9k8[0-9][13679] | hp8[0-9][13679])
737 basic_machine=hppa1.1-hp
738 ;;
739 hp9k8[0-9][0-9] | hp8[0-9][0-9])
740 basic_machine=hppa1.0-hp
741 ;;
742 hppaosf)
743 basic_machine=hppa1.1-hp
744 os=-osf
745 ;;
746 hppro)
747 basic_machine=hppa1.1-hp
748 os=-proelf
749 ;;
750 i370-ibm* | ibm*)
751 basic_machine=i370-ibm
752 ;;
753 i*86v32)
754 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
755 os=-sysv32
756 ;;
757 i*86v4*)
758 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
759 os=-sysv4
760 ;;
761 i*86v)
762 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
763 os=-sysv
764 ;;
765 i*86sol2)
766 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
767 os=-solaris2
768 ;;
769 i386mach)
770 basic_machine=i386-mach
771 os=-mach
772 ;;
773 vsta)
774 basic_machine=i386-unknown
775 os=-vsta
776 ;;
777 iris | iris4d)
778 basic_machine=mips-sgi
779 case $os in
780 -irix*)
781 ;;
782 *)
783 os=-irix4
784 ;;
1051 cpu=powerpc
1052 basic_os=${basic_os}"spe"
1053 ;;
1054 mips3*-*)
1055 cpu=mips64
1056 ;;
1057 ms1-*)
1058 cpu=mt
1059 ;;
1060 m68knommu-*)
1061 cpu=m68k
1062 basic_os=linux
1063 ;;
1064 m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1065 cpu=s12z
1066 ;;
1067 openrisc-*)
1068 cpu=or32
1069 ;;
1070 parisc-*)
1071 cpu=hppa
1072 basic_os=linux
1073 ;;
1074 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1075 cpu=i586
1076 ;;
1077 pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1078 cpu=i686
1079 ;;
1080 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1081 cpu=i686
1082 ;;
1083 pentium4-*)
1084 cpu=i786
1085 ;;
1086 pc98-*)
1087 cpu=i386
1088 ;;
1089 ppc-* | ppcbe-*)
1090 cpu=powerpc
1091 ;;
1092 ppcle-* | powerpclittle-*)
1093 cpu=powerpcle
1094 ;;
1095 ppc64-*)
1096 cpu=powerpc64
1097 ;;
1098 ppc64le-* | powerpc64little-*)
1099 cpu=powerpc64le
1100 ;;
1101 sb1-*)
1102 cpu=mipsisa64sb1
1103 ;;
1104 sb1el-*)
1105 cpu=mipsisa64sb1el
1106 ;;
1107 sh5e[lb]-*)
1108 cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
1109 ;;
1110 spur-*)
1111 cpu=spur
1112 ;;
1113 strongarm-* | thumb-*)
1114 cpu=arm
1115 ;;
1116 tx39-*)
1117 cpu=mipstx39
1118 ;;
1119 tx39el-*)
1120 cpu=mipstx39el
1121 ;;
1122 x64-*)
1123 cpu=x86_64
1124 ;;
1125 xscale-* | xscalee[bl]-*)
1126 cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1127 ;;
1128 arm64-* | aarch64le-*)
1129 cpu=aarch64
1130 ;;
1131
1132 # Recognize the canonical CPU Types that limit and/or modify the
1133 # company names they are paired with.
1134 cr16-*)
1135 basic_os=${basic_os:-elf}
1136 ;;
1137 crisv32-* | etraxfs*-*)
1138 cpu=crisv32
1139 vendor=axis
1140 ;;
1141 cris-* | etrax*-*)
1142 cpu=cris
1143 vendor=axis
1144 ;;
1145 crx-*)
1146 basic_os=${basic_os:-elf}
1147 ;;
1148 neo-tandem)
1149 cpu=neo
1150 vendor=tandem
1151 ;;
1152 nse-tandem)
1153 cpu=nse
1154 vendor=tandem
1155 ;;
1156 nsr-tandem)
1157 cpu=nsr
1158 vendor=tandem
1159 ;;
1160 nsv-tandem)
1161 cpu=nsv
1162 vendor=tandem
1163 ;;
1164 nsx-tandem)
1165 cpu=nsx
1166 vendor=tandem
1167 ;;
1168 mipsallegrexel-sony)
1169 cpu=mipsallegrexel
1170 vendor=sony
1171 ;;
1172 tile*-*)
1173 basic_os=${basic_os:-linux-gnu}
1174 ;;
1175
1176 *)
1177 # Recognize the canonical CPU types that are allowed with any
1178 # company name.
1179 case $cpu in
1180 1750a | 580 \
1181 | a29k \
1182 | aarch64 | aarch64_be \
1183 | abacus \
1184 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1185 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1186 | alphapca5[67] | alpha64pca5[67] \
1187 | am33_2.0 \
1188 | amdgcn \
1189 | arc | arceb | arc32 | arc64 \
1190 | arm | arm[lb]e | arme[lb] | armv* \
1191 | avr | avr32 \
1192 | asmjs \
1193 | ba \
1194 | be32 | be64 \
1195 | bfin | bpf | bs2000 \
1196 | c[123]* | c30 | [cjt]90 | c4x \
1197 | c8051 | clipper | craynv | csky | cydra \
1198 | d10v | d30v | dlx | dsp16xx \
1199 | e2k | elxsi | epiphany \
1200 | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
1201 | h8300 | h8500 \
1202 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1203 | hexagon \
1204 | i370 | i*86 | i860 | i960 | ia16 | ia64 \
1205 | ip2k | iq2000 \
1206 | k1om \
1207 | le32 | le64 \
1208 | lm32 \
1209 | loongarch32 | loongarch64 | loongarchx32 \
1210 | m32c | m32r | m32rle \
1211 | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \
1212 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \
1213 | m88110 | m88k | maxq | mb | mcore | mep | metag \
1214 | microblaze | microblazeel \
1215 | mips | mipsbe | mipseb | mipsel | mipsle \
1216 | mips16 \
1217 | mips64 | mips64eb | mips64el \
1218 | mips64octeon | mips64octeonel \
1219 | mips64orion | mips64orionel \
1220 | mips64r5900 | mips64r5900el \
1221 | mips64vr | mips64vrel \
1222 | mips64vr4100 | mips64vr4100el \
1223 | mips64vr4300 | mips64vr4300el \
1224 | mips64vr5000 | mips64vr5000el \
1225 | mips64vr5900 | mips64vr5900el \
1226 | mipsisa32 | mipsisa32el \
1227 | mipsisa32r2 | mipsisa32r2el \
1228 | mipsisa32r3 | mipsisa32r3el \
1229 | mipsisa32r5 | mipsisa32r5el \
1230 | mipsisa32r6 | mipsisa32r6el \
1231 | mipsisa64 | mipsisa64el \
1232 | mipsisa64r2 | mipsisa64r2el \
1233 | mipsisa64r3 | mipsisa64r3el \
1234 | mipsisa64r5 | mipsisa64r5el \
1235 | mipsisa64r6 | mipsisa64r6el \
1236 | mipsisa64sb1 | mipsisa64sb1el \
1237 | mipsisa64sr71k | mipsisa64sr71kel \
1238 | mipsr5900 | mipsr5900el \
1239 | mipstx39 | mipstx39el \
1240 | mmix \
1241 | mn10200 | mn10300 \
1242 | moxie \
1243 | mt \
1244 | msp430 \
1245 | nds32 | nds32le | nds32be \
1246 | nfp \
1247 | nios | nios2 | nios2eb | nios2el \
1248 | none | np1 | ns16k | ns32k | nvptx \
1249 | open8 \
1250 | or1k* \
1251 | or32 \
1252 | orion \
1253 | picochip \
1254 | pdp10 | pdp11 | pj | pjl | pn | power \
1255 | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
1256 | pru \
1257 | pyramid \
1258 | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
1259 | rl78 | romp | rs6000 | rx \
1260 | s390 | s390x \
1261 | score \
1262 | sh | shl \
1263 | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
1264 | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
1265 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
1266 | sparclite \
1267 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
1268 | spu \
1269 | tahoe \
1270 | thumbv7* \
1271 | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
1272 | tron \
1273 | ubicom32 \
1274 | v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
1275 | vax \
1276 | visium \
1277 | w65 \
1278 | wasm32 | wasm64 \
1279 | we32k \
1280 | x86 | x86_64 | xc16x | xgate | xps100 \
1281 | xstormy16 | xtensa* \
1282 | ymp \
1283 | z8k | z80)
1284 ;;
1285
1286 *)
1287 echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1288 exit 1
1289 ;;
7851290 esac
7861291 ;;
787 isi68 | isi)
788 basic_machine=m68k-isi
789 os=-sysv
790 ;;
791 leon-*|leon[3-9]-*)
792 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
793 ;;
794 m68knommu)
795 basic_machine=m68k-unknown
796 os=-linux
797 ;;
798 m68knommu-*)
799 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
800 os=-linux
801 ;;
802 magnum | m3230)
803 basic_machine=mips-mips
804 os=-sysv
805 ;;
806 merlin)
807 basic_machine=ns32k-utek
808 os=-sysv
809 ;;
810 microblaze*)
811 basic_machine=microblaze-xilinx
812 ;;
813 mingw64)
814 basic_machine=x86_64-pc
815 os=-mingw64
816 ;;
817 mingw32)
818 basic_machine=i686-pc
819 os=-mingw32
820 ;;
821 mingw32ce)
822 basic_machine=arm-unknown
823 os=-mingw32ce
824 ;;
825 miniframe)
826 basic_machine=m68000-convergent
827 ;;
828 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
829 basic_machine=m68k-atari
830 os=-mint
831 ;;
832 mips3*-*)
833 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
834 ;;
835 mips3*)
836 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
837 ;;
838 monitor)
839 basic_machine=m68k-rom68k
840 os=-coff
841 ;;
842 morphos)
843 basic_machine=powerpc-unknown
844 os=-morphos
845 ;;
846 moxiebox)
847 basic_machine=moxie-unknown
848 os=-moxiebox
849 ;;
850 msdos)
851 basic_machine=i386-pc
852 os=-msdos
853 ;;
854 ms1-*)
855 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
856 ;;
857 msys)
858 basic_machine=i686-pc
859 os=-msys
860 ;;
861 mvs)
862 basic_machine=i370-ibm
863 os=-mvs
864 ;;
865 nacl)
866 basic_machine=le32-unknown
867 os=-nacl
868 ;;
869 ncr3000)
870 basic_machine=i486-ncr
871 os=-sysv4
872 ;;
873 netbsd386)
874 basic_machine=i386-unknown
875 os=-netbsd
876 ;;
877 netwinder)
878 basic_machine=armv4l-rebel
879 os=-linux
880 ;;
881 news | news700 | news800 | news900)
882 basic_machine=m68k-sony
883 os=-newsos
884 ;;
885 news1000)
886 basic_machine=m68030-sony
887 os=-newsos
888 ;;
889 news-3600 | risc-news)
890 basic_machine=mips-sony
891 os=-newsos
892 ;;
893 necv70)
894 basic_machine=v70-nec
895 os=-sysv
896 ;;
897 next | m*-next)
898 basic_machine=m68k-next
899 case $os in
900 -nextstep* )
901 ;;
902 -ns2*)
903 os=-nextstep2
904 ;;
905 *)
906 os=-nextstep3
907 ;;
908 esac
909 ;;
910 nh3000)
911 basic_machine=m68k-harris
912 os=-cxux
913 ;;
914 nh[45]000)
915 basic_machine=m88k-harris
916 os=-cxux
917 ;;
918 nindy960)
919 basic_machine=i960-intel
920 os=-nindy
921 ;;
922 mon960)
923 basic_machine=i960-intel
924 os=-mon960
925 ;;
926 nonstopux)
927 basic_machine=mips-compaq
928 os=-nonstopux
929 ;;
930 np1)
931 basic_machine=np1-gould
932 ;;
933 neo-tandem)
934 basic_machine=neo-tandem
935 ;;
936 nse-tandem)
937 basic_machine=nse-tandem
938 ;;
939 nsr-tandem)
940 basic_machine=nsr-tandem
941 ;;
942 nsv-tandem)
943 basic_machine=nsv-tandem
944 ;;
945 nsx-tandem)
946 basic_machine=nsx-tandem
947 ;;
948 op50n-* | op60c-*)
949 basic_machine=hppa1.1-oki
950 os=-proelf
951 ;;
952 openrisc | openrisc-*)
953 basic_machine=or32-unknown
954 ;;
955 os400)
956 basic_machine=powerpc-ibm
957 os=-os400
958 ;;
959 OSE68000 | ose68000)
960 basic_machine=m68000-ericsson
961 os=-ose
962 ;;
963 os68k)
964 basic_machine=m68k-none
965 os=-os68k
966 ;;
967 pa-hitachi)
968 basic_machine=hppa1.1-hitachi
969 os=-hiuxwe2
970 ;;
971 paragon)
972 basic_machine=i860-intel
973 os=-osf
974 ;;
975 parisc)
976 basic_machine=hppa-unknown
977 os=-linux
978 ;;
979 parisc-*)
980 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
981 os=-linux
982 ;;
983 pbd)
984 basic_machine=sparc-tti
985 ;;
986 pbb)
987 basic_machine=m68k-tti
988 ;;
989 pc532 | pc532-*)
990 basic_machine=ns32k-pc532
991 ;;
992 pc98)
993 basic_machine=i386-pc
994 ;;
995 pc98-*)
996 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
997 ;;
998 pentium | p5 | k5 | k6 | nexgen | viac3)
999 basic_machine=i586-pc
1000 ;;
1001 pentiumpro | p6 | 6x86 | athlon | athlon_*)
1002 basic_machine=i686-pc
1003 ;;
1004 pentiumii | pentium2 | pentiumiii | pentium3)
1005 basic_machine=i686-pc
1006 ;;
1007 pentium4)
1008 basic_machine=i786-pc
1009 ;;
1010 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1011 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1012 ;;
1013 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1014 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1015 ;;
1016 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1017 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1018 ;;
1019 pentium4-*)
1020 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1021 ;;
1022 pn)
1023 basic_machine=pn-gould
1024 ;;
1025 power) basic_machine=power-ibm
1026 ;;
1027 ppc | ppcbe) basic_machine=powerpc-unknown
1028 ;;
1029 ppc-* | ppcbe-*)
1030 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1031 ;;
1032 ppcle | powerpclittle)
1033 basic_machine=powerpcle-unknown
1034 ;;
1035 ppcle-* | powerpclittle-*)
1036 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1037 ;;
1038 ppc64) basic_machine=powerpc64-unknown
1039 ;;
1040 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1041 ;;
1042 ppc64le | powerpc64little)
1043 basic_machine=powerpc64le-unknown
1044 ;;
1045 ppc64le-* | powerpc64little-*)
1046 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1047 ;;
1048 ps2)
1049 basic_machine=i386-ibm
1050 ;;
1051 pw32)
1052 basic_machine=i586-unknown
1053 os=-pw32
1054 ;;
1055 rdos | rdos64)
1056 basic_machine=x86_64-pc
1057 os=-rdos
1058 ;;
1059 rdos32)
1060 basic_machine=i386-pc
1061 os=-rdos
1062 ;;
1063 rom68k)
1064 basic_machine=m68k-rom68k
1065 os=-coff
1066 ;;
1067 rm[46]00)
1068 basic_machine=mips-siemens
1069 ;;
1070 rtpc | rtpc-*)
1071 basic_machine=romp-ibm
1072 ;;
1073 s390 | s390-*)
1074 basic_machine=s390-ibm
1075 ;;
1076 s390x | s390x-*)
1077 basic_machine=s390x-ibm
1078 ;;
1079 sa29200)
1080 basic_machine=a29k-amd
1081 os=-udi
1082 ;;
1083 sb1)
1084 basic_machine=mipsisa64sb1-unknown
1085 ;;
1086 sb1el)
1087 basic_machine=mipsisa64sb1el-unknown
1088 ;;
1089 sde)
1090 basic_machine=mipsisa32-sde
1091 os=-elf
1092 ;;
1093 sei)
1094 basic_machine=mips-sei
1095 os=-seiux
1096 ;;
1097 sequent)
1098 basic_machine=i386-sequent
1099 ;;
1100 sh5el)
1101 basic_machine=sh5le-unknown
1102 ;;
1103 simso-wrs)
1104 basic_machine=sparclite-wrs
1105 os=-vxworks
1106 ;;
1107 sps7)
1108 basic_machine=m68k-bull
1109 os=-sysv2
1110 ;;
1111 spur)
1112 basic_machine=spur-unknown
1113 ;;
1114 st2000)
1115 basic_machine=m68k-tandem
1116 ;;
1117 stratus)
1118 basic_machine=i860-stratus
1119 os=-sysv4
1120 ;;
1121 strongarm-* | thumb-*)
1122 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1123 ;;
1124 sun2)
1125 basic_machine=m68000-sun
1126 ;;
1127 sun2os3)
1128 basic_machine=m68000-sun
1129 os=-sunos3
1130 ;;
1131 sun2os4)
1132 basic_machine=m68000-sun
1133 os=-sunos4
1134 ;;
1135 sun3os3)
1136 basic_machine=m68k-sun
1137 os=-sunos3
1138 ;;
1139 sun3os4)
1140 basic_machine=m68k-sun
1141 os=-sunos4
1142 ;;
1143 sun4os3)
1144 basic_machine=sparc-sun
1145 os=-sunos3
1146 ;;
1147 sun4os4)
1148 basic_machine=sparc-sun
1149 os=-sunos4
1150 ;;
1151 sun4sol2)
1152 basic_machine=sparc-sun
1153 os=-solaris2
1154 ;;
1155 sun3 | sun3-*)
1156 basic_machine=m68k-sun
1157 ;;
1158 sun4)
1159 basic_machine=sparc-sun
1160 ;;
1161 sun386 | sun386i | roadrunner)
1162 basic_machine=i386-sun
1163 ;;
1164 sv1)
1165 basic_machine=sv1-cray
1166 os=-unicos
1167 ;;
1168 symmetry)
1169 basic_machine=i386-sequent
1170 os=-dynix
1171 ;;
1172 t3e)
1173 basic_machine=alphaev5-cray
1174 os=-unicos
1175 ;;
1176 t90)
1177 basic_machine=t90-cray
1178 os=-unicos
1179 ;;
1180 tile*)
1181 basic_machine=$basic_machine-unknown
1182 os=-linux-gnu
1183 ;;
1184 tx39)
1185 basic_machine=mipstx39-unknown
1186 ;;
1187 tx39el)
1188 basic_machine=mipstx39el-unknown
1189 ;;
1190 toad1)
1191 basic_machine=pdp10-xkl
1192 os=-tops20
1193 ;;
1194 tower | tower-32)
1195 basic_machine=m68k-ncr
1196 ;;
1197 tpf)
1198 basic_machine=s390x-ibm
1199 os=-tpf
1200 ;;
1201 udi29k)
1202 basic_machine=a29k-amd
1203 os=-udi
1204 ;;
1205 ultra3)
1206 basic_machine=a29k-nyu
1207 os=-sym1
1208 ;;
1209 v810 | necv810)
1210 basic_machine=v810-nec
1211 os=-none
1212 ;;
1213 vaxv)
1214 basic_machine=vax-dec
1215 os=-sysv
1216 ;;
1217 vms)
1218 basic_machine=vax-dec
1219 os=-vms
1220 ;;
1221 vpp*|vx|vx-*)
1222 basic_machine=f301-fujitsu
1223 ;;
1224 vxworks960)
1225 basic_machine=i960-wrs
1226 os=-vxworks
1227 ;;
1228 vxworks68)
1229 basic_machine=m68k-wrs
1230 os=-vxworks
1231 ;;
1232 vxworks29k)
1233 basic_machine=a29k-wrs
1234 os=-vxworks
1235 ;;
1236 w65*)
1237 basic_machine=w65-wdc
1238 os=-none
1239 ;;
1240 w89k-*)
1241 basic_machine=hppa1.1-winbond
1242 os=-proelf
1243 ;;
1244 x64)
1245 basic_machine=x86_64-pc
1246 ;;
1247 xbox)
1248 basic_machine=i686-pc
1249 os=-mingw32
1250 ;;
1251 xps | xps100)
1252 basic_machine=xps100-honeywell
1253 ;;
1254 xscale-* | xscalee[bl]-*)
1255 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
1256 ;;
1257 ymp)
1258 basic_machine=ymp-cray
1259 os=-unicos
1260 ;;
1261 none)
1262 basic_machine=none-none
1263 os=-none
1264 ;;
1265
1266 # Here we handle the default manufacturer of certain CPU types. It is in
1267 # some cases the only manufacturer, in others, it is the most popular.
1268 w89k)
1269 basic_machine=hppa1.1-winbond
1270 ;;
1271 op50n)
1272 basic_machine=hppa1.1-oki
1273 ;;
1274 op60c)
1275 basic_machine=hppa1.1-oki
1276 ;;
1277 romp)
1278 basic_machine=romp-ibm
1279 ;;
1280 mmix)
1281 basic_machine=mmix-knuth
1282 ;;
1283 rs6000)
1284 basic_machine=rs6000-ibm
1285 ;;
1286 vax)
1287 basic_machine=vax-dec
1288 ;;
1289 pdp11)
1290 basic_machine=pdp11-dec
1291 ;;
1292 we32k)
1293 basic_machine=we32k-att
1294 ;;
1295 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1296 basic_machine=sh-unknown
1297 ;;
1298 cydra)
1299 basic_machine=cydra-cydrome
1300 ;;
1301 orion)
1302 basic_machine=orion-highlevel
1303 ;;
1304 orion105)
1305 basic_machine=clipper-highlevel
1306 ;;
1307 mac | mpw | mac-mpw)
1308 basic_machine=m68k-apple
1309 ;;
1310 pmac | pmac-mpw)
1311 basic_machine=powerpc-apple
1312 ;;
1313 *-unknown)
1314 # Make sure to match an already-canonicalized machine name.
1292 esac
1293
1294 # Here we canonicalize certain aliases for manufacturers.
1295 case $vendor in
1296 digital*)
1297 vendor=dec
1298 ;;
1299 commodore*)
1300 vendor=cbm
13151301 ;;
13161302 *)
1317 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
1318 exit 1
13191303 ;;
13201304 esac
13211305
1322 # Here we canonicalize certain aliases for manufacturers.
1323 case $basic_machine in
1324 *-digital*)
1325 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1326 ;;
1327 *-commodore*)
1328 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
1306 # Decode manufacturer-specific aliases for certain operating systems.
1307
1308 if test x$basic_os != x
1309 then
1310
1311 # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
1312 # set os.
1313 case $basic_os in
1314 gnu/linux*)
1315 kernel=linux
1316 os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
1317 ;;
1318 os2-emx)
1319 kernel=os2
1320 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
1321 ;;
1322 nto-qnx*)
1323 kernel=nto
1324 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1325 ;;
1326 *-*)
1327 # shellcheck disable=SC2162
1328 saved_IFS=$IFS
1329 IFS="-" read kernel os <<EOF
1330 $basic_os
1331 EOF
1332 IFS=$saved_IFS
1333 ;;
1334 # Default OS when just kernel was specified
1335 nto*)
1336 kernel=nto
1337 os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1338 ;;
1339 linux*)
1340 kernel=linux
1341 os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
13291342 ;;
13301343 *)
1344 kernel=
1345 os=$basic_os
13311346 ;;
13321347 esac
13331348
1334 # Decode manufacturer-specific aliases for certain operating systems.
1335
1336 if [ x"$os" != x"" ]
1337 then
1349 # Now, normalize the OS (knowing we just have one component, it's not a kernel,
1350 # etc.)
13381351 case $os in
13391352 # First match some system type aliases that might get confused
13401353 # with valid system types.
1341 # -solaris* is a basic system type, with this one exception.
1342 -auroraux)
1343 os=-auroraux
1344 ;;
1345 -solaris1 | -solaris1.*)
1346 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1347 ;;
1348 -solaris)
1349 os=-solaris2
1350 ;;
1351 -unixware*)
1352 os=-sysv4.2uw
1353 ;;
1354 -gnu/linux*)
1355 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1354 # solaris* is a basic system type, with this one exception.
1355 auroraux)
1356 os=auroraux
1357 ;;
1358 bluegene*)
1359 os=cnk
1360 ;;
1361 solaris1 | solaris1.*)
1362 os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
1363 ;;
1364 solaris)
1365 os=solaris2
1366 ;;
1367 unixware*)
1368 os=sysv4.2uw
13561369 ;;
13571370 # es1800 is here to avoid being matched by es* (a different OS)
1358 -es1800*)
1359 os=-ose
1360 ;;
1361 # Now accept the basic system types.
1362 # The portable systems comes first.
1363 # Each alternative MUST end in a * to match a version number.
1364 # -sysv* is not here because it comes later, after sysvr4.
1365 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1366 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1367 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1368 | -sym* | -kopensolaris* | -plan9* \
1369 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1370 | -aos* | -aros* | -cloudabi* | -sortix* \
1371 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1372 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1373 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1374 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1375 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1376 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1377 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1378 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1379 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
1380 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1381 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1382 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1383 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1384 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
1385 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1386 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1387 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1388 | -morphos* | -superux* | -rtmk* | -windiss* \
1389 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1390 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1391 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1392 | -midnightbsd*)
1393 # Remember, each alternative MUST END IN *, to match a version number.
1394 ;;
1395 -qnx*)
1396 case $basic_machine in
1397 x86-* | i*86-*)
1398 ;;
1399 *)
1400 os=-nto$os
1401 ;;
1402 esac
1403 ;;
1404 -nto-qnx*)
1405 ;;
1406 -nto*)
1407 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1408 ;;
1409 -sim | -xray | -os68k* | -v88r* \
1410 | -windows* | -osx | -abug | -netware* | -os9* \
1411 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1412 ;;
1413 -mac*)
1371 es1800*)
1372 os=ose
1373 ;;
1374 # Some version numbers need modification
1375 chorusos*)
1376 os=chorusos
1377 ;;
1378 isc)
1379 os=isc2.2
1380 ;;
1381 sco6)
1382 os=sco5v6
1383 ;;
1384 sco5)
1385 os=sco3.2v5
1386 ;;
1387 sco4)
1388 os=sco3.2v4
1389 ;;
1390 sco3.2.[4-9]*)
1391 os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
1392 ;;
1393 sco*v* | scout)
1394 # Don't match below
1395 ;;
1396 sco*)
1397 os=sco3.2v2
1398 ;;
1399 psos*)
1400 os=psos
1401 ;;
1402 qnx*)
1403 os=qnx
1404 ;;
1405 hiux*)
1406 os=hiuxwe2
1407 ;;
1408 lynx*178)
1409 os=lynxos178
1410 ;;
1411 lynx*5)
1412 os=lynxos5
1413 ;;
1414 lynxos*)
1415 # don't get caught up in next wildcard
1416 ;;
1417 lynx*)
1418 os=lynxos
1419 ;;
1420 mac[0-9]*)
14141421 os=`echo "$os" | sed -e 's|mac|macos|'`
14151422 ;;
1416 -linux-dietlibc)
1417 os=-linux-dietlibc
1418 ;;
1419 -linux*)
1420 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1421 ;;
1422 -sunos5*)
1423 opened*)
1424 os=openedition
1425 ;;
1426 os400*)
1427 os=os400
1428 ;;
1429 sunos5*)
14231430 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
14241431 ;;
1425 -sunos6*)
1432 sunos6*)
14261433 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
14271434 ;;
1428 -opened*)
1429 os=-openedition
1430 ;;
1431 -os400*)
1432 os=-os400
1433 ;;
1434 -wince*)
1435 os=-wince
1436 ;;
1437 -utek*)
1438 os=-bsd
1439 ;;
1440 -dynix*)
1441 os=-bsd
1442 ;;
1443 -acis*)
1444 os=-aos
1445 ;;
1446 -atheos*)
1447 os=-atheos
1448 ;;
1449 -syllable*)
1450 os=-syllable
1451 ;;
1452 -386bsd)
1453 os=-bsd
1454 ;;
1455 -ctix* | -uts*)
1456 os=-sysv
1457 ;;
1458 -nova*)
1459 os=-rtmk-nova
1460 ;;
1461 -ns2)
1462 os=-nextstep2
1463 ;;
1464 -nsk*)
1465 os=-nsk
1435 wince*)
1436 os=wince
1437 ;;
1438 utek*)
1439 os=bsd
1440 ;;
1441 dynix*)
1442 os=bsd
1443 ;;
1444 acis*)
1445 os=aos
1446 ;;
1447 atheos*)
1448 os=atheos
1449 ;;
1450 syllable*)
1451 os=syllable
1452 ;;
1453 386bsd)
1454 os=bsd
1455 ;;
1456 ctix* | uts*)
1457 os=sysv
1458 ;;
1459 nova*)
1460 os=rtmk-nova
1461 ;;
1462 ns2)
1463 os=nextstep2
14661464 ;;
14671465 # Preserve the version number of sinix5.
1468 -sinix5.*)
1469 os=`echo $os | sed -e 's|sinix|sysv|'`
1470 ;;
1471 -sinix*)
1472 os=-sysv4
1473 ;;
1474 -tpf*)
1475 os=-tpf
1476 ;;
1477 -triton*)
1478 os=-sysv3
1479 ;;
1480 -oss*)
1481 os=-sysv3
1482 ;;
1483 -svr4*)
1484 os=-sysv4
1485 ;;
1486 -svr3)
1487 os=-sysv3
1488 ;;
1489 -sysvr4)
1490 os=-sysv4
1491 ;;
1492 # This must come after -sysvr4.
1493 -sysv*)
1494 ;;
1495 -ose*)
1496 os=-ose
1497 ;;
1498 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1499 os=-mint
1500 ;;
1501 -zvmoe)
1502 os=-zvmoe
1503 ;;
1504 -dicos*)
1505 os=-dicos
1506 ;;
1507 -pikeos*)
1466 sinix5.*)
1467 os=`echo "$os" | sed -e 's|sinix|sysv|'`
1468 ;;
1469 sinix*)
1470 os=sysv4
1471 ;;
1472 tpf*)
1473 os=tpf
1474 ;;
1475 triton*)
1476 os=sysv3
1477 ;;
1478 oss*)
1479 os=sysv3
1480 ;;
1481 svr4*)
1482 os=sysv4
1483 ;;
1484 svr3)
1485 os=sysv3
1486 ;;
1487 sysvr4)
1488 os=sysv4
1489 ;;
1490 ose*)
1491 os=ose
1492 ;;
1493 *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1494 os=mint
1495 ;;
1496 dicos*)
1497 os=dicos
1498 ;;
1499 pikeos*)
15081500 # Until real need of OS specific support for
15091501 # particular features comes up, bare metal
15101502 # configurations are quite functional.
1511 case $basic_machine in
1503 case $cpu in
15121504 arm*)
1513 os=-eabi
1505 os=eabi
15141506 ;;
15151507 *)
1516 os=-elf
1508 os=elf
15171509 ;;
15181510 esac
15191511 ;;
1520 -nacl*)
1521 ;;
1522 -ios)
1523 ;;
1524 -none)
1525 ;;
15261512 *)
1527 # Get rid of the `-' at the beginning of $os.
1528 os=`echo $os | sed 's/[^-]*-//'`
1529 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1530 exit 1
1513 # No normalization, but not necessarily accepted, that comes below.
15311514 ;;
15321515 esac
1516
15331517 else
15341518
15351519 # Here we handle the default operating systems that come with various machines.
15421526 # will signal an error saying that MANUFACTURER isn't an operating
15431527 # system, and we'll never get to this point.
15441528
1545 case $basic_machine in
1529 kernel=
1530 case $cpu-$vendor in
15461531 score-*)
1547 os=-elf
1532 os=elf
15481533 ;;
15491534 spu-*)
1550 os=-elf
1535 os=elf
15511536 ;;
15521537 *-acorn)
1553 os=-riscix1.2
1538 os=riscix1.2
15541539 ;;
15551540 arm*-rebel)
1556 os=-linux
1541 kernel=linux
1542 os=gnu
15571543 ;;
15581544 arm*-semi)
1559 os=-aout
1545 os=aout
15601546 ;;
15611547 c4x-* | tic4x-*)
1562 os=-coff
1548 os=coff
15631549 ;;
15641550 c8051-*)
1565 os=-elf
1551 os=elf
1552 ;;
1553 clipper-intergraph)
1554 os=clix
15661555 ;;
15671556 hexagon-*)
1568 os=-elf
1557 os=elf
15691558 ;;
15701559 tic54x-*)
1571 os=-coff
1560 os=coff
15721561 ;;
15731562 tic55x-*)
1574 os=-coff
1563 os=coff
15751564 ;;
15761565 tic6x-*)
1577 os=-coff
1566 os=coff
15781567 ;;
15791568 # This must come before the *-dec entry.
15801569 pdp10-*)
1581 os=-tops20
1570 os=tops20
15821571 ;;
15831572 pdp11-*)
1584 os=-none
1573 os=none
15851574 ;;
15861575 *-dec | vax-*)
1587 os=-ultrix4.2
1576 os=ultrix4.2
15881577 ;;
15891578 m68*-apollo)
1590 os=-domain
1579 os=domain
15911580 ;;
15921581 i386-sun)
1593 os=-sunos4.0.2
1582 os=sunos4.0.2
15941583 ;;
15951584 m68000-sun)
1596 os=-sunos3
1585 os=sunos3
15971586 ;;
15981587 m68*-cisco)
1599 os=-aout
1588 os=aout
16001589 ;;
16011590 mep-*)
1602 os=-elf
1591 os=elf
16031592 ;;
16041593 mips*-cisco)
1605 os=-elf
1594 os=elf
16061595 ;;
16071596 mips*-*)
1608 os=-elf
1597 os=elf
16091598 ;;
16101599 or32-*)
1611 os=-coff
1600 os=coff
16121601 ;;
16131602 *-tti) # must be before sparc entry or we get the wrong os.
1614 os=-sysv3
1603 os=sysv3
16151604 ;;
16161605 sparc-* | *-sun)
1617 os=-sunos4.1.1
1606 os=sunos4.1.1
16181607 ;;
16191608 pru-*)
1620 os=-elf
1609 os=elf
16211610 ;;
16221611 *-be)
1623 os=-beos
1612 os=beos
16241613 ;;
16251614 *-ibm)
1626 os=-aix
1615 os=aix
16271616 ;;
16281617 *-knuth)
1629 os=-mmixware
1618 os=mmixware
16301619 ;;
16311620 *-wec)
1632 os=-proelf
1621 os=proelf
16331622 ;;
16341623 *-winbond)
1635 os=-proelf
1624 os=proelf
16361625 ;;
16371626 *-oki)
1638 os=-proelf
1627 os=proelf
16391628 ;;
16401629 *-hp)
1641 os=-hpux
1630 os=hpux
16421631 ;;
16431632 *-hitachi)
1644 os=-hiux
1633 os=hiux
16451634 ;;
16461635 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1647 os=-sysv
1636 os=sysv
16481637 ;;
16491638 *-cbm)
1650 os=-amigaos
1639 os=amigaos
16511640 ;;
16521641 *-dg)
1653 os=-dgux
1642 os=dgux
16541643 ;;
16551644 *-dolphin)
1656 os=-sysv3
1645 os=sysv3
16571646 ;;
16581647 m68k-ccur)
1659 os=-rtu
1648 os=rtu
16601649 ;;
16611650 m88k-omron*)
1662 os=-luna
1651 os=luna
16631652 ;;
16641653 *-next)
1665 os=-nextstep
1654 os=nextstep
16661655 ;;
16671656 *-sequent)
1668 os=-ptx
1657 os=ptx
16691658 ;;
16701659 *-crds)
1671 os=-unos
1660 os=unos
16721661 ;;
16731662 *-ns)
1674 os=-genix
1663 os=genix
16751664 ;;
16761665 i370-*)
1677 os=-mvs
1666 os=mvs
16781667 ;;
16791668 *-gould)
1680 os=-sysv
1669 os=sysv
16811670 ;;
16821671 *-highlevel)
1683 os=-bsd
1672 os=bsd
16841673 ;;
16851674 *-encore)
1686 os=-bsd
1675 os=bsd
16871676 ;;
16881677 *-sgi)
1689 os=-irix
1678 os=irix
16901679 ;;
16911680 *-siemens)
1692 os=-sysv4
1681 os=sysv4
16931682 ;;
16941683 *-masscomp)
1695 os=-rtu
1684 os=rtu
16961685 ;;
16971686 f30[01]-fujitsu | f700-fujitsu)
1698 os=-uxpv
1687 os=uxpv
16991688 ;;
17001689 *-rom68k)
1701 os=-coff
1690 os=coff
17021691 ;;
17031692 *-*bug)
1704 os=-coff
1693 os=coff
17051694 ;;
17061695 *-apple)
1707 os=-macos
1696 os=macos
17081697 ;;
17091698 *-atari*)
1710 os=-mint
1699 os=mint
1700 ;;
1701 *-wrs)
1702 os=vxworks
17111703 ;;
17121704 *)
1713 os=-none
1705 os=none
17141706 ;;
17151707 esac
1708
17161709 fi
1710
1711 # Now, validate our (potentially fixed-up) OS.
1712 case $os in
1713 # Sometimes we do "kernel-libc", so those need to count as OSes.
1714 musl* | newlib* | relibc* | uclibc*)
1715 ;;
1716 # Likewise for "kernel-abi"
1717 eabi* | gnueabi*)
1718 ;;
1719 # VxWorks passes extra cpu info in the 4th filed.
1720 simlinux | simwindows | spe)
1721 ;;
1722 # Now accept the basic system types.
1723 # The portable systems comes first.
1724 # Each alternative MUST end in a * to match a version number.
1725 gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
1726 | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
1727 | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
1728 | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
1729 | hiux* | abug | nacl* | netware* | windows* \
1730 | os9* | macos* | osx* | ios* \
1731 | mpw* | magic* | mmixware* | mon960* | lnews* \
1732 | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
1733 | aos* | aros* | cloudabi* | sortix* | twizzler* \
1734 | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
1735 | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
1736 | mirbsd* | netbsd* | dicos* | openedition* | ose* \
1737 | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
1738 | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
1739 | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1740 | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
1741 | udi* | lites* | ieee* | go32* | aux* | hcos* \
1742 | chorusrdb* | cegcc* | glidix* | serenity* \
1743 | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
1744 | midipix* | mingw32* | mingw64* | mint* \
1745 | uxpv* | beos* | mpeix* | udk* | moxiebox* \
1746 | interix* | uwin* | mks* | rhapsody* | darwin* \
1747 | openstep* | oskit* | conix* | pw32* | nonstopux* \
1748 | storm-chaos* | tops10* | tenex* | tops20* | its* \
1749 | os2* | vos* | palmos* | uclinux* | nucleus* | morphos* \
1750 | scout* | superux* | sysv* | rtmk* | tpf* | windiss* \
1751 | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
1752 | skyos* | haiku* | rdos* | toppers* | drops* | es* \
1753 | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
1754 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
1755 | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
1756 | fiwix* )
1757 ;;
1758 # This one is extra strict with allowed versions
1759 sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
1760 # Don't forget version if it is 3.2v4 or newer.
1761 ;;
1762 none)
1763 ;;
1764 *)
1765 echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2
1766 exit 1
1767 ;;
1768 esac
1769
1770 # As a final step for OS-related things, validate the OS-kernel combination
1771 # (given a valid OS), if there is a kernel.
1772 case $kernel-$os in
1773 linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
1774 | linux-musl* | linux-relibc* | linux-uclibc* )
1775 ;;
1776 uclinux-uclibc* )
1777 ;;
1778 -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
1779 # These are just libc implementations, not actual OSes, and thus
1780 # require a kernel.
1781 echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
1782 exit 1
1783 ;;
1784 kfreebsd*-gnu* | kopensolaris*-gnu*)
1785 ;;
1786 vxworks-simlinux | vxworks-simwindows | vxworks-spe)
1787 ;;
1788 nto-qnx*)
1789 ;;
1790 os2-emx)
1791 ;;
1792 *-eabi* | *-gnueabi*)
1793 ;;
1794 -*)
1795 # Blank kernel with real OS is always fine.
1796 ;;
1797 *-*)
1798 echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2
1799 exit 1
1800 ;;
1801 esac
17171802
17181803 # Here we handle the case where we know the os, and the CPU type, but not the
17191804 # manufacturer. We pick the logical manufacturer.
1720 vendor=unknown
1721 case $basic_machine in
1722 *-unknown)
1723 case $os in
1724 -riscix*)
1805 case $vendor in
1806 unknown)
1807 case $cpu-$os in
1808 *-riscix*)
17251809 vendor=acorn
17261810 ;;
1727 -sunos*)
1811 *-sunos*)
17281812 vendor=sun
17291813 ;;
1730 -cnk*|-aix*)
1814 *-cnk* | *-aix*)
17311815 vendor=ibm
17321816 ;;
1733 -beos*)
1817 *-beos*)
17341818 vendor=be
17351819 ;;
1736 -hpux*)
1820 *-hpux*)
17371821 vendor=hp
17381822 ;;
1739 -mpeix*)
1823 *-mpeix*)
17401824 vendor=hp
17411825 ;;
1742 -hiux*)
1826 *-hiux*)
17431827 vendor=hitachi
17441828 ;;
1745 -unos*)
1829 *-unos*)
17461830 vendor=crds
17471831 ;;
1748 -dgux*)
1832 *-dgux*)
17491833 vendor=dg
17501834 ;;
1751 -luna*)
1835 *-luna*)
17521836 vendor=omron
17531837 ;;
1754 -genix*)
1838 *-genix*)
17551839 vendor=ns
17561840 ;;
1757 -mvs* | -opened*)
1841 *-clix*)
1842 vendor=intergraph
1843 ;;
1844 *-mvs* | *-opened*)
17581845 vendor=ibm
17591846 ;;
1760 -os400*)
1847 *-os400*)
17611848 vendor=ibm
17621849 ;;
1763 -ptx*)
1850 s390-* | s390x-*)
1851 vendor=ibm
1852 ;;
1853 *-ptx*)
17641854 vendor=sequent
17651855 ;;
1766 -tpf*)
1856 *-tpf*)
17671857 vendor=ibm
17681858 ;;
1769 -vxsim* | -vxworks* | -windiss*)
1859 *-vxsim* | *-vxworks* | *-windiss*)
17701860 vendor=wrs
17711861 ;;
1772 -aux*)
1862 *-aux*)
17731863 vendor=apple
17741864 ;;
1775 -hms*)
1865 *-hms*)
17761866 vendor=hitachi
17771867 ;;
1778 -mpw* | -macos*)
1868 *-mpw* | *-macos*)
17791869 vendor=apple
17801870 ;;
1781 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1871 *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*)
17821872 vendor=atari
17831873 ;;
1784 -vos*)
1874 *-vos*)
17851875 vendor=stratus
17861876 ;;
17871877 esac
1788 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
17891878 ;;
17901879 esac
17911880
1792 echo "$basic_machine$os"
1881 echo "$cpu-$vendor-${kernel:+$kernel-}$os"
17931882 exit
17941883
17951884 # Local variables:
1796 # eval: (add-hook 'write-file-functions 'time-stamp)
1885 # eval: (add-hook 'before-save-hook 'time-stamp)
17971886 # time-stamp-start: "timestamp='"
17981887 # time-stamp-format: "%:y-%02m-%02d"
17991888 # time-stamp-end: "'"
+3496
-2113
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for dosfstools 4.2.
2 # Generated by GNU Autoconf 2.71 for dosfstools 4.2+git.
33 #
44 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
5 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
6 # Inc.
67 #
78 #
89 # This configure script is free software; the Free Software Foundation
1314
1415 # Be more Bourne compatible
1516 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 as_nop=:
18 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
19 then :
1720 emulate sh
1821 NULLCMD=:
1922 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2023 # is contrary to our usage. Disable this feature.
2124 alias -g '${1+"$@"}'='"$@"'
2225 setopt NO_GLOB_SUBST
23 else
26 else $as_nop
2427 case `(set -o) 2>/dev/null` in #(
2528 *posix*) :
2629 set -o posix ;; #(
3033 fi
3134
3235
36
37 # Reset variables that may have inherited troublesome values from
38 # the environment.
39
40 # IFS needs to be set, to space, tab, and newline, in precisely that order.
41 # (If _AS_PATH_WALK were called with IFS unset, it would have the
42 # side effect of setting IFS to empty, thus disabling word splitting.)
43 # Quoting is to prevent editors from complaining about space-tab.
3344 as_nl='
3445 '
3546 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
47 IFS=" "" $as_nl"
48
49 PS1='$ '
50 PS2='> '
51 PS4='+ '
52
53 # Ensure predictable behavior from utilities with locale-dependent output.
54 LC_ALL=C
55 export LC_ALL
56 LANGUAGE=C
57 export LANGUAGE
58
59 # We cannot yet rely on "unset" to work, but we need these variables
60 # to be unset--not just set to an empty or harmless value--now, to
61 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
62 # also avoids known problems related to "unset" and subshell syntax
63 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
64 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
65 do eval test \${$as_var+y} \
66 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
67 done
68
69 # Ensure that fds 0, 1, and 2 are open.
70 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
71 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
72 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7073
7174 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
75 if ${PATH_SEPARATOR+false} :; then
7376 PATH_SEPARATOR=:
7477 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7780 }
7881 fi
7982
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
8783
8884 # Find who we are. Look in the path if we contain no directory separator.
8985 as_myself=
9389 for as_dir in $PATH
9490 do
9591 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
92 case $as_dir in #(((
93 '') as_dir=./ ;;
94 */) ;;
95 *) as_dir=$as_dir/ ;;
96 esac
97 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
9898 done
9999 IFS=$as_save_IFS
100100
106106 as_myself=$0
107107 fi
108108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
109 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110110 exit 1
111111 fi
112112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133113
134114 # Use a proper internal environment variable to ensure we don't fall
135115 # into an infinite loop, continuously re-executing ourselves.
151131 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152132 # Admittedly, this is quite paranoid, since all the known shells bail
153133 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
134 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
135 exit 255
156136 fi
157137 # We don't want this to propagate to other subprocesses.
158138 { _as_can_reexec=; unset _as_can_reexec;}
159139 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 as_bourne_compatible="as_nop=:
141 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
142 then :
161143 emulate sh
162144 NULLCMD=:
163145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164146 # is contrary to our usage. Disable this feature.
165147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166148 setopt NO_GLOB_SUBST
167 else
149 else \$as_nop
168150 case \`(set -o) 2>/dev/null\` in #(
169151 *posix*) :
170152 set -o posix ;; #(
184166 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185167 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186168 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
169 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
170 then :
171
172 else \$as_nop
190173 exitcode=1; echo positional parameters were not saved.
191174 fi
192175 test x\$exitcode = x0 || exit 1
176 blah=\$(echo \$(echo blah))
177 test x\"\$blah\" = xblah || exit 1
193178 test -x / || exit 1"
194179 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195180 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196181 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197182 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198183 test \$(( 1 + 1 )) = 2 || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
184 if (eval "$as_required") 2>/dev/null
185 then :
200186 as_have_required=yes
201 else
187 else $as_nop
202188 as_have_required=no
203189 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
192
193 else $as_nop
207194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208195 as_found=false
209196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210197 do
211198 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
213204 as_found=:
214205 case $as_dir in #(
215206 /*)
216207 for as_base in sh bash ksh sh5; do
217208 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
209 as_shell=$as_dir$as_base
219210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
221213 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
223216 break 2
224217 fi
225218 fi
227220 esac
228221 as_found=false
229222 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
232231 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
232 fi
233 fi
234
235
236 if test "x$CONFIG_SHELL" != x
237 then :
238238 export CONFIG_SHELL
239239 # We cannot yet assume a decent shell, so we have to provide a
240240 # neutralization value for shells without unset; and this also
252252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253253 # Admittedly, this is quite paranoid, since all the known shells bail
254254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256256 exit 255
257257 fi
258258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
265266 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
267268 $0: including any error possibly output before this
268269 $0: message. Then install a modern shell, or manually run
269270 $0: the script under such a shell if you do have one."
290291 }
291292 as_unset=as_fn_unset
292293
294
293295 # as_fn_set_status STATUS
294296 # -----------------------
295297 # Set $? to STATUS, without forking.
307309 as_fn_set_status $1
308310 exit $1
309311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
310320
311321 # as_fn_mkdir_p
312322 # -------------
321331 as_dirs=
322332 while :; do
323333 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325335 *) as_qdir=$as_dir;;
326336 esac
327337 as_dirs="'$as_qdir' $as_dirs"
330340 X"$as_dir" : 'X\(//\)[^/]' \| \
331341 X"$as_dir" : 'X\(//\)$' \| \
332342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
343 printf "%s\n" X"$as_dir" |
334344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335345 s//\1/
336346 q
369379 # advantage of any shell optimizations that allow amortized linear growth over
370380 # repeated appends, instead of the typical quadratic growth present in naive
371381 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
373384 eval 'as_fn_append ()
374385 {
375386 eval $1+=\$2
376387 }'
377 else
388 else $as_nop
378389 as_fn_append ()
379390 {
380391 eval $1=\$$1\$2
386397 # Perform arithmetic evaluation on the ARGs, and store the result in the
387398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388399 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
390402 eval 'as_fn_arith ()
391403 {
392404 as_val=$(( $* ))
393405 }'
394 else
406 else $as_nop
395407 as_fn_arith ()
396408 {
397409 as_val=`expr "$@" || test $? -eq 1`
398410 }
399411 fi # as_fn_arith
400412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
401421
402422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403423 # ----------------------------------------
409429 as_status=$1; test $as_status -eq 0 && as_status=1
410430 if test "$4"; then
411431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413433 fi
414 $as_echo "$as_me: error: $2" >&2
434 printf "%s\n" "$as_me: error: $2" >&2
415435 as_fn_exit $as_status
416436 } # as_fn_error
417437
438458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439459 X"$0" : 'X\(//\)$' \| \
440460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
461 printf "%s\n" X/"$0" |
442462 sed '/^.*\/\([^/][^/]*\)\/*$/{
443463 s//\1/
444464 q
482502 s/-\n.*//
483503 ' >$as_me.lineno &&
484504 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486506
487507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488508 # already done that, so ensure we don't try to do so again and fall
496516 exit
497517 }
498518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
499523 ECHO_C= ECHO_N= ECHO_T=
500524 case `echo -n x` in #(((((
501525 -n*)
508532 *)
509533 ECHO_N='-n';;
510534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
511542
512543 rm -f conf$$ conf$$.exe conf$$.file
513544 if test -d conf$$.dir; then
576607 # Identity of this package.
577608 PACKAGE_NAME='dosfstools'
578609 PACKAGE_TARNAME='dosfstools'
579 PACKAGE_VERSION='4.2'
580 PACKAGE_STRING='dosfstools 4.2'
610 PACKAGE_VERSION='4.2+git'
611 PACKAGE_STRING='dosfstools 4.2+git'
581612 PACKAGE_BUGREPORT=''
582613 PACKAGE_URL=''
583614
584615 # Factoring default headers for most tests.
585616 ac_includes_default="\
586 #include <stdio.h>
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
617 #include <stddef.h>
618 #ifdef HAVE_STDIO_H
619 # include <stdio.h>
589620 #endif
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
592 #endif
593 #ifdef STDC_HEADERS
621 #ifdef HAVE_STDLIB_H
594622 # include <stdlib.h>
595 # include <stddef.h>
596 #else
597 # ifdef HAVE_STDLIB_H
598 # include <stdlib.h>
599 # endif
600623 #endif
601624 #ifdef HAVE_STRING_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 # include <memory.h>
604 # endif
605625 # include <string.h>
606 #endif
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
609626 #endif
610627 #ifdef HAVE_INTTYPES_H
611628 # include <inttypes.h>
613630 #ifdef HAVE_STDINT_H
614631 # include <stdint.h>
615632 #endif
633 #ifdef HAVE_STRINGS_H
634 # include <strings.h>
635 #endif
636 #ifdef HAVE_SYS_TYPES_H
637 # include <sys/types.h>
638 #endif
639 #ifdef HAVE_SYS_STAT_H
640 # include <sys/stat.h>
641 #endif
616642 #ifdef HAVE_UNISTD_H
617643 # include <unistd.h>
618644 #endif"
619645
646 ac_header_c_list=
620647 ac_subst_vars='am__EXEEXT_FALSE
621648 am__EXEEXT_TRUE
622649 LTLIBOBJS
626653 XXD_FOUND
627654 LTLIBICONV
628655 LIBICONV
656 EGREP
657 GREP
658 CPP
629659 host_os
630660 host_vendor
631661 host_cpu
635665 build_cpu
636666 build
637667 LN_S
638 EGREP
639 GREP
640 CPP
641668 am__fastdepCC_FALSE
642669 am__fastdepCC_TRUE
643670 CCDEPMODE
661688 AM_DEFAULT_VERBOSITY
662689 AM_DEFAULT_V
663690 AM_V
691 CSCOPE
692 ETAGS
693 CTAGS
664694 am__untar
665695 am__tar
666696 AMTAR
815845 *) ac_optarg=yes ;;
816846 esac
817847
818 # Accept the important Cygnus configure options, so we can diagnose typos.
819
820848 case $ac_dashdash$ac_option in
821849 --)
822850 ac_dashdash=yes ;;
857885 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858886 # Reject names that are not valid shell variable names.
859887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error $? "invalid feature name: $ac_useropt"
888 as_fn_error $? "invalid feature name: \`$ac_useropt'"
861889 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
863891 case $ac_user_opts in
864892 *"
865893 "enable_$ac_useropt"
883911 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884912 # Reject names that are not valid shell variable names.
885913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: $ac_useropt"
914 as_fn_error $? "invalid feature name: \`$ac_useropt'"
887915 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
889917 case $ac_user_opts in
890918 *"
891919 "enable_$ac_useropt"
10961124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10971125 # Reject names that are not valid shell variable names.
10981126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1127 as_fn_error $? "invalid package name: \`$ac_useropt'"
11001128 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11021130 case $ac_user_opts in
11031131 *"
11041132 "with_$ac_useropt"
11121140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
11131141 # Reject names that are not valid shell variable names.
11141142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: $ac_useropt"
1143 as_fn_error $? "invalid package name: \`$ac_useropt'"
11161144 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
11181146 case $ac_user_opts in
11191147 *"
11201148 "with_$ac_useropt"
11581186
11591187 *)
11601188 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
11621190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
11641192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11651193 ;;
11661194
11761204 case $enable_option_checking in
11771205 no) ;;
11781206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
11801208 esac
11811209 fi
11821210
12401268 X"$as_myself" : 'X\(//\)[^/]' \| \
12411269 X"$as_myself" : 'X\(//\)$' \| \
12421270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1271 printf "%s\n" X"$as_myself" |
12441272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12451273 s//\1/
12461274 q
12971325 # Omit some internal or obsolete options to make the list less imposing.
12981326 # This message is too long to be a string in the A/UX 3.1 sh.
12991327 cat <<_ACEOF
1300 \`configure' configures dosfstools 4.2 to adapt to many kinds of systems.
1328 \`configure' configures dosfstools 4.2+git to adapt to many kinds of systems.
13011329
13021330 Usage: $0 [OPTION]... [VAR=VALUE]...
13031331
13681396
13691397 if test -n "$ac_init_help"; then
13701398 case $ac_init_help in
1371 short | recursive ) echo "Configuration of dosfstools 4.2:";;
1399 short | recursive ) echo "Configuration of dosfstools 4.2+git:";;
13721400 esac
13731401 cat <<\_ACEOF
13741402
14271455 case "$ac_dir" in
14281456 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14291457 *)
1430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
14311459 # A ".." for each directory in $ac_dir_suffix.
1432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14331461 case $ac_top_builddir_sub in
14341462 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14351463 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14571485 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14581486
14591487 cd "$ac_dir" || { ac_status=$?; continue; }
1460 # Check for guested configure.
1488 # Check for configure.gnu first; this name is used for a wrapper for
1489 # Metaconfig's "Configure" on case-insensitive file systems.
14611490 if test -f "$ac_srcdir/configure.gnu"; then
14621491 echo &&
14631492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
14651494 echo &&
14661495 $SHELL "$ac_srcdir/configure" --help=recursive
14671496 else
1468 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1497 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
14691498 fi || ac_status=$?
14701499 cd "$ac_pwd" || { ac_status=$?; break; }
14711500 done
14741503 test -n "$ac_init_help" && exit $ac_status
14751504 if $ac_init_version; then
14761505 cat <<\_ACEOF
1477 dosfstools configure 4.2
1478 generated by GNU Autoconf 2.69
1479
1480 Copyright (C) 2012 Free Software Foundation, Inc.
1506 dosfstools configure 4.2+git
1507 generated by GNU Autoconf 2.71
1508
1509 Copyright (C) 2021 Free Software Foundation, Inc.
14811510 This configure script is free software; the Free Software Foundation
14821511 gives unlimited permission to copy, distribute and modify it.
14831512 _ACEOF
14941523 ac_fn_c_try_compile ()
14951524 {
14961525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1526 rm -f conftest.$ac_objext conftest.beam
14981527 if { { ac_try="$ac_compile"
14991528 case "(($ac_try" in
15001529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011530 *) ac_try_echo=$ac_try;;
15021531 esac
15031532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1533 printf "%s\n" "$ac_try_echo"; } >&5
15051534 (eval "$ac_compile") 2>conftest.err
15061535 ac_status=$?
15071536 if test -s conftest.err; then
15091538 cat conftest.er1 >&5
15101539 mv -f conftest.er1 conftest.err
15111540 fi
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15131542 test $ac_status = 0; } && {
15141543 test -z "$ac_c_werror_flag" ||
15151544 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1545 } && test -s conftest.$ac_objext
1546 then :
15171547 ac_retval=0
1518 else
1519 $as_echo "$as_me: failed program was:" >&5
1548 else $as_nop
1549 printf "%s\n" "$as_me: failed program was:" >&5
15201550 sed 's/^/| /' conftest.$ac_ext >&5
15211551
15221552 ac_retval=1
15251555 as_fn_set_status $ac_retval
15261556
15271557 } # ac_fn_c_try_compile
1528
1529 # ac_fn_c_try_cpp LINENO
1530 # ----------------------
1531 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_cpp ()
1533 {
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 if { { ac_try="$ac_cpp conftest.$ac_ext"
1536 case "(($ac_try" in
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538 *) ac_try_echo=$ac_try;;
1539 esac
1540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1543 ac_status=$?
1544 if test -s conftest.err; then
1545 grep -v '^ *+' conftest.err >conftest.er1
1546 cat conftest.er1 >&5
1547 mv -f conftest.er1 conftest.err
1548 fi
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } > conftest.i && {
1551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1552 test ! -s conftest.err
1553 }; then :
1554 ac_retval=0
1555 else
1556 $as_echo "$as_me: failed program was:" >&5
1557 sed 's/^/| /' conftest.$ac_ext >&5
1558
1559 ac_retval=1
1560 fi
1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562 as_fn_set_status $ac_retval
1563
1564 } # ac_fn_c_try_cpp
1565
1566 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1567 # -------------------------------------------------------
1568 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1569 # the include files in INCLUDES and setting the cache variable VAR
1570 # accordingly.
1571 ac_fn_c_check_header_mongrel ()
1572 {
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if eval \${$3+:} false; then :
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1576 $as_echo_n "checking for $2... " >&6; }
1577 if eval \${$3+:} false; then :
1578 $as_echo_n "(cached) " >&6
1579 fi
1580 eval ac_res=\$$3
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582 $as_echo "$ac_res" >&6; }
1583 else
1584 # Is the header compilable?
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1586 $as_echo_n "checking $2 usability... " >&6; }
1587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588 /* end confdefs.h. */
1589 $4
1590 #include <$2>
1591 _ACEOF
1592 if ac_fn_c_try_compile "$LINENO"; then :
1593 ac_header_compiler=yes
1594 else
1595 ac_header_compiler=no
1596 fi
1597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1599 $as_echo "$ac_header_compiler" >&6; }
1600
1601 # Is the header present?
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1603 $as_echo_n "checking $2 presence... " >&6; }
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1606 #include <$2>
1607 _ACEOF
1608 if ac_fn_c_try_cpp "$LINENO"; then :
1609 ac_header_preproc=yes
1610 else
1611 ac_header_preproc=no
1612 fi
1613 rm -f conftest.err conftest.i conftest.$ac_ext
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1615 $as_echo "$ac_header_preproc" >&6; }
1616
1617 # So? What about this header?
1618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1619 yes:no: )
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1621 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1623 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1624 ;;
1625 no:yes:* )
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1627 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1629 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1631 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1633 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1636 ;;
1637 esac
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639 $as_echo_n "checking for $2... " >&6; }
1640 if eval \${$3+:} false; then :
1641 $as_echo_n "(cached) " >&6
1642 else
1643 eval "$3=\$ac_header_compiler"
1644 fi
1645 eval ac_res=\$$3
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1647 $as_echo "$ac_res" >&6; }
1648 fi
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1651 } # ac_fn_c_check_header_mongrel
1652
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1657 ac_fn_c_try_run ()
1658 {
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>&5
1668 ac_status=$?
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671 { { case "(($ac_try" in
1672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673 *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_try") 2>&5
1678 ac_status=$?
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; }; }; then :
1681 ac_retval=0
1682 else
1683 $as_echo "$as_me: program exited with status $ac_status" >&5
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=$ac_status
1688 fi
1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status $ac_retval
1692
1693 } # ac_fn_c_try_run
16941558
16951559 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
16961560 # -------------------------------------------------------
16991563 ac_fn_c_check_header_compile ()
17001564 {
17011565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if eval \${$3+:} false; then :
1705 $as_echo_n "(cached) " >&6
1706 else
1566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1567 printf %s "checking for $2... " >&6; }
1568 if eval test \${$3+y}
1569 then :
1570 printf %s "(cached) " >&6
1571 else $as_nop
17071572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081573 /* end confdefs.h. */
17091574 $4
17101575 #include <$2>
17111576 _ACEOF
1712 if ac_fn_c_try_compile "$LINENO"; then :
1577 if ac_fn_c_try_compile "$LINENO"
1578 then :
17131579 eval "$3=yes"
1714 else
1580 else $as_nop
17151581 eval "$3=no"
17161582 fi
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17181584 fi
17191585 eval ac_res=\$$3
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1721 $as_echo "$ac_res" >&6; }
1586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1587 printf "%s\n" "$ac_res" >&6; }
17221588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17231589
17241590 } # ac_fn_c_check_header_compile
17291595 ac_fn_c_try_link ()
17301596 {
17311597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext conftest$ac_exeext
1598 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
17331599 if { { ac_try="$ac_link"
17341600 case "(($ac_try" in
17351601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17361602 *) ac_try_echo=$ac_try;;
17371603 esac
17381604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1605 printf "%s\n" "$ac_try_echo"; } >&5
17401606 (eval "$ac_link") 2>conftest.err
17411607 ac_status=$?
17421608 if test -s conftest.err; then
17441610 cat conftest.er1 >&5
17451611 mv -f conftest.er1 conftest.err
17461612 fi
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17481614 test $ac_status = 0; } && {
17491615 test -z "$ac_c_werror_flag" ||
17501616 test ! -s conftest.err
17511617 } && test -s conftest$ac_exeext && {
17521618 test "$cross_compiling" = yes ||
17531619 test -x conftest$ac_exeext
1754 }; then :
1620 }
1621 then :
17551622 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1623 else $as_nop
1624 printf "%s\n" "$as_me: failed program was:" >&5
17581625 sed 's/^/| /' conftest.$ac_ext >&5
17591626
17601627 ac_retval=1
17751642 ac_fn_c_check_func ()
17761643 {
17771644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1782 else
1645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 printf %s "checking for $2... " >&6; }
1647 if eval test \${$3+y}
1648 then :
1649 printf %s "(cached) " >&6
1650 else $as_nop
17831651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17841652 /* end confdefs.h. */
17851653 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
17871655 #define $2 innocuous_$2
17881656
17891657 /* System header to define __stub macros and hopefully few prototypes,
1790 which can conflict with char $2 (); below.
1791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1792 <limits.h> exists even on freestanding compilers. */
1793
1794 #ifdef __STDC__
1795 # include <limits.h>
1796 #else
1797 # include <assert.h>
1798 #endif
1799
1658 which can conflict with char $2 (); below. */
1659
1660 #include <limits.h>
18001661 #undef $2
18011662
18021663 /* Override any GCC internal prototype to avoid an error.
18141675 #endif
18151676
18161677 int
1817 main ()
1678 main (void)
18181679 {
18191680 return $2 ();
18201681 ;
18211682 return 0;
18221683 }
18231684 _ACEOF
1824 if ac_fn_c_try_link "$LINENO"; then :
1685 if ac_fn_c_try_link "$LINENO"
1686 then :
18251687 eval "$3=yes"
1826 else
1688 else $as_nop
18271689 eval "$3=no"
18281690 fi
1829 rm -f core conftest.err conftest.$ac_objext \
1691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18301692 conftest$ac_exeext conftest.$ac_ext
18311693 fi
18321694 eval ac_res=\$$3
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834 $as_echo "$ac_res" >&6; }
1695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1696 printf "%s\n" "$ac_res" >&6; }
18351697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18361698
18371699 } # ac_fn_c_check_func
18381700
1839 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1840 # ---------------------------------------------
1701 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1702 # ------------------------------------------------------------------
18411703 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1842 # accordingly.
1843 ac_fn_c_check_decl ()
1704 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1705 ac_fn_check_decl ()
18441706 {
18451707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18461708 as_decl_name=`echo $2|sed 's/ *(.*//'`
1709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1710 printf %s "checking whether $as_decl_name is declared... " >&6; }
1711 if eval test \${$3+y}
1712 then :
1713 printf %s "(cached) " >&6
1714 else $as_nop
18471715 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1849 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1850 if eval \${$3+:} false; then :
1851 $as_echo_n "(cached) " >&6
1852 else
1716 eval ac_save_FLAGS=\$$6
1717 as_fn_append $6 " $5"
18531718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541719 /* end confdefs.h. */
18551720 $4
18561721 int
1857 main ()
1722 main (void)
18581723 {
18591724 #ifndef $as_decl_name
18601725 #ifdef __cplusplus
18681733 return 0;
18691734 }
18701735 _ACEOF
1871 if ac_fn_c_try_compile "$LINENO"; then :
1736 if ac_fn_c_try_compile "$LINENO"
1737 then :
18721738 eval "$3=yes"
1873 else
1739 else $as_nop
18741740 eval "$3=no"
18751741 fi
1876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1743 eval $6=\$ac_save_FLAGS
1744
18771745 fi
18781746 eval ac_res=\$$3
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 printf "%s\n" "$ac_res" >&6; }
18811749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18821750
1883 } # ac_fn_c_check_decl
1751 } # ac_fn_check_decl
1752
1753 # ac_fn_c_try_cpp LINENO
1754 # ----------------------
1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_c_try_cpp ()
1757 {
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_cpp conftest.$ac_ext"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 printf "%s\n" "$ac_try_echo"; } >&5
1766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1772 fi
1773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } > conftest.i && {
1775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 }
1778 then :
1779 ac_retval=0
1780 else $as_nop
1781 printf "%s\n" "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784 ac_retval=1
1785 fi
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1788
1789 } # ac_fn_c_try_cpp
1790
1791 # ac_fn_c_try_run LINENO
1792 # ----------------------
1793 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1794 # executables *can* be run.
1795 ac_fn_c_try_run ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_link"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 printf "%s\n" "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>&5
1806 ac_status=$?
1807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1809 { { case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 printf "%s\n" "$ac_try_echo"; } >&5
1815 (eval "$ac_try") 2>&5
1816 ac_status=$?
1817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; }; }
1819 then :
1820 ac_retval=0
1821 else $as_nop
1822 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1823 printf "%s\n" "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1825
1826 ac_retval=$ac_status
1827 fi
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830 as_fn_set_status $ac_retval
1831
1832 } # ac_fn_c_try_run
1833 ac_configure_args_raw=
1834 for ac_arg
1835 do
1836 case $ac_arg in
1837 *\'*)
1838 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1839 esac
1840 as_fn_append ac_configure_args_raw " '$ac_arg'"
1841 done
1842
1843 case $ac_configure_args_raw in
1844 *$as_nl*)
1845 ac_safe_unquote= ;;
1846 *)
1847 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1848 ac_unsafe_a="$ac_unsafe_z#~"
1849 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1850 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1851 esac
1852
18841853 cat >config.log <<_ACEOF
18851854 This file contains any messages produced by compilers while
18861855 running configure, to aid debugging if configure makes a mistake.
18871856
1888 It was created by dosfstools $as_me 4.2, which was
1889 generated by GNU Autoconf 2.69. Invocation command line was
1890
1891 $ $0 $@
1857 It was created by dosfstools $as_me 4.2+git, which was
1858 generated by GNU Autoconf 2.71. Invocation command line was
1859
1860 $ $0$ac_configure_args_raw
18921861
18931862 _ACEOF
18941863 exec 5>>config.log
19211890 for as_dir in $PATH
19221891 do
19231892 IFS=$as_save_IFS
1924 test -z "$as_dir" && as_dir=.
1925 $as_echo "PATH: $as_dir"
1893 case $as_dir in #(((
1894 '') as_dir=./ ;;
1895 */) ;;
1896 *) as_dir=$as_dir/ ;;
1897 esac
1898 printf "%s\n" "PATH: $as_dir"
19261899 done
19271900 IFS=$as_save_IFS
19281901
19571930 | -silent | --silent | --silen | --sile | --sil)
19581931 continue ;;
19591932 *\'*)
1960 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
19611934 esac
19621935 case $ac_pass in
19631936 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
19921965 # WARNING: Use '\'' to represent an apostrophe within the trap.
19931966 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
19941967 trap 'exit_status=$?
1968 # Sanitize IFS.
1969 IFS=" "" $as_nl"
19951970 # Save into config.log some information that might help in debugging.
19961971 {
19971972 echo
19981973
1999 $as_echo "## ---------------- ##
1974 printf "%s\n" "## ---------------- ##
20001975 ## Cache variables. ##
20011976 ## ---------------- ##"
20021977 echo
20071982 case $ac_val in #(
20081983 *${as_nl}*)
20091984 case $ac_var in #(
2010 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2011 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1985 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1986 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20121987 esac
20131988 case $ac_var in #(
20141989 _ | IFS | as_nl) ;; #(
20322007 )
20332008 echo
20342009
2035 $as_echo "## ----------------- ##
2010 printf "%s\n" "## ----------------- ##
20362011 ## Output variables. ##
20372012 ## ----------------- ##"
20382013 echo
20402015 do
20412016 eval ac_val=\$$ac_var
20422017 case $ac_val in
2043 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
20442019 esac
2045 $as_echo "$ac_var='\''$ac_val'\''"
2020 printf "%s\n" "$ac_var='\''$ac_val'\''"
20462021 done | sort
20472022 echo
20482023
20492024 if test -n "$ac_subst_files"; then
2050 $as_echo "## ------------------- ##
2025 printf "%s\n" "## ------------------- ##
20512026 ## File substitutions. ##
20522027 ## ------------------- ##"
20532028 echo
20552030 do
20562031 eval ac_val=\$$ac_var
20572032 case $ac_val in
2058 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
20592034 esac
2060 $as_echo "$ac_var='\''$ac_val'\''"
2035 printf "%s\n" "$ac_var='\''$ac_val'\''"
20612036 done | sort
20622037 echo
20632038 fi
20642039
20652040 if test -s confdefs.h; then
2066 $as_echo "## ----------- ##
2041 printf "%s\n" "## ----------- ##
20672042 ## confdefs.h. ##
20682043 ## ----------- ##"
20692044 echo
20712046 echo
20722047 fi
20732048 test "$ac_signal" != 0 &&
2074 $as_echo "$as_me: caught signal $ac_signal"
2075 $as_echo "$as_me: exit $exit_status"
2049 printf "%s\n" "$as_me: caught signal $ac_signal"
2050 printf "%s\n" "$as_me: exit $exit_status"
20762051 } >&5
20772052 rm -f core *.core core.conftest.* &&
20782053 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
20862061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
20872062 rm -f -r conftest* confdefs.h
20882063
2089 $as_echo "/* confdefs.h */" > confdefs.h
2064 printf "%s\n" "/* confdefs.h */" > confdefs.h
20902065
20912066 # Predefined preprocessor variables.
20922067
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_NAME "$PACKAGE_NAME"
2095 _ACEOF
2096
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2099 _ACEOF
2100
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2103 _ACEOF
2104
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_STRING "$PACKAGE_STRING"
2107 _ACEOF
2108
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2111 _ACEOF
2112
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_URL "$PACKAGE_URL"
2115 _ACEOF
2068 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2069
2070 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2071
2072 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2073
2074 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2075
2076 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2077
2078 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
21162079
21172080
21182081 # Let the site file select an alternate cache file if it wants to.
21192082 # Prefer an explicitly selected file to automatically selected ones.
2120 ac_site_file1=NONE
2121 ac_site_file2=NONE
21222083 if test -n "$CONFIG_SITE"; then
2123 # We do not want a PATH search for config.site.
2124 case $CONFIG_SITE in #((
2125 -*) ac_site_file1=./$CONFIG_SITE;;
2126 */*) ac_site_file1=$CONFIG_SITE;;
2127 *) ac_site_file1=./$CONFIG_SITE;;
2128 esac
2084 ac_site_files="$CONFIG_SITE"
21292085 elif test "x$prefix" != xNONE; then
2130 ac_site_file1=$prefix/share/config.site
2131 ac_site_file2=$prefix/etc/config.site
2086 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
21322087 else
2133 ac_site_file1=$ac_default_prefix/share/config.site
2134 ac_site_file2=$ac_default_prefix/etc/config.site
2135 fi
2136 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2088 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2089 fi
2090
2091 for ac_site_file in $ac_site_files
21372092 do
2138 test "x$ac_site_file" = xNONE && continue
2139 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2141 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2093 case $ac_site_file in #(
2094 */*) :
2095 ;; #(
2096 *) :
2097 ac_site_file=./$ac_site_file ;;
2098 esac
2099 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
21422102 sed 's/^/| /' "$ac_site_file" >&5
21432103 . "$ac_site_file" \
2144 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2104 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
21462106 as_fn_error $? "failed to load site script $ac_site_file
21472107 See \`config.log' for more details" "$LINENO" 5; }
21482108 fi
21522112 # Some versions of bash will fail to source /dev/null (special files
21532113 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
21542114 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2156 $as_echo "$as_me: loading cache $cache_file" >&6;}
2115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
21572117 case $cache_file in
21582118 [\\/]* | ?:[\\/]* ) . "$cache_file";;
21592119 *) . "./$cache_file";;
21602120 esac
21612121 fi
21622122 else
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2164 $as_echo "$as_me: creating cache $cache_file" >&6;}
2123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
21652125 >$cache_file
2126 fi
2127
2128 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2129 # Test code for whether the C compiler supports C89 (global declarations)
2130 ac_c_conftest_c89_globals='
2131 /* Does the compiler advertise C89 conformance?
2132 Do not test the value of __STDC__, because some compilers set it to 0
2133 while being otherwise adequately conformant. */
2134 #if !defined __STDC__
2135 # error "Compiler does not advertise C89 conformance"
2136 #endif
2137
2138 #include <stddef.h>
2139 #include <stdarg.h>
2140 struct stat;
2141 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2142 struct buf { int x; };
2143 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2144 static char *e (p, i)
2145 char **p;
2146 int i;
2147 {
2148 return p[i];
2149 }
2150 static char *f (char * (*g) (char **, int), char **p, ...)
2151 {
2152 char *s;
2153 va_list v;
2154 va_start (v,p);
2155 s = g (p, va_arg (v,int));
2156 va_end (v);
2157 return s;
2158 }
2159
2160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2161 function prototypes and stuff, but not \xHH hex character constants.
2162 These do not provoke an error unfortunately, instead are silently treated
2163 as an "x". The following induces an error, until -std is added to get
2164 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2165 array size at least. It is necessary to write \x00 == 0 to get something
2166 that is true only with -std. */
2167 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2168
2169 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2170 inside strings and character constants. */
2171 #define FOO(x) '\''x'\''
2172 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2173
2174 int test (int i, double x);
2175 struct s1 {int (*f) (int a);};
2176 struct s2 {int (*f) (double a);};
2177 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2178 int, int);'
2179
2180 # Test code for whether the C compiler supports C89 (body of main).
2181 ac_c_conftest_c89_main='
2182 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2183 '
2184
2185 # Test code for whether the C compiler supports C99 (global declarations)
2186 ac_c_conftest_c99_globals='
2187 // Does the compiler advertise C99 conformance?
2188 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2189 # error "Compiler does not advertise C99 conformance"
2190 #endif
2191
2192 #include <stdbool.h>
2193 extern int puts (const char *);
2194 extern int printf (const char *, ...);
2195 extern int dprintf (int, const char *, ...);
2196 extern void *malloc (size_t);
2197
2198 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2199 // dprintf is used instead of fprintf to avoid needing to declare
2200 // FILE and stderr.
2201 #define debug(...) dprintf (2, __VA_ARGS__)
2202 #define showlist(...) puts (#__VA_ARGS__)
2203 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2204 static void
2205 test_varargs_macros (void)
2206 {
2207 int x = 1234;
2208 int y = 5678;
2209 debug ("Flag");
2210 debug ("X = %d\n", x);
2211 showlist (The first, second, and third items.);
2212 report (x>y, "x is %d but y is %d", x, y);
2213 }
2214
2215 // Check long long types.
2216 #define BIG64 18446744073709551615ull
2217 #define BIG32 4294967295ul
2218 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2219 #if !BIG_OK
2220 #error "your preprocessor is broken"
2221 #endif
2222 #if BIG_OK
2223 #else
2224 #error "your preprocessor is broken"
2225 #endif
2226 static long long int bignum = -9223372036854775807LL;
2227 static unsigned long long int ubignum = BIG64;
2228
2229 struct incomplete_array
2230 {
2231 int datasize;
2232 double data[];
2233 };
2234
2235 struct named_init {
2236 int number;
2237 const wchar_t *name;
2238 double average;
2239 };
2240
2241 typedef const char *ccp;
2242
2243 static inline int
2244 test_restrict (ccp restrict text)
2245 {
2246 // See if C++-style comments work.
2247 // Iterate through items via the restricted pointer.
2248 // Also check for declarations in for loops.
2249 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2250 continue;
2251 return 0;
2252 }
2253
2254 // Check varargs and va_copy.
2255 static bool
2256 test_varargs (const char *format, ...)
2257 {
2258 va_list args;
2259 va_start (args, format);
2260 va_list args_copy;
2261 va_copy (args_copy, args);
2262
2263 const char *str = "";
2264 int number = 0;
2265 float fnumber = 0;
2266
2267 while (*format)
2268 {
2269 switch (*format++)
2270 {
2271 case '\''s'\'': // string
2272 str = va_arg (args_copy, const char *);
2273 break;
2274 case '\''d'\'': // int
2275 number = va_arg (args_copy, int);
2276 break;
2277 case '\''f'\'': // float
2278 fnumber = va_arg (args_copy, double);
2279 break;
2280 default:
2281 break;
2282 }
2283 }
2284 va_end (args_copy);
2285 va_end (args);
2286
2287 return *str && number && fnumber;
2288 }
2289 '
2290
2291 # Test code for whether the C compiler supports C99 (body of main).
2292 ac_c_conftest_c99_main='
2293 // Check bool.
2294 _Bool success = false;
2295 success |= (argc != 0);
2296
2297 // Check restrict.
2298 if (test_restrict ("String literal") == 0)
2299 success = true;
2300 char *restrict newvar = "Another string";
2301
2302 // Check varargs.
2303 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2304 test_varargs_macros ();
2305
2306 // Check flexible array members.
2307 struct incomplete_array *ia =
2308 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2309 ia->datasize = 10;
2310 for (int i = 0; i < ia->datasize; ++i)
2311 ia->data[i] = i * 1.234;
2312
2313 // Check named initializers.
2314 struct named_init ni = {
2315 .number = 34,
2316 .name = L"Test wide string",
2317 .average = 543.34343,
2318 };
2319
2320 ni.number = 58;
2321
2322 int dynamic_array[ni.number];
2323 dynamic_array[0] = argv[0][0];
2324 dynamic_array[ni.number - 1] = 543;
2325
2326 // work around unused variable warnings
2327 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2328 || dynamic_array[ni.number - 1] != 543);
2329 '
2330
2331 # Test code for whether the C compiler supports C11 (global declarations)
2332 ac_c_conftest_c11_globals='
2333 // Does the compiler advertise C11 conformance?
2334 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2335 # error "Compiler does not advertise C11 conformance"
2336 #endif
2337
2338 // Check _Alignas.
2339 char _Alignas (double) aligned_as_double;
2340 char _Alignas (0) no_special_alignment;
2341 extern char aligned_as_int;
2342 char _Alignas (0) _Alignas (int) aligned_as_int;
2343
2344 // Check _Alignof.
2345 enum
2346 {
2347 int_alignment = _Alignof (int),
2348 int_array_alignment = _Alignof (int[100]),
2349 char_alignment = _Alignof (char)
2350 };
2351 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2352
2353 // Check _Noreturn.
2354 int _Noreturn does_not_return (void) { for (;;) continue; }
2355
2356 // Check _Static_assert.
2357 struct test_static_assert
2358 {
2359 int x;
2360 _Static_assert (sizeof (int) <= sizeof (long int),
2361 "_Static_assert does not work in struct");
2362 long int y;
2363 };
2364
2365 // Check UTF-8 literals.
2366 #define u8 syntax error!
2367 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2368
2369 // Check duplicate typedefs.
2370 typedef long *long_ptr;
2371 typedef long int *long_ptr;
2372 typedef long_ptr long_ptr;
2373
2374 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2375 struct anonymous
2376 {
2377 union {
2378 struct { int i; int j; };
2379 struct { int k; long int l; } w;
2380 };
2381 int m;
2382 } v1;
2383 '
2384
2385 # Test code for whether the C compiler supports C11 (body of main).
2386 ac_c_conftest_c11_main='
2387 _Static_assert ((offsetof (struct anonymous, i)
2388 == offsetof (struct anonymous, w.k)),
2389 "Anonymous union alignment botch");
2390 v1.i = 2;
2391 v1.w.k = 5;
2392 ok |= v1.i != 5;
2393 '
2394
2395 # Test code for whether the C compiler supports C11 (complete).
2396 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2397 ${ac_c_conftest_c99_globals}
2398 ${ac_c_conftest_c11_globals}
2399
2400 int
2401 main (int argc, char **argv)
2402 {
2403 int ok = 0;
2404 ${ac_c_conftest_c89_main}
2405 ${ac_c_conftest_c99_main}
2406 ${ac_c_conftest_c11_main}
2407 return ok;
2408 }
2409 "
2410
2411 # Test code for whether the C compiler supports C99 (complete).
2412 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2413 ${ac_c_conftest_c99_globals}
2414
2415 int
2416 main (int argc, char **argv)
2417 {
2418 int ok = 0;
2419 ${ac_c_conftest_c89_main}
2420 ${ac_c_conftest_c99_main}
2421 return ok;
2422 }
2423 "
2424
2425 # Test code for whether the C compiler supports C89 (complete).
2426 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2427
2428 int
2429 main (int argc, char **argv)
2430 {
2431 int ok = 0;
2432 ${ac_c_conftest_c89_main}
2433 return ok;
2434 }
2435 "
2436
2437 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2438 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2439 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2440 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2441 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2442 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2443 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2444 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2445 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2446 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2447
2448 # Auxiliary files required by this configure script.
2449 ac_aux_files="config.rpath config.guess config.sub compile missing install-sh"
2450
2451 # Locations in which to look for auxiliary files.
2452 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2453
2454 # Search for a directory containing all of the required auxiliary files,
2455 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2456 # If we don't find one directory that contains all the files we need,
2457 # we report the set of missing files from the *first* directory in
2458 # $ac_aux_dir_candidates and give up.
2459 ac_missing_aux_files=""
2460 ac_first_candidate=:
2461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 as_found=false
2464 for as_dir in $ac_aux_dir_candidates
2465 do
2466 IFS=$as_save_IFS
2467 case $as_dir in #(((
2468 '') as_dir=./ ;;
2469 */) ;;
2470 *) as_dir=$as_dir/ ;;
2471 esac
2472 as_found=:
2473
2474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2475 ac_aux_dir_found=yes
2476 ac_install_sh=
2477 for ac_aux in $ac_aux_files
2478 do
2479 # As a special case, if "install-sh" is required, that requirement
2480 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2481 # and $ac_install_sh is set appropriately for whichever one is found.
2482 if test x"$ac_aux" = x"install-sh"
2483 then
2484 if test -f "${as_dir}install-sh"; then
2485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2486 ac_install_sh="${as_dir}install-sh -c"
2487 elif test -f "${as_dir}install.sh"; then
2488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2489 ac_install_sh="${as_dir}install.sh -c"
2490 elif test -f "${as_dir}shtool"; then
2491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2492 ac_install_sh="${as_dir}shtool install -c"
2493 else
2494 ac_aux_dir_found=no
2495 if $ac_first_candidate; then
2496 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2497 else
2498 break
2499 fi
2500 fi
2501 else
2502 if test -f "${as_dir}${ac_aux}"; then
2503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2504 else
2505 ac_aux_dir_found=no
2506 if $ac_first_candidate; then
2507 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2508 else
2509 break
2510 fi
2511 fi
2512 fi
2513 done
2514 if test "$ac_aux_dir_found" = yes; then
2515 ac_aux_dir="$as_dir"
2516 break
2517 fi
2518 ac_first_candidate=false
2519
2520 as_found=false
2521 done
2522 IFS=$as_save_IFS
2523 if $as_found
2524 then :
2525
2526 else $as_nop
2527 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2528 fi
2529
2530
2531 # These three variables are undocumented and unsupported,
2532 # and are intended to be withdrawn in a future Autoconf release.
2533 # They can cause serious problems if a builder's source tree is in a directory
2534 # whose full name contains unusual characters.
2535 if test -f "${ac_aux_dir}config.guess"; then
2536 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2537 fi
2538 if test -f "${ac_aux_dir}config.sub"; then
2539 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2540 fi
2541 if test -f "$ac_aux_dir/configure"; then
2542 ac_configure="$SHELL ${ac_aux_dir}configure"
21662543 fi
21672544
21682545 # Check that the precious variables saved in the cache have kept the same
21752552 eval ac_new_val=\$ac_env_${ac_var}_value
21762553 case $ac_old_set,$ac_new_set in
21772554 set,)
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2556 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
21802557 ac_cache_corrupted=: ;;
21812558 ,set)
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2183 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2560 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
21842561 ac_cache_corrupted=: ;;
21852562 ,);;
21862563 *)
21892566 ac_old_val_w=`echo x $ac_old_val`
21902567 ac_new_val_w=`echo x $ac_new_val`
21912568 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2193 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2570 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
21942571 ac_cache_corrupted=:
21952572 else
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2197 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2574 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
21982575 eval $ac_var=\$ac_old_val
21992576 fi
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2201 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2203 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2578 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2580 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
22042581 fi;;
22052582 esac
22062583 # Pass precious variables to config.status.
22072584 if test "$ac_new_set" = set; then
22082585 case $ac_new_val in
2209 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2586 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
22102587 *) ac_arg=$ac_var=$ac_new_val ;;
22112588 esac
22122589 case " $ac_configure_args " in
22162593 fi
22172594 done
22182595 if $ac_cache_corrupted; then
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2222 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2223 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2599 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2600 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2601 and start over" "$LINENO" 5
22242602 fi
22252603 ## -------------------- ##
22262604 ## Main body of script. ##
22372615
22382616 am__api_version='1.16'
22392617
2240 ac_aux_dir=
2241 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2242 if test -f "$ac_dir/install-sh"; then
2243 ac_aux_dir=$ac_dir
2244 ac_install_sh="$ac_aux_dir/install-sh -c"
2245 break
2246 elif test -f "$ac_dir/install.sh"; then
2247 ac_aux_dir=$ac_dir
2248 ac_install_sh="$ac_aux_dir/install.sh -c"
2249 break
2250 elif test -f "$ac_dir/shtool"; then
2251 ac_aux_dir=$ac_dir
2252 ac_install_sh="$ac_aux_dir/shtool install -c"
2253 break
2254 fi
2255 done
2256 if test -z "$ac_aux_dir"; then
2257 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2258 fi
2259
2260 # These three variables are undocumented and unsupported,
2261 # and are intended to be withdrawn in a future Autoconf release.
2262 # They can cause serious problems if a builder's source tree is in a directory
2263 # whose full name contains unusual characters.
2264 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2265 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2266 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2267
2268
2269 # Find a good install program. We prefer a C program (faster),
2618
2619
2620 # Find a good install program. We prefer a C program (faster),
22702621 # so one script is as good as another. But avoid the broken or
22712622 # incompatible versions:
22722623 # SysV /etc/install, /usr/sbin/install
22802631 # OS/2's system install, which has a completely different semantic
22812632 # ./install, which can be erroneously created by make from ./install.sh.
22822633 # Reject install programs that cannot install multiple files.
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2284 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2635 printf %s "checking for a BSD-compatible install... " >&6; }
22852636 if test -z "$INSTALL"; then
2286 if ${ac_cv_path_install+:} false; then :
2287 $as_echo_n "(cached) " >&6
2288 else
2637 if test ${ac_cv_path_install+y}
2638 then :
2639 printf %s "(cached) " >&6
2640 else $as_nop
22892641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22902642 for as_dir in $PATH
22912643 do
22922644 IFS=$as_save_IFS
2293 test -z "$as_dir" && as_dir=.
2294 # Account for people who put trailing slashes in PATH elements.
2295 case $as_dir/ in #((
2296 ./ | .// | /[cC]/* | \
2645 case $as_dir in #(((
2646 '') as_dir=./ ;;
2647 */) ;;
2648 *) as_dir=$as_dir/ ;;
2649 esac
2650 # Account for fact that we put trailing slashes in our PATH walk.
2651 case $as_dir in #((
2652 ./ | /[cC]/* | \
22972653 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
22982654 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
22992655 /usr/ucb/* ) ;;
23032659 # by default.
23042660 for ac_prog in ginstall scoinst install; do
23052661 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2662 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
23072663 if test $ac_prog = install &&
2308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2664 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
23092665 # AIX install. It has an incompatible calling convention.
23102666 :
23112667 elif test $ac_prog = install &&
2312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2668 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
23132669 # program-specific install script used by HP pwplus--don't use.
23142670 :
23152671 else
23172673 echo one > conftest.one
23182674 echo two > conftest.two
23192675 mkdir conftest.dir
2320 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2676 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
23212677 test -s conftest.one && test -s conftest.two &&
23222678 test -s conftest.dir/conftest.one &&
23232679 test -s conftest.dir/conftest.two
23242680 then
2325 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2681 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
23262682 break 3
23272683 fi
23282684 fi
23382694 rm -rf conftest.one conftest.two conftest.dir
23392695
23402696 fi
2341 if test "${ac_cv_path_install+set}" = set; then
2697 if test ${ac_cv_path_install+y}; then
23422698 INSTALL=$ac_cv_path_install
23432699 else
23442700 # As a last resort, use the slow shell script. Don't cache a
23482704 INSTALL=$ac_install_sh
23492705 fi
23502706 fi
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2352 $as_echo "$INSTALL" >&6; }
2707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2708 printf "%s\n" "$INSTALL" >&6; }
23532709
23542710 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
23552711 # It thinks the first close brace ends the variable substitution.
23592715
23602716 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
23612717
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2363 $as_echo_n "checking whether build environment is sane... " >&6; }
2718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2719 printf %s "checking whether build environment is sane... " >&6; }
23642720 # Reject unsafe characters in $srcdir or the absolute working directory
23652721 # name. Accept space and tab only in the latter.
23662722 am_lf='
24142770 as_fn_error $? "newly created file is older than distributed files!
24152771 Check your system clock" "$LINENO" 5
24162772 fi
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2418 $as_echo "yes" >&6; }
2773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 printf "%s\n" "yes" >&6; }
24192775 # If we didn't sleep, we still need to ensure time stamps of config.status and
24202776 # generated files are strictly newer.
24212777 am_sleep_pid=
24342790 # Double any \ or $.
24352791 # By default was `s,x,x', remove it if useless.
24362792 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2437 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2793 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2794
24382795
24392796 # Expand $ac_aux_dir to an absolute path.
24402797 am_aux_dir=`cd "$ac_aux_dir" && pwd`
24412798
2442 if test x"${MISSING+set}" != xset; then
2443 case $am_aux_dir in
2444 *\ * | *\ *)
2445 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2446 *)
2447 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2448 esac
2799
2800 if test x"${MISSING+set}" != xset; then
2801 MISSING="\${SHELL} '$am_aux_dir/missing'"
24492802 fi
24502803 # Use eval to expand $SHELL
24512804 if eval "$MISSING --is-lightweight"; then
24522805 am_missing_run="$MISSING "
24532806 else
24542807 am_missing_run=
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2456 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2809 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
24572810 fi
24582811
24592812 if test x"${install_sh+set}" != xset; then
24732826 if test -n "$ac_tool_prefix"; then
24742827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
24752828 set dummy ${ac_tool_prefix}strip; ac_word=$2
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2477 $as_echo_n "checking for $ac_word... " >&6; }
2478 if ${ac_cv_prog_STRIP+:} false; then :
2479 $as_echo_n "(cached) " >&6
2480 else
2829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 printf %s "checking for $ac_word... " >&6; }
2831 if test ${ac_cv_prog_STRIP+y}
2832 then :
2833 printf %s "(cached) " >&6
2834 else $as_nop
24812835 if test -n "$STRIP"; then
24822836 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
24832837 else
24852839 for as_dir in $PATH
24862840 do
24872841 IFS=$as_save_IFS
2488 test -z "$as_dir" && as_dir=.
2842 case $as_dir in #(((
2843 '') as_dir=./ ;;
2844 */) ;;
2845 *) as_dir=$as_dir/ ;;
2846 esac
24892847 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
24912849 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24932851 break 2
24942852 fi
24952853 done
25002858 fi
25012859 STRIP=$ac_cv_prog_STRIP
25022860 if test -n "$STRIP"; then
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2504 $as_echo "$STRIP" >&6; }
2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2862 printf "%s\n" "$STRIP" >&6; }
25052863 else
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507 $as_echo "no" >&6; }
2864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 printf "%s\n" "no" >&6; }
25082866 fi
25092867
25102868
25132871 ac_ct_STRIP=$STRIP
25142872 # Extract the first word of "strip", so it can be a program name with args.
25152873 set dummy strip; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 printf %s "checking for $ac_word... " >&6; }
2876 if test ${ac_cv_prog_ac_ct_STRIP+y}
2877 then :
2878 printf %s "(cached) " >&6
2879 else $as_nop
25212880 if test -n "$ac_ct_STRIP"; then
25222881 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
25232882 else
25252884 for as_dir in $PATH
25262885 do
25272886 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2887 case $as_dir in #(((
2888 '') as_dir=./ ;;
2889 */) ;;
2890 *) as_dir=$as_dir/ ;;
2891 esac
25292892 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
25312894 ac_cv_prog_ac_ct_STRIP="strip"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25332896 break 2
25342897 fi
25352898 done
25402903 fi
25412904 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
25422905 if test -n "$ac_ct_STRIP"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2544 $as_echo "$ac_ct_STRIP" >&6; }
2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2907 printf "%s\n" "$ac_ct_STRIP" >&6; }
25452908 else
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 printf "%s\n" "no" >&6; }
25482911 fi
25492912
25502913 if test "x$ac_ct_STRIP" = x; then
25522915 else
25532916 case $cross_compiling:$ac_tool_warned in
25542917 yes:)
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2919 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25572920 ac_tool_warned=yes ;;
25582921 esac
25592922 STRIP=$ac_ct_STRIP
25652928 fi
25662929 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
25672930
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2569 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2931
2932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2933 printf %s "checking for a race-free mkdir -p... " >&6; }
25702934 if test -z "$MKDIR_P"; then
2571 if ${ac_cv_path_mkdir+:} false; then :
2572 $as_echo_n "(cached) " >&6
2573 else
2935 if test ${ac_cv_path_mkdir+y}
2936 then :
2937 printf %s "(cached) " >&6
2938 else $as_nop
25742939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25752940 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
25762941 do
25772942 IFS=$as_save_IFS
2578 test -z "$as_dir" && as_dir=.
2943 case $as_dir in #(((
2944 '') as_dir=./ ;;
2945 */) ;;
2946 *) as_dir=$as_dir/ ;;
2947 esac
25792948 for ac_prog in mkdir gmkdir; do
25802949 for ac_exec_ext in '' $ac_executable_extensions; do
2581 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2582 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2583 'mkdir (GNU coreutils) '* | \
2584 'mkdir (coreutils) '* | \
2950 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2951 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2952 'mkdir ('*'coreutils) '* | \
2953 'BusyBox '* | \
25852954 'mkdir (fileutils) '4.1*)
2586 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2955 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
25872956 break 3;;
25882957 esac
25892958 done
25942963 fi
25952964
25962965 test -d ./--version && rmdir ./--version
2597 if test "${ac_cv_path_mkdir+set}" = set; then
2966 if test ${ac_cv_path_mkdir+y}; then
25982967 MKDIR_P="$ac_cv_path_mkdir -p"
25992968 else
26002969 # As a last resort, use the slow shell script. Don't cache a
26042973 MKDIR_P="$ac_install_sh -d"
26052974 fi
26062975 fi
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2608 $as_echo "$MKDIR_P" >&6; }
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2977 printf "%s\n" "$MKDIR_P" >&6; }
26092978
26102979 for ac_prog in gawk mawk nawk awk
26112980 do
26122981 # Extract the first word of "$ac_prog", so it can be a program name with args.
26132982 set dummy $ac_prog; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_AWK+:} false; then :
2617 $as_echo_n "(cached) " >&6
2618 else
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 printf %s "checking for $ac_word... " >&6; }
2985 if test ${ac_cv_prog_AWK+y}
2986 then :
2987 printf %s "(cached) " >&6
2988 else $as_nop
26192989 if test -n "$AWK"; then
26202990 ac_cv_prog_AWK="$AWK" # Let the user override the test.
26212991 else
26232993 for as_dir in $PATH
26242994 do
26252995 IFS=$as_save_IFS
2626 test -z "$as_dir" && as_dir=.
2996 case $as_dir in #(((
2997 '') as_dir=./ ;;
2998 */) ;;
2999 *) as_dir=$as_dir/ ;;
3000 esac
26273001 for ac_exec_ext in '' $ac_executable_extensions; do
2628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
26293003 ac_cv_prog_AWK="$ac_prog"
2630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26313005 break 2
26323006 fi
26333007 done
26383012 fi
26393013 AWK=$ac_cv_prog_AWK
26403014 if test -n "$AWK"; then
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2642 $as_echo "$AWK" >&6; }
3015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3016 printf "%s\n" "$AWK" >&6; }
26433017 else
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
3018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 printf "%s\n" "no" >&6; }
26463020 fi
26473021
26483022
26493023 test -n "$AWK" && break
26503024 done
26513025
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2653 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3027 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
26543028 set x ${MAKE-make}
2655 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2656 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2657 $as_echo_n "(cached) " >&6
2658 else
3029 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3030 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3031 then :
3032 printf %s "(cached) " >&6
3033 else $as_nop
26593034 cat >conftest.make <<\_ACEOF
26603035 SHELL = /bin/sh
26613036 all:
26713046 rm -f conftest.make
26723047 fi
26733048 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2675 $as_echo "yes" >&6; }
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3050 printf "%s\n" "yes" >&6; }
26763051 SET_MAKE=
26773052 else
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 printf "%s\n" "no" >&6; }
26803055 SET_MAKE="MAKE=${MAKE-make}"
26813056 fi
26823057
26903065 rmdir .tst 2>/dev/null
26913066
26923067 # Check whether --enable-silent-rules was given.
2693 if test "${enable_silent_rules+set}" = set; then :
3068 if test ${enable_silent_rules+y}
3069 then :
26943070 enableval=$enable_silent_rules;
26953071 fi
26963072
27003076 *) AM_DEFAULT_VERBOSITY=1;;
27013077 esac
27023078 am_make=${MAKE-make}
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2704 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2705 if ${am_cv_make_support_nested_variables+:} false; then :
2706 $as_echo_n "(cached) " >&6
2707 else
2708 if $as_echo 'TRUE=$(BAR$(V))
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3080 printf %s "checking whether $am_make supports nested variables... " >&6; }
3081 if test ${am_cv_make_support_nested_variables+y}
3082 then :
3083 printf %s "(cached) " >&6
3084 else $as_nop
3085 if printf "%s\n" 'TRUE=$(BAR$(V))
27093086 BAR0=false
27103087 BAR1=true
27113088 V=1
27173094 am_cv_make_support_nested_variables=no
27183095 fi
27193096 fi
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2721 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3098 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
27223099 if test $am_cv_make_support_nested_variables = yes; then
27233100 AM_V='$(V)'
27243101 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
27503127
27513128 # Define the identity of the package.
27523129 PACKAGE='dosfstools'
2753 VERSION='4.2'
2754
2755
2756 cat >>confdefs.h <<_ACEOF
2757 #define PACKAGE "$PACKAGE"
2758 _ACEOF
2759
2760
2761 cat >>confdefs.h <<_ACEOF
2762 #define VERSION "$VERSION"
2763 _ACEOF
3130 VERSION='4.2+git'
3131
3132
3133 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3134
3135
3136 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
27643137
27653138 # Some tools Automake needs.
27663139
27983171
27993172
28003173
3174
3175
3176 # Variables for tags utilities; see am/tags.am
3177 if test -z "$CTAGS"; then
3178 CTAGS=ctags
3179 fi
3180
3181 if test -z "$ETAGS"; then
3182 ETAGS=etags
3183 fi
3184
3185 if test -z "$CSCOPE"; then
3186 CSCOPE=cscope
3187 fi
28013188
28023189
28033190
28453232
28463233
28473234 # Check whether --enable-compat-symlinks was given.
2848 if test "${enable_compat_symlinks+set}" = set; then :
3235 if test ${enable_compat_symlinks+y}
3236 then :
28493237 enableval=$enable_compat_symlinks; case "${enableval}" in
28503238 yes) symlinks=true ;;
28513239 no) symlinks=false ;;
28523240 *) as_fn_error $? "bad value ${enableval} for --enable-compat-symlinks" "$LINENO" 5 ;;
28533241 esac
2854 else
3242 else $as_nop
28553243 symlinks=false
28563244 fi
28573245
28653253
28663254
28673255 # Check whether --enable-atari-check was given.
2868 if test "${enable_atari_check+set}" = set; then :
3256 if test ${enable_atari_check+y}
3257 then :
28693258 enableval=$enable_atari_check; case "${enableval}" in
28703259 yes) CHECKATARI=1
28713260
2872 $as_echo "#define CONF_CHECK_ATARI 1" >>confdefs.h
3261 printf "%s\n" "#define CONF_CHECK_ATARI 1" >>confdefs.h
28733262 ;;
28743263 no) CHECKATARI=0
28753264 ;;
28763265 *) as_fn_error $? "bad value ${enableval} for --enable-atari-check" "$LINENO" 5 ;;
28773266 esac
2878 else
3267 else $as_nop
28793268 CHECKATARI=0
28803269
28813270 fi
28823271
28833272
3273
3274
3275
3276
3277
3278
3279
3280
3281
28843282 DEPDIR="${am__leading_dot}deps"
28853283
28863284 ac_config_commands="$ac_config_commands depfiles"
28873285
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2889 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3287 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
28903288 cat > confinc.mk << 'END'
28913289 am__doit:
28923290 @echo this is the am__doit target >confinc.out
29223320 fi
29233321 done
29243322 rm -f confinc.* confmf.*
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2926 $as_echo "${_am_result}" >&6; }
3323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3324 printf "%s\n" "${_am_result}" >&6; }
29273325
29283326 # Check whether --enable-dependency-tracking was given.
2929 if test "${enable_dependency_tracking+set}" = set; then :
3327 if test ${enable_dependency_tracking+y}
3328 then :
29303329 enableval=$enable_dependency_tracking;
29313330 fi
29323331
29523351 if test -n "$ac_tool_prefix"; then
29533352 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
29543353 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2959 else
3354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 printf %s "checking for $ac_word... " >&6; }
3356 if test ${ac_cv_prog_CC+y}
3357 then :
3358 printf %s "(cached) " >&6
3359 else $as_nop
29603360 if test -n "$CC"; then
29613361 ac_cv_prog_CC="$CC" # Let the user override the test.
29623362 else
29643364 for as_dir in $PATH
29653365 do
29663366 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
3367 case $as_dir in #(((
3368 '') as_dir=./ ;;
3369 */) ;;
3370 *) as_dir=$as_dir/ ;;
3371 esac
29683372 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3373 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
29703374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29723376 break 2
29733377 fi
29743378 done
29793383 fi
29803384 CC=$ac_cv_prog_CC
29813385 if test -n "$CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983 $as_echo "$CC" >&6; }
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3387 printf "%s\n" "$CC" >&6; }
29843388 else
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3390 printf "%s\n" "no" >&6; }
29873391 fi
29883392
29893393
29923396 ac_ct_CC=$CC
29933397 # Extract the first word of "gcc", so it can be a program name with args.
29943398 set dummy gcc; ac_word=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2998 $as_echo_n "(cached) " >&6
2999 else
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 printf %s "checking for $ac_word... " >&6; }
3401 if test ${ac_cv_prog_ac_ct_CC+y}
3402 then :
3403 printf %s "(cached) " >&6
3404 else $as_nop
30003405 if test -n "$ac_ct_CC"; then
30013406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30023407 else
30043409 for as_dir in $PATH
30053410 do
30063411 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3412 case $as_dir in #(((
3413 '') as_dir=./ ;;
3414 */) ;;
3415 *) as_dir=$as_dir/ ;;
3416 esac
30083417 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3418 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30103419 ac_cv_prog_ac_ct_CC="gcc"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30123421 break 2
30133422 fi
30143423 done
30193428 fi
30203429 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30213430 if test -n "$ac_ct_CC"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3023 $as_echo "$ac_ct_CC" >&6; }
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3432 printf "%s\n" "$ac_ct_CC" >&6; }
30243433 else
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 printf "%s\n" "no" >&6; }
30273436 fi
30283437
30293438 if test "x$ac_ct_CC" = x; then
30313440 else
30323441 case $cross_compiling:$ac_tool_warned in
30333442 yes:)
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3444 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30363445 ac_tool_warned=yes ;;
30373446 esac
30383447 CC=$ac_ct_CC
30453454 if test -n "$ac_tool_prefix"; then
30463455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30473456 set dummy ${ac_tool_prefix}cc; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 printf %s "checking for $ac_word... " >&6; }
3459 if test ${ac_cv_prog_CC+y}
3460 then :
3461 printf %s "(cached) " >&6
3462 else $as_nop
30533463 if test -n "$CC"; then
30543464 ac_cv_prog_CC="$CC" # Let the user override the test.
30553465 else
30573467 for as_dir in $PATH
30583468 do
30593469 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3470 case $as_dir in #(((
3471 '') as_dir=./ ;;
3472 */) ;;
3473 *) as_dir=$as_dir/ ;;
3474 esac
30613475 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
30633477 ac_cv_prog_CC="${ac_tool_prefix}cc"
3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30653479 break 2
30663480 fi
30673481 done
30723486 fi
30733487 CC=$ac_cv_prog_CC
30743488 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3490 printf "%s\n" "$CC" >&6; }
30773491 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 printf "%s\n" "no" >&6; }
30803494 fi
30813495
30823496
30853499 if test -z "$CC"; then
30863500 # Extract the first word of "cc", so it can be a program name with args.
30873501 set dummy cc; ac_word=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3503 printf %s "checking for $ac_word... " >&6; }
3504 if test ${ac_cv_prog_CC+y}
3505 then :
3506 printf %s "(cached) " >&6
3507 else $as_nop
30933508 if test -n "$CC"; then
30943509 ac_cv_prog_CC="$CC" # Let the user override the test.
30953510 else
30983513 for as_dir in $PATH
30993514 do
31003515 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3516 case $as_dir in #(((
3517 '') as_dir=./ ;;
3518 */) ;;
3519 *) as_dir=$as_dir/ ;;
3520 esac
31023521 for ac_exec_ext in '' $ac_executable_extensions; do
3103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3104 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3522 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3523 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
31053524 ac_prog_rejected=yes
31063525 continue
31073526 fi
31083527 ac_cv_prog_CC="cc"
3109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31103529 break 2
31113530 fi
31123531 done
31223541 # However, it has the same basename, so the bogon will be chosen
31233542 # first if we set CC to just the basename; use the full file name.
31243543 shift
3125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3544 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
31263545 fi
31273546 fi
31283547 fi
31293548 fi
31303549 CC=$ac_cv_prog_CC
31313550 if test -n "$CC"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3133 $as_echo "$CC" >&6; }
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3552 printf "%s\n" "$CC" >&6; }
31343553 else
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 printf "%s\n" "no" >&6; }
31373556 fi
31383557
31393558
31443563 do
31453564 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
31463565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150 $as_echo_n "(cached) " >&6
3151 else
3566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 printf %s "checking for $ac_word... " >&6; }
3568 if test ${ac_cv_prog_CC+y}
3569 then :
3570 printf %s "(cached) " >&6
3571 else $as_nop
31523572 if test -n "$CC"; then
31533573 ac_cv_prog_CC="$CC" # Let the user override the test.
31543574 else
31563576 for as_dir in $PATH
31573577 do
31583578 IFS=$as_save_IFS
3159 test -z "$as_dir" && as_dir=.
3579 case $as_dir in #(((
3580 '') as_dir=./ ;;
3581 */) ;;
3582 *) as_dir=$as_dir/ ;;
3583 esac
31603584 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
31623586 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31643588 break 2
31653589 fi
31663590 done
31713595 fi
31723596 CC=$ac_cv_prog_CC
31733597 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 printf "%s\n" "$CC" >&6; }
31763600 else
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 printf "%s\n" "no" >&6; }
31793603 fi
31803604
31813605
31883612 do
31893613 # Extract the first word of "$ac_prog", so it can be a program name with args.
31903614 set dummy $ac_prog; ac_word=$2
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192 $as_echo_n "checking for $ac_word... " >&6; }
3193 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3194 $as_echo_n "(cached) " >&6
3195 else
3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3616 printf %s "checking for $ac_word... " >&6; }
3617 if test ${ac_cv_prog_ac_ct_CC+y}
3618 then :
3619 printf %s "(cached) " >&6
3620 else $as_nop
31963621 if test -n "$ac_ct_CC"; then
31973622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
31983623 else
32003625 for as_dir in $PATH
32013626 do
32023627 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3628 case $as_dir in #(((
3629 '') as_dir=./ ;;
3630 */) ;;
3631 *) as_dir=$as_dir/ ;;
3632 esac
32043633 for ac_exec_ext in '' $ac_executable_extensions; do
3205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
32063635 ac_cv_prog_ac_ct_CC="$ac_prog"
3207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32083637 break 2
32093638 fi
32103639 done
32153644 fi
32163645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
32173646 if test -n "$ac_ct_CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3219 $as_echo "$ac_ct_CC" >&6; }
3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3648 printf "%s\n" "$ac_ct_CC" >&6; }
32203649 else
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 printf "%s\n" "no" >&6; }
32233652 fi
32243653
32253654
32313660 else
32323661 case $cross_compiling:$ac_tool_warned in
32333662 yes:)
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
32363665 ac_tool_warned=yes ;;
32373666 esac
32383667 CC=$ac_ct_CC
32403669 fi
32413670
32423671 fi
3243
3244
3245 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 if test -z "$CC"; then
3673 if test -n "$ac_tool_prefix"; then
3674 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3675 set dummy ${ac_tool_prefix}clang; ac_word=$2
3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 printf %s "checking for $ac_word... " >&6; }
3678 if test ${ac_cv_prog_CC+y}
3679 then :
3680 printf %s "(cached) " >&6
3681 else $as_nop
3682 if test -n "$CC"; then
3683 ac_cv_prog_CC="$CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3687 do
3688 IFS=$as_save_IFS
3689 case $as_dir in #(((
3690 '') as_dir=./ ;;
3691 */) ;;
3692 *) as_dir=$as_dir/ ;;
3693 esac
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC="${ac_tool_prefix}clang"
3697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3698 break 2
3699 fi
3700 done
3701 done
3702 IFS=$as_save_IFS
3703
3704 fi
3705 fi
3706 CC=$ac_cv_prog_CC
3707 if test -n "$CC"; then
3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 printf "%s\n" "$CC" >&6; }
3710 else
3711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 printf "%s\n" "no" >&6; }
3713 fi
3714
3715
3716 fi
3717 if test -z "$ac_cv_prog_CC"; then
3718 ac_ct_CC=$CC
3719 # Extract the first word of "clang", so it can be a program name with args.
3720 set dummy clang; ac_word=$2
3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 printf %s "checking for $ac_word... " >&6; }
3723 if test ${ac_cv_prog_ac_ct_CC+y}
3724 then :
3725 printf %s "(cached) " >&6
3726 else $as_nop
3727 if test -n "$ac_ct_CC"; then
3728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3729 else
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 for as_dir in $PATH
3732 do
3733 IFS=$as_save_IFS
3734 case $as_dir in #(((
3735 '') as_dir=./ ;;
3736 */) ;;
3737 *) as_dir=$as_dir/ ;;
3738 esac
3739 for ac_exec_ext in '' $ac_executable_extensions; do
3740 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3741 ac_cv_prog_ac_ct_CC="clang"
3742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3743 break 2
3744 fi
3745 done
3746 done
3747 IFS=$as_save_IFS
3748
3749 fi
3750 fi
3751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3752 if test -n "$ac_ct_CC"; then
3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3754 printf "%s\n" "$ac_ct_CC" >&6; }
3755 else
3756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 printf "%s\n" "no" >&6; }
3758 fi
3759
3760 if test "x$ac_ct_CC" = x; then
3761 CC=""
3762 else
3763 case $cross_compiling:$ac_tool_warned in
3764 yes:)
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3766 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3767 ac_tool_warned=yes ;;
3768 esac
3769 CC=$ac_ct_CC
3770 fi
3771 else
3772 CC="$ac_cv_prog_CC"
3773 fi
3774
3775 fi
3776
3777
3778 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
32473780 as_fn_error $? "no acceptable C compiler found in \$PATH
32483781 See \`config.log' for more details" "$LINENO" 5; }
32493782
32503783 # Provide some information about the compiler.
3251 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
32523785 set X $ac_compile
32533786 ac_compiler=$2
3254 for ac_option in --version -v -V -qversion; do
3787 for ac_option in --version -v -V -qversion -version; do
32553788 { { ac_try="$ac_compiler $ac_option >&5"
32563789 case "(($ac_try" in
32573790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32583791 *) ac_try_echo=$ac_try;;
32593792 esac
32603793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3261 $as_echo "$ac_try_echo"; } >&5
3794 printf "%s\n" "$ac_try_echo"; } >&5
32623795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
32633796 ac_status=$?
32643797 if test -s conftest.err; then
32683801 cat conftest.er1 >&5
32693802 fi
32703803 rm -f conftest.er1 conftest.err
3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32723805 test $ac_status = 0; }
32733806 done
32743807
32763809 /* end confdefs.h. */
32773810
32783811 int
3279 main ()
3812 main (void)
32803813 {
32813814
32823815 ;
32883821 # Try to create an executable without -o first, disregard a.out.
32893822 # It will help us diagnose broken compilers, and finding out an intuition
32903823 # of exeext.
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3292 $as_echo_n "checking whether the C compiler works... " >&6; }
3293 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3825 printf %s "checking whether the C compiler works... " >&6; }
3826 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
32943827
32953828 # The possible output files:
32963829 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
33113844 *) ac_try_echo=$ac_try;;
33123845 esac
33133846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3847 printf "%s\n" "$ac_try_echo"; } >&5
33153848 (eval "$ac_link_default") 2>&5
33163849 ac_status=$?
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; then :
3850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }
3852 then :
33193853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
33203854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
33213855 # in a Makefile. We should not override ac_cv_exeext if it was cached,
33323866 # certainly right.
33333867 break;;
33343868 *.* )
3335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3869 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
33363870 then :; else
33373871 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
33383872 fi
33483882 done
33493883 test "$ac_cv_exeext" = no && ac_cv_exeext=
33503884
3351 else
3885 else $as_nop
33523886 ac_file=''
33533887 fi
3354 if test -z "$ac_file"; then :
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3357 $as_echo "$as_me: failed program was:" >&5
3888 if test -z "$ac_file"
3889 then :
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3891 printf "%s\n" "no" >&6; }
3892 printf "%s\n" "$as_me: failed program was:" >&5
33583893 sed 's/^/| /' conftest.$ac_ext >&5
33593894
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3896 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
33623897 as_fn_error 77 "C compiler cannot create executables
33633898 See \`config.log' for more details" "$LINENO" 5; }
3364 else
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3366 $as_echo "yes" >&6; }
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3369 $as_echo_n "checking for C compiler default output file name... " >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3371 $as_echo "$ac_file" >&6; }
3899 else $as_nop
3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3901 printf "%s\n" "yes" >&6; }
3902 fi
3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3904 printf %s "checking for C compiler default output file name... " >&6; }
3905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3906 printf "%s\n" "$ac_file" >&6; }
33723907 ac_exeext=$ac_cv_exeext
33733908
33743909 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
33753910 ac_clean_files=$ac_clean_files_save
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3377 $as_echo_n "checking for suffix of executables... " >&6; }
3911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3912 printf %s "checking for suffix of executables... " >&6; }
33783913 if { { ac_try="$ac_link"
33793914 case "(($ac_try" in
33803915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33813916 *) ac_try_echo=$ac_try;;
33823917 esac
33833918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384 $as_echo "$ac_try_echo"; } >&5
3919 printf "%s\n" "$ac_try_echo"; } >&5
33853920 (eval "$ac_link") 2>&5
33863921 ac_status=$?
3387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388 test $ac_status = 0; }; then :
3922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 then :
33893925 # If both `conftest.exe' and `conftest' are `present' (well, observable)
33903926 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
33913927 # work properly (i.e., refer to `conftest.exe'), while it won't with
33993935 * ) break;;
34003936 esac
34013937 done
3402 else
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 else $as_nop
3939 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
34053941 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
34063942 See \`config.log' for more details" "$LINENO" 5; }
34073943 fi
34083944 rm -f conftest conftest$ac_cv_exeext
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3410 $as_echo "$ac_cv_exeext" >&6; }
3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3946 printf "%s\n" "$ac_cv_exeext" >&6; }
34113947
34123948 rm -f conftest.$ac_ext
34133949 EXEEXT=$ac_cv_exeext
34163952 /* end confdefs.h. */
34173953 #include <stdio.h>
34183954 int
3419 main ()
3955 main (void)
34203956 {
34213957 FILE *f = fopen ("conftest.out", "w");
34223958 return ferror (f) || fclose (f) != 0;
34283964 ac_clean_files="$ac_clean_files conftest.out"
34293965 # Check that the compiler produces executables we can run. If not, either
34303966 # the compiler is broken, or we cross compile.
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3432 $as_echo_n "checking whether we are cross compiling... " >&6; }
3967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3968 printf %s "checking whether we are cross compiling... " >&6; }
34333969 if test "$cross_compiling" != yes; then
34343970 { { ac_try="$ac_link"
34353971 case "(($ac_try" in
34373973 *) ac_try_echo=$ac_try;;
34383974 esac
34393975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3976 printf "%s\n" "$ac_try_echo"; } >&5
34413977 (eval "$ac_link") 2>&5
34423978 ac_status=$?
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34443980 test $ac_status = 0; }
34453981 if { ac_try='./conftest$ac_cv_exeext'
34463982 { { case "(($ac_try" in
34483984 *) ac_try_echo=$ac_try;;
34493985 esac
34503986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3987 printf "%s\n" "$ac_try_echo"; } >&5
34523988 (eval "$ac_try") 2>&5
34533989 ac_status=$?
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34553991 test $ac_status = 0; }; }; then
34563992 cross_compiling=no
34573993 else
34583994 if test "$cross_compiling" = maybe; then
34593995 cross_compiling=yes
34603996 else
3461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463 as_fn_error $? "cannot run C compiled programs.
3997 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3998 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3999 as_fn_error 77 "cannot run C compiled programs.
34644000 If you meant to cross compile, use \`--host'.
34654001 See \`config.log' for more details" "$LINENO" 5; }
34664002 fi
34674003 fi
34684004 fi
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3470 $as_echo "$cross_compiling" >&6; }
4005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4006 printf "%s\n" "$cross_compiling" >&6; }
34714007
34724008 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
34734009 ac_clean_files=$ac_clean_files_save
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3475 $as_echo_n "checking for suffix of object files... " >&6; }
3476 if ${ac_cv_objext+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4011 printf %s "checking for suffix of object files... " >&6; }
4012 if test ${ac_cv_objext+y}
4013 then :
4014 printf %s "(cached) " >&6
4015 else $as_nop
34794016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34804017 /* end confdefs.h. */
34814018
34824019 int
3483 main ()
4020 main (void)
34844021 {
34854022
34864023 ;
34944031 *) ac_try_echo=$ac_try;;
34954032 esac
34964033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497 $as_echo "$ac_try_echo"; } >&5
4034 printf "%s\n" "$ac_try_echo"; } >&5
34984035 (eval "$ac_compile") 2>&5
34994036 ac_status=$?
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }; then :
4037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }
4039 then :
35024040 for ac_file in conftest.o conftest.obj conftest.*; do
35034041 test -f "$ac_file" || continue;
35044042 case $ac_file in
35074045 break;;
35084046 esac
35094047 done
3510 else
3511 $as_echo "$as_me: failed program was:" >&5
4048 else $as_nop
4049 printf "%s\n" "$as_me: failed program was:" >&5
35124050 sed 's/^/| /' conftest.$ac_ext >&5
35134051
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
35164054 as_fn_error $? "cannot compute suffix of object files: cannot compile
35174055 See \`config.log' for more details" "$LINENO" 5; }
35184056 fi
35194057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
35204058 fi
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3522 $as_echo "$ac_cv_objext" >&6; }
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4060 printf "%s\n" "$ac_cv_objext" >&6; }
35234061 OBJEXT=$ac_cv_objext
35244062 ac_objext=$OBJEXT
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3526 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3527 if ${ac_cv_c_compiler_gnu+:} false; then :
3528 $as_echo_n "(cached) " >&6
3529 else
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4064 printf %s "checking whether the compiler supports GNU C... " >&6; }
4065 if test ${ac_cv_c_compiler_gnu+y}
4066 then :
4067 printf %s "(cached) " >&6
4068 else $as_nop
35304069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35314070 /* end confdefs.h. */
35324071
35334072 int
3534 main ()
4073 main (void)
35354074 {
35364075 #ifndef __GNUC__
35374076 choke me
35414080 return 0;
35424081 }
35434082 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
4083 if ac_fn_c_try_compile "$LINENO"
4084 then :
35454085 ac_compiler_gnu=yes
3546 else
4086 else $as_nop
35474087 ac_compiler_gnu=no
35484088 fi
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35504090 ac_cv_c_compiler_gnu=$ac_compiler_gnu
35514091
35524092 fi
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3554 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4094 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096
35554097 if test $ac_compiler_gnu = yes; then
35564098 GCC=yes
35574099 else
35584100 GCC=
35594101 fi
3560 ac_test_CFLAGS=${CFLAGS+set}
4102 ac_test_CFLAGS=${CFLAGS+y}
35614103 ac_save_CFLAGS=$CFLAGS
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3563 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3564 if ${ac_cv_prog_cc_g+:} false; then :
3565 $as_echo_n "(cached) " >&6
3566 else
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4105 printf %s "checking whether $CC accepts -g... " >&6; }
4106 if test ${ac_cv_prog_cc_g+y}
4107 then :
4108 printf %s "(cached) " >&6
4109 else $as_nop
35674110 ac_save_c_werror_flag=$ac_c_werror_flag
35684111 ac_c_werror_flag=yes
35694112 ac_cv_prog_cc_g=no
35724115 /* end confdefs.h. */
35734116
35744117 int
3575 main ()
4118 main (void)
35764119 {
35774120
35784121 ;
35794122 return 0;
35804123 }
35814124 _ACEOF
3582 if ac_fn_c_try_compile "$LINENO"; then :
4125 if ac_fn_c_try_compile "$LINENO"
4126 then :
35834127 ac_cv_prog_cc_g=yes
3584 else
4128 else $as_nop
35854129 CFLAGS=""
35864130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35874131 /* end confdefs.h. */
35884132
35894133 int
3590 main ()
4134 main (void)
35914135 {
35924136
35934137 ;
35944138 return 0;
35954139 }
35964140 _ACEOF
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598
3599 else
4141 if ac_fn_c_try_compile "$LINENO"
4142 then :
4143
4144 else $as_nop
36004145 ac_c_werror_flag=$ac_save_c_werror_flag
36014146 CFLAGS="-g"
36024147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36034148 /* end confdefs.h. */
36044149
36054150 int
3606 main ()
4151 main (void)
36074152 {
36084153
36094154 ;
36104155 return 0;
36114156 }
36124157 _ACEOF
3613 if ac_fn_c_try_compile "$LINENO"; then :
4158 if ac_fn_c_try_compile "$LINENO"
4159 then :
36144160 ac_cv_prog_cc_g=yes
36154161 fi
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 fi
3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3619 fi
3620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4163 fi
4164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4165 fi
4166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36214167 ac_c_werror_flag=$ac_save_c_werror_flag
36224168 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3624 $as_echo "$ac_cv_prog_cc_g" >&6; }
3625 if test "$ac_test_CFLAGS" = set; then
4169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4170 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4171 if test $ac_test_CFLAGS; then
36264172 CFLAGS=$ac_save_CFLAGS
36274173 elif test $ac_cv_prog_cc_g = yes; then
36284174 if test "$GCC" = yes; then
36374183 CFLAGS=
36384184 fi
36394185 fi
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3642 if ${ac_cv_prog_cc_c89+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
4186 ac_prog_cc_stdc=no
4187 if test x$ac_prog_cc_stdc = xno
4188 then :
4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4190 printf %s "checking for $CC option to enable C11 features... " >&6; }
4191 if test ${ac_cv_prog_cc_c11+y}
4192 then :
4193 printf %s "(cached) " >&6
4194 else $as_nop
4195 ac_cv_prog_cc_c11=no
4196 ac_save_CC=$CC
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 $ac_c_conftest_c11_program
4200 _ACEOF
4201 for ac_arg in '' -std=gnu11
4202 do
4203 CC="$ac_save_CC $ac_arg"
4204 if ac_fn_c_try_compile "$LINENO"
4205 then :
4206 ac_cv_prog_cc_c11=$ac_arg
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.beam
4209 test "x$ac_cv_prog_cc_c11" != "xno" && break
4210 done
4211 rm -f conftest.$ac_ext
4212 CC=$ac_save_CC
4213 fi
4214
4215 if test "x$ac_cv_prog_cc_c11" = xno
4216 then :
4217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4218 printf "%s\n" "unsupported" >&6; }
4219 else $as_nop
4220 if test "x$ac_cv_prog_cc_c11" = x
4221 then :
4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4223 printf "%s\n" "none needed" >&6; }
4224 else $as_nop
4225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4226 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4227 CC="$CC $ac_cv_prog_cc_c11"
4228 fi
4229 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4230 ac_prog_cc_stdc=c11
4231 fi
4232 fi
4233 if test x$ac_prog_cc_stdc = xno
4234 then :
4235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4236 printf %s "checking for $CC option to enable C99 features... " >&6; }
4237 if test ${ac_cv_prog_cc_c99+y}
4238 then :
4239 printf %s "(cached) " >&6
4240 else $as_nop
4241 ac_cv_prog_cc_c99=no
4242 ac_save_CC=$CC
4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h. */
4245 $ac_c_conftest_c99_program
4246 _ACEOF
4247 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4248 do
4249 CC="$ac_save_CC $ac_arg"
4250 if ac_fn_c_try_compile "$LINENO"
4251 then :
4252 ac_cv_prog_cc_c99=$ac_arg
4253 fi
4254 rm -f core conftest.err conftest.$ac_objext conftest.beam
4255 test "x$ac_cv_prog_cc_c99" != "xno" && break
4256 done
4257 rm -f conftest.$ac_ext
4258 CC=$ac_save_CC
4259 fi
4260
4261 if test "x$ac_cv_prog_cc_c99" = xno
4262 then :
4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4264 printf "%s\n" "unsupported" >&6; }
4265 else $as_nop
4266 if test "x$ac_cv_prog_cc_c99" = x
4267 then :
4268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4269 printf "%s\n" "none needed" >&6; }
4270 else $as_nop
4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4272 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4273 CC="$CC $ac_cv_prog_cc_c99"
4274 fi
4275 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4276 ac_prog_cc_stdc=c99
4277 fi
4278 fi
4279 if test x$ac_prog_cc_stdc = xno
4280 then :
4281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4282 printf %s "checking for $CC option to enable C89 features... " >&6; }
4283 if test ${ac_cv_prog_cc_c89+y}
4284 then :
4285 printf %s "(cached) " >&6
4286 else $as_nop
36454287 ac_cv_prog_cc_c89=no
36464288 ac_save_CC=$CC
36474289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36484290 /* end confdefs.h. */
3649 #include <stdarg.h>
3650 #include <stdio.h>
3651 struct stat;
3652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3653 struct buf { int x; };
3654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3655 static char *e (p, i)
3656 char **p;
3657 int i;
3658 {
3659 return p[i];
3660 }
3661 static char *f (char * (*g) (char **, int), char **p, ...)
3662 {
3663 char *s;
3664 va_list v;
3665 va_start (v,p);
3666 s = g (p, va_arg (v,int));
3667 va_end (v);
3668 return s;
3669 }
3670
3671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3672 function prototypes and stuff, but not '\xHH' hex character constants.
3673 These don't provoke an error unfortunately, instead are silently treated
3674 as 'x'. The following induces an error, until -std is added to get
3675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3676 array size at least. It's necessary to write '\x00'==0 to get something
3677 that's true only with -std. */
3678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3679
3680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3681 inside strings and character constants. */
3682 #define FOO(x) 'x'
3683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3684
3685 int test (int i, double x);
3686 struct s1 {int (*f) (int a);};
3687 struct s2 {int (*f) (double a);};
3688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3689 int argc;
3690 char **argv;
3691 int
3692 main ()
3693 {
3694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3695 ;
3696 return 0;
3697 }
4291 $ac_c_conftest_c89_program
36984292 _ACEOF
3699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
37014294 do
37024295 CC="$ac_save_CC $ac_arg"
3703 if ac_fn_c_try_compile "$LINENO"; then :
4296 if ac_fn_c_try_compile "$LINENO"
4297 then :
37044298 ac_cv_prog_cc_c89=$ac_arg
37054299 fi
3706 rm -f core conftest.err conftest.$ac_objext
4300 rm -f core conftest.err conftest.$ac_objext conftest.beam
37074301 test "x$ac_cv_prog_cc_c89" != "xno" && break
37084302 done
37094303 rm -f conftest.$ac_ext
37104304 CC=$ac_save_CC
3711
3712 fi
3713 # AC_CACHE_VAL
3714 case "x$ac_cv_prog_cc_c89" in
3715 x)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3717 $as_echo "none needed" >&6; } ;;
3718 xno)
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3720 $as_echo "unsupported" >&6; } ;;
3721 *)
3722 CC="$CC $ac_cv_prog_cc_c89"
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3725 esac
3726 if test "x$ac_cv_prog_cc_c89" != xno; then :
3727
4305 fi
4306
4307 if test "x$ac_cv_prog_cc_c89" = xno
4308 then :
4309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4310 printf "%s\n" "unsupported" >&6; }
4311 else $as_nop
4312 if test "x$ac_cv_prog_cc_c89" = x
4313 then :
4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4315 printf "%s\n" "none needed" >&6; }
4316 else $as_nop
4317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4318 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4319 CC="$CC $ac_cv_prog_cc_c89"
4320 fi
4321 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4322 ac_prog_cc_stdc=c89
4323 fi
37284324 fi
37294325
37304326 ac_ext=c
37334329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37344330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354331
3736 ac_ext=c
4332
4333 ac_ext=c
37374334 ac_cpp='$CPP $CPPFLAGS'
37384335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3742 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3743 if ${am_cv_prog_cc_c_o+:} false; then :
3744 $as_echo_n "(cached) " >&6
3745 else
4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4339 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4340 if test ${am_cv_prog_cc_c_o+y}
4341 then :
4342 printf %s "(cached) " >&6
4343 else $as_nop
37464344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37474345 /* end confdefs.h. */
37484346
37494347 int
3750 main ()
4348 main (void)
37514349 {
37524350
37534351 ;
37754373 rm -f core conftest*
37764374 unset am_i
37774375 fi
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3779 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4377 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
37804378 if test "$am_cv_prog_cc_c_o" != yes; then
37814379 # Losing compiler, so override with the script.
37824380 # FIXME: It is wrong to rewrite CC.
37944392
37954393 depcc="$CC" am_compiler_list=
37964394
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
3799 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4396 printf %s "checking dependency style of $depcc... " >&6; }
4397 if test ${am_cv_CC_dependencies_compiler_type+y}
4398 then :
4399 printf %s "(cached) " >&6
4400 else $as_nop
38024401 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38034402 # We make a subdir and do the tests there. Otherwise we can end up
38044403 # making bogus files that we don't know about and never remove. For
39054504 fi
39064505
39074506 fi
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4508 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
39104509 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
39114510
39124511 if
39214520
39224521
39234522
3924 ac_ext=c
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3930 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3931 # On Suns, sometimes $CPP names a directory.
3932 if test -n "$CPP" && test -d "$CPP"; then
3933 CPP=
3934 fi
3935 if test -z "$CPP"; then
3936 if ${ac_cv_prog_CPP+:} false; then :
3937 $as_echo_n "(cached) " >&6
3938 else
3939 # Double quotes because CPP needs to be expanded
3940 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3941 do
3942 ac_preproc_ok=false
3943 for ac_c_preproc_warn_flag in '' yes
4523 ac_header= ac_cache=
4524 for ac_item in $ac_header_c_list
39444525 do
3945 # Use a header file that comes with gcc, so configuring glibc
3946 # with a fresh cross-compiler works.
3947 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3948 # <limits.h> exists even on freestanding compilers.
3949 # On the NeXT, cc -E runs the code through the compiler's parser,
3950 # not just through cpp. "Syntax error" is here to catch this case.
4526 if test $ac_cache; then
4527 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4528 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4529 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4530 fi
4531 ac_header= ac_cache=
4532 elif test $ac_header; then
4533 ac_cache=$ac_item
4534 else
4535 ac_header=$ac_item
4536 fi
4537 done
4538
4539
4540
4541
4542
4543
4544
4545
4546 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4547 then :
4548
4549 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4550
4551 fi
4552
4553
4554
4555
4556
4557
4558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4559 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4560 if test ${ac_cv_safe_to_define___extensions__+y}
4561 then :
4562 printf %s "(cached) " >&6
4563 else $as_nop
39514564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39524565 /* end confdefs.h. */
3953 #ifdef __STDC__
3954 # include <limits.h>
3955 #else
3956 # include <assert.h>
3957 #endif
3958 Syntax error
3959 _ACEOF
3960 if ac_fn_c_try_cpp "$LINENO"; then :
3961
3962 else
3963 # Broken: fails on valid input.
3964 continue
3965 fi
3966 rm -f conftest.err conftest.i conftest.$ac_ext
3967
3968 # OK, works on sane cases. Now check whether nonexistent headers
3969 # can be detected and how.
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3972 #include <ac_nonexistent.h>
3973 _ACEOF
3974 if ac_fn_c_try_cpp "$LINENO"; then :
3975 # Broken: success on invalid input.
3976 continue
3977 else
3978 # Passes both tests.
3979 ac_preproc_ok=:
3980 break
3981 fi
3982 rm -f conftest.err conftest.i conftest.$ac_ext
3983
3984 done
3985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3986 rm -f conftest.i conftest.err conftest.$ac_ext
3987 if $ac_preproc_ok; then :
3988 break
3989 fi
3990
3991 done
3992 ac_cv_prog_CPP=$CPP
3993
3994 fi
3995 CPP=$ac_cv_prog_CPP
3996 else
3997 ac_cv_prog_CPP=$CPP
3998 fi
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4000 $as_echo "$CPP" >&6; }
4001 ac_preproc_ok=false
4002 for ac_c_preproc_warn_flag in '' yes
4003 do
4004 # Use a header file that comes with gcc, so configuring glibc
4005 # with a fresh cross-compiler works.
4006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4007 # <limits.h> exists even on freestanding compilers.
4008 # On the NeXT, cc -E runs the code through the compiler's parser,
4009 # not just through cpp. "Syntax error" is here to catch this case.
4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4011 /* end confdefs.h. */
4012 #ifdef __STDC__
4013 # include <limits.h>
4014 #else
4015 # include <assert.h>
4016 #endif
4017 Syntax error
4018 _ACEOF
4019 if ac_fn_c_try_cpp "$LINENO"; then :
4020
4021 else
4022 # Broken: fails on valid input.
4023 continue
4024 fi
4025 rm -f conftest.err conftest.i conftest.$ac_ext
4026
4027 # OK, works on sane cases. Now check whether nonexistent headers
4028 # can be detected and how.
4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4030 /* end confdefs.h. */
4031 #include <ac_nonexistent.h>
4032 _ACEOF
4033 if ac_fn_c_try_cpp "$LINENO"; then :
4034 # Broken: success on invalid input.
4035 continue
4036 else
4037 # Passes both tests.
4038 ac_preproc_ok=:
4039 break
4040 fi
4041 rm -f conftest.err conftest.i conftest.$ac_ext
4042
4043 done
4044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4045 rm -f conftest.i conftest.err conftest.$ac_ext
4046 if $ac_preproc_ok; then :
4047
4048 else
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4052 See \`config.log' for more details" "$LINENO" 5; }
4053 fi
4054
4055 ac_ext=c
4056 ac_cpp='$CPP $CPPFLAGS'
4057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4060
4061
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4063 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4064 if ${ac_cv_path_GREP+:} false; then :
4065 $as_echo_n "(cached) " >&6
4066 else
4067 if test -z "$GREP"; then
4068 ac_path_GREP_found=false
4069 # Loop through the user's path and test for each of PROGNAME-LIST
4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4072 do
4073 IFS=$as_save_IFS
4074 test -z "$as_dir" && as_dir=.
4075 for ac_prog in grep ggrep; do
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4078 as_fn_executable_p "$ac_path_GREP" || continue
4079 # Check for GNU ac_path_GREP and select it if it is found.
4080 # Check for GNU $ac_path_GREP
4081 case `"$ac_path_GREP" --version 2>&1` in
4082 *GNU*)
4083 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4084 *)
4085 ac_count=0
4086 $as_echo_n 0123456789 >"conftest.in"
4087 while :
4088 do
4089 cat "conftest.in" "conftest.in" >"conftest.tmp"
4090 mv "conftest.tmp" "conftest.in"
4091 cp "conftest.in" "conftest.nl"
4092 $as_echo 'GREP' >> "conftest.nl"
4093 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4095 as_fn_arith $ac_count + 1 && ac_count=$as_val
4096 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4097 # Best one so far, save it but keep looking for a better one
4098 ac_cv_path_GREP="$ac_path_GREP"
4099 ac_path_GREP_max=$ac_count
4100 fi
4101 # 10*(2^10) chars as input seems more than enough
4102 test $ac_count -gt 10 && break
4103 done
4104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4105 esac
4106
4107 $ac_path_GREP_found && break 3
4108 done
4109 done
4110 done
4111 IFS=$as_save_IFS
4112 if test -z "$ac_cv_path_GREP"; then
4113 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4114 fi
4115 else
4116 ac_cv_path_GREP=$GREP
4117 fi
4118
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4121 $as_echo "$ac_cv_path_GREP" >&6; }
4122 GREP="$ac_cv_path_GREP"
4123
4124
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4126 $as_echo_n "checking for egrep... " >&6; }
4127 if ${ac_cv_path_EGREP+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4131 then ac_cv_path_EGREP="$GREP -E"
4132 else
4133 if test -z "$EGREP"; then
4134 ac_path_EGREP_found=false
4135 # Loop through the user's path and test for each of PROGNAME-LIST
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138 do
4139 IFS=$as_save_IFS
4140 test -z "$as_dir" && as_dir=.
4141 for ac_prog in egrep; do
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4144 as_fn_executable_p "$ac_path_EGREP" || continue
4145 # Check for GNU ac_path_EGREP and select it if it is found.
4146 # Check for GNU $ac_path_EGREP
4147 case `"$ac_path_EGREP" --version 2>&1` in
4148 *GNU*)
4149 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4150 *)
4151 ac_count=0
4152 $as_echo_n 0123456789 >"conftest.in"
4153 while :
4154 do
4155 cat "conftest.in" "conftest.in" >"conftest.tmp"
4156 mv "conftest.tmp" "conftest.in"
4157 cp "conftest.in" "conftest.nl"
4158 $as_echo 'EGREP' >> "conftest.nl"
4159 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4160 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4161 as_fn_arith $ac_count + 1 && ac_count=$as_val
4162 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4163 # Best one so far, save it but keep looking for a better one
4164 ac_cv_path_EGREP="$ac_path_EGREP"
4165 ac_path_EGREP_max=$ac_count
4166 fi
4167 # 10*(2^10) chars as input seems more than enough
4168 test $ac_count -gt 10 && break
4169 done
4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171 esac
4172
4173 $ac_path_EGREP_found && break 3
4174 done
4175 done
4176 done
4177 IFS=$as_save_IFS
4178 if test -z "$ac_cv_path_EGREP"; then
4179 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180 fi
4181 else
4182 ac_cv_path_EGREP=$EGREP
4183 fi
4184
4185 fi
4186 fi
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4188 $as_echo "$ac_cv_path_EGREP" >&6; }
4189 EGREP="$ac_cv_path_EGREP"
4190
4191
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4193 $as_echo_n "checking for ANSI C header files... " >&6; }
4194 if ${ac_cv_header_stdc+:} false; then :
4195 $as_echo_n "(cached) " >&6
4196 else
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199 #include <stdlib.h>
4200 #include <stdarg.h>
4201 #include <string.h>
4202 #include <float.h>
4203
4566
4567 # define __EXTENSIONS__ 1
4568 $ac_includes_default
42044569 int
4205 main ()
4570 main (void)
42064571 {
42074572
42084573 ;
42094574 return 0;
42104575 }
42114576 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213 ac_cv_header_stdc=yes
4214 else
4215 ac_cv_header_stdc=no
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218
4219 if test $ac_cv_header_stdc = yes; then
4220 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4577 if ac_fn_c_try_compile "$LINENO"
4578 then :
4579 ac_cv_safe_to_define___extensions__=yes
4580 else $as_nop
4581 ac_cv_safe_to_define___extensions__=no
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4584 fi
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4586 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4587
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4589 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4590 if test ${ac_cv_should_define__xopen_source+y}
4591 then :
4592 printf %s "(cached) " >&6
4593 else $as_nop
4594 ac_cv_should_define__xopen_source=no
4595 if test $ac_cv_header_wchar_h = yes
4596 then :
42214597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42224598 /* end confdefs.h. */
4223 #include <string.h>
4224
4225 _ACEOF
4226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4227 $EGREP "memchr" >/dev/null 2>&1; then :
4228
4229 else
4230 ac_cv_header_stdc=no
4231 fi
4232 rm -f conftest*
4233
4234 fi
4235
4236 if test $ac_cv_header_stdc = yes; then
4237 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <stdlib.h>
4241
4242 _ACEOF
4243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4244 $EGREP "free" >/dev/null 2>&1; then :
4245
4246 else
4247 ac_cv_header_stdc=no
4248 fi
4249 rm -f conftest*
4250
4251 fi
4252
4253 if test $ac_cv_header_stdc = yes; then
4254 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4255 if test "$cross_compiling" = yes; then :
4256 :
4257 else
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4260 #include <ctype.h>
4261 #include <stdlib.h>
4262 #if ((' ' & 0x0FF) == 0x020)
4263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4265 #else
4266 # define ISLOWER(c) \
4267 (('a' <= (c) && (c) <= 'i') \
4268 || ('j' <= (c) && (c) <= 'r') \
4269 || ('s' <= (c) && (c) <= 'z'))
4270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4271 #endif
4272
4273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4599
4600 #include <wchar.h>
4601 mbstate_t x;
42744602 int
4275 main ()
4276 {
4277 int i;
4278 for (i = 0; i < 256; i++)
4279 if (XOR (islower (i), ISLOWER (i))
4280 || toupper (i) != TOUPPER (i))
4281 return 2;
4282 return 0;
4283 }
4284 _ACEOF
4285 if ac_fn_c_try_run "$LINENO"; then :
4286
4287 else
4288 ac_cv_header_stdc=no
4289 fi
4290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4291 conftest.$ac_objext conftest.beam conftest.$ac_ext
4292 fi
4293
4294 fi
4295 fi
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4297 $as_echo "$ac_cv_header_stdc" >&6; }
4298 if test $ac_cv_header_stdc = yes; then
4299
4300 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4301
4302 fi
4303
4304 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4305 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4306 inttypes.h stdint.h unistd.h
4307 do :
4308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4310 "
4311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4312 cat >>confdefs.h <<_ACEOF
4313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4314 _ACEOF
4315
4316 fi
4317
4318 done
4319
4320
4321
4322 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4323 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4324 MINIX=yes
4325 else
4326 MINIX=
4327 fi
4328
4329
4330 if test "$MINIX" = yes; then
4331
4332 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4333
4334
4335 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4336
4337
4338 $as_echo "#define _MINIX 1" >>confdefs.h
4339
4340 fi
4341
4342
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4344 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4345 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4350
4351 # define __EXTENSIONS__ 1
4352 $ac_includes_default
4353 int
4354 main ()
4603 main (void)
43554604 {
43564605
43574606 ;
43584607 return 0;
43594608 }
43604609 _ACEOF
4361 if ac_fn_c_try_compile "$LINENO"; then :
4362 ac_cv_safe_to_define___extensions__=yes
4363 else
4364 ac_cv_safe_to_define___extensions__=no
4365 fi
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4367 fi
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4369 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4370 test $ac_cv_safe_to_define___extensions__ = yes &&
4371 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4372
4373 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4374
4375 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4376
4377 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4378
4379 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4380
4610 if ac_fn_c_try_compile "$LINENO"
4611 then :
4612
4613 else $as_nop
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616
4617 #define _XOPEN_SOURCE 500
4618 #include <wchar.h>
4619 mbstate_t x;
4620 int
4621 main (void)
4622 {
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_c_try_compile "$LINENO"
4629 then :
4630 ac_cv_should_define__xopen_source=yes
4631 fi
4632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4633 fi
4634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4635 fi
4636 fi
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4638 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4639
4640 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4641
4642 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4643
4644 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4645
4646 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4647
4648 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4649
4650 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4651
4652 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4653
4654 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4655
4656 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4657
4658 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4659
4660 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4661
4662 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4663
4664 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4665
4666 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4667
4668 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4669
4670 if test $ac_cv_header_minix_config_h = yes
4671 then :
4672 MINIX=yes
4673 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4674
4675 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4676
4677 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4678
4679 else $as_nop
4680 MINIX=
4681 fi
4682 if test $ac_cv_safe_to_define___extensions__ = yes
4683 then :
4684 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4685
4686 fi
4687 if test $ac_cv_should_define__xopen_source = yes
4688 then :
4689 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4690
4691 fi
43814692
43824693
43834694 ac_ext=c
43884699 if test -n "$ac_tool_prefix"; then
43894700 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
43904701 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392 $as_echo_n "checking for $ac_word... " >&6; }
4393 if ${ac_cv_prog_CC+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 printf %s "checking for $ac_word... " >&6; }
4704 if test ${ac_cv_prog_CC+y}
4705 then :
4706 printf %s "(cached) " >&6
4707 else $as_nop
43964708 if test -n "$CC"; then
43974709 ac_cv_prog_CC="$CC" # Let the user override the test.
43984710 else
44004712 for as_dir in $PATH
44014713 do
44024714 IFS=$as_save_IFS
4403 test -z "$as_dir" && as_dir=.
4715 case $as_dir in #(((
4716 '') as_dir=./ ;;
4717 */) ;;
4718 *) as_dir=$as_dir/ ;;
4719 esac
44044720 for ac_exec_ext in '' $ac_executable_extensions; do
4405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44064722 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44084724 break 2
44094725 fi
44104726 done
44154731 fi
44164732 CC=$ac_cv_prog_CC
44174733 if test -n "$CC"; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4419 $as_echo "$CC" >&6; }
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4735 printf "%s\n" "$CC" >&6; }
44204736 else
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422 $as_echo "no" >&6; }
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 printf "%s\n" "no" >&6; }
44234739 fi
44244740
44254741
44284744 ac_ct_CC=$CC
44294745 # Extract the first word of "gcc", so it can be a program name with args.
44304746 set dummy gcc; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 printf %s "checking for $ac_word... " >&6; }
4749 if test ${ac_cv_prog_ac_ct_CC+y}
4750 then :
4751 printf %s "(cached) " >&6
4752 else $as_nop
44364753 if test -n "$ac_ct_CC"; then
44374754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
44384755 else
44404757 for as_dir in $PATH
44414758 do
44424759 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4760 case $as_dir in #(((
4761 '') as_dir=./ ;;
4762 */) ;;
4763 *) as_dir=$as_dir/ ;;
4764 esac
44444765 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44464767 ac_cv_prog_ac_ct_CC="gcc"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44484769 break 2
44494770 fi
44504771 done
44554776 fi
44564777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
44574778 if test -n "$ac_ct_CC"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4459 $as_echo "$ac_ct_CC" >&6; }
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4780 printf "%s\n" "$ac_ct_CC" >&6; }
44604781 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4783 printf "%s\n" "no" >&6; }
44634784 fi
44644785
44654786 if test "x$ac_ct_CC" = x; then
44674788 else
44684789 case $cross_compiling:$ac_tool_warned in
44694790 yes:)
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
44724793 ac_tool_warned=yes ;;
44734794 esac
44744795 CC=$ac_ct_CC
44814802 if test -n "$ac_tool_prefix"; then
44824803 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
44834804 set dummy ${ac_tool_prefix}cc; ac_word=$2
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4485 $as_echo_n "checking for $ac_word... " >&6; }
4486 if ${ac_cv_prog_CC+:} false; then :
4487 $as_echo_n "(cached) " >&6
4488 else
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 printf %s "checking for $ac_word... " >&6; }
4807 if test ${ac_cv_prog_CC+y}
4808 then :
4809 printf %s "(cached) " >&6
4810 else $as_nop
44894811 if test -n "$CC"; then
44904812 ac_cv_prog_CC="$CC" # Let the user override the test.
44914813 else
44934815 for as_dir in $PATH
44944816 do
44954817 IFS=$as_save_IFS
4496 test -z "$as_dir" && as_dir=.
4818 case $as_dir in #(((
4819 '') as_dir=./ ;;
4820 */) ;;
4821 *) as_dir=$as_dir/ ;;
4822 esac
44974823 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
44994825 ac_cv_prog_CC="${ac_tool_prefix}cc"
4500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
45014827 break 2
45024828 fi
45034829 done
45084834 fi
45094835 CC=$ac_cv_prog_CC
45104836 if test -n "$CC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4512 $as_echo "$CC" >&6; }
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4838 printf "%s\n" "$CC" >&6; }
45134839 else
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 printf "%s\n" "no" >&6; }
45164842 fi
45174843
45184844
45214847 if test -z "$CC"; then
45224848 # Extract the first word of "cc", so it can be a program name with args.
45234849 set dummy cc; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 printf %s "checking for $ac_word... " >&6; }
4852 if test ${ac_cv_prog_CC+y}
4853 then :
4854 printf %s "(cached) " >&6
4855 else $as_nop
45294856 if test -n "$CC"; then
45304857 ac_cv_prog_CC="$CC" # Let the user override the test.
45314858 else
45344861 for as_dir in $PATH
45354862 do
45364863 IFS=$as_save_IFS
4537 test -z "$as_dir" && as_dir=.
4864 case $as_dir in #(((
4865 '') as_dir=./ ;;
4866 */) ;;
4867 *) as_dir=$as_dir/ ;;
4868 esac
45384869 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4870 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4871 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
45414872 ac_prog_rejected=yes
45424873 continue
45434874 fi
45444875 ac_cv_prog_CC="cc"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
45464877 break 2
45474878 fi
45484879 done
45584889 # However, it has the same basename, so the bogon will be chosen
45594890 # first if we set CC to just the basename; use the full file name.
45604891 shift
4561 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4892 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
45624893 fi
45634894 fi
45644895 fi
45654896 fi
45664897 CC=$ac_cv_prog_CC
45674898 if test -n "$CC"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4569 $as_echo "$CC" >&6; }
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4900 printf "%s\n" "$CC" >&6; }
45704901 else
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 printf "%s\n" "no" >&6; }
45734904 fi
45744905
45754906
45804911 do
45814912 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
45824913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if ${ac_cv_prog_CC+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 printf %s "checking for $ac_word... " >&6; }
4916 if test ${ac_cv_prog_CC+y}
4917 then :
4918 printf %s "(cached) " >&6
4919 else $as_nop
45884920 if test -n "$CC"; then
45894921 ac_cv_prog_CC="$CC" # Let the user override the test.
45904922 else
45924924 for as_dir in $PATH
45934925 do
45944926 IFS=$as_save_IFS
4595 test -z "$as_dir" && as_dir=.
4927 case $as_dir in #(((
4928 '') as_dir=./ ;;
4929 */) ;;
4930 *) as_dir=$as_dir/ ;;
4931 esac
45964932 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
45984934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
46004936 break 2
46014937 fi
46024938 done
46074943 fi
46084944 CC=$ac_cv_prog_CC
46094945 if test -n "$CC"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4611 $as_echo "$CC" >&6; }
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4947 printf "%s\n" "$CC" >&6; }
46124948 else
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4614 $as_echo "no" >&6; }
4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 printf "%s\n" "no" >&6; }
46154951 fi
46164952
46174953
46244960 do
46254961 # Extract the first word of "$ac_prog", so it can be a program name with args.
46264962 set dummy $ac_prog; ac_word=$2
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4628 $as_echo_n "checking for $ac_word... " >&6; }
4629 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4630 $as_echo_n "(cached) " >&6
4631 else
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 printf %s "checking for $ac_word... " >&6; }
4965 if test ${ac_cv_prog_ac_ct_CC+y}
4966 then :
4967 printf %s "(cached) " >&6
4968 else $as_nop
46324969 if test -n "$ac_ct_CC"; then
46334970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
46344971 else
46364973 for as_dir in $PATH
46374974 do
46384975 IFS=$as_save_IFS
4639 test -z "$as_dir" && as_dir=.
4976 case $as_dir in #(((
4977 '') as_dir=./ ;;
4978 */) ;;
4979 *) as_dir=$as_dir/ ;;
4980 esac
46404981 for ac_exec_ext in '' $ac_executable_extensions; do
4641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
46424983 ac_cv_prog_ac_ct_CC="$ac_prog"
4643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
46444985 break 2
46454986 fi
46464987 done
46514992 fi
46524993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
46534994 if test -n "$ac_ct_CC"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4655 $as_echo "$ac_ct_CC" >&6; }
4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4996 printf "%s\n" "$ac_ct_CC" >&6; }
46564997 else
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4658 $as_echo "no" >&6; }
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 printf "%s\n" "no" >&6; }
46595000 fi
46605001
46615002
46675008 else
46685009 case $cross_compiling:$ac_tool_warned in
46695010 yes:)
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5012 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
46725013 ac_tool_warned=yes ;;
46735014 esac
46745015 CC=$ac_ct_CC
46765017 fi
46775018
46785019 fi
4679
4680
4681 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5020 if test -z "$CC"; then
5021 if test -n "$ac_tool_prefix"; then
5022 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5023 set dummy ${ac_tool_prefix}clang; ac_word=$2
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 printf %s "checking for $ac_word... " >&6; }
5026 if test ${ac_cv_prog_CC+y}
5027 then :
5028 printf %s "(cached) " >&6
5029 else $as_nop
5030 if test -n "$CC"; then
5031 ac_cv_prog_CC="$CC" # Let the user override the test.
5032 else
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 for as_dir in $PATH
5035 do
5036 IFS=$as_save_IFS
5037 case $as_dir in #(((
5038 '') as_dir=./ ;;
5039 */) ;;
5040 *) as_dir=$as_dir/ ;;
5041 esac
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_CC="${ac_tool_prefix}clang"
5045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5046 break 2
5047 fi
5048 done
5049 done
5050 IFS=$as_save_IFS
5051
5052 fi
5053 fi
5054 CC=$ac_cv_prog_CC
5055 if test -n "$CC"; then
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5057 printf "%s\n" "$CC" >&6; }
5058 else
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 printf "%s\n" "no" >&6; }
5061 fi
5062
5063
5064 fi
5065 if test -z "$ac_cv_prog_CC"; then
5066 ac_ct_CC=$CC
5067 # Extract the first word of "clang", so it can be a program name with args.
5068 set dummy clang; ac_word=$2
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 printf %s "checking for $ac_word... " >&6; }
5071 if test ${ac_cv_prog_ac_ct_CC+y}
5072 then :
5073 printf %s "(cached) " >&6
5074 else $as_nop
5075 if test -n "$ac_ct_CC"; then
5076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 case $as_dir in #(((
5083 '') as_dir=./ ;;
5084 */) ;;
5085 *) as_dir=$as_dir/ ;;
5086 esac
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ac_ct_CC="clang"
5090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5091 break 2
5092 fi
5093 done
5094 done
5095 IFS=$as_save_IFS
5096
5097 fi
5098 fi
5099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5100 if test -n "$ac_ct_CC"; then
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5102 printf "%s\n" "$ac_ct_CC" >&6; }
5103 else
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 printf "%s\n" "no" >&6; }
5106 fi
5107
5108 if test "x$ac_ct_CC" = x; then
5109 CC=""
5110 else
5111 case $cross_compiling:$ac_tool_warned in
5112 yes:)
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5114 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5115 ac_tool_warned=yes ;;
5116 esac
5117 CC=$ac_ct_CC
5118 fi
5119 else
5120 CC="$ac_cv_prog_CC"
5121 fi
5122
5123 fi
5124
5125
5126 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5127 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
46835128 as_fn_error $? "no acceptable C compiler found in \$PATH
46845129 See \`config.log' for more details" "$LINENO" 5; }
46855130
46865131 # Provide some information about the compiler.
4687 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
46885133 set X $ac_compile
46895134 ac_compiler=$2
4690 for ac_option in --version -v -V -qversion; do
5135 for ac_option in --version -v -V -qversion -version; do
46915136 { { ac_try="$ac_compiler $ac_option >&5"
46925137 case "(($ac_try" in
46935138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46945139 *) ac_try_echo=$ac_try;;
46955140 esac
46965141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 $as_echo "$ac_try_echo"; } >&5
5142 printf "%s\n" "$ac_try_echo"; } >&5
46985143 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
46995144 ac_status=$?
47005145 if test -s conftest.err; then
47045149 cat conftest.er1 >&5
47055150 fi
47065151 rm -f conftest.er1 conftest.err
4707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
47085153 test $ac_status = 0; }
47095154 done
47105155
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4712 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4713 if ${ac_cv_c_compiler_gnu+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5157 printf %s "checking whether the compiler supports GNU C... " >&6; }
5158 if test ${ac_cv_c_compiler_gnu+y}
5159 then :
5160 printf %s "(cached) " >&6
5161 else $as_nop
47165162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47175163 /* end confdefs.h. */
47185164
47195165 int
4720 main ()
5166 main (void)
47215167 {
47225168 #ifndef __GNUC__
47235169 choke me
47275173 return 0;
47285174 }
47295175 _ACEOF
4730 if ac_fn_c_try_compile "$LINENO"; then :
5176 if ac_fn_c_try_compile "$LINENO"
5177 then :
47315178 ac_compiler_gnu=yes
4732 else
5179 else $as_nop
47335180 ac_compiler_gnu=no
47345181 fi
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
47365183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
47375184
47385185 fi
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4740 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5187 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5189
47415190 if test $ac_compiler_gnu = yes; then
47425191 GCC=yes
47435192 else
47445193 GCC=
47455194 fi
4746 ac_test_CFLAGS=${CFLAGS+set}
5195 ac_test_CFLAGS=${CFLAGS+y}
47475196 ac_save_CFLAGS=$CFLAGS
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4749 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4750 if ${ac_cv_prog_cc_g+:} false; then :
4751 $as_echo_n "(cached) " >&6
4752 else
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5198 printf %s "checking whether $CC accepts -g... " >&6; }
5199 if test ${ac_cv_prog_cc_g+y}
5200 then :
5201 printf %s "(cached) " >&6
5202 else $as_nop
47535203 ac_save_c_werror_flag=$ac_c_werror_flag
47545204 ac_c_werror_flag=yes
47555205 ac_cv_prog_cc_g=no
47585208 /* end confdefs.h. */
47595209
47605210 int
4761 main ()
5211 main (void)
47625212 {
47635213
47645214 ;
47655215 return 0;
47665216 }
47675217 _ACEOF
4768 if ac_fn_c_try_compile "$LINENO"; then :
5218 if ac_fn_c_try_compile "$LINENO"
5219 then :
47695220 ac_cv_prog_cc_g=yes
4770 else
5221 else $as_nop
47715222 CFLAGS=""
47725223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47735224 /* end confdefs.h. */
47745225
47755226 int
4776 main ()
5227 main (void)
47775228 {
47785229
47795230 ;
47805231 return 0;
47815232 }
47825233 _ACEOF
4783 if ac_fn_c_try_compile "$LINENO"; then :
4784
4785 else
5234 if ac_fn_c_try_compile "$LINENO"
5235 then :
5236
5237 else $as_nop
47865238 ac_c_werror_flag=$ac_save_c_werror_flag
47875239 CFLAGS="-g"
47885240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47895241 /* end confdefs.h. */
47905242
47915243 int
4792 main ()
5244 main (void)
47935245 {
47945246
47955247 ;
47965248 return 0;
47975249 }
47985250 _ACEOF
4799 if ac_fn_c_try_compile "$LINENO"; then :
5251 if ac_fn_c_try_compile "$LINENO"
5252 then :
48005253 ac_cv_prog_cc_g=yes
48015254 fi
4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 fi
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4805 fi
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5256 fi
5257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5258 fi
5259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
48075260 ac_c_werror_flag=$ac_save_c_werror_flag
48085261 fi
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4810 $as_echo "$ac_cv_prog_cc_g" >&6; }
4811 if test "$ac_test_CFLAGS" = set; then
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5263 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5264 if test $ac_test_CFLAGS; then
48125265 CFLAGS=$ac_save_CFLAGS
48135266 elif test $ac_cv_prog_cc_g = yes; then
48145267 if test "$GCC" = yes; then
48235276 CFLAGS=
48245277 fi
48255278 fi
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4827 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4828 if ${ac_cv_prog_cc_c89+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
5279 ac_prog_cc_stdc=no
5280 if test x$ac_prog_cc_stdc = xno
5281 then :
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5283 printf %s "checking for $CC option to enable C11 features... " >&6; }
5284 if test ${ac_cv_prog_cc_c11+y}
5285 then :
5286 printf %s "(cached) " >&6
5287 else $as_nop
5288 ac_cv_prog_cc_c11=no
5289 ac_save_CC=$CC
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5292 $ac_c_conftest_c11_program
5293 _ACEOF
5294 for ac_arg in '' -std=gnu11
5295 do
5296 CC="$ac_save_CC $ac_arg"
5297 if ac_fn_c_try_compile "$LINENO"
5298 then :
5299 ac_cv_prog_cc_c11=$ac_arg
5300 fi
5301 rm -f core conftest.err conftest.$ac_objext conftest.beam
5302 test "x$ac_cv_prog_cc_c11" != "xno" && break
5303 done
5304 rm -f conftest.$ac_ext
5305 CC=$ac_save_CC
5306 fi
5307
5308 if test "x$ac_cv_prog_cc_c11" = xno
5309 then :
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5311 printf "%s\n" "unsupported" >&6; }
5312 else $as_nop
5313 if test "x$ac_cv_prog_cc_c11" = x
5314 then :
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5316 printf "%s\n" "none needed" >&6; }
5317 else $as_nop
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5319 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5320 CC="$CC $ac_cv_prog_cc_c11"
5321 fi
5322 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5323 ac_prog_cc_stdc=c11
5324 fi
5325 fi
5326 if test x$ac_prog_cc_stdc = xno
5327 then :
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5329 printf %s "checking for $CC option to enable C99 features... " >&6; }
5330 if test ${ac_cv_prog_cc_c99+y}
5331 then :
5332 printf %s "(cached) " >&6
5333 else $as_nop
5334 ac_cv_prog_cc_c99=no
5335 ac_save_CC=$CC
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338 $ac_c_conftest_c99_program
5339 _ACEOF
5340 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5341 do
5342 CC="$ac_save_CC $ac_arg"
5343 if ac_fn_c_try_compile "$LINENO"
5344 then :
5345 ac_cv_prog_cc_c99=$ac_arg
5346 fi
5347 rm -f core conftest.err conftest.$ac_objext conftest.beam
5348 test "x$ac_cv_prog_cc_c99" != "xno" && break
5349 done
5350 rm -f conftest.$ac_ext
5351 CC=$ac_save_CC
5352 fi
5353
5354 if test "x$ac_cv_prog_cc_c99" = xno
5355 then :
5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5357 printf "%s\n" "unsupported" >&6; }
5358 else $as_nop
5359 if test "x$ac_cv_prog_cc_c99" = x
5360 then :
5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5362 printf "%s\n" "none needed" >&6; }
5363 else $as_nop
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5365 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5366 CC="$CC $ac_cv_prog_cc_c99"
5367 fi
5368 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5369 ac_prog_cc_stdc=c99
5370 fi
5371 fi
5372 if test x$ac_prog_cc_stdc = xno
5373 then :
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5375 printf %s "checking for $CC option to enable C89 features... " >&6; }
5376 if test ${ac_cv_prog_cc_c89+y}
5377 then :
5378 printf %s "(cached) " >&6
5379 else $as_nop
48315380 ac_cv_prog_cc_c89=no
48325381 ac_save_CC=$CC
48335382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48345383 /* end confdefs.h. */
4835 #include <stdarg.h>
4836 #include <stdio.h>
4837 struct stat;
4838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4839 struct buf { int x; };
4840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4841 static char *e (p, i)
4842 char **p;
4843 int i;
4844 {
4845 return p[i];
4846 }
4847 static char *f (char * (*g) (char **, int), char **p, ...)
4848 {
4849 char *s;
4850 va_list v;
4851 va_start (v,p);
4852 s = g (p, va_arg (v,int));
4853 va_end (v);
4854 return s;
4855 }
4856
4857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4858 function prototypes and stuff, but not '\xHH' hex character constants.
4859 These don't provoke an error unfortunately, instead are silently treated
4860 as 'x'. The following induces an error, until -std is added to get
4861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4862 array size at least. It's necessary to write '\x00'==0 to get something
4863 that's true only with -std. */
4864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4865
4866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4867 inside strings and character constants. */
4868 #define FOO(x) 'x'
4869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4870
4871 int test (int i, double x);
4872 struct s1 {int (*f) (int a);};
4873 struct s2 {int (*f) (double a);};
4874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4875 int argc;
4876 char **argv;
4877 int
4878 main ()
4879 {
4880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4881 ;
4882 return 0;
4883 }
5384 $ac_c_conftest_c89_program
48845385 _ACEOF
4885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
48875387 do
48885388 CC="$ac_save_CC $ac_arg"
4889 if ac_fn_c_try_compile "$LINENO"; then :
5389 if ac_fn_c_try_compile "$LINENO"
5390 then :
48905391 ac_cv_prog_cc_c89=$ac_arg
48915392 fi
4892 rm -f core conftest.err conftest.$ac_objext
5393 rm -f core conftest.err conftest.$ac_objext conftest.beam
48935394 test "x$ac_cv_prog_cc_c89" != "xno" && break
48945395 done
48955396 rm -f conftest.$ac_ext
48965397 CC=$ac_save_CC
4897
4898 fi
4899 # AC_CACHE_VAL
4900 case "x$ac_cv_prog_cc_c89" in
4901 x)
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4903 $as_echo "none needed" >&6; } ;;
4904 xno)
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4906 $as_echo "unsupported" >&6; } ;;
4907 *)
4908 CC="$CC $ac_cv_prog_cc_c89"
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4910 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4911 esac
4912 if test "x$ac_cv_prog_cc_c89" != xno; then :
4913
5398 fi
5399
5400 if test "x$ac_cv_prog_cc_c89" = xno
5401 then :
5402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5403 printf "%s\n" "unsupported" >&6; }
5404 else $as_nop
5405 if test "x$ac_cv_prog_cc_c89" = x
5406 then :
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5408 printf "%s\n" "none needed" >&6; }
5409 else $as_nop
5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5411 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5412 CC="$CC $ac_cv_prog_cc_c89"
5413 fi
5414 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5415 ac_prog_cc_stdc=c89
5416 fi
49145417 fi
49155418
49165419 ac_ext=c
49195422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215424
4922 ac_ext=c
5425
5426 ac_ext=c
49235427 ac_cpp='$CPP $CPPFLAGS'
49245428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49255429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4928 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4929 if ${am_cv_prog_cc_c_o+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
5431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5432 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5433 if test ${am_cv_prog_cc_c_o+y}
5434 then :
5435 printf %s "(cached) " >&6
5436 else $as_nop
49325437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49335438 /* end confdefs.h. */
49345439
49355440 int
4936 main ()
5441 main (void)
49375442 {
49385443
49395444 ;
49615466 rm -f core conftest*
49625467 unset am_i
49635468 fi
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4965 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5470 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
49665471 if test "$am_cv_prog_cc_c_o" != yes; then
49675472 # Losing compiler, so override with the script.
49685473 # FIXME: It is wrong to rewrite CC.
49805485
49815486 depcc="$CC" am_compiler_list=
49825487
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4984 $as_echo_n "checking dependency style of $depcc... " >&6; }
4985 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5489 printf %s "checking dependency style of $depcc... " >&6; }
5490 if test ${am_cv_CC_dependencies_compiler_type+y}
5491 then :
5492 printf %s "(cached) " >&6
5493 else $as_nop
49885494 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
49895495 # We make a subdir and do the tests there. Otherwise we can end up
49905496 # making bogus files that we don't know about and never remove. For
50915597 fi
50925598
50935599 fi
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5095 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5601 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
50965602 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
50975603
50985604 if
51065612 fi
51075613
51085614
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5110 $as_echo_n "checking whether ln -s works... " >&6; }
5615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5616 printf %s "checking whether ln -s works... " >&6; }
51115617 LN_S=$as_ln_s
51125618 if test "$LN_S" = "ln -s"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5114 $as_echo "yes" >&6; }
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5620 printf "%s\n" "yes" >&6; }
51155621 else
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5117 $as_echo "no, using $LN_S" >&6; }
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5623 printf "%s\n" "no, using $LN_S" >&6; }
51185624 fi
51195625
51205626
51215627 # Check whether --enable-largefile was given.
5122 if test "${enable_largefile+set}" = set; then :
5628 if test ${enable_largefile+y}
5629 then :
51235630 enableval=$enable_largefile;
51245631 fi
51255632
51265633 if test "$enable_largefile" != no; then
51275634
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5129 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5130 if ${ac_cv_sys_largefile_CC+:} false; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5636 printf %s "checking for special C compiler options needed for large files... " >&6; }
5637 if test ${ac_cv_sys_largefile_CC+y}
5638 then :
5639 printf %s "(cached) " >&6
5640 else $as_nop
51335641 ac_cv_sys_largefile_CC=no
51345642 if test "$GCC" != yes; then
51355643 ac_save_CC=$CC
51435651 We can't simply define LARGE_OFF_T to be 9223372036854775807,
51445652 since some C++ compilers masquerading as C compilers
51455653 incorrectly reject 9223372036854775807. */
5146 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5654 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
51475655 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
51485656 && LARGE_OFF_T % 2147483647 == 1)
51495657 ? 1 : -1];
51505658 int
5151 main ()
5659 main (void)
51525660 {
51535661
51545662 ;
51555663 return 0;
51565664 }
51575665 _ACEOF
5158 if ac_fn_c_try_compile "$LINENO"; then :
5666 if ac_fn_c_try_compile "$LINENO"
5667 then :
51595668 break
51605669 fi
5161 rm -f core conftest.err conftest.$ac_objext
5670 rm -f core conftest.err conftest.$ac_objext conftest.beam
51625671 CC="$CC -n32"
5163 if ac_fn_c_try_compile "$LINENO"; then :
5672 if ac_fn_c_try_compile "$LINENO"
5673 then :
51645674 ac_cv_sys_largefile_CC=' -n32'; break
51655675 fi
5166 rm -f core conftest.err conftest.$ac_objext
5676 rm -f core conftest.err conftest.$ac_objext conftest.beam
51675677 break
51685678 done
51695679 CC=$ac_save_CC
51705680 rm -f conftest.$ac_ext
51715681 fi
51725682 fi
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5174 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5684 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
51755685 if test "$ac_cv_sys_largefile_CC" != no; then
51765686 CC=$CC$ac_cv_sys_largefile_CC
51775687 fi
51785688
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5180 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5181 if ${ac_cv_sys_file_offset_bits+:} false; then :
5182 $as_echo_n "(cached) " >&6
5183 else
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5690 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5691 if test ${ac_cv_sys_file_offset_bits+y}
5692 then :
5693 printf %s "(cached) " >&6
5694 else $as_nop
51845695 while :; do
51855696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51865697 /* end confdefs.h. */
51895700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
51905701 since some C++ compilers masquerading as C compilers
51915702 incorrectly reject 9223372036854775807. */
5192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5703 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
51935704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
51945705 && LARGE_OFF_T % 2147483647 == 1)
51955706 ? 1 : -1];
51965707 int
5197 main ()
5708 main (void)
51985709 {
51995710
52005711 ;
52015712 return 0;
52025713 }
52035714 _ACEOF
5204 if ac_fn_c_try_compile "$LINENO"; then :
5715 if ac_fn_c_try_compile "$LINENO"
5716 then :
52055717 ac_cv_sys_file_offset_bits=no; break
52065718 fi
5207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52085720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52095721 /* end confdefs.h. */
52105722 #define _FILE_OFFSET_BITS 64
52135725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
52145726 since some C++ compilers masquerading as C compilers
52155727 incorrectly reject 9223372036854775807. */
5216 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5728 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
52175729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
52185730 && LARGE_OFF_T % 2147483647 == 1)
52195731 ? 1 : -1];
52205732 int
5221 main ()
5733 main (void)
52225734 {
52235735
52245736 ;
52255737 return 0;
52265738 }
52275739 _ACEOF
5228 if ac_fn_c_try_compile "$LINENO"; then :
5740 if ac_fn_c_try_compile "$LINENO"
5741 then :
52295742 ac_cv_sys_file_offset_bits=64; break
52305743 fi
5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52325745 ac_cv_sys_file_offset_bits=unknown
52335746 break
52345747 done
52355748 fi
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5237 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5750 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
52385751 case $ac_cv_sys_file_offset_bits in #(
52395752 no | unknown) ;;
52405753 *)
5241 cat >>confdefs.h <<_ACEOF
5242 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5243 _ACEOF
5754 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
52445755 ;;
52455756 esac
52465757 rm -rf conftest*
52475758 if test $ac_cv_sys_file_offset_bits = unknown; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5249 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5250 if ${ac_cv_sys_large_files+:} false; then :
5251 $as_echo_n "(cached) " >&6
5252 else
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5760 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
5761 if test ${ac_cv_sys_large_files+y}
5762 then :
5763 printf %s "(cached) " >&6
5764 else $as_nop
52535765 while :; do
52545766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555767 /* end confdefs.h. */
52585770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
52595771 since some C++ compilers masquerading as C compilers
52605772 incorrectly reject 9223372036854775807. */
5261 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5773 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
52625774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
52635775 && LARGE_OFF_T % 2147483647 == 1)
52645776 ? 1 : -1];
52655777 int
5266 main ()
5778 main (void)
52675779 {
52685780
52695781 ;
52705782 return 0;
52715783 }
52725784 _ACEOF
5273 if ac_fn_c_try_compile "$LINENO"; then :
5785 if ac_fn_c_try_compile "$LINENO"
5786 then :
52745787 ac_cv_sys_large_files=no; break
52755788 fi
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
52775790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52785791 /* end confdefs.h. */
52795792 #define _LARGE_FILES 1
52825795 We can't simply define LARGE_OFF_T to be 9223372036854775807,
52835796 since some C++ compilers masquerading as C compilers
52845797 incorrectly reject 9223372036854775807. */
5285 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5798 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
52865799 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
52875800 && LARGE_OFF_T % 2147483647 == 1)
52885801 ? 1 : -1];
52895802 int
5290 main ()
5803 main (void)
52915804 {
52925805
52935806 ;
52945807 return 0;
52955808 }
52965809 _ACEOF
5297 if ac_fn_c_try_compile "$LINENO"; then :
5810 if ac_fn_c_try_compile "$LINENO"
5811 then :
52985812 ac_cv_sys_large_files=1; break
52995813 fi
5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
53015815 ac_cv_sys_large_files=unknown
53025816 break
53035817 done
53045818 fi
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5306 $as_echo "$ac_cv_sys_large_files" >&6; }
5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5820 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
53075821 case $ac_cv_sys_large_files in #(
53085822 no | unknown) ;;
53095823 *)
5310 cat >>confdefs.h <<_ACEOF
5311 #define _LARGE_FILES $ac_cv_sys_large_files
5312 _ACEOF
5824 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
53135825 ;;
53145826 esac
53155827 rm -rf conftest*
53165828 fi
5317
5318
5319 fi
5320
5321
5322 for ac_header in \
5323 err.h \
5324 linux/fd.h \
5325 linux/hdreg.h \
5326 linux/version.h \
5327 linux/loop.h \
5328 sys/disk.h \
5329 sys/disklabel.h \
5330 sys/ioccom.h \
5331 sys/mkdev.h \
5332 sys/queue.h \
5333
5334 do :
5335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5336 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5337 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5338 cat >>confdefs.h <<_ACEOF
5339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5829 fi
5830
5831
5832 ac_fn_c_check_header_compile "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default"
5833 if test "x$ac_cv_header_err_h" = xyes
5834 then :
5835 printf "%s\n" "#define HAVE_ERR_H 1" >>confdefs.h
5836
5837 fi
5838 ac_fn_c_check_header_compile "$LINENO" "linux/fd.h" "ac_cv_header_linux_fd_h" "$ac_includes_default"
5839 if test "x$ac_cv_header_linux_fd_h" = xyes
5840 then :
5841 printf "%s\n" "#define HAVE_LINUX_FD_H 1" >>confdefs.h
5842
5843 fi
5844 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
5845 if test "x$ac_cv_header_linux_hdreg_h" = xyes
5846 then :
5847 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
5848
5849 fi
5850 ac_fn_c_check_header_compile "$LINENO" "linux/version.h" "ac_cv_header_linux_version_h" "$ac_includes_default"
5851 if test "x$ac_cv_header_linux_version_h" = xyes
5852 then :
5853 printf "%s\n" "#define HAVE_LINUX_VERSION_H 1" >>confdefs.h
5854
5855 fi
5856 ac_fn_c_check_header_compile "$LINENO" "linux/loop.h" "ac_cv_header_linux_loop_h" "$ac_includes_default"
5857 if test "x$ac_cv_header_linux_loop_h" = xyes
5858 then :
5859 printf "%s\n" "#define HAVE_LINUX_LOOP_H 1" >>confdefs.h
5860
5861 fi
5862 ac_fn_c_check_header_compile "$LINENO" "sys/disk.h" "ac_cv_header_sys_disk_h" "$ac_includes_default"
5863 if test "x$ac_cv_header_sys_disk_h" = xyes
5864 then :
5865 printf "%s\n" "#define HAVE_SYS_DISK_H 1" >>confdefs.h
5866
5867 fi
5868 ac_fn_c_check_header_compile "$LINENO" "sys/disklabel.h" "ac_cv_header_sys_disklabel_h" "$ac_includes_default"
5869 if test "x$ac_cv_header_sys_disklabel_h" = xyes
5870 then :
5871 printf "%s\n" "#define HAVE_SYS_DISKLABEL_H 1" >>confdefs.h
5872
5873 fi
5874 ac_fn_c_check_header_compile "$LINENO" "sys/ioccom.h" "ac_cv_header_sys_ioccom_h" "$ac_includes_default"
5875 if test "x$ac_cv_header_sys_ioccom_h" = xyes
5876 then :
5877 printf "%s\n" "#define HAVE_SYS_IOCCOM_H 1" >>confdefs.h
5878
5879 fi
5880 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
5881 if test "x$ac_cv_header_sys_mkdev_h" = xyes
5882 then :
5883 printf "%s\n" "#define HAVE_SYS_MKDEV_H 1" >>confdefs.h
5884
5885 fi
5886 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
5887 if test "x$ac_cv_header_sys_queue_h" = xyes
5888 then :
5889 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
5890
5891 fi
5892 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
5893 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
5894 then :
5895 printf "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h
5896
5897 fi
5898
5899
5900 ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
5901 if test "x$ac_cv_header_endian_h" = xyes
5902 then :
5903 printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
5904
5905 fi
5906 ac_fn_c_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
5907 if test "x$ac_cv_header_sys_endian_h" = xyes
5908 then :
5909 printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h
5910
5911 fi
5912 ac_fn_c_check_header_compile "$LINENO" "libkern/OSByteOrder.h" "ac_cv_header_libkern_OSByteOrder_h" "$ac_includes_default"
5913 if test "x$ac_cv_header_libkern_OSByteOrder_h" = xyes
5914 then :
5915 printf "%s\n" "#define HAVE_LIBKERN_OSBYTEORDER_H 1" >>confdefs.h
5916
5917 fi
5918
5919
5920 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
5921 if test "x$ac_cv_func_vasprintf" = xyes
5922 then :
5923 printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
5924
5925 fi
5926
5927
5928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
5929 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
5930 if test ${ac_cv_c_undeclared_builtin_options+y}
5931 then :
5932 printf %s "(cached) " >&6
5933 else $as_nop
5934 ac_save_CFLAGS=$CFLAGS
5935 ac_cv_c_undeclared_builtin_options='cannot detect'
5936 for ac_arg in '' -fno-builtin; do
5937 CFLAGS="$ac_save_CFLAGS $ac_arg"
5938 # This test program should *not* compile successfully.
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5941
5942 int
5943 main (void)
5944 {
5945 (void) strchr;
5946 ;
5947 return 0;
5948 }
53405949 _ACEOF
5341
5342 fi
5343
5344 done
5345
5346
5347 for ac_header in endian.h sys/endian.h libkern/OSByteOrder.h
5348 do :
5349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5350 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5352 cat >>confdefs.h <<_ACEOF
5353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5950 if ac_fn_c_try_compile "$LINENO"
5951 then :
5952
5953 else $as_nop
5954 # This test program should compile successfully.
5955 # No library function is consistently available on
5956 # freestanding implementations, so test against a dummy
5957 # declaration. Include always-available headers on the
5958 # off chance that they somehow elicit warnings.
5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5960 /* end confdefs.h. */
5961 #include <float.h>
5962 #include <limits.h>
5963 #include <stdarg.h>
5964 #include <stddef.h>
5965 extern void ac_decl (int, char *);
5966
5967 int
5968 main (void)
5969 {
5970 (void) ac_decl (0, (char *) 0);
5971 (void) ac_decl;
5972
5973 ;
5974 return 0;
5975 }
53545976 _ACEOF
5355
5356 fi
5357
5358 done
5359
5360
5361 for ac_func in vasprintf
5362 do :
5363 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
5364 if test "x$ac_cv_func_vasprintf" = xyes; then :
5365 cat >>confdefs.h <<_ACEOF
5366 #define HAVE_VASPRINTF 1
5367 _ACEOF
5368
5369 fi
5370 done
5371
5372
5373 ac_fn_c_check_decl "$LINENO" "getmntent" "ac_cv_have_decl_getmntent" "#include <mntent.h>
5374 "
5375 if test "x$ac_cv_have_decl_getmntent" = xyes; then :
5977 if ac_fn_c_try_compile "$LINENO"
5978 then :
5979 if test x"$ac_arg" = x
5980 then :
5981 ac_cv_c_undeclared_builtin_options='none needed'
5982 else $as_nop
5983 ac_cv_c_undeclared_builtin_options=$ac_arg
5984 fi
5985 break
5986 fi
5987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5988 fi
5989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5990 done
5991 CFLAGS=$ac_save_CFLAGS
5992
5993 fi
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
5995 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
5996 case $ac_cv_c_undeclared_builtin_options in #(
5997 'cannot detect') :
5998 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5999 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6000 as_fn_error $? "cannot make $CC report undeclared builtins
6001 See \`config.log' for more details" "$LINENO" 5; } ;; #(
6002 'none needed') :
6003 ac_c_undeclared_builtin_options='' ;; #(
6004 *) :
6005 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
6006 esac
6007
6008 ac_fn_check_decl "$LINENO" "getmntent" "ac_cv_have_decl_getmntent" "#include <mntent.h>
6009 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6010 if test "x$ac_cv_have_decl_getmntent" = xyes
6011 then :
53766012 ac_have_decl=1
5377 else
6013 else $as_nop
53786014 ac_have_decl=0
53796015 fi
5380
5381 cat >>confdefs.h <<_ACEOF
5382 #define HAVE_DECL_GETMNTENT $ac_have_decl
5383 _ACEOF
5384
5385 ac_fn_c_check_decl "$LINENO" "getmntinfo" "ac_cv_have_decl_getmntinfo" "#include <sys/mount.h>
5386 "
5387 if test "x$ac_cv_have_decl_getmntinfo" = xyes; then :
6016 printf "%s\n" "#define HAVE_DECL_GETMNTENT $ac_have_decl" >>confdefs.h
6017
6018 ac_fn_check_decl "$LINENO" "getmntinfo" "ac_cv_have_decl_getmntinfo" "#include <sys/mount.h>
6019 " "$ac_c_undeclared_builtin_options" "CFLAGS"
6020 if test "x$ac_cv_have_decl_getmntinfo" = xyes
6021 then :
53886022 ac_have_decl=1
5389 else
6023 else $as_nop
53906024 ac_have_decl=0
53916025 fi
5392
5393 cat >>confdefs.h <<_ACEOF
5394 #define HAVE_DECL_GETMNTINFO $ac_have_decl
5395 _ACEOF
6026 printf "%s\n" "#define HAVE_DECL_GETMNTINFO $ac_have_decl" >>confdefs.h
53966027
53976028
53986029 # optional iconv support
53996030
54006031 # Check whether --with-iconv was given.
5401 if test "${with_iconv+set}" = set; then :
6032 if test ${with_iconv+y}
6033 then :
54026034 withval=$with_iconv;
54036035 fi
54046036
54056037 if test "x$with_iconv" != "xno"; then
5406 # Make sure we can run config.sub.
5407 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5408 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5409
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5411 $as_echo_n "checking build system type... " >&6; }
5412 if ${ac_cv_build+:} false; then :
5413 $as_echo_n "(cached) " >&6
5414 else
6038
6039
6040 # Make sure we can run config.sub.
6041 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
6042 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
6043
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6045 printf %s "checking build system type... " >&6; }
6046 if test ${ac_cv_build+y}
6047 then :
6048 printf %s "(cached) " >&6
6049 else $as_nop
54156050 ac_build_alias=$build_alias
54166051 test "x$ac_build_alias" = x &&
5417 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6052 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
54186053 test "x$ac_build_alias" = x &&
54196054 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5420 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5421 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5422
5423 fi
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5425 $as_echo "$ac_cv_build" >&6; }
6055 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
6056 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
6057
6058 fi
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6060 printf "%s\n" "$ac_cv_build" >&6; }
54266061 case $ac_cv_build in
54276062 *-*-*) ;;
54286063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
54416076 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
54426077
54436078
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5445 $as_echo_n "checking host system type... " >&6; }
5446 if ${ac_cv_host+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6080 printf %s "checking host system type... " >&6; }
6081 if test ${ac_cv_host+y}
6082 then :
6083 printf %s "(cached) " >&6
6084 else $as_nop
54496085 if test "x$host_alias" = x; then
54506086 ac_cv_host=$ac_cv_build
54516087 else
5452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5453 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5454 fi
5455
5456 fi
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5458 $as_echo "$ac_cv_host" >&6; }
6088 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
6089 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
6090 fi
6091
6092 fi
6093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6094 printf "%s\n" "$ac_cv_host" >&6; }
54596095 case $ac_cv_host in
54606096 *-*-*) ;;
54616097 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
54936129
54946130
54956131 # Check whether --with-gnu-ld was given.
5496 if test "${with_gnu_ld+set}" = set; then :
6132 if test ${with_gnu_ld+y}
6133 then :
54976134 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5498 else
6135 else $as_nop
54996136 with_gnu_ld=no
55006137 fi
55016138
55126149 }
55136150 fi
55146151
5515 ac_prog=ld
5516 if test "$GCC" = yes; then
5517 # Check if gcc -print-prog-name=ld gives a path.
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5519 $as_echo_n "checking for ld used by $CC... " >&6; }
5520 case $host in
5521 *-*-mingw*)
5522 # gcc leaves a trailing carriage return which upsets mingw
5523 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5524 *)
5525 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5526 esac
5527 case $ac_prog in
5528 # Accept absolute paths.
5529 [\\/]* | ?:[\\/]*)
5530 re_direlt='/[^/][^/]*/\.\./'
5531 # Canonicalize the pathname of ld
5532 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
5533 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
5534 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5535 done
5536 test -z "$LD" && LD="$ac_prog"
5537 ;;
5538 "")
5539 # If it fails, then pretend we aren't using GCC.
5540 ac_prog=ld
5541 ;;
5542 *)
5543 # If it is relative, then search for the first ld in PATH.
5544 with_gnu_ld=unknown
5545 ;;
5546 esac
6152 if test -n "$LD"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
6154 printf %s "checking for ld... " >&6; }
6155 elif test "$GCC" = yes; then
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6157 printf %s "checking for ld used by $CC... " >&6; }
55476158 elif test "$with_gnu_ld" = yes; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5549 $as_echo_n "checking for GNU ld... " >&6; }
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6160 printf %s "checking for GNU ld... " >&6; }
55506161 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5552 $as_echo_n "checking for non-GNU ld... " >&6; }
5553 fi
5554 if ${acl_cv_path_LD+:} false; then :
5555 $as_echo_n "(cached) " >&6
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6163 printf %s "checking for non-GNU ld... " >&6; }
6164 fi
6165 if test -n "$LD"; then
6166 # Let the user override the test with a path.
6167 :
55566168 else
5557 if test -z "$LD"; then
5558 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5559 for ac_dir in $PATH; do
5560 IFS="$acl_save_ifs"
5561 test -z "$ac_dir" && ac_dir=.
5562 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5563 acl_cv_path_LD="$ac_dir/$ac_prog"
5564 # Check to see if the program is GNU ld. I'd rather use --version,
5565 # but apparently some variants of GNU ld only accept -v.
5566 # Break only if it was the GNU/non-GNU ld that we prefer.
5567 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
5568 *GNU* | *'with BFD'*)
5569 test "$with_gnu_ld" != no && break
5570 ;;
5571 *)
5572 test "$with_gnu_ld" != yes && break
5573 ;;
6169 if test ${acl_cv_path_LD+y}
6170 then :
6171 printf %s "(cached) " >&6
6172 else $as_nop
6173
6174 acl_cv_path_LD= # Final result of this test
6175 ac_prog=ld # Program to search in $PATH
6176 if test "$GCC" = yes; then
6177 # Check if gcc -print-prog-name=ld gives a path.
6178 case $host in
6179 *-*-mingw*)
6180 # gcc leaves a trailing carriage return which upsets mingw
6181 acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6182 *)
6183 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
6184 esac
6185 case $acl_output in
6186 # Accept absolute paths.
6187 [\\/]* | ?:[\\/]*)
6188 re_direlt='/[^/][^/]*/\.\./'
6189 # Canonicalize the pathname of ld
6190 acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
6191 while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
6192 acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
6193 done
6194 # Got the pathname. No search in PATH is needed.
6195 acl_cv_path_LD="$acl_output"
6196 ac_prog=
6197 ;;
6198 "")
6199 # If it fails, then pretend we aren't using GCC.
6200 ;;
6201 *)
6202 # If it is relative, then search for the first ld in PATH.
6203 with_gnu_ld=unknown
6204 ;;
55746205 esac
55756206 fi
5576 done
5577 IFS="$acl_save_ifs"
6207 if test -n "$ac_prog"; then
6208 # Search for $ac_prog in $PATH.
6209 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6210 for ac_dir in $PATH; do
6211 IFS="$acl_save_ifs"
6212 test -z "$ac_dir" && ac_dir=.
6213 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6214 acl_cv_path_LD="$ac_dir/$ac_prog"
6215 # Check to see if the program is GNU ld. I'd rather use --version,
6216 # but apparently some variants of GNU ld only accept -v.
6217 # Break only if it was the GNU/non-GNU ld that we prefer.
6218 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
6219 *GNU* | *'with BFD'*)
6220 test "$with_gnu_ld" != no && break
6221 ;;
6222 *)
6223 test "$with_gnu_ld" != yes && break
6224 ;;
6225 esac
6226 fi
6227 done
6228 IFS="$acl_save_ifs"
6229 fi
6230 case $host in
6231 *-*-aix*)
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #if defined __powerpc64__ || defined _ARCH_PPC64
6235 int ok;
6236 #else
6237 error fail
6238 #endif
6239
6240 _ACEOF
6241 if ac_fn_c_try_compile "$LINENO"
6242 then :
6243 # The compiler produces 64-bit code. Add option '-b64' so that the
6244 # linker groks 64-bit object files.
6245 case "$acl_cv_path_LD " in
6246 *" -b64 "*) ;;
6247 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
6248 esac
6249
6250 fi
6251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6252 ;;
6253 sparc64-*-netbsd*)
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #if defined __sparcv9 || defined __arch64__
6257 int ok;
6258 #else
6259 error fail
6260 #endif
6261
6262 _ACEOF
6263 if ac_fn_c_try_compile "$LINENO"
6264 then :
6265
6266 else $as_nop
6267 # The compiler produces 32-bit code. Add option '-m elf32_sparc'
6268 # so that the linker groks 32-bit object files.
6269 case "$acl_cv_path_LD " in
6270 *" -m elf32_sparc "*) ;;
6271 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
6272 esac
6273
6274 fi
6275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6276 ;;
6277 esac
6278
6279 fi
6280
6281 LD="$acl_cv_path_LD"
6282 fi
6283 if test -n "$LD"; then
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6285 printf "%s\n" "$LD" >&6; }
55786286 else
5579 acl_cv_path_LD="$LD" # Let the user override the test with a path.
5580 fi
5581 fi
5582
5583 LD="$acl_cv_path_LD"
5584 if test -n "$LD"; then
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5586 $as_echo "$LD" >&6; }
5587 else
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5590 fi
5591 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5593 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5594 if ${acl_cv_prog_gnu_ld+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 printf "%s\n" "no" >&6; }
6289 as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6290 fi
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6292 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6293 if test ${acl_cv_prog_gnu_ld+y}
6294 then :
6295 printf %s "(cached) " >&6
6296 else $as_nop
55976297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
55986298 case `$LD -v 2>&1 </dev/null` in
55996299 *GNU* | *'with BFD'*)
56046304 ;;
56056305 esac
56066306 fi
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5608 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6308 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
56096309 with_gnu_ld=$acl_cv_prog_gnu_ld
56106310
56116311
56126312
56136313
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5615 $as_echo_n "checking for shared library run path origin... " >&6; }
5616 if ${acl_cv_rpath+:} false; then :
5617 $as_echo_n "(cached) " >&6
5618 else
6314
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6316 printf %s "checking for shared library run path origin... " >&6; }
6317 if test ${acl_cv_rpath+y}
6318 then :
6319 printf %s "(cached) " >&6
6320 else $as_nop
56196321
56206322 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
56216323 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
56246326 acl_cv_rpath=done
56256327
56266328 fi
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5628 $as_echo "$acl_cv_rpath" >&6; }
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6330 printf "%s\n" "$acl_cv_rpath" >&6; }
56296331 wl="$acl_cv_wl"
56306332 acl_libext="$acl_cv_libext"
56316333 acl_shlibext="$acl_cv_shlibext"
56366338 acl_hardcode_direct="$acl_cv_hardcode_direct"
56376339 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
56386340 # Check whether --enable-rpath was given.
5639 if test "${enable_rpath+set}" = set; then :
6341 if test ${enable_rpath+y}
6342 then :
56406343 enableval=$enable_rpath; :
5641 else
6344 else $as_nop
56426345 enable_rpath=yes
56436346 fi
56446347
56456348
56466349
56476350
5648 acl_libdirstem=lib
5649 acl_libdirstem2=
5650 case "$host_os" in
5651 solaris*)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5653 $as_echo_n "checking for 64-bit host... " >&6; }
5654 if ${gl_cv_solaris_64bit+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
6352 printf %s "checking 32-bit host C ABI... " >&6; }
6353 if test ${gl_cv_host_cpu_c_abi_32bit+y}
6354 then :
6355 printf %s "(cached) " >&6
6356 else $as_nop
6357 if test -n "$gl_cv_host_cpu_c_abi"; then
6358 case "$gl_cv_host_cpu_c_abi" in
6359 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
6360 gl_cv_host_cpu_c_abi_32bit=yes ;;
6361 x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
6362 gl_cv_host_cpu_c_abi_32bit=no ;;
6363 *)
6364 gl_cv_host_cpu_c_abi_32bit=unknown ;;
6365 esac
6366 else
6367 case "$host_cpu" in
6368
6369 # CPUs that only support a 32-bit ABI.
6370 arc \
6371 | bfin \
6372 | cris* \
6373 | csky \
6374 | epiphany \
6375 | ft32 \
6376 | h8300 \
6377 | m68k \
6378 | microblaze | microblazeel \
6379 | nds32 | nds32le | nds32be \
6380 | nios2 | nios2eb | nios2el \
6381 | or1k* \
6382 | or32 \
6383 | sh | sh1234 | sh1234elb \
6384 | tic6x \
6385 | xtensa* )
6386 gl_cv_host_cpu_c_abi_32bit=yes
6387 ;;
6388
6389 # CPUs that only support a 64-bit ABI.
6390 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
6391 | mmix )
6392 gl_cv_host_cpu_c_abi_32bit=no
6393 ;;
6394
6395 i[34567]86 )
6396 gl_cv_host_cpu_c_abi_32bit=yes
6397 ;;
6398
6399 x86_64 )
6400 # On x86_64 systems, the C compiler may be generating code in one of
6401 # these ABIs:
6402 # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
6403 # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
6404 # with native Windows (mingw, MSVC).
6405 # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
6406 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
6407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6409 #if (defined __x86_64__ || defined __amd64__ \
6410 || defined _M_X64 || defined _M_AMD64) \
6411 && !(defined __ILP32__ || defined _ILP32)
6412 int ok;
6413 #else
6414 error fail
6415 #endif
6416
6417 _ACEOF
6418 if ac_fn_c_try_compile "$LINENO"
6419 then :
6420 gl_cv_host_cpu_c_abi_32bit=no
6421 else $as_nop
6422 gl_cv_host_cpu_c_abi_32bit=yes
6423 fi
6424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6425 ;;
6426
6427 arm* | aarch64 )
6428 # Assume arm with EABI.
6429 # On arm64 systems, the C compiler may be generating code in one of
6430 # these ABIs:
6431 # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
6432 # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
6433 # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6436 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
6437 int ok;
6438 #else
6439 error fail
6440 #endif
6441
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"
6444 then :
6445 gl_cv_host_cpu_c_abi_32bit=no
6446 else $as_nop
6447 gl_cv_host_cpu_c_abi_32bit=yes
6448 fi
6449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6450 ;;
6451
6452 hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
6453 # On hppa, the C compiler may be generating 32-bit code or 64-bit
6454 # code. In the latter case, it defines _LP64 and __LP64__.
6455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6456 /* end confdefs.h. */
6457 #ifdef __LP64__
6458 int ok;
6459 #else
6460 error fail
6461 #endif
6462
6463 _ACEOF
6464 if ac_fn_c_try_compile "$LINENO"
6465 then :
6466 gl_cv_host_cpu_c_abi_32bit=no
6467 else $as_nop
6468 gl_cv_host_cpu_c_abi_32bit=yes
6469 fi
6470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6471 ;;
6472
6473 ia64* )
6474 # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
6475 # 32-bit code. In the latter case, it defines _ILP32.
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6478 #ifdef _ILP32
6479 int ok;
6480 #else
6481 error fail
6482 #endif
6483
6484 _ACEOF
6485 if ac_fn_c_try_compile "$LINENO"
6486 then :
6487 gl_cv_host_cpu_c_abi_32bit=yes
6488 else $as_nop
6489 gl_cv_host_cpu_c_abi_32bit=no
6490 fi
6491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6492 ;;
6493
6494 mips* )
6495 # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
6496 # at 32.
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
6500 int ok;
6501 #else
6502 error fail
6503 #endif
6504
6505 _ACEOF
6506 if ac_fn_c_try_compile "$LINENO"
6507 then :
6508 gl_cv_host_cpu_c_abi_32bit=no
6509 else $as_nop
6510 gl_cv_host_cpu_c_abi_32bit=yes
6511 fi
6512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6513 ;;
6514
6515 powerpc* )
6516 # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
6517 # No need to distinguish them here; the caller may distinguish
6518 # them based on the OS.
6519 # On powerpc64 systems, the C compiler may still be generating
6520 # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
6521 # be generating 64-bit code.
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #if defined __powerpc64__ || defined _ARCH_PPC64
6525 int ok;
6526 #else
6527 error fail
6528 #endif
6529
6530 _ACEOF
6531 if ac_fn_c_try_compile "$LINENO"
6532 then :
6533 gl_cv_host_cpu_c_abi_32bit=no
6534 else $as_nop
6535 gl_cv_host_cpu_c_abi_32bit=yes
6536 fi
6537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6538 ;;
6539
6540 rs6000 )
6541 gl_cv_host_cpu_c_abi_32bit=yes
6542 ;;
6543
6544 riscv32 | riscv64 )
6545 # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
6546 # Size of 'long' and 'void *':
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #if defined __LP64__
6550 int ok;
6551 #else
6552 error fail
6553 #endif
6554
6555 _ACEOF
6556 if ac_fn_c_try_compile "$LINENO"
6557 then :
6558 gl_cv_host_cpu_c_abi_32bit=no
6559 else $as_nop
6560 gl_cv_host_cpu_c_abi_32bit=yes
6561 fi
6562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6563 ;;
6564
6565 s390* )
6566 # On s390x, the C compiler may be generating 64-bit (= s390x) code
6567 # or 31-bit (= s390) code.
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #if defined __LP64__ || defined __s390x__
6571 int ok;
6572 #else
6573 error fail
6574 #endif
6575
6576 _ACEOF
6577 if ac_fn_c_try_compile "$LINENO"
6578 then :
6579 gl_cv_host_cpu_c_abi_32bit=no
6580 else $as_nop
6581 gl_cv_host_cpu_c_abi_32bit=yes
6582 fi
6583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6584 ;;
6585
6586 sparc | sparc64 )
6587 # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
6588 # C compiler still generates 32-bit code.
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #if defined __sparcv9 || defined __arch64__
6592 int ok;
6593 #else
6594 error fail
6595 #endif
6596
6597 _ACEOF
6598 if ac_fn_c_try_compile "$LINENO"
6599 then :
6600 gl_cv_host_cpu_c_abi_32bit=no
6601 else $as_nop
6602 gl_cv_host_cpu_c_abi_32bit=yes
6603 fi
6604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6605 ;;
6606
6607 *)
6608 gl_cv_host_cpu_c_abi_32bit=unknown
6609 ;;
6610 esac
6611 fi
6612
6613 fi
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
6615 printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
6616
6617 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
6618
6619 ac_ext=c
6620 ac_cpp='$CPP $CPPFLAGS'
6621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6625 printf %s "checking how to run the C preprocessor... " >&6; }
6626 # On Suns, sometimes $CPP names a directory.
6627 if test -n "$CPP" && test -d "$CPP"; then
6628 CPP=
6629 fi
6630 if test -z "$CPP"; then
6631 if test ${ac_cv_prog_CPP+y}
6632 then :
6633 printf %s "(cached) " >&6
6634 else $as_nop
6635 # Double quotes because $CC needs to be expanded
6636 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
6637 do
6638 ac_preproc_ok=false
6639 for ac_c_preproc_warn_flag in '' yes
6640 do
6641 # Use a header file that comes with gcc, so configuring glibc
6642 # with a fresh cross-compiler works.
6643 # On the NeXT, cc -E runs the code through the compiler's parser,
6644 # not just through cpp. "Syntax error" is here to catch this case.
56576645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56586646 /* end confdefs.h. */
5659
5660 #ifdef _LP64
5661 sixtyfour bits
5662 #endif
6647 #include <limits.h>
6648 Syntax error
6649 _ACEOF
6650 if ac_fn_c_try_cpp "$LINENO"
6651 then :
6652
6653 else $as_nop
6654 # Broken: fails on valid input.
6655 continue
6656 fi
6657 rm -f conftest.err conftest.i conftest.$ac_ext
6658
6659 # OK, works on sane cases. Now check whether nonexistent headers
6660 # can be detected and how.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <ac_nonexistent.h>
6664 _ACEOF
6665 if ac_fn_c_try_cpp "$LINENO"
6666 then :
6667 # Broken: success on invalid input.
6668 continue
6669 else $as_nop
6670 # Passes both tests.
6671 ac_preproc_ok=:
6672 break
6673 fi
6674 rm -f conftest.err conftest.i conftest.$ac_ext
6675
6676 done
6677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6678 rm -f conftest.i conftest.err conftest.$ac_ext
6679 if $ac_preproc_ok
6680 then :
6681 break
6682 fi
6683
6684 done
6685 ac_cv_prog_CPP=$CPP
6686
6687 fi
6688 CPP=$ac_cv_prog_CPP
6689 else
6690 ac_cv_prog_CPP=$CPP
6691 fi
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6693 printf "%s\n" "$CPP" >&6; }
6694 ac_preproc_ok=false
6695 for ac_c_preproc_warn_flag in '' yes
6696 do
6697 # Use a header file that comes with gcc, so configuring glibc
6698 # with a fresh cross-compiler works.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6702 /* end confdefs.h. */
6703 #include <limits.h>
6704 Syntax error
6705 _ACEOF
6706 if ac_fn_c_try_cpp "$LINENO"
6707 then :
6708
6709 else $as_nop
6710 # Broken: fails on valid input.
6711 continue
6712 fi
6713 rm -f conftest.err conftest.i conftest.$ac_ext
6714
6715 # OK, works on sane cases. Now check whether nonexistent headers
6716 # can be detected and how.
6717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <ac_nonexistent.h>
6720 _ACEOF
6721 if ac_fn_c_try_cpp "$LINENO"
6722 then :
6723 # Broken: success on invalid input.
6724 continue
6725 else $as_nop
6726 # Passes both tests.
6727 ac_preproc_ok=:
6728 break
6729 fi
6730 rm -f conftest.err conftest.i conftest.$ac_ext
6731
6732 done
6733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6734 rm -f conftest.i conftest.err conftest.$ac_ext
6735 if $ac_preproc_ok
6736 then :
6737
6738 else $as_nop
6739 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6740 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6741 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6742 See \`config.log' for more details" "$LINENO" 5; }
6743 fi
6744
6745 ac_ext=c
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6750
6751
6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6753 printf %s "checking for grep that handles long lines and -e... " >&6; }
6754 if test ${ac_cv_path_GREP+y}
6755 then :
6756 printf %s "(cached) " >&6
6757 else $as_nop
6758 if test -z "$GREP"; then
6759 ac_path_GREP_found=false
6760 # Loop through the user's path and test for each of PROGNAME-LIST
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6763 do
6764 IFS=$as_save_IFS
6765 case $as_dir in #(((
6766 '') as_dir=./ ;;
6767 */) ;;
6768 *) as_dir=$as_dir/ ;;
6769 esac
6770 for ac_prog in grep ggrep
6771 do
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6774 as_fn_executable_p "$ac_path_GREP" || continue
6775 # Check for GNU ac_path_GREP and select it if it is found.
6776 # Check for GNU $ac_path_GREP
6777 case `"$ac_path_GREP" --version 2>&1` in
6778 *GNU*)
6779 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6780 *)
6781 ac_count=0
6782 printf %s 0123456789 >"conftest.in"
6783 while :
6784 do
6785 cat "conftest.in" "conftest.in" >"conftest.tmp"
6786 mv "conftest.tmp" "conftest.in"
6787 cp "conftest.in" "conftest.nl"
6788 printf "%s\n" 'GREP' >> "conftest.nl"
6789 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6790 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6791 as_fn_arith $ac_count + 1 && ac_count=$as_val
6792 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6793 # Best one so far, save it but keep looking for a better one
6794 ac_cv_path_GREP="$ac_path_GREP"
6795 ac_path_GREP_max=$ac_count
6796 fi
6797 # 10*(2^10) chars as input seems more than enough
6798 test $ac_count -gt 10 && break
6799 done
6800 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6801 esac
6802
6803 $ac_path_GREP_found && break 3
6804 done
6805 done
6806 done
6807 IFS=$as_save_IFS
6808 if test -z "$ac_cv_path_GREP"; then
6809 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6810 fi
6811 else
6812 ac_cv_path_GREP=$GREP
6813 fi
6814
6815 fi
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6817 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6818 GREP="$ac_cv_path_GREP"
6819
6820
6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6822 printf %s "checking for egrep... " >&6; }
6823 if test ${ac_cv_path_EGREP+y}
6824 then :
6825 printf %s "(cached) " >&6
6826 else $as_nop
6827 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6828 then ac_cv_path_EGREP="$GREP -E"
6829 else
6830 if test -z "$EGREP"; then
6831 ac_path_EGREP_found=false
6832 # Loop through the user's path and test for each of PROGNAME-LIST
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6835 do
6836 IFS=$as_save_IFS
6837 case $as_dir in #(((
6838 '') as_dir=./ ;;
6839 */) ;;
6840 *) as_dir=$as_dir/ ;;
6841 esac
6842 for ac_prog in egrep
6843 do
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6846 as_fn_executable_p "$ac_path_EGREP" || continue
6847 # Check for GNU ac_path_EGREP and select it if it is found.
6848 # Check for GNU $ac_path_EGREP
6849 case `"$ac_path_EGREP" --version 2>&1` in
6850 *GNU*)
6851 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6852 *)
6853 ac_count=0
6854 printf %s 0123456789 >"conftest.in"
6855 while :
6856 do
6857 cat "conftest.in" "conftest.in" >"conftest.tmp"
6858 mv "conftest.tmp" "conftest.in"
6859 cp "conftest.in" "conftest.nl"
6860 printf "%s\n" 'EGREP' >> "conftest.nl"
6861 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6863 as_fn_arith $ac_count + 1 && ac_count=$as_val
6864 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6865 # Best one so far, save it but keep looking for a better one
6866 ac_cv_path_EGREP="$ac_path_EGREP"
6867 ac_path_EGREP_max=$ac_count
6868 fi
6869 # 10*(2^10) chars as input seems more than enough
6870 test $ac_count -gt 10 && break
6871 done
6872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6873 esac
6874
6875 $ac_path_EGREP_found && break 3
6876 done
6877 done
6878 done
6879 IFS=$as_save_IFS
6880 if test -z "$ac_cv_path_EGREP"; then
6881 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6882 fi
6883 else
6884 ac_cv_path_EGREP=$EGREP
6885 fi
6886
6887 fi
6888 fi
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6890 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
6891 EGREP="$ac_cv_path_EGREP"
6892
6893
6894
6895
6896
6897
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
6899 printf %s "checking for ELF binary format... " >&6; }
6900 if test ${gl_cv_elf+y}
6901 then :
6902 printf %s "(cached) " >&6
6903 else $as_nop
6904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 #ifdef __ELF__
6907 Extensible Linking Format
6908 #endif
56636909
56646910 _ACEOF
56656911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5666 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
5667 gl_cv_solaris_64bit=yes
5668 else
5669 gl_cv_solaris_64bit=no
5670 fi
5671 rm -f conftest*
5672
5673
5674 fi
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
5676 $as_echo "$gl_cv_solaris_64bit" >&6; }
5677 if test $gl_cv_solaris_64bit = yes; then
5678 acl_libdirstem=lib/64
5679 case "$host_cpu" in
5680 sparc*) acl_libdirstem2=lib/sparcv9 ;;
5681 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
5682 esac
5683 fi
5684 ;;
5685 *)
5686 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
5687 if test -n "$searchpath"; then
5688 acl_save_IFS="${IFS= }"; IFS=":"
5689 for searchdir in $searchpath; do
5690 if test -d "$searchdir"; then
5691 case "$searchdir" in
5692 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
5693 */../ | */.. )
5694 # Better ignore directories of this form. They are misleading.
5695 ;;
5696 *) searchdir=`cd "$searchdir" && pwd`
5697 case "$searchdir" in
5698 */lib64 ) acl_libdirstem=lib64 ;;
5699 esac ;;
5700 esac
5701 fi
5702 done
5703 IFS="$acl_save_IFS"
5704 fi
5705 ;;
5706 esac
5707 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
5708
6912 $EGREP "Extensible Linking Format" >/dev/null 2>&1
6913 then :
6914 gl_cv_elf=yes
6915 else $as_nop
6916 gl_cv_elf=no
6917 fi
6918 rm -rf conftest*
6919
6920
6921 fi
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
6923 printf "%s\n" "$gl_cv_elf" >&6; }
6924 if test $gl_cv_elf; then
6925 # Extract the ELF class of a file (5th byte) in decimal.
6926 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
6927 if od -A x < /dev/null >/dev/null 2>/dev/null; then
6928 # Use POSIX od.
6929 func_elfclass ()
6930 {
6931 od -A n -t d1 -j 4 -N 1
6932 }
6933 else
6934 # Use BSD hexdump.
6935 func_elfclass ()
6936 {
6937 dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
6938 echo
6939 }
6940 fi
6941 case $HOST_CPU_C_ABI_32BIT in
6942 yes)
6943 # 32-bit ABI.
6944 acl_is_expected_elfclass ()
6945 {
6946 test "`func_elfclass | sed -e 's/[ ]//g'`" = 1
6947 }
6948 ;;
6949 no)
6950 # 64-bit ABI.
6951 acl_is_expected_elfclass ()
6952 {
6953 test "`func_elfclass | sed -e 's/[ ]//g'`" = 2
6954 }
6955 ;;
6956 *)
6957 # Unknown.
6958 acl_is_expected_elfclass ()
6959 {
6960 :
6961 }
6962 ;;
6963 esac
6964 else
6965 acl_is_expected_elfclass ()
6966 {
6967 :
6968 }
6969 fi
6970
6971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
6972 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
6973 if test ${acl_cv_libdirstems+y}
6974 then :
6975 printf %s "(cached) " >&6
6976 else $as_nop
6977 acl_libdirstem=lib
6978 acl_libdirstem2=
6979 acl_libdirstem3=
6980 case "$host_os" in
6981 solaris*)
6982 if test $HOST_CPU_C_ABI_32BIT = no; then
6983 acl_libdirstem2=lib/64
6984 case "$host_cpu" in
6985 sparc*) acl_libdirstem3=lib/sparcv9 ;;
6986 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
6987 esac
6988 fi
6989 ;;
6990 *)
6991 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
6992 | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
6993 if test $HOST_CPU_C_ABI_32BIT != no; then
6994 # 32-bit or unknown ABI.
6995 if test -d /usr/lib32; then
6996 acl_libdirstem2=lib32
6997 fi
6998 fi
6999 if test $HOST_CPU_C_ABI_32BIT != yes; then
7000 # 64-bit or unknown ABI.
7001 if test -d /usr/lib64; then
7002 acl_libdirstem3=lib64
7003 fi
7004 fi
7005 if test -n "$searchpath"; then
7006 acl_save_IFS="${IFS= }"; IFS=":"
7007 for searchdir in $searchpath; do
7008 if test -d "$searchdir"; then
7009 case "$searchdir" in
7010 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
7011 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
7012 */../ | */.. )
7013 # Better ignore directories of this form. They are misleading.
7014 ;;
7015 *) searchdir=`cd "$searchdir" && pwd`
7016 case "$searchdir" in
7017 */lib32 ) acl_libdirstem2=lib32 ;;
7018 */lib64 ) acl_libdirstem3=lib64 ;;
7019 esac ;;
7020 esac
7021 fi
7022 done
7023 IFS="$acl_save_IFS"
7024 if test $HOST_CPU_C_ABI_32BIT = yes; then
7025 # 32-bit ABI.
7026 acl_libdirstem3=
7027 fi
7028 if test $HOST_CPU_C_ABI_32BIT = no; then
7029 # 64-bit ABI.
7030 acl_libdirstem2=
7031 fi
7032 fi
7033 ;;
7034 esac
7035 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
7036 test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
7037 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
7038
7039 fi
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
7041 printf "%s\n" "$acl_cv_libdirstems" >&6; }
7042 acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
7043 acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
7044 acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
57097045
57107046
57117047
57267062
57277063 eval additional_includedir=\"$includedir\"
57287064 eval additional_libdir=\"$libdir\"
7065 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
7066 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
57297067
57307068 exec_prefix="$acl_save_exec_prefix"
57317069 prefix="$acl_save_prefix"
57327070
57337071
57347072 # Check whether --with-libiconv-prefix was given.
5735 if test "${with_libiconv_prefix+set}" = set; then :
7073 if test ${with_libiconv_prefix+y}
7074 then :
57367075 withval=$with_libiconv_prefix;
57377076 if test "X$withval" = "Xno"; then
57387077 use_additional=no
57467085
57477086 eval additional_includedir=\"$includedir\"
57487087 eval additional_libdir=\"$libdir\"
7088 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
7089 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
57497090
57507091 exec_prefix="$acl_save_exec_prefix"
57517092 prefix="$acl_save_prefix"
57537094 else
57547095 additional_includedir="$withval/include"
57557096 additional_libdir="$withval/$acl_libdirstem"
5756 if test "$acl_libdirstem2" != "$acl_libdirstem" \
5757 && ! test -d "$withval/$acl_libdirstem"; then
5758 additional_libdir="$withval/$acl_libdirstem2"
5759 fi
7097 additional_libdir2="$withval/$acl_libdirstem2"
7098 additional_libdir3="$withval/$acl_libdirstem3"
57607099 fi
57617100 fi
57627101
57637102 fi
57647103
7104 if test "X$additional_libdir2" = "X$additional_libdir"; then
7105 additional_libdir2=
7106 fi
7107 if test "X$additional_libdir3" = "X$additional_libdir"; then
7108 additional_libdir3=
7109 fi
57657110 LIBICONV=
57667111 LTLIBICONV=
57677112 INCICONV=
58077152 shrext=
58087153 fi
58097154 if test $use_additional = yes; then
5810 dir="$additional_libdir"
5811 if test -n "$acl_shlibext"; then
5812 if test -f "$dir/$libname$shrext"; then
5813 found_dir="$dir"
5814 found_so="$dir/$libname$shrext"
5815 else
5816 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5817 ver=`(cd "$dir" && \
5818 for f in "$libname$shrext".*; do echo "$f"; done \
5819 | sed -e "s,^$libname$shrext\\\\.,," \
5820 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5821 | sed 1q ) 2>/dev/null`
5822 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5823 found_dir="$dir"
5824 found_so="$dir/$libname$shrext.$ver"
5825 fi
5826 else
5827 eval library_names=\"$acl_library_names_spec\"
5828 for f in $library_names; do
5829 if test -f "$dir/$f"; then
5830 found_dir="$dir"
5831 found_so="$dir/$f"
5832 break
5833 fi
5834 done
5835 fi
5836 fi
5837 fi
5838 if test "X$found_dir" = "X"; then
5839 if test -f "$dir/$libname.$acl_libext"; then
5840 found_dir="$dir"
5841 found_a="$dir/$libname.$acl_libext"
5842 fi
5843 fi
5844 if test "X$found_dir" != "X"; then
5845 if test -f "$dir/$libname.la"; then
5846 found_la="$dir/$libname.la"
5847 fi
5848 fi
5849 fi
5850 if test "X$found_dir" = "X"; then
5851 for x in $LDFLAGS $LTLIBICONV; do
5852
5853 acl_save_prefix="$prefix"
5854 prefix="$acl_final_prefix"
5855 acl_save_exec_prefix="$exec_prefix"
5856 exec_prefix="$acl_final_exec_prefix"
5857 eval x=\"$x\"
5858 exec_prefix="$acl_save_exec_prefix"
5859 prefix="$acl_save_prefix"
5860
5861 case "$x" in
5862 -L*)
5863 dir=`echo "X$x" | sed -e 's/^X-L//'`
5864 if test -n "$acl_shlibext"; then
5865 if test -f "$dir/$libname$shrext"; then
7155 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
7156 if test "X$found_dir" = "X"; then
7157 eval dir=\$$additional_libdir_variable
7158 if test -n "$dir"; then
7159 if test -n "$acl_shlibext"; then
7160 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
58667161 found_dir="$dir"
58677162 found_so="$dir/$libname$shrext"
58687163 else
58727167 | sed -e "s,^$libname$shrext\\\\.,," \
58737168 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
58747169 | sed 1q ) 2>/dev/null`
5875 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
7170 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
58767171 found_dir="$dir"
58777172 found_so="$dir/$libname$shrext.$ver"
58787173 fi
58797174 else
58807175 eval library_names=\"$acl_library_names_spec\"
58817176 for f in $library_names; do
5882 if test -f "$dir/$f"; then
7177 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
58837178 found_dir="$dir"
58847179 found_so="$dir/$f"
58857180 break
58897184 fi
58907185 fi
58917186 if test "X$found_dir" = "X"; then
5892 if test -f "$dir/$libname.$acl_libext"; then
7187 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
7188 found_dir="$dir"
7189 found_a="$dir/$libname.$acl_libext"
7190 fi
7191 fi
7192 if test "X$found_dir" != "X"; then
7193 if test -f "$dir/$libname.la"; then
7194 found_la="$dir/$libname.la"
7195 fi
7196 fi
7197 fi
7198 fi
7199 done
7200 fi
7201 if test "X$found_dir" = "X"; then
7202 for x in $LDFLAGS $LTLIBICONV; do
7203
7204 acl_save_prefix="$prefix"
7205 prefix="$acl_final_prefix"
7206 acl_save_exec_prefix="$exec_prefix"
7207 exec_prefix="$acl_final_exec_prefix"
7208 eval x=\"$x\"
7209 exec_prefix="$acl_save_exec_prefix"
7210 prefix="$acl_save_prefix"
7211
7212 case "$x" in
7213 -L*)
7214 dir=`echo "X$x" | sed -e 's/^X-L//'`
7215 if test -n "$acl_shlibext"; then
7216 if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
7217 found_dir="$dir"
7218 found_so="$dir/$libname$shrext"
7219 else
7220 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7221 ver=`(cd "$dir" && \
7222 for f in "$libname$shrext".*; do echo "$f"; done \
7223 | sed -e "s,^$libname$shrext\\\\.,," \
7224 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7225 | sed 1q ) 2>/dev/null`
7226 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
7227 found_dir="$dir"
7228 found_so="$dir/$libname$shrext.$ver"
7229 fi
7230 else
7231 eval library_names=\"$acl_library_names_spec\"
7232 for f in $library_names; do
7233 if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
7234 found_dir="$dir"
7235 found_so="$dir/$f"
7236 break
7237 fi
7238 done
7239 fi
7240 fi
7241 fi
7242 if test "X$found_dir" = "X"; then
7243 if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
58937244 found_dir="$dir"
58947245 found_a="$dir/$libname.$acl_libext"
58957246 fi
59117262 if test "X$found_so" != "X"; then
59127263 if test "$enable_rpath" = no \
59137264 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5914 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
7265 || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
7266 || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
59157267 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
59167268 else
59177269 haveit=
59907342 fi
59917343 additional_includedir="$basedir/include"
59927344 ;;
7345 */$acl_libdirstem3 | */$acl_libdirstem3/)
7346 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
7347 if test "$name" = 'iconv'; then
7348 LIBICONV_PREFIX="$basedir"
7349 fi
7350 additional_includedir="$basedir/include"
7351 ;;
59937352 esac
59947353 if test "X$additional_includedir" != "X"; then
59957354 if test "X$additional_includedir" != "X/usr/include"; then
60357394 for dep in $dependency_libs; do
60367395 case "$dep" in
60377396 -L*)
6038 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6039 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
6040 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
7397 dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7398 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
7399 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
7400 && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
60417401 haveit=
6042 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
6043 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
7402 if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
7403 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
7404 || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
60447405 if test -n "$GCC"; then
60457406 case $host_os in
60467407 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
60597420 exec_prefix="$acl_save_exec_prefix"
60607421 prefix="$acl_save_prefix"
60617422
6062 if test "X$x" = "X-L$additional_libdir"; then
7423 if test "X$x" = "X-L$dependency_libdir"; then
60637424 haveit=yes
60647425 break
60657426 fi
60667427 done
60677428 if test -z "$haveit"; then
6068 if test -d "$additional_libdir"; then
6069 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7429 if test -d "$dependency_libdir"; then
7430 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
60707431 fi
60717432 fi
60727433 haveit=
60807441 exec_prefix="$acl_save_exec_prefix"
60817442 prefix="$acl_save_prefix"
60827443
6083 if test "X$x" = "X-L$additional_libdir"; then
7444 if test "X$x" = "X-L$dependency_libdir"; then
60847445 haveit=yes
60857446 break
60867447 fi
60877448 done
60887449 if test -z "$haveit"; then
6089 if test -d "$additional_libdir"; then
6090 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7450 if test -d "$dependency_libdir"; then
7451 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
60917452 fi
60927453 fi
60937454 fi
61767537
61777538
61787539
6179
61807540 am_save_CPPFLAGS="$CPPFLAGS"
61817541
61827542 for element in $INCICONV; do
62027562 done
62037563
62047564
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6206 $as_echo_n "checking for iconv... " >&6; }
6207 if ${am_cv_func_iconv+:} false; then :
6208 $as_echo_n "(cached) " >&6
6209 else
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7566 printf %s "checking for iconv... " >&6; }
7567 if test ${am_cv_func_iconv+y}
7568 then :
7569 printf %s "(cached) " >&6
7570 else $as_nop
62107571
62117572 am_cv_func_iconv="no, consider installing GNU libiconv"
62127573 am_cv_lib_iconv=no
62177578 #include <iconv.h>
62187579
62197580 int
6220 main ()
7581 main (void)
62217582 {
62227583 iconv_t cd = iconv_open("","");
62237584 iconv(cd,NULL,NULL,NULL,NULL);
62267587 return 0;
62277588 }
62287589 _ACEOF
6229 if ac_fn_c_try_link "$LINENO"; then :
7590 if ac_fn_c_try_link "$LINENO"
7591 then :
62307592 am_cv_func_iconv=yes
62317593 fi
6232 rm -f core conftest.err conftest.$ac_objext \
7594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
62337595 conftest$ac_exeext conftest.$ac_ext
62347596 if test "$am_cv_func_iconv" != yes; then
62357597 am_save_LIBS="$LIBS"
62417603 #include <iconv.h>
62427604
62437605 int
6244 main ()
7606 main (void)
62457607 {
62467608 iconv_t cd = iconv_open("","");
62477609 iconv(cd,NULL,NULL,NULL,NULL);
62507612 return 0;
62517613 }
62527614 _ACEOF
6253 if ac_fn_c_try_link "$LINENO"; then :
7615 if ac_fn_c_try_link "$LINENO"
7616 then :
62547617 am_cv_lib_iconv=yes
62557618 am_cv_func_iconv=yes
62567619 fi
6257 rm -f core conftest.err conftest.$ac_objext \
7620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
62587621 conftest$ac_exeext conftest.$ac_ext
62597622 LIBS="$am_save_LIBS"
62607623 fi
62617624
62627625 fi
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
6264 $as_echo "$am_cv_func_iconv" >&6; }
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
7627 printf "%s\n" "$am_cv_func_iconv" >&6; }
62657628 if test "$am_cv_func_iconv" = yes; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6267 $as_echo_n "checking for working iconv... " >&6; }
6268 if ${am_cv_func_iconv_works+:} false; then :
6269 $as_echo_n "(cached) " >&6
6270 else
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
7630 printf %s "checking for working iconv... " >&6; }
7631 if test ${am_cv_func_iconv_works+y}
7632 then :
7633 printf %s "(cached) " >&6
7634 else $as_nop
62717635
62727636 am_save_LIBS="$LIBS"
62737637 if test $am_cv_lib_iconv = yes; then
62757639 fi
62767640 am_cv_func_iconv_works=no
62777641 for ac_iconv_const in '' 'const'; do
6278 if test "$cross_compiling" = yes; then :
7642 if test "$cross_compiling" = yes
7643 then :
62797644 case "$host_os" in
62807645 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
62817646 *) am_cv_func_iconv_works="guessing yes" ;;
62827647 esac
6283 else
7648 else $as_nop
62847649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62857650 /* end confdefs.h. */
62867651
62927657 #endif
62937658
62947659 int
6295 main ()
7660 main (void)
62967661 {
62977662 int result = 0;
62987663 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
63777742 #endif
63787743 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
63797744 provided. */
6380 if (/* Try standardized names. */
6381 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
6382 /* Try IRIX, OSF/1 names. */
6383 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
6384 /* Try AIX names. */
6385 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
6386 /* Try HP-UX names. */
6387 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
6388 result |= 16;
7745 {
7746 /* Try standardized names. */
7747 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
7748 /* Try IRIX, OSF/1 names. */
7749 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
7750 /* Try AIX names. */
7751 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
7752 /* Try HP-UX names. */
7753 iconv_t cd4 = iconv_open ("utf8", "eucJP");
7754 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
7755 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
7756 result |= 16;
7757 if (cd1 != (iconv_t)(-1))
7758 iconv_close (cd1);
7759 if (cd2 != (iconv_t)(-1))
7760 iconv_close (cd2);
7761 if (cd3 != (iconv_t)(-1))
7762 iconv_close (cd3);
7763 if (cd4 != (iconv_t)(-1))
7764 iconv_close (cd4);
7765 }
63897766 return result;
63907767
63917768 ;
63927769 return 0;
63937770 }
63947771 _ACEOF
6395 if ac_fn_c_try_run "$LINENO"; then :
7772 if ac_fn_c_try_run "$LINENO"
7773 then :
63967774 am_cv_func_iconv_works=yes
63977775 fi
63987776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
64047782 LIBS="$am_save_LIBS"
64057783
64067784 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
6408 $as_echo "$am_cv_func_iconv_works" >&6; }
7785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
7786 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
64097787 case "$am_cv_func_iconv_works" in
64107788 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
64117789 *) am_func_iconv=yes ;;
64157793 fi
64167794 if test "$am_func_iconv" = yes; then
64177795
6418 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
7796 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
64197797
64207798 fi
64217799 if test "$am_cv_lib_iconv" = yes; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
6423 $as_echo_n "checking how to link with libiconv... " >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
6425 $as_echo "$LIBICONV" >&6; }
7800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
7801 printf %s "checking how to link with libiconv... " >&6; }
7802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
7803 printf "%s\n" "$LIBICONV" >&6; }
64267804 else
64277805 CPPFLAGS="$am_save_CPPFLAGS"
64287806 LIBICONV=
64327810
64337811
64347812 if test "$am_cv_func_iconv" = yes; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
6436 $as_echo_n "checking for iconv declaration... " >&6; }
6437 if ${am_cv_proto_iconv+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
7814 printf %s "checking for iconv declaration... " >&6; }
7815 if test ${am_cv_proto_iconv+y}
7816 then :
7817 printf %s "(cached) " >&6
7818 else $as_nop
64407819
64417820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64427821 /* end confdefs.h. */
64547833 #endif
64557834
64567835 int
6457 main ()
7836 main (void)
64587837 {
64597838
64607839 ;
64617840 return 0;
64627841 }
64637842 _ACEOF
6464 if ac_fn_c_try_compile "$LINENO"; then :
7843 if ac_fn_c_try_compile "$LINENO"
7844 then :
64657845 am_cv_proto_iconv_arg1=""
6466 else
7846 else $as_nop
64677847 am_cv_proto_iconv_arg1="const"
64687848 fi
6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
64707850 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
64717851 fi
64727852
64737853 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
64757855 $am_cv_proto_iconv" >&5
6476 $as_echo "
7856 printf "%s\n" "
64777857 $am_cv_proto_iconv" >&6; }
6478
6479 cat >>confdefs.h <<_ACEOF
6480 #define ICONV_CONST $am_cv_proto_iconv_arg1
6481 _ACEOF
6482
6483
7858 else
7859 am_cv_proto_iconv_arg1=""
64847860 fi
7861
7862 printf "%s\n" "#define ICONV_CONST $am_cv_proto_iconv_arg1" >>confdefs.h
7863
7864
64857865
64867866 fi
64877867
64887868 # xxd (distributed with vim) is used in the testsuite
64897869 # Extract the first word of "xxd", so it can be a program name with args.
64907870 set dummy xxd; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_XXD_FOUND+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7872 printf %s "checking for $ac_word... " >&6; }
7873 if test ${ac_cv_prog_XXD_FOUND+y}
7874 then :
7875 printf %s "(cached) " >&6
7876 else $as_nop
64967877 if test -n "$XXD_FOUND"; then
64977878 ac_cv_prog_XXD_FOUND="$XXD_FOUND" # Let the user override the test.
64987879 else
65007881 for as_dir in $PATH
65017882 do
65027883 IFS=$as_save_IFS
6503 test -z "$as_dir" && as_dir=.
7884 case $as_dir in #(((
7885 '') as_dir=./ ;;
7886 */) ;;
7887 *) as_dir=$as_dir/ ;;
7888 esac
65047889 for ac_exec_ext in '' $ac_executable_extensions; do
6505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
65067891 ac_cv_prog_XXD_FOUND="yes"
6507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
65087893 break 2
65097894 fi
65107895 done
65157900 fi
65167901 XXD_FOUND=$ac_cv_prog_XXD_FOUND
65177902 if test -n "$XXD_FOUND"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XXD_FOUND" >&5
6519 $as_echo "$XXD_FOUND" >&6; }
7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XXD_FOUND" >&5
7904 printf "%s\n" "$XXD_FOUND" >&6; }
65207905 else
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
7906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 printf "%s\n" "no" >&6; }
65237908 fi
65247909
65257910
65647949 case $ac_val in #(
65657950 *${as_nl}*)
65667951 case $ac_var in #(
6567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7952 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7953 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65697954 esac
65707955 case $ac_var in #(
65717956 _ | IFS | as_nl) ;; #(
65957980 /^ac_cv_env_/b end
65967981 t clear
65977982 :clear
6598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7983 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
65997984 t end
66007985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66017986 :end' >>confcache
66027987 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66037988 if test -w "$cache_file"; then
66047989 if test "x$cache_file" != "x/dev/null"; then
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6606 $as_echo "$as_me: updating cache $cache_file" >&6;}
7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7991 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
66077992 if test ! -f "$cache_file" || test -h "$cache_file"; then
66087993 cat confcache >"$cache_file"
66097994 else
66178002 fi
66188003 fi
66198004 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6621 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8006 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
66228007 fi
66238008 fi
66248009 rm -f confcache
66718056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66728057 # 1. Remove the extension, and $U if already installed.
66738058 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6674 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8059 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
66758060 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66768061 # will be set to the directory where LIBOBJS objects are built.
66778062 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66828067 LTLIBOBJS=$ac_ltlibobjs
66838068
66848069
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6686 $as_echo_n "checking that generated files are newer than configure... " >&6; }
8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8071 printf %s "checking that generated files are newer than configure... " >&6; }
66878072 if test -n "$am_sleep_pid"; then
66888073 # Hide warnings about reused PIDs.
66898074 wait $am_sleep_pid 2>/dev/null
66908075 fi
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6692 $as_echo "done" >&6; }
8076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
8077 printf "%s\n" "done" >&6; }
66938078 if test -n "$EXEEXT"; then
66948079 am__EXEEXT_TRUE=
66958080 am__EXEEXT_FALSE='#'
67238108 ac_write_fail=0
67248109 ac_clean_files_save=$ac_clean_files
67258110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6727 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8112 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
67288113 as_write_fail=0
67298114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
67308115 #! $SHELL
67478132
67488133 # Be more Bourne compatible
67498134 DUALCASE=1; export DUALCASE # for MKS sh
6750 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8135 as_nop=:
8136 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
8137 then :
67518138 emulate sh
67528139 NULLCMD=:
67538140 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
67548141 # is contrary to our usage. Disable this feature.
67558142 alias -g '${1+"$@"}'='"$@"'
67568143 setopt NO_GLOB_SUBST
6757 else
8144 else $as_nop
67588145 case `(set -o) 2>/dev/null` in #(
67598146 *posix*) :
67608147 set -o posix ;; #(
67648151 fi
67658152
67668153
8154
8155 # Reset variables that may have inherited troublesome values from
8156 # the environment.
8157
8158 # IFS needs to be set, to space, tab, and newline, in precisely that order.
8159 # (If _AS_PATH_WALK were called with IFS unset, it would have the
8160 # side effect of setting IFS to empty, thus disabling word splitting.)
8161 # Quoting is to prevent editors from complaining about space-tab.
67678162 as_nl='
67688163 '
67698164 export as_nl
6770 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6771 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6774 # Prefer a ksh shell builtin over an external printf program on Solaris,
6775 # but without wasting forks for bash or zsh.
6776 if test -z "$BASH_VERSION$ZSH_VERSION" \
6777 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6778 as_echo='print -r --'
6779 as_echo_n='print -rn --'
6780 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6781 as_echo='printf %s\n'
6782 as_echo_n='printf %s'
6783 else
6784 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6785 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6786 as_echo_n='/usr/ucb/echo -n'
6787 else
6788 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6789 as_echo_n_body='eval
6790 arg=$1;
6791 case $arg in #(
6792 *"$as_nl"*)
6793 expr "X$arg" : "X\\(.*\\)$as_nl";
6794 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6795 esac;
6796 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6797 '
6798 export as_echo_n_body
6799 as_echo_n='sh -c $as_echo_n_body as_echo'
6800 fi
6801 export as_echo_body
6802 as_echo='sh -c $as_echo_body as_echo'
6803 fi
8165 IFS=" "" $as_nl"
8166
8167 PS1='$ '
8168 PS2='> '
8169 PS4='+ '
8170
8171 # Ensure predictable behavior from utilities with locale-dependent output.
8172 LC_ALL=C
8173 export LC_ALL
8174 LANGUAGE=C
8175 export LANGUAGE
8176
8177 # We cannot yet rely on "unset" to work, but we need these variables
8178 # to be unset--not just set to an empty or harmless value--now, to
8179 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
8180 # also avoids known problems related to "unset" and subshell syntax
8181 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
8182 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
8183 do eval test \${$as_var+y} \
8184 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8185 done
8186
8187 # Ensure that fds 0, 1, and 2 are open.
8188 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
8189 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
8190 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
68048191
68058192 # The user is always right.
6806 if test "${PATH_SEPARATOR+set}" != set; then
8193 if ${PATH_SEPARATOR+false} :; then
68078194 PATH_SEPARATOR=:
68088195 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
68098196 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
68118198 }
68128199 fi
68138200
6814
6815 # IFS
6816 # We need space, tab and new line, in precisely that order. Quoting is
6817 # there to prevent editors from complaining about space-tab.
6818 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6819 # splitting by setting IFS to empty value.)
6820 IFS=" "" $as_nl"
68218201
68228202 # Find who we are. Look in the path if we contain no directory separator.
68238203 as_myself=
68278207 for as_dir in $PATH
68288208 do
68298209 IFS=$as_save_IFS
6830 test -z "$as_dir" && as_dir=.
6831 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8210 case $as_dir in #(((
8211 '') as_dir=./ ;;
8212 */) ;;
8213 *) as_dir=$as_dir/ ;;
8214 esac
8215 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
68328216 done
68338217 IFS=$as_save_IFS
68348218
68408224 as_myself=$0
68418225 fi
68428226 if test ! -f "$as_myself"; then
6843 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8227 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
68448228 exit 1
68458229 fi
68468230
6847 # Unset variables that we do not need and which cause bugs (e.g. in
6848 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6849 # suppresses any "Segmentation fault" message there. '((' could
6850 # trigger a bug in pdksh 5.2.14.
6851 for as_var in BASH_ENV ENV MAIL MAILPATH
6852 do eval test x\${$as_var+set} = xset \
6853 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6854 done
6855 PS1='$ '
6856 PS2='> '
6857 PS4='+ '
6858
6859 # NLS nuisances.
6860 LC_ALL=C
6861 export LC_ALL
6862 LANGUAGE=C
6863 export LANGUAGE
6864
6865 # CDPATH.
6866 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
68678231
68688232
68698233 # as_fn_error STATUS ERROR [LINENO LOG_FD]
68768240 as_status=$1; test $as_status -eq 0 && as_status=1
68778241 if test "$4"; then
68788242 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6879 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
68808244 fi
6881 $as_echo "$as_me: error: $2" >&2
8245 printf "%s\n" "$as_me: error: $2" >&2
68828246 as_fn_exit $as_status
68838247 } # as_fn_error
8248
68848249
68858250
68868251 # as_fn_set_status STATUS
69098274 { eval $1=; unset $1;}
69108275 }
69118276 as_unset=as_fn_unset
8277
69128278 # as_fn_append VAR VALUE
69138279 # ----------------------
69148280 # Append the text in VALUE to the end of the definition contained in VAR. Take
69158281 # advantage of any shell optimizations that allow amortized linear growth over
69168282 # repeated appends, instead of the typical quadratic growth present in naive
69178283 # implementations.
6918 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8284 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
8285 then :
69198286 eval 'as_fn_append ()
69208287 {
69218288 eval $1+=\$2
69228289 }'
6923 else
8290 else $as_nop
69248291 as_fn_append ()
69258292 {
69268293 eval $1=\$$1\$2
69328299 # Perform arithmetic evaluation on the ARGs, and store the result in the
69338300 # global $as_val. Take advantage of shells that can avoid forks. The arguments
69348301 # must be portable across $(()) and expr.
6935 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8302 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
8303 then :
69368304 eval 'as_fn_arith ()
69378305 {
69388306 as_val=$(( $* ))
69398307 }'
6940 else
8308 else $as_nop
69418309 as_fn_arith ()
69428310 {
69438311 as_val=`expr "$@" || test $? -eq 1`
69688336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69698337 X"$0" : 'X\(//\)$' \| \
69708338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6971 $as_echo X/"$0" |
8339 printf "%s\n" X/"$0" |
69728340 sed '/^.*\/\([^/][^/]*\)\/*$/{
69738341 s//\1/
69748342 q
69908358 as_cr_digits='0123456789'
69918359 as_cr_alnum=$as_cr_Letters$as_cr_digits
69928360
8361
8362 # Determine whether it's possible to make 'echo' print without a newline.
8363 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
8364 # for compatibility with existing Makefiles.
69938365 ECHO_C= ECHO_N= ECHO_T=
69948366 case `echo -n x` in #(((((
69958367 -n*)
70028374 *)
70038375 ECHO_N='-n';;
70048376 esac
8377
8378 # For backward compatibility with old third-party macros, we provide
8379 # the shell variables $as_echo and $as_echo_n. New code should use
8380 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
8381 as_echo='printf %s\n'
8382 as_echo_n='printf %s'
70058383
70068384 rm -f conf$$ conf$$.exe conf$$.file
70078385 if test -d conf$$.dir; then
70448422 as_dirs=
70458423 while :; do
70468424 case $as_dir in #(
7047 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8425 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
70488426 *) as_qdir=$as_dir;;
70498427 esac
70508428 as_dirs="'$as_qdir' $as_dirs"
70538431 X"$as_dir" : 'X\(//\)[^/]' \| \
70548432 X"$as_dir" : 'X\(//\)$' \| \
70558433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7056 $as_echo X"$as_dir" |
8434 printf "%s\n" X"$as_dir" |
70578435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
70588436 s//\1/
70598437 q
71158493 # report actual input values of CONFIG_FILES etc. instead of their
71168494 # values after options handling.
71178495 ac_log="
7118 This file was extended by dosfstools $as_me 4.2, which was
7119 generated by GNU Autoconf 2.69. Invocation command line was
8496 This file was extended by dosfstools $as_me 4.2+git, which was
8497 generated by GNU Autoconf 2.71. Invocation command line was
71208498
71218499 CONFIG_FILES = $CONFIG_FILES
71228500 CONFIG_HEADERS = $CONFIG_HEADERS
71698547 Report bugs to the package provider."
71708548
71718549 _ACEOF
8550 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
8551 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
71728552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7173 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8553 ac_cs_config='$ac_cs_config_escaped'
71748554 ac_cs_version="\\
7175 dosfstools config.status 4.2
7176 configured by $0, generated by GNU Autoconf 2.69,
8555 dosfstools config.status 4.2+git
8556 configured by $0, generated by GNU Autoconf 2.71,
71778557 with options \\"\$ac_cs_config\\"
71788558
7179 Copyright (C) 2012 Free Software Foundation, Inc.
8559 Copyright (C) 2021 Free Software Foundation, Inc.
71808560 This config.status script is free software; the Free Software Foundation
71818561 gives unlimited permission to copy, distribute and modify it."
71828562
72168596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72178597 ac_cs_recheck=: ;;
72188598 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7219 $as_echo "$ac_cs_version"; exit ;;
8599 printf "%s\n" "$ac_cs_version"; exit ;;
72208600 --config | --confi | --conf | --con | --co | --c )
7221 $as_echo "$ac_cs_config"; exit ;;
8601 printf "%s\n" "$ac_cs_config"; exit ;;
72228602 --debug | --debu | --deb | --de | --d | -d )
72238603 debug=: ;;
72248604 --file | --fil | --fi | --f )
72258605 $ac_shift
72268606 case $ac_optarg in
7227 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8607 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72288608 '') as_fn_error $? "missing file argument" ;;
72298609 esac
72308610 as_fn_append CONFIG_FILES " '$ac_optarg'"
72318611 ac_need_defaults=false;;
72328612 --he | --h | --help | --hel | -h )
7233 $as_echo "$ac_cs_usage"; exit ;;
8613 printf "%s\n" "$ac_cs_usage"; exit ;;
72348614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72358615 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72368616 ac_cs_silent=: ;;
72588638 if \$ac_cs_recheck; then
72598639 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72608640 shift
7261 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8641 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
72628642 CONFIG_SHELL='$SHELL'
72638643 export CONFIG_SHELL
72648644 exec "\$@"
72728652 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72738653 ## Running $as_me. ##
72748654 _ASBOX
7275 $as_echo "$ac_log"
8655 printf "%s\n" "$ac_log"
72768656 } >&5
72778657
72788658 _ACEOF
73108690 # We use the long form for the default assignment because of an extremely
73118691 # bizarre bug on SunOS 4.1.3.
73128692 if $ac_need_defaults; then
7313 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8693 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
8694 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
73158695 fi
73168696
73178697 # Have a temporary directory for convenience. Make it in the build tree
75398919 esac ||
75408920 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
75418921 esac
7542 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8922 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
75438923 as_fn_append ac_file_inputs " '$ac_f'"
75448924 done
75458925
75478927 # use $as_me), people would be surprised to read:
75488928 # /* config.h. Generated by config.status. */
75498929 configure_input='Generated from '`
7550 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8930 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
75518931 `' by configure.'
75528932 if test x"$ac_file" != x-; then
75538933 configure_input="$ac_file. $configure_input"
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7555 $as_echo "$as_me: creating $ac_file" >&6;}
8934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8935 printf "%s\n" "$as_me: creating $ac_file" >&6;}
75568936 fi
75578937 # Neutralize special characters interpreted by sed in replacement strings.
75588938 case $configure_input in #(
75598939 *\&* | *\|* | *\\* )
7560 ac_sed_conf_input=`$as_echo "$configure_input" |
8940 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
75618941 sed 's/[\\\\&|]/\\\\&/g'`;; #(
75628942 *) ac_sed_conf_input=$configure_input;;
75638943 esac
75748954 X"$ac_file" : 'X\(//\)[^/]' \| \
75758955 X"$ac_file" : 'X\(//\)$' \| \
75768956 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7577 $as_echo X"$ac_file" |
8957 printf "%s\n" X"$ac_file" |
75788958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75798959 s//\1/
75808960 q
75988978 case "$ac_dir" in
75998979 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
76008980 *)
7601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8981 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
76028982 # A ".." for each directory in $ac_dir_suffix.
7603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8983 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
76048984 case $ac_top_builddir_sub in
76058985 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
76068986 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
76629042 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
76639043 *datarootdir*) ac_datarootdir_seen=yes;;
76649044 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7666 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9046 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
76679047 _ACEOF
76689048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
76699049 ac_datarootdir_hack='
77079087 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
77089088 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
77099089 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
77119091 which seems to be undefined. Please make sure it is defined" >&5
7712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9092 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
77139093 which seems to be undefined. Please make sure it is defined" >&2;}
77149094
77159095 rm -f "$ac_tmp/stdin"
77219101 ;;
77229102
77239103
7724 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7725 $as_echo "$as_me: executing $ac_file commands" >&6;}
9104 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9105 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
77269106 ;;
77279107 esac
77289108
77489128 for am_mf
77499129 do
77509130 # Strip MF so we end up with the name of the file.
7751 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
9131 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
77529132 # Check whether this is an Automake generated Makefile which includes
77539133 # dependency-tracking related rules and includes.
77549134 # Grep'ing the whole file directly is not great: AIX grep has a line
77609140 X"$am_mf" : 'X\(//\)[^/]' \| \
77619141 X"$am_mf" : 'X\(//\)$' \| \
77629142 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7763 $as_echo X"$am_mf" |
9143 printf "%s\n" X"$am_mf" |
77649144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
77659145 s//\1/
77669146 q
77829162 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
77839163 X"$am_mf" : 'X\(//\)$' \| \
77849164 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7785 $as_echo X/"$am_mf" |
9165 printf "%s\n" X/"$am_mf" |
77869166 sed '/^.*\/\([^/][^/]*\)\/*$/{
77879167 s//\1/
77889168 q
78079187 (exit $ac_status); } || am_rc=$?
78089188 done
78099189 if test $am_rc -ne 0; then
7810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9191 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
78129192 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7813 for automatic dependency tracking. Try re-running configure with the
9193 for automatic dependency tracking. If GNU make was not used, consider
9194 re-running the configure script with MAKE=\"gmake\" (or whatever is
9195 necessary). You can also try re-running configure with the
78149196 '--disable-dependency-tracking' option to at least be able to build
78159197 the package (albeit without support for automatic dependency tracking).
78169198 See \`config.log' for more details" "$LINENO" 5; }
78569238 $ac_cs_success || as_fn_exit 1
78579239 fi
78589240 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7860 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7861 fi
7862
9241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9242 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9243 fi
9244
9245
1313 # You should have received a copy of the GNU General Public License
1414 # along with this program. If not, see <http://www.gnu.org/licenses/>.
1515
16 AC_INIT([dosfstools], [4.2])
16 AC_INIT([dosfstools], [4.2+git])
1717 AC_SUBST([RELEASE_DATE], [2021-01-31])
1818 AM_INIT_AUTOMAKE([1.11 foreign subdir-objects parallel-tests])
1919
5959 sys/ioccom.h \
6060 sys/mkdev.h \
6161 sys/queue.h \
62 sys/sysmacros.h \
6263 ])
6364
6465 AC_CHECK_HEADERS([endian.h sys/endian.h libkern/OSByteOrder.h])
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2021 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2018-03-11.20; # UTC
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
6868 # Desired mode of installed file.
6969 mode=0755
7070
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
7176 chgrpcmd=
7277 chmodcmd=$chmodprog
7378 chowncmd=
98103 --version display version info and exit.
99104
100105 -c (ignored)
101 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
102107 -d create directories instead of installing files.
103108 -g GROUP $chgrpprog installed files to GROUP.
104109 -m MODE $chmodprog installed files to MODE.
105110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
106112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
107114 -t DIRECTORY install into DIRECTORY.
108115 -T report an error if DSTFILE is a directory.
109116
110117 Environment variables override the default commands:
111118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
113128 "
114129
115130 while test $# -ne 0; do
136151 -o) chowncmd="$chownprog $2"
137152 shift;;
138153
154 -p) cpprog="$cpprog -p";;
155
139156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
140160
141161 -t)
142162 is_target_a_directory=always
254274 dstdir=$dst
255275 test -d "$dstdir"
256276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
257281 else
258282
259283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
300324 if test $dstdir_status != 0; then
301325 case $posix_mkdir in
302326 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319327 # With -d, create the new directory with the user-specified mode.
320328 # Otherwise, rely on $mkdir_umask.
321329 if test -n "$dir_arg"; then
325333 fi
326334
327335 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
344 if (umask $mkdir_umask &&
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
347 then
348 if test -z "$dir_arg" || {
349 # Check for POSIX incompatibilities with -m.
350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351 # other-writable bit of parent directory when it shouldn't.
352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
355 case $ls_ld_tmpdir in
356 d????-?r-*) different_mode=700;;
357 d????-?--*) different_mode=755;;
358 *) false;;
359 esac &&
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363 }
364 }
365 then posix_mkdir=:
366 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
368 else
369 # Remove any dirs left behind by ancient mkdir implementations.
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
371 fi
372 trap '' 0;;
373 esac;;
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
374 else
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
377 fi
378 trap '' 0;;
374379 esac
375380
376381 if
381386 then :
382387 else
383388
384 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
385390 # or it failed possibly due to a race condition. Create the
386391 # directory the slow way, step by step, checking for races as we go.
387392
410415 prefixes=
411416 else
412417 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
414419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415420 # Don't fail if two instances are running concurrently.
416421 test -d "$prefix" || exit 1
450455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451456
452457 # Copy the file name to the temp name.
453 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
454470
455471 # and set any options; do chmod last to preserve setuid bits.
456472 #
476492 then
477493 rm -f "$dsttmp"
478494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
479502 # Rename the file to the real destination.
480503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
481504
490513 # file should still install successfully.
491514 {
492515 test ! -f "$dst" ||
493 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
494517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
495 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
496519 } ||
497520 { echo "$0: cannot unlink or rename $dst" >&2
498521 (exit 1); exit 1
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
178178 CHECKATARI = @CHECKATARI@
179179 CPP = @CPP@
180180 CPPFLAGS = @CPPFLAGS@
181 CSCOPE = @CSCOPE@
182 CTAGS = @CTAGS@
181183 CYGPATH_W = @CYGPATH_W@
182184 DEFS = @DEFS@
183185 DEPDIR = @DEPDIR@
185187 ECHO_N = @ECHO_N@
186188 ECHO_T = @ECHO_T@
187189 EGREP = @EGREP@
190 ETAGS = @ETAGS@
188191 EXEEXT = @EXEEXT@
189192 GREP = @GREP@
190193 INSTALL = @INSTALL@
355358
356359 cscope cscopelist:
357360
358
359361 distdir: $(BUILT_SOURCES)
360362 $(MAKE) $(AM_MAKEFLAGS) distdir-am
361363
9696 cannot be configured explicitly.
9797 It is set implicitly by option \fILanguage for non-Unicode programs\fP available
9898 in \fIRegional and Language Options\fP via \fIControl Panel\fP.
99 Default DOS codepage for fatlabel is 850.
99 Default DOS codepage for \fBfatlabel\fP is 850.
100100 See following mapping table between DOS codepage and Language for non-Unicode
101101 programs:
102102 .TS
192192 .IP "\fB\-s\fP \fISECTORS-PER-CLUSTER\fP" 4
193193 Specify the number of disk sectors per cluster.
194194 Must be a power of 2, i.e. 1, 2, 4, 8, ... 128.
195 .IP "\fB\-S\fP \fILOGICAL-SECTOR-SIZE\fP" 4
196 Specify the number of bytes per logical sector.
195 .IP "\fB\-S\fP \fISECTOR-SIZE\fP" 4
196 Specify the number of bytes per filesystem sector.
197197 Must be a power of 2 and greater than or equal to 512, i.e. 512, 1024, 2048,
198198 4096, 8192, 16384, or 32768.
199 Values larger than 4096 are not conforming to the FAT file system specification
199 Values larger than 4096 are not conforming to the FAT filesystem specification
200200 and may not work everywhere.
201 Some operating systems have requirement that filesystem sector size must match
202 logical disk device sector size. So default value is logical disk sector size.
201203 .IP "\fB\-v\fP" 4
202204 Verbose execution.
203205 .IP "\fB\-\-offset\fP \fISECTOR\fP" 4
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1996-2021 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
220220 unique=`for i in $$list; do \
221221 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
222222 done | $(am__uniquify_input)`
223 ETAGS = etags
224 CTAGS = ctags
225223 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/version.h.in \
226224 $(top_srcdir)/depcomp
227225 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
238236 CHECKATARI = @CHECKATARI@
239237 CPP = @CPP@
240238 CPPFLAGS = @CPPFLAGS@
239 CSCOPE = @CSCOPE@
240 CTAGS = @CTAGS@
241241 CYGPATH_W = @CYGPATH_W@
242242 DEFS = @DEFS@
243243 DEPDIR = @DEPDIR@
245245 ECHO_N = @ECHO_N@
246246 ECHO_T = @ECHO_T@
247247 EGREP = @EGREP@
248 ETAGS = @ETAGS@
248249 EXEEXT = @EXEEXT@
249250 GREP = @GREP@
250251 INSTALL = @INSTALL@
710711
711712 distclean-tags:
712713 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
713
714714 distdir: $(BUILT_SOURCES)
715715 $(MAKE) $(AM_MAKEFLAGS) distdir-am
716716
66 #include <sys/types.h>
77 #include <sys/stat.h>
88 #include <sys/ioctl.h>
9 #include <sys/sysmacros.h>
109 #include <unistd.h>
1110 #include <stdint.h>
1211 #include <stdio.h>
1312 #include <limits.h>
13
14 #ifdef HAVE_SYS_SYSMACROS_H
15 #include <sys/sysmacros.h>
16 #endif
1417
1518 #ifdef HAVE_LINUX_HDREG_H
1619 #include <linux/hdreg.h>
135138 }
136139 #endif /* FDGETPRM */
137140
138 #ifdef HAVE_SYS_DISKLABEL_H
141 #ifdef DIOCGDINFO
139142 {
140143 /*
141144 * This code works for FreeBSD 4.11 i386, except for the full device
163166 }
164167 }
165168 }
166 #endif /* HAVE_SYS_DISKLABEL_H */
169 #endif /* DIOCGDINFO */
167170
168171 {
169172 struct stat st;
3232 #include <stdlib.h>
3333 #include <sys/types.h>
3434 #include <time.h>
35 #include <errno.h>
36 #include <ctype.h>
3537
3638 #include "common.h"
3739 #include "fsck.fat.h"
671673 {
672674 time_t now;
673675 struct tm *mtime;
676 char *source_date_epoch = NULL;
674677 off_t offset;
675678 int created;
676679 DIR_ENT de;
686689 if (de.name[0] == 0xe5)
687690 de.name[0] = 0x05;
688691
689 now = time(NULL);
690 mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
692 source_date_epoch = getenv("SOURCE_DATE_EPOCH");
693 if (source_date_epoch) {
694 char *tmp = NULL;
695 long long conversion = 0;
696 errno = 0;
697 conversion = strtoll(source_date_epoch, &tmp, 10);
698 now = conversion;
699 if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
700 || errno != 0 || (long long)now != conversion) {
701 die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
702 source_date_epoch);
703 }
704 mtime = gmtime(&now);
705 } else {
706 now = time(NULL);
707 mtime = (now != (time_t)-1) ? localtime(&now) : NULL;
708 }
709
691710 if (mtime && mtime->tm_year >= 80 && mtime->tm_year <= 207) {
692711 de.time = htole16((unsigned short)((mtime->tm_sec >> 1) +
693712 (mtime->tm_min << 5) +
743762 }
744763 }
745764
746 const char *pretty_label(const char *label)
765 const char *pretty_label(const char *label, char rep)
747766 {
748767 static char buffer[256];
749768 char *p;
756775 }
757776
758777 p = buffer;
759 for (i = 0; i <= last && label[i] && p < buffer + sizeof(buffer) - 1; ++i) {
760 if (!dos_char_to_printable(&p, label[i], buffer + sizeof(buffer) - 1 - p))
761 *p++ = '_';
778 for (i = 0; i <= last && p < buffer + sizeof(buffer) - 1; ++i) {
779 if (!dos_char_to_printable(&p, label[i], buffer + sizeof(buffer) - 1 - p)) {
780 if (rep) {
781 *p++ = rep;
782 } else if (p + 4 < buffer + sizeof(buffer) - 1) {
783 *p++ = '\\';
784 *p++ = '0' + (label[i] >> 6);
785 *p++ = '0' + ((label[i] >> 3) & 7);
786 *p++ = '0' + (label[i] & 7);
787 }
788 }
762789 }
763790 *p = 0;
764791
3232 void remove_label(DOS_FS *fs);
3333 void write_serial(DOS_FS * fs, uint32_t serial);
3434 off_t find_volume_de(DOS_FS * fs, DIR_ENT * de);
35 const char *pretty_label(const char *label);
35 const char *pretty_label(const char *label, char rep);
3636
3737 /* Reads the boot sector from the currently open device and initializes *FS */
3838
119119 {
120120 size_t ret;
121121 wchar_t wcs[2];
122 if (!c)
123 return 0;
122124 wcs[0] = (c & 0x80) ? cp850_table[c & 0x7F] : c;
123125 wcs[1] = 0;
124126 ret = wcstombs(*p, wcs, out_size);
229231 size_t bytes_out = out_size;
230232 if (!init_conversion(-1))
231233 return 0;
234 if (!c)
235 return 0;
232236 if (internal_cp850)
233237 return cp850_char_to_printable(p, c, out_size);
234238 return iconv(dos_to_local, &pin, &bytes_in, p, &bytes_out) != (size_t)-1;
152152 if (!file->offset)
153153 return 0;
154154
155 /* check if we have neither a long filename nor a short name */
156 if ((file->lfn == NULL) && (file->dir_ent.lcase & FAT_NO_83NAME)) {
157 return 1;
158 }
159
160 /* don't complain about the dummy 11 bytes used by patched Linux
161 kernels */
162 if (file->dir_ent.lcase & FAT_NO_83NAME)
163 return 0;
164
165155 for (i = 0; i < MSDOS_NAME; i++) {
166156 if ((name[i] < ' ' && !(i == 0 && name[0] == 0x05)) || name[i] == 0x7f)
167157 return 1;
273263 (const char *)file->dir_ent.name, MSDOS_NAME))
274264 break;
275265 if (!walk) {
276 if (file->dir_ent.lcase & FAT_NO_83NAME) {
277 /* as we only assign a new 8.3 filename, reset flag that 8.3 name is not
278 present */
279 file->dir_ent.lcase &= ~FAT_NO_83NAME;
280 /* reset the attributes, only keep DIR and VOLUME */
281 file->dir_ent.attr &= ~(ATTR_DIR | ATTR_VOLUME);
282 fs_write(file->offset, MSDOS_NAME + 2, &file->dir_ent);
283 } else {
284 fs_write(file->offset, MSDOS_NAME, file->dir_ent.name);
285 }
266 fs_write(file->offset, MSDOS_NAME, file->dir_ent.name);
286267 if (file->lfn) {
287268 lfn_remove(file->lfn_offset, file->offset);
288269 file->lfn = NULL;
315296 walk[1] = 0;
316297 for (walk = name; *walk == ' ' || *walk == '\t'; walk++) ;
317298 if (file_cvt(walk, file->dir_ent.name)) {
318 if (file->dir_ent.lcase & FAT_NO_83NAME) {
319 /* as we only assign a new 8.3 filename, reset flag that 8.3 name is not
320 present */
321 file->dir_ent.lcase &= ~FAT_NO_83NAME;
322 /* reset the attributes, only keep DIR and VOLUME */
323 file->dir_ent.attr &= ~(ATTR_DIR | ATTR_VOLUME);
324 fs_write(file->offset, MSDOS_NAME + 2, &file->dir_ent);
325 } else {
326 fs_write(file->offset, MSDOS_NAME, file->dir_ent.name);
327 }
299 fs_write(file->offset, MSDOS_NAME, file->dir_ent.name);
328300 if (file->lfn) {
329301 lfn_remove(file->lfn_offset, file->offset);
330302 file->lfn = NULL;
427399 }
428400 }
429401 }
430 if (file->dir_ent.lcase & FAT_NO_83NAME) {
431 /* Some versions of mtools write these directory entries with random data in
432 this field. */
433 printf("%s\n Is a dot with no 8.3 name flag set, clearing.\n", path_name(file));
434 file->dir_ent.lcase &= ~FAT_NO_83NAME;
435 MODIFY(file, lcase, file->dir_ent.lcase);
436 }
437402
438403 return 0;
439404
525490 break;
526491 }
527492 if (!(file->dir_ent.attr & ATTR_DIR) && le32toh(file->dir_ent.size) <=
528 clusters * fs->cluster_size) {
493 (unsigned long long)clusters * fs->cluster_size) {
529494 printf
530 ("%s\n File size is %u bytes, cluster chain length is > %u "
531 "bytes.\n Truncating file to %u bytes.\n", path_name(file),
495 ("%s\n"
496 " File size is %u bytes, cluster chain length is %llu bytes.\n"
497 " Truncating file to %u bytes (%u clusters).\n",
498 path_name(file),
532499 le32toh(file->dir_ent.size),
533 (unsigned)clusters * fs->cluster_size,
534 le32toh(file->dir_ent.size));
500 (unsigned long long)clusters * fs->cluster_size,
501 (((unsigned long long)clusters * fs->cluster_size <= UINT32_MAX) ?
502 (clusters * fs->cluster_size) : UINT32_MAX),
503 clusters);
535504 truncate_file(fs, file, clusters);
536505 break;
537506 }
546515 break;
547516 else {
548517 if ((unsigned long long)clusters2 * fs->cluster_size >= UINT32_MAX)
549 die("Internal error: File size is larger than 2^32-1");
518 die("Internal error: Cluster chain is larger than 2^32");
550519 clusters2++;
551520 }
552521 restart = file->dir_ent.attr & ATTR_DIR;
553522 if (!owner->offset) {
554 printf(" Truncating second to %u bytes because first "
555 "is FAT32 root dir.\n",
556 (unsigned)clusters * fs->cluster_size);
523 printf(" Truncating second to %llu bytes (%u clusters) "
524 "because first is FAT32 root dir.\n",
525 (unsigned long long)clusters * fs->cluster_size, clusters);
557526 do_trunc = 2;
558527 } else if (!file->offset) {
559 printf(" Truncating first to %u bytes because second "
560 "is FAT32 root dir.\n",
561 (unsigned)clusters2 * fs->cluster_size);
528 printf(" Truncating first to %llu bytes (%u clusters) "
529 "because second is FAT32 root dir.\n",
530 (unsigned long long)clusters2 * fs->cluster_size, clusters);
562531 do_trunc = 1;
563532 } else {
564533 char *trunc_first_string;
566535 char *noninteractive_string;
567536
568537 xasprintf(&trunc_first_string,
569 "Truncate first to %u bytes%s",
570 (unsigned)clusters2 * fs->cluster_size,
538 "Truncate first to %llu bytes (clusters %u)%s",
539 (unsigned long long)clusters2 * fs->cluster_size, clusters2,
571540 restart ? " and restart" : "");
572541 xasprintf(&trunc_second_string,
573 "Truncate second to %u bytes",
574 (unsigned)clusters * fs->cluster_size);
542 "Truncate second to %llu bytes (clusters %u)",
543 (unsigned long long)clusters * fs->cluster_size, clusters);
575544 xasprintf(&noninteractive_string,
576 " Truncating second to %u bytes.",
577 (unsigned)clusters * fs->cluster_size);
545 " Truncating second to %llu bytes (clusters %u).",
546 (unsigned long long)clusters * fs->cluster_size, clusters);
578547
579548 do_trunc = get_choice(2, noninteractive_string,
580549 2,
596565 set_fat(fs, prev, -1);
597566 else
598567 MODIFY_START(owner, 0, fs);
599 MODIFY(owner, size, htole32(clusters * fs->cluster_size));
568 if ((unsigned long long)clusters * fs->cluster_size > UINT32_MAX)
569 MODIFY(owner, size, htole32(UINT32_MAX));
570 else
571 MODIFY(owner, size, htole32(clusters * fs->cluster_size));
600572 if (restart)
601573 return 1;
602574 while (this > 0 && this != -1) {
607579 break;
608580 }
609581 if ((unsigned long long)clusters * fs->cluster_size >= UINT32_MAX)
610 die("Internal error: File size is larger than 2^32-1");
582 die("Internal error: Cluster chain is larger than 2^32");
611583 clusters++;
612584 prev = this;
613585 }
624596 }
625597 set_owner(fs, curr, file);
626598 if ((unsigned long long)clusters * fs->cluster_size >= UINT32_MAX)
627 die("Internal error: File size is larger than 2^32-1");
599 die("Internal error: Cluster chain is larger than 2^32");
628600 clusters++;
629601 prev = curr;
630602 }
631603 if (!(file->dir_ent.attr & ATTR_DIR) && le32toh(file->dir_ent.size) >
632 clusters * fs->cluster_size) {
604 (unsigned long long)clusters * fs->cluster_size) {
605 unsigned int new_size;
606 if ((unsigned long long)clusters * fs->cluster_size > UINT32_MAX)
607 new_size = UINT32_MAX;
608 else
609 new_size = clusters * fs->cluster_size;
633610 printf
634 ("%s\n File size is %u bytes, cluster chain length is %u bytes."
635 "\n Truncating file to %u bytes.\n", path_name(file),
611 ("%s\n"
612 " File size is %u bytes, cluster chain length is %llu bytes.\n"
613 " Truncating file to %u bytes (%u clusters).\n",
614 path_name(file),
636615 le32toh(file->dir_ent.size),
637 (unsigned)clusters * fs->cluster_size,
638 (unsigned)clusters * fs->cluster_size);
639 MODIFY(file, size,
640 htole32(clusters * fs->cluster_size));
616 (unsigned long long)clusters * fs->cluster_size,
617 new_size, clusters);
618 MODIFY(file, size, htole32(new_size));
641619 }
642620 return 0;
643621 }
11651143
11661144 ret = validate_volume_label(fs->label);
11671145 if (ret & ~0x1) {
1168 printf("Label '%s' stored in boot sector is not valid.\n", pretty_label(fs->label));
1146 printf("Label '%s' stored in boot sector is not valid.\n", pretty_label(fs->label, 0));
11691147 switch (get_choice(1, " Auto-removing label from boot sector.",
11701148 2,
11711149 1, "Remove invalid label from boot sector",
11811159 return 1;
11821160 }
11831161 } else if ((ret & 0x1) && only_uppercase_label) {
1184 printf("Label '%s' stored in boot sector contains lowercase characters.\n", pretty_label(fs->label));
1162 printf("Label '%s' stored in boot sector contains lowercase characters.\n", pretty_label(fs->label, 0));
11851163 switch (get_choice(1, " Auto-changing lowercase characters to uppercase",
11861164 3,
11871165 1, "Change lowercase characters to uppercase",
12281206 check_boot_label(fs);
12291207
12301208 if (offset == 0 && memcmp(fs->label, "NO NAME ", 11) != 0) {
1231 printf("Label in boot sector is '%s', but there is no volume label in root directory.\n", pretty_label(fs->label));
1209 printf("Label in boot sector is '%s', but there is no volume label in root directory.\n", pretty_label(fs->label, 0));
12321210 switch (get_choice(1, " Auto-removing label from boot sector.",
12331211 2,
12341212 1, "Remove label from boot sector",
12501228 doslabel[0] = 0xe5;
12511229 ret = validate_volume_label(doslabel);
12521230 if (ret & ~0x1) {
1253 printf("Volume label '%s' stored in root directory is not valid.\n", pretty_label(doslabel));
1231 printf("Volume label '%s' stored in root directory is not valid.\n", pretty_label(doslabel, 0));
12541232 switch (get_choice(1, " Auto-removing label.",
12551233 2,
12561234 1, "Remove invalid label",
12671245 break;
12681246 }
12691247 } else if ((ret & 0x1) && only_uppercase_label) {
1270 printf("Volume label '%s' stored in root directory contains lowercase characters.\n", pretty_label(doslabel));
1248 printf("Volume label '%s' stored in root directory contains lowercase characters.\n", pretty_label(doslabel, 0));
12711249 switch (get_choice(1, " Auto-changing lowercase characters to uppercase",
12721250 3,
12731251 1, "Change lowercase characters to uppercase",
13001278 again:
13011279
13021280 if (offset != 0 && memcmp(fs->label, "NO NAME ", 11) == 0 && memcmp(doslabel, "NO NAME ", 11) != 0) {
1303 printf("There is no label in boot sector, but there is volume label '%s' stored in root directory\n", pretty_label(doslabel));
1281 printf("There is no label in boot sector, but there is volume label '%s' stored in root directory\n", pretty_label(doslabel, 0));
13041282 switch (get_choice(1, " Auto-copying volume label from root directory to boot sector.",
13051283 2,
13061284 1, "Copy volume label from root directory to boot sector",
13171295 }
13181296
13191297 if (offset != 0 && memcmp(fs->label, "NO NAME ", 11) != 0 && memcmp(fs->label, doslabel, 11) != 0) {
1320 strncpy(buffer, pretty_label(doslabel), sizeof(buffer)-1);
1298 strncpy(buffer, pretty_label(doslabel, 0), sizeof(buffer)-1);
13211299 buffer[sizeof(buffer)-1] = 0;
1322 printf("Volume label '%s' stored in root directory and label '%s' stored in boot sector and different.\n", buffer, pretty_label(fs->label));
1300 printf("Volume label '%s' stored in root directory and label '%s' stored in boot sector and different.\n", buffer, pretty_label(fs->label, 0));
13231301 switch (get_choice(1, " Auto-copying volume label from root directory to boot sector.",
13241302 2,
13251303 1, "Copy volume label from root directory to boot sector",
2929 #include <string.h>
3030 #include <stdarg.h>
3131 #include <errno.h>
32 #include <ctype.h>
3233 #include <wctype.h>
3334 #include <termios.h>
3435 #include <sys/time.h>
297298 uint32_t generate_volume_id(void)
298299 {
299300 struct timeval now;
300
301 if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
301 char *source_date_epoch = NULL;
302
303 source_date_epoch = getenv("SOURCE_DATE_EPOCH");
304 if (source_date_epoch) {
305 char *tmp = NULL;
306 long long conversion = 0;
307 errno = 0;
308 conversion = strtoll(source_date_epoch, &tmp, 10);
309 if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
310 || errno != 0) {
311 die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
312 source_date_epoch);
313 }
314 return (uint32_t)conversion;
315 } else if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) {
302316 srand(getpid());
303317 /* rand() returns int from [0,RAND_MAX], therefore only 31 bits */
304318 return (((uint32_t)(rand() & 0xFFFF)) << 16) | ((uint32_t)(rand() & 0xFFFF));
345359 code page) are not allowed.
346360 */
347361 for (i = 0; i < 11; i++) {
348 if (doslabel[i] < 0x20)
362 if ((unsigned) doslabel[i] < 0x20)
349363 ret |= 0x02;
350364 if (doslabel[i] == 0x22 ||
351365 (doslabel[i] >= 0x2A && doslabel[i] <= 0x2C) ||
2323 #include <sys/types.h>
2424 #include <sys/stat.h>
2525 #include <sys/ioctl.h>
26
27 #ifdef HAVE_SYS_SYSMACROS_H
2628 #include <sys/sysmacros.h>
29 #endif
2730
2831 #ifdef HAVE_LINUX_LOOP_H
2932 #include <linux/loop.h>
122122 if (fat_table > fs->nfats)
123123 die("Requested FAT table %ld does not exist.", fat_table);
124124 if (fat_table > 2)
125 die("Reading FAT table greather than 2 is implemented yet.");
125 die("Reading FAT table greather than 2 is not implemented yet.");
126126
127127 /* Clean up from previous pass */
128128 release_fat(fs);
118118 if (offset != 0) {
119119 if (de.name[0] == 0x05)
120120 de.name[0] = 0xe5;
121 printf("%s\n", pretty_label((char *)de.name));
121 printf("%s\n", pretty_label((char *)de.name, '_'));
122122 }
123123
124124 if (fs.fat_bits == 32)
151151 errno = 0;
152152 conversion = strtoll(newserial, &tmp, 16);
153153
154 if (!*newserial || isspace(*newserial) || *tmp || conversion < 0) {
154 if (!*newserial || isspace((unsigned char)*newserial) || *tmp || conversion < 0) {
155155 fprintf(stderr, "fatlabel: volume ID must be a hexadecimal number\n");
156156 exit(1);
157157 }
181181 }
182182
183183
184 static void usage(int error, int usage_only)
184 static void usage(char *name, int error, int usage_only)
185185 {
186186 FILE *f = error ? stderr : stdout;
187187 int status = error ? 1 : 0;
188188
189 fprintf(f, "Usage: fatlabel [OPTIONS] DEVICE [NEW]\n");
189 fprintf(f, "fatlabel " VERSION " (" VERSION_DATE ")\n");
190 fprintf(f, "Usage: %s [OPTIONS] DEVICE [NEW]\n", name);
190191 if (usage_only)
191192 exit(status);
192193
237238 case 'c':
238239 errno = 0;
239240 codepage = strtol(optarg, &tmp, 10);
240 if (!*optarg || isspace(*optarg) || *tmp || errno || codepage < 0 || codepage > INT_MAX) {
241 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || codepage < 0 || codepage > INT_MAX) {
241242 fprintf(stderr, "Invalid codepage : %s\n", optarg);
242 usage(1, 0);
243 usage(argv[0], 1, 0);
243244 }
244245 if (!set_dos_codepage(codepage))
245 usage(1, 0);
246 usage(argv[0], 1, 0);
246247 break;
247248
248249 case 'V':
251252 break;
252253
253254 case 'h':
254 usage(0, 0);
255 usage(argv[0], 0, 0);
255256 break;
256257
257258 case '?':
258 usage(1, 0);
259 usage(argv[0], 1, 0);
259260 exit(1);
260261
261262 default:
273274 } else if (optind == argc - 1) {
274275 change = false;
275276 } else {
276 usage(1, 1);
277 usage(argv[0], 1, 1);
277278 }
278279
279280 if (change || reset)
123123 rw = interactive = 1;
124124 check_atari();
125125
126 printf("fsck.fat " VERSION " (" VERSION_DATE ")\n");
127
126128 while ((c = getopt_long(argc, argv, "Aac:d:bfF:lnprStu:UvVwy",
127129 long_options, NULL)) != -1)
128130 switch (c) {
144146 case 'c':
145147 errno = 0;
146148 codepage = strtol(optarg, &tmp, 10);
147 if (!*optarg || isspace(*optarg) || *tmp || errno || codepage < 0 || codepage > INT_MAX) {
149 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || codepage < 0 || codepage > INT_MAX) {
148150 fprintf(stderr, "Invalid codepage : %s\n", optarg);
149151 usage(argv[0], 2);
150152 }
160162 case 'F':
161163 errno = 0;
162164 fat_table = strtol(optarg, &tmp, 10);
163 if (!*optarg || isspace(*optarg) || *tmp || errno || fat_table < 0 || fat_table > 255) {
165 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || fat_table < 0 || fat_table > 255) {
164166 fprintf(stderr, "Invalid FAT table : %s\n", optarg);
165167 usage(argv[0], 2);
166168 }
227229 if (optind != argc - 1)
228230 usage(argv[0], 2);
229231
230 printf("fsck.fat " VERSION " (" VERSION_DATE ")\n");
231232 fs_open(argv[optind], rw);
232233
233234 read_boot(&fs);
123123 uint32_t next_cluster; /* Most recently allocated cluster. */
124124 uint8_t reserved2[12];
125125 uint32_t boot_sign;
126 };
126 } __attribute__ ((packed));
127127
128128 typedef struct {
129129 uint8_t name[MSDOS_NAME]; /* name including extension */
130130 uint8_t attr; /* attribute bits */
131 uint8_t lcase; /* Case for base and extension */
131 uint8_t ntbyte; /* Case for base and extension, encryption flags and padding size */
132132 uint8_t ctime_ms; /* Creation time, milliseconds */
133133 uint16_t ctime; /* Creation time */
134134 uint16_t cdate; /* Creation date */
193193 /* return -16 as a number with fs->fat_bits bits */
194194 #define FAT_EXTD(fs) (((1 << fs->eff_fat_bits)-1) & ~0xf)
195195
196 /* marker for files with no 8.3 name */
197 #define FAT_NO_83NAME 32
198
199196 #endif
4242 uint8_t name5_10[12]; /* 6 more characters in name */
4343 uint16_t start; /* starting cluster number, 0 in long slots */
4444 uint8_t name11_12[4]; /* last 2 characters in name */
45 } LFN_ENT;
45 } __attribute__ ((packed)) LFN_ENT;
4646
4747 #define LFN_ID_START 0x40
4848 #define LFN_ID_SLOTMASK 0x1f
406406 die("lfn_get called with LFN directory entry");
407407
408408 #if 0
409 if (de->lcase)
410 printf("lcase=%02x\n", de->lcase);
409 if (de->ntbyte)
410 printf("ntbyte=%02x\n", de->ntbyte);
411411 #endif
412412
413413 if (lfn_slot == -1)
150150 uint8_t boot_jump[3]; /* Boot strap short or near jump */
151151 uint8_t system_id[8]; /* Name - can be used to special case
152152 partition manager volumes */
153 uint8_t sector_size[2]; /* bytes per logical sector */
153 uint16_t sector_size; /* bytes per logical sector */
154154 uint8_t cluster_size; /* sectors/cluster */
155155 uint16_t reserved; /* reserved sectors */
156156 uint8_t fats; /* number of FATs */
157 uint8_t dir_entries[2]; /* root directory entries */
158 uint8_t sectors[2]; /* number of sectors */
157 uint16_t dir_entries; /* root directory entries */
158 uint16_t sectors; /* number of sectors */
159159 uint8_t media; /* media code (unused) */
160160 uint16_t fat_length; /* sectors/FAT */
161161 uint16_t secs_track; /* sectors per track */
467467
468468 check = end;
469469 while (*check) {
470 if (!isspace(*check)) {
470 if (!isspace((unsigned char)*check)) {
471471 fprintf(stderr,
472472 "Badly formed number in bad blocks file line %d\n",
473473 lineno);
10731073 }
10741074
10751075 /* If is not available then generate random 32 bit disk signature */
1076 if (invariant)
1076 if (invariant || getenv("SOURCE_DATE_EPOCH"))
10771077 disk_sig = volume_id;
10781078 else if (!disk_sig)
10791079 disk_sig = generate_volume_id();
10941094 partition[3] = 0;
10951095
10961096 /* Partition type */
1097 if (le16toh(bs.heads) > 254 || le16toh(bs.secs_track) > 63) { /* CHS values are out of range for MBR, use LBA */
1097 if (le16toh(bs.heads) > 255 || le16toh(bs.secs_track) > 63) { /* CHS values are out of range for MBR, use LBA */
10981098 if (size_fat != 32)
10991099 partition[4] = 0x0E; /* BIG FAT16 (LBA) */
11001100 else
11111111 partition[4] = 0x0C; /* FAT32 (LBA) */
11121112
11131113 /* CHS address of the last sector */
1114 if (le16toh(bs.heads) > 254 || le16toh(bs.secs_track) > 63 || num_sectors >= le16toh(bs.secs_track) * le16toh(bs.heads) * 1024) {
1114 if (le16toh(bs.heads) > 255 || le16toh(bs.secs_track) > 63 || num_sectors >= le16toh(bs.secs_track) * le16toh(bs.heads) * 1024) {
11151115 /* If CHS address is too large use tuple (1023, 254, 63) */
11161116 partition[5] = 254;
11171117 partition[6] = 255;
11351135 partition[15] = (num_sectors >> 24) & 0xFF;
11361136 }
11371137
1138 bs.sector_size[0] = (char)(sector_size & 0x00ff);
1139 bs.sector_size[1] = (char)((sector_size & 0xff00) >> 8);
1140
1141 bs.dir_entries[0] = (char)(root_dir_entries & 0x00ff);
1142 bs.dir_entries[1] = (char)((root_dir_entries & 0xff00) >> 8);
1138 bs.sector_size = htole16((uint16_t) sector_size);
1139 bs.dir_entries = htole16((uint16_t)root_dir_entries);
11431140
11441141 if (size_fat == 32) {
11451142 /* set up additional FAT32 fields */
11791176 "or higher.\n");
11801177 }
11811178 if (num_sectors >= 65536) {
1182 bs.sectors[0] = (char)0;
1183 bs.sectors[1] = (char)0;
1179 bs.sectors = htole16(0);
11841180 bs.total_sect = htole32(num_sectors);
11851181 } else {
1186 bs.sectors[0] = (char)(num_sectors & 0x00ff);
1187 bs.sectors[1] = (char)((num_sectors & 0xff00) >> 8);
1182 bs.sectors = htole16((uint16_t) num_sectors);
11881183 if (!atari_format)
11891184 bs.total_sect = htole32(0);
11901185 }
12151210 device_name, le16toh(bs.heads),
12161211 (le16toh(bs.heads) != 1) ? "s" : "", le16toh(bs.secs_track),
12171212 (le16toh(bs.secs_track) != 1) ? "s" : "");
1218 printf("hidden sectors 0x%04x;\n", hidden_sectors);
1213 printf("hidden sectors %u;\n", hidden_sectors);
12191214 printf("logical sector size is %d,\n", sector_size);
12201215 printf("using 0x%02x media descriptor, with %u sectors;\n",
12211216 (int)(bs.media), (unsigned)num_sectors);
12311226 reserved_sectors, (reserved_sectors != 1) ? "s" : "");
12321227
12331228 if (size_fat != 32) {
1234 unsigned root_dir_entries =
1235 bs.dir_entries[0] + ((bs.dir_entries[1]) * 256);
1229 unsigned root_dir_entries = le16toh(bs.dir_entries);
12361230 unsigned root_dir_sectors =
12371231 cdiv(root_dir_entries * 32, sector_size);
12381232 printf("Root directory contains %u slots and uses %u sectors.\n",
12711265
12721266 size_root_dir = (size_fat == 32) ?
12731267 bs.cluster_size * sector_size :
1274 (((int)bs.dir_entries[1] * 256 + (int)bs.dir_entries[0]) *
1275 sizeof(struct msdos_dir_entry));
1268 le16toh(bs.dir_entries) * sizeof(struct msdos_dir_entry);
1269
12761270 if ((root_dir = (struct msdos_dir_entry *)malloc(size_root_dir)) == NULL) {
12771271 free(fat); /* Tidy up before we die! */
12781272 die("unable to allocate space for root directory in memory");
12861280 de->name[0] = 0x05;
12871281 de->attr = ATTR_VOLUME;
12881282 if (create_time != (time_t)-1) {
1289 if (!invariant)
1283 if (!invariant && !getenv("SOURCE_DATE_EPOCH"))
12901284 ctime = localtime(&create_time);
12911285 else
12921286 ctime = gmtime(&create_time);
14541448 fprintf(stderr, " -v Verbose execution\n");
14551449 fprintf(stderr, " --variant=TYPE Select variant TYPE of filesystem (standard or Atari)\n");
14561450 fprintf(stderr, "\n");
1457 fprintf(stderr, " --invariant Use constants for randomly generated or time based values\n");
14581451 fprintf(stderr, " --offset=SECTOR Write the filesystem at a specific sector into the device file.\n");
14591452 fprintf(stderr, " --help Show this help message and exit\n");
14601453 exit(exitval);
14761469 int blocks_specified = 0;
14771470 struct timeval create_timeval;
14781471 long long conversion;
1472 char *source_date_epoch = NULL;
14791473
14801474 enum {OPT_HELP=1000, OPT_INVARIANT, OPT_MBR, OPT_VARIANT, OPT_CODEPAGE, OPT_OFFSET};
14811475 const struct option long_options[] = {
14961490 program_name = p + 1;
14971491 }
14981492
1499 if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1)
1493 source_date_epoch = getenv("SOURCE_DATE_EPOCH");
1494 if (source_date_epoch) {
1495 errno = 0;
1496 conversion = strtoll(source_date_epoch, &tmp, 10);
1497 create_time = conversion;
1498 if (!isdigit((unsigned char)*source_date_epoch) || *tmp != '\0'
1499 || errno != 0 || (long long)create_time != conversion) {
1500 die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
1501 source_date_epoch);
1502 }
1503 } else if (gettimeofday(&create_timeval, NULL) == 0 && create_timeval.tv_sec != (time_t)-1) {
15001504 create_time = create_timeval.tv_sec;
1505 }
1506
15011507 volume_id = generate_volume_id();
15021508 check_atari();
15031509
15181524 case 'b': /* b : location of backup boot sector */
15191525 errno = 0;
15201526 conversion = strtol(optarg, &tmp, 0);
1521 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 0 || conversion > 0xffff) {
1527 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 0 || conversion > 0xffff) {
15221528 printf("Bad location for backup boot sector : %s\n", optarg);
15231529 usage(argv[0], 1);
15241530 }
15381544 case 'D': /* D : Choose Drive Number */
15391545 errno = 0;
15401546 conversion = strtol(optarg, &tmp, 0);
1541 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 0x00 || conversion > 0xFF) {
1547 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 0x00 || conversion > 0xFF) {
15421548 printf ("Bad drive number: %s\n", optarg);
15431549 usage(argv[0], 1);
15441550 }
15491555 case 'f': /* f : Choose number of FATs */
15501556 errno = 0;
15511557 conversion = strtol(optarg, &tmp, 0);
1552 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 1 || conversion > 4) {
1558 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 1 || conversion > 4) {
15531559 printf("Bad number of FATs : %s\n", optarg);
15541560 usage(argv[0], 1);
15551561 }
15591565 case 'F': /* F : Choose FAT size */
15601566 errno = 0;
15611567 conversion = strtol(optarg, &tmp, 0);
1562 if (!*optarg || isspace(*optarg) || *tmp || errno || (conversion != 12 && conversion != 16 && conversion != 32)) {
1568 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || (conversion != 12 && conversion != 16 && conversion != 32)) {
15631569 printf("Bad FAT type : %s\n", optarg);
15641570 usage(argv[0], 1);
15651571 }
15701576 case 'g': /* g : geometry: heads and sectors per track */
15711577 errno = 0;
15721578 conversion = strtol(optarg, &tmp, 0);
1573 if (!*optarg || isspace(*optarg) || tmp[0] != '/' || !tmp[1] || isspace(tmp[1]) || errno || conversion <= 0 || conversion > UINT16_MAX) {
1579 if (!*optarg || isspace((unsigned char)*optarg) || tmp[0] != '/' || !tmp[1] || isspace((unsigned char)tmp[1]) || errno || conversion <= 0 || conversion > UINT16_MAX) {
15741580 printf("Bad format of geometry : %s\n", optarg);
15751581 usage(argv[0], 1);
15761582 }
15861592 case 'h': /* h : number of hidden sectors */
15871593 errno = 0;
15881594 conversion = strtoll(optarg, &tmp, 0);
1589 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 0 || conversion > UINT32_MAX) {
1595 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 0 || conversion > UINT32_MAX) {
15901596 printf("Bad number of hidden sectors : %s\n", optarg);
15911597 usage(argv[0], 1);
15921598 }
16021608 errno = 0;
16031609 conversion = strtoll(optarg, &tmp, 16);
16041610
1605 if (!*optarg || isspace(*optarg) || *tmp || conversion < 0) {
1611 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || conversion < 0) {
16061612 printf("Volume ID must be a hexadecimal number\n");
16071613 usage(argv[0], 1);
16081614 }
16861692 case 'M': /* M : FAT Media byte */
16871693 errno = 0;
16881694 conversion = strtol(optarg, &tmp, 0);
1689 if (!*optarg || isspace(*optarg) || *tmp || errno) {
1695 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno) {
16901696 printf("Bad number for media descriptor : %s\n", optarg);
16911697 usage(argv[0], 1);
16921698 }
17041710 case OPT_CODEPAGE: /* --codepage : Code page */
17051711 errno = 0;
17061712 conversion = strtol(optarg, &tmp, 10);
1707 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 0 || conversion > INT_MAX) {
1713 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 0 || conversion > INT_MAX) {
17081714 fprintf(stderr, "Invalid codepage : %s\n", optarg);
17091715 usage(argv[0], 1);
17101716 }
17151721 case 'r': /* r : Root directory entries */
17161722 errno = 0;
17171723 conversion = strtol(optarg, &tmp, 0);
1718 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 16 || conversion > 32768) {
1724 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 16 || conversion > 32768) {
17191725 printf("Bad number of root directory entries : %s\n", optarg);
17201726 usage(argv[0], 1);
17211727 }
17261732 case 'R': /* R : number of reserved sectors */
17271733 errno = 0;
17281734 conversion = strtol(optarg, &tmp, 0);
1729 if (!*optarg || isspace(*optarg) || *tmp || errno || conversion < 1 || conversion > 0xffff) {
1735 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || conversion < 1 || conversion > 0xffff) {
17301736 printf("Bad number of reserved sectors : %s\n", optarg);
17311737 usage(argv[0], 1);
17321738 }
17361742 case 's': /* s : Sectors per cluster */
17371743 errno = 0;
17381744 conversion = strtol(optarg, &tmp, 0);
1739 if (!*optarg || isspace(*optarg) || *tmp || errno || (conversion != 1 && conversion != 2
1745 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || (conversion != 1 && conversion != 2
17401746 && conversion != 4 && conversion != 8 && conversion != 16
17411747 && conversion != 32 && conversion != 64 && conversion != 128)) {
17421748 printf("Bad number of sectors per cluster : %s\n", optarg);
17481754 case 'S': /* S : Sector size */
17491755 errno = 0;
17501756 conversion = strtol(optarg, &tmp, 0);
1751 if (!*optarg || isspace(*optarg) || *tmp || errno || (conversion != 512 && conversion != 1024 &&
1757 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno || (conversion != 512 && conversion != 1024 &&
17521758 conversion != 2048 && conversion != 4096 && conversion != 8192 &&
17531759 conversion != 16384 && conversion != 32768)) {
17541760 printf("Bad logical sector size : %s\n", optarg);
17991805 case OPT_OFFSET:
18001806 errno = 0;
18011807 conversion = strtoll(optarg, &tmp, 0);
1802 if (!*optarg || isspace(*optarg) || *tmp || errno) {
1808 if (!*optarg || isspace((unsigned char)*optarg) || *tmp || errno) {
18031809 printf("Bad number for offset : %s\n", optarg);
18041810 usage(argv[0], 1);
18051811 }
18371843 errno = 0;
18381844 conversion = strtoll(argv[optind], &tmp, 0);
18391845
1840 if (!*argv[optind] || isspace(*argv[optind]) || *tmp || errno || conversion < 0) {
1846 if (!*argv[optind] || isspace((unsigned char)*argv[optind]) || *tmp || errno || conversion < 0) {
18411847 printf("Bad block count : %s\n", argv[optind]);
18421848 usage(argv[0], 1);
18431849 }
4747 struct msdos_dir_entry {
4848 uint8_t name[MSDOS_NAME]; /* name including extension */
4949 uint8_t attr; /* attribute bits */
50 uint8_t lcase; /* Case for base and extension */
50 uint8_t ntbyte; /* Case for base and extension, encryption flags and padding size */
5151 uint8_t ctime_cs; /* Creation time, centiseconds (0-199) */
5252 uint16_t ctime; /* Creation time */
5353 uint16_t cdate; /* Creation date */
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2021 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
4141 {
4242 cat <<END
4343 Usage:
44 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
45 [--expect-failure={yes|no}] [--color-tests={yes|no}]
46 [--enable-hard-errors={yes|no}] [--]
44 test-driver --test-name NAME --log-file PATH --trs-file PATH
45 [--expect-failure {yes|no}] [--color-tests {yes|no}]
46 [--enable-hard-errors {yes|no}] [--]
4747 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48
4849 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
50 See the GNU Automake documentation for information.
4951 END
5052 }
5153
102104 trap "st=141; $do_exit" 13
103105 trap "st=143; $do_exit" 15
104106
105 # Test script is run here.
106 "$@" >$log_file 2>&1
107 # Test script is run here. We create the file first, then append to it,
108 # to ameliorate tests themselves also writing to the log file. Our tests
109 # don't, but others can (automake bug#35762).
110 : >"$log_file"
111 "$@" >>"$log_file" 2>&1
107112 estatus=$?
108113
109114 if test $enable_hard_errors = no && test $estatus -eq 99; then
125130 # know whether the test passed or failed simply by looking at the '.log'
126131 # file, without the need of also peaking into the corresponding '.trs'
127132 # file (automake bug#11814).
128 echo "$res $test_name (exit status: $estatus)" >>$log_file
133 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
129134
130135 # Report outcome to console.
131136 echo "${col}${res}${std}: $test_name"
2525 check-label-different.fsck \
2626 check-label-only-boot.fsck \
2727 check-label-only-root.fsck \
28 check-encryption_with_invalid_83.fsck \
29 check-encryption_with_duplicate_dirent.fsck \
2830 label-fat32_mkdosfs_label1_dosfslabel_empty.label \
2931 label-fat32_mkdosfs_label1_dosfslabel_label2.label \
3032 label-fat32_mkdosfs_label1_dosfslabel_NO_NAME.label \
99101 check-label-only-boot.xxd \
100102 check-label-only-root.fsck \
101103 check-label-only-root.xxd \
104 check-encryption_with_invalid_83.fsck \
105 check-encryption_with_invalid_83.xxd \
106 check-encryption_with_duplicate_dirent.fsck \
107 check-encryption_with_duplicate_dirent.xxd \
102108 label-fat32_mkdosfs_label1_dosfslabel_empty.label \
103109 label-fat32_mkdosfs_label1_dosfslabel_empty.xxd \
104110 label-fat32_mkdosfs_label1_dosfslabel_label2.label \
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.5 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
298298 bases='$(TEST_LOGS)'; \
299299 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
300300 bases=`echo $$bases`
301 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
301302 RECHECK_LOGS = $(TEST_LOGS)
302303 AM_RECURSIVE_TARGETS = check recheck
303304 TEST_SUITE_LOG = test-suite.log
340341 CHECKATARI = @CHECKATARI@
341342 CPP = @CPP@
342343 CPPFLAGS = @CPPFLAGS@
344 CSCOPE = @CSCOPE@
345 CTAGS = @CTAGS@
343346 CYGPATH_W = @CYGPATH_W@
344347 DEFS = @DEFS@
345348 DEPDIR = @DEPDIR@
347350 ECHO_N = @ECHO_N@
348351 ECHO_T = @ECHO_T@
349352 EGREP = @EGREP@
353 ETAGS = @ETAGS@
350354 EXEEXT = @EXEEXT@
351355 GREP = @GREP@
352356 INSTALL = @INSTALL@
453457 check-label-different.fsck \
454458 check-label-only-boot.fsck \
455459 check-label-only-root.fsck \
460 check-encryption_with_invalid_83.fsck \
461 check-encryption_with_duplicate_dirent.fsck \
456462 label-fat32_mkdosfs_label1_dosfslabel_empty.label \
457463 label-fat32_mkdosfs_label1_dosfslabel_label2.label \
458464 label-fat32_mkdosfs_label1_dosfslabel_NO_NAME.label \
524530 check-label-only-boot.xxd \
525531 check-label-only-root.fsck \
526532 check-label-only-root.xxd \
533 check-encryption_with_invalid_83.fsck \
534 check-encryption_with_invalid_83.xxd \
535 check-encryption_with_duplicate_dirent.fsck \
536 check-encryption_with_duplicate_dirent.xxd \
527537 label-fat32_mkdosfs_label1_dosfslabel_empty.label \
528538 label-fat32_mkdosfs_label1_dosfslabel_empty.xxd \
529539 label-fat32_mkdosfs_label1_dosfslabel_label2.label \
708718 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
709719 fi; \
710720 echo "$${col}$$br$${std}"; \
711 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
721 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
712722 echo "$${col}$$br$${std}"; \
713723 create_testsuite_report --maybe-color; \
714724 echo "$$col$$br$$std"; \
784794 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
785795 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_LABEL_LOG_DRIVER_FLAGS) $(LABEL_LOG_DRIVER_FLAGS) -- $(LABEL_LOG_COMPILE) \
786796 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
787
788797 distdir: $(BUILT_SOURCES)
789798 $(MAKE) $(AM_MAKEFLAGS) distdir-am
790799
0 00000000: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
1 00000010: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
2 00000020: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
3 00000030: 0100 0600 0000 0000 0000 0000 0000 0000 ................
4 00000040: 8000 2991 fc95 704e 4f20 4e41 4d45 2020 ..)...pNO NAME
5 00000050: 2020 4641 5433 3220 2020 2020 2020 2020 FAT32
6 00000060: 2020 2020 2020 2020 2020 2020 2020 2020
7 00000070: 2020 2020 2020 2020 2020 2020 2020 2020
8 00000080: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
9 00000090: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
10 000000a0: 2020 2020 2020 2020 2020 2020 2020 2020
11 000000b0: 2020 2020 2020 2020 2020 2020 2020 2020
12 000000c0: 2020 2020 2020 2020 2020 2020 2020 2020
13 000000d0: 2020 2020 2020 2020 2020 2020 2020 2020
14 000000e0: 2020 2020 2020 2020 2020 2020 2020 2020
15 000000f0: 2020 2020 2020 2020 2020 2020 2020 2020
16 00000100: 2020 2020 2020 2020 2020 2020 2020 2020
17 00000110: 2020 2020 2020 2020 2020 2020 2020 2020
18 00000120: 2020 2020 2020 2020 2020 2020 2020 2020
19 00000130: 2020 2020 2020 2020 2020 2020 2020 2020
20 00000140: 2020 2020 2020 2020 2020 2020 2020 2020
21 00000150: 2020 2020 2020 2020 2020 2020 2020 2020
22 00000160: 2020 2020 2020 2020 2020 2020 2020 2020
23 00000170: 2020 2020 2020 2020 2020 2020 2020 2020
24 00000180: 2020 2020 2020 2020 2020 2020 2020 2020
25 00000190: 2020 2020 2020 2020 2020 2020 2020 2020
26 000001a0: 2020 2020 2020 2020 2020 2020 2020 2020
27 000001b0: 2020 2020 2020 2020 2020 2020 2020 2020
28 000001c0: 2020 2020 2020 2020 2020 2020 2020 2020
29 000001d0: 2020 2020 2020 2020 2020 2020 2020 2020
30 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
31 000001f0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
32 00000200: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
33 00000210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
34 *
35 000003e0: 0000 0000 7272 4161 f3f1 0100 0f00 0000 ....rrAa........
36 000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
37 00000400: 0000 0000 0000 0000 0000 0000 0000 0000 ................
38 *
39 000005f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
40 00000600: 0000 0000 0000 0000 0000 0000 0000 0000 ................
41 *
42 00000c00: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
43 00000c10: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
44 00000c20: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
45 00000c30: 0100 0600 0000 0000 0000 0000 0000 0000 ................
46 00000c40: 8000 2991 fc95 704e 4f20 4e41 4d45 2020 ..)...pNO NAME
47 00000c50: 2020 4641 5433 3220 2020 2020 2020 2020 FAT32
48 00000c60: 2020 2020 2020 2020 2020 2020 2020 2020
49 00000c70: 2020 2020 2020 2020 2020 2020 2020 2020
50 00000c80: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
51 00000c90: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
52 00000ca0: 2020 2020 2020 2020 2020 2020 2020 2020
53 00000cb0: 2020 2020 2020 2020 2020 2020 2020 2020
54 00000cc0: 2020 2020 2020 2020 2020 2020 2020 2020
55 00000cd0: 2020 2020 2020 2020 2020 2020 2020 2020
56 00000ce0: 2020 2020 2020 2020 2020 2020 2020 2020
57 00000cf0: 2020 2020 2020 2020 2020 2020 2020 2020
58 00000d00: 2020 2020 2020 2020 2020 2020 2020 2020
59 00000d10: 2020 2020 2020 2020 2020 2020 2020 2020
60 00000d20: 2020 2020 2020 2020 2020 2020 2020 2020
61 00000d30: 2020 2020 2020 2020 2020 2020 2020 2020
62 00000d40: 2020 2020 2020 2020 2020 2020 2020 2020
63 00000d50: 2020 2020 2020 2020 2020 2020 2020 2020
64 00000d60: 2020 2020 2020 2020 2020 2020 2020 2020
65 00000d70: 2020 2020 2020 2020 2020 2020 2020 2020
66 00000d80: 2020 2020 2020 2020 2020 2020 2020 2020
67 00000d90: 2020 2020 2020 2020 2020 2020 2020 2020
68 00000da0: 2020 2020 2020 2020 2020 2020 2020 2020
69 00000db0: 2020 2020 2020 2020 2020 2020 2020 2020
70 00000dc0: 2020 2020 2020 2020 2020 2020 2020 2020
71 00000dd0: 2020 2020 2020 2020 2020 2020 2020 2020
72 00000de0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
73 00000df0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
74 00000e00: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
75 00000e10: 0000 0000 0000 0000 0000 0000 0000 0000 ................
76 *
77 00000fe0: 0000 0000 7272 4161 ffff ffff 0200 0000 ....rrAa........
78 00000ff0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
79 00001000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
80 *
81 000011f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
82 00001200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
83 *
84 00001800: 2020 2020 2020 2020 2020 2020 2020 2020
85 00001810: 2020 2020 2020 2020 2020 2020 2020 2020
86 00001820: 2020 2020 2020 2020 2020 2020 2020 2020
87 00001830: 2020 2020 2020 2020 2020 2020 2020 2020
88 00001840: 2020 2020 2020 2020 2020 2020 2020 2020
89 00001850: 2020 2020 2020 2020 2020 2020 2020 2020
90 00001860: 2020 2020 424f 4f54 2043 4f44 4520 2020 BOOT CODE
91 00001870: 2020 5245 4d4f 5645 4420 2020 2020 2020 REMOVED
92 00001880: 2020 2020 2020 2020 2020 2020 2020 2020
93 00001890: 2020 2020 2020 2020 2020 2020 2020 2020
94 000018a0: 2020 2020 2020 2020 2020 2020 2020 2020
95 000018b0: 2020 2020 2020 2020 2020 2020 2020 2020
96 000018c0: 2020 2020 2020 2020 2020 2020 2020 2020
97 000018d0: 2020 2020 2020 2020 2020 2020 2020 2020
98 000018e0: 2020 2020 2020 2020 2020 2020 2020 2020
99 000018f0: 2020 2020 2020 2020 2020 2020 2020 2020
100 00001900: 2020 2020 2020 2020 2020 2020 2020 2020
101 00001910: 2020 2020 2020 2020 2020 2020 2020 2020
102 00001920: 2020 2020 2020 2020 2020 2020 2020 2020
103 00001930: 2020 2020 2020 2020 2020 2020 2020 2020
104 00001940: 2020 2020 2020 2020 2020 2020 2020 2020
105 00001950: 2020 2020 2020 2020 2020 2020 2020 2020
106 00001960: 2020 2020 2020 2020 2020 2020 2020 2020
107 00001970: 2020 2020 2020 2020 2020 2020 2020 2020
108 00001980: 2020 2020 2020 2020 2020 2020 2020 2020
109 00001990: 2020 2020 2020 2020 2020 2020 2020 2020
110 000019a0: 2020 2020 2020 2020 2020 2020 2020 2020
111 000019b0: 2020 2020 2020 2020 2020 2020 2020 2020
112 000019c0: 2020 2020 2020 2020 2020 2020 2020 2020
113 000019d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
114 000019e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
115 000019f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
116 00001a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
117 *
118 00306c00: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
119 00306c10: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
120 00306c20: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
121 00306c30: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
122 00306c40: 0000 0000 0000 0000 0000 0000 0000 0000 ................
123 *
124 00383600: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
125 00383610: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
126 00383620: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
127 00383630: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
128 00383640: 0000 0000 0000 0000 0000 0000 0000 0000 ................
129 *
130 00400000: 454e 4352 5950 5449 4f4e 2008 0000 0000 ENCRYPTION .....
131 00400010: 0000 0000 0000 90ae 7253 0000 0000 0000 ........rS......
132 00400020: 4220 0049 006e 0066 006f 000f 0072 7200 B .I.n.f.o...rr.
133 00400030: 6d00 6100 7400 6900 6f00 0000 6e00 0000 m.a.t.i.o...n...
134 00400040: 0153 0079 0073 0074 0065 000f 0072 6d00 .S.y.s.t.e...rm.
135 00400050: 2000 5600 6f00 6c00 7500 0000 6d00 6500 .V.o.l.u...m.e.
136 00400060: 5359 5354 454d 7e31 2020 2016 0020 91ae SYSTEM~1 .. ..
137 00400070: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
138 00400080: e564 002e 0074 0078 0074 000f 0059 0000 .d...t.x.t...Y..
139 00400090: ffff ffff ffff ffff ffff 0000 ffff ffff ................
140 004000a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
141 004000b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
142 004000c0: e545 5354 5f45 7e31 5458 5420 018a 99ae .EST_E~1TXT ....
143 004000d0: 7253 7253 0000 bcae 7253 0700 0000 0000 rSrS....rS......
144 004000e0: 2452 4543 5943 4c45 4249 4e16 0004 9aae $RECYCLEBIN.....
145 004000f0: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
146 00400100: e546 5330 2020 2020 544d 5026 0056 c5ae .FS0 TMP&.V..
147 00400110: 7253 7253 0000 c6ae 7253 0900 0e00 0000 rSrS....rS......
148 00400120: 4264 002e 0074 0078 0074 000f 00c4 2e00 Bd...t.x.t......
149 00400130: 5000 4600 4900 4c00 4500 0000 0000 ffff P.F.I.L.E.......
150 00400140: 0174 0065 0073 0074 005f 000f 00c4 6500 .t.e.s.t._....e.
151 00400150: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
152 00400160: 5445 5354 5f45 7e31 5046 4920 218a 99ae TEST_E~1PFI !...
153 00400170: 7253 7253 0000 bcae 7253 0700 1010 0000 rSrS....rS......
154 00400180: e564 0020 002d 0020 0043 000f 0059 6f00 .d. .-. .C...Yo.
155 00400190: 7000 7900 2e00 7400 7800 0000 7400 0000 p.y...t.x...t...
156 004001a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
157 004001b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
158 004001c0: e545 5354 5f45 7e31 5458 5420 010a c8ae .EST_E~1TXT ....
159 004001d0: 7253 7253 0000 c9ae 7253 0000 0000 0000 rSrS....rS......
160 004001e0: e550 0046 0049 004c 0045 000f 0064 0000 .P.F.I.L.E...d..
161 004001f0: ffff ffff ffff ffff ffff 0000 ffff ffff ................
162 00400200: e564 0020 002d 0020 0043 000f 0064 6f00 .d. .-. .C...do.
163 00400210: 7000 7900 2e00 7400 7800 0000 7400 2e00 p.y...t.x...t...
164 00400220: e574 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
165 00400230: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
166 00400240: e545 5354 5f45 7e32 5046 4920 210a c8ae .EST_E~2PFI !...
167 00400250: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
168 00400260: 4264 005f 0032 002e 0074 000f 00c4 7800 Bd._.2...t....x.
169 00400270: 7400 2e00 5000 4600 4900 0000 4c00 4500 t...P.F.I...L.E.
170 00400280: 0174 0065 0073 0074 005f 000f 00c4 6500 .t.e.s.t._....e.
171 00400290: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
172 004002a0: 5445 5354 5f45 7e31 5046 4920 210a c8ae TEST_E~1PFI !...
173 004002b0: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
174 004002c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
175 *
176 00400800: 2e20 2020 2020 2020 2020 2010 0020 91ae . .. ..
177 00400810: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
178 00400820: 2e2e 2020 2020 2020 2020 2010 0020 91ae .. .. ..
179 00400830: 7253 7253 0000 92ae 7253 0000 0000 0000 rSrS....rS......
180 00400840: 4274 0000 00ff ffff ffff ff0f 00ce ffff Bt..............
181 00400850: ffff ffff ffff ffff ffff 0000 ffff ffff ................
182 00400860: 0157 0050 0053 0065 0074 000f 00ce 7400 .W.P.S.e.t....t.
183 00400870: 6900 6e00 6700 7300 2e00 0000 6400 6100 i.n.g.s.....d.a.
184 00400880: 5750 5345 5454 7e31 4441 5420 0020 91ae WPSETT~1DAT . ..
185 00400890: 7253 7253 0000 92ae 7253 0400 0c00 0000 rSrS....rS......
186 004008a0: e546 5330 2020 2020 4c4f 4722 0055 c5ae .FS0 LOG".U..
187 004008b0: 7253 7253 0000 c6ae 7253 0800 0006 0000 rSrS....rS......
188 004008c0: 4544 5020 2020 2020 2020 2010 0042 caae EDP ..B..
189 004008d0: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
190 004008e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
191 *
192 00401000: 0c00 0000 0e8c 6100 9830 d88a 0000 0000 ......a..0......
193 00401010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
194 *
195 00401800: 2e20 2020 2020 2020 2020 2010 0004 9aae . .....
196 00401810: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
197 00401820: 2e2e 2020 2020 2020 2020 2010 0004 9aae .. .....
198 00401830: 7253 7253 0000 9bae 7253 0000 0000 0000 rSrS....rS......
199 00401840: 4445 534b 544f 5020 494e 4926 1804 9aae DESKTOP INI&....
200 00401850: 7253 7253 0000 9bae 7253 0600 8100 0000 rSrS....rS......
201 00401860: 0000 0000 0000 0000 0000 0000 0000 0000 ................
202 *
203 00402000: 5b2e 5368 656c 6c43 6c61 7373 496e 666f [.ShellClassInfo
204 00402010: 5d0d 0a43 4c53 4944 3d7b 3634 3546 4630 ]..CLSID={645FF0
205 00402020: 3430 2d35 3038 312d 3130 3142 2d39 4630 40-5081-101B-9F0
206 00402030: 382d 3030 4141 3030 3246 3935 3445 7d0d 8-00AA002F954E}.
207 00402040: 0a4c 6f63 616c 697a 6564 5265 736f 7572 .LocalizedResour
208 00402050: 6365 4e61 6d65 3d40 2553 7973 7465 6d52 ceName=@%SystemR
209 00402060: 6f6f 7425 5c73 7973 7465 6d33 325c 7368 oot%\system32\sh
210 00402070: 656c 6c33 322e 646c 6c2c 2d38 3936 340d ell32.dll,-8964.
211 00402080: 0a00 0000 0000 0000 0000 0000 0000 0000 ................
212 00402090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
213 *
214 00402800: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
215 00402810: be49 c640 12cc b143 9b68 be56 b04b 9565 .I.@...C.h.V.K.e
216 00402820: 0000 0000 0000 0000 0000 0000 0000 0000 ................
217 00402830: 0000 0000 0000 0000 0000 0000 0000 0000 ................
218 00402840: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
219 00402850: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
220 00402860: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
221 00402870: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
222 00402880: 0000 0000 0000 0000 0105 0000 0000 0005 ................
223 00402890: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
224 004028a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
225 004028b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
226 004028c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
227 004028d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
228 004028e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
229 004028f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
230 00402900: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
231 00402910: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
232 00402920: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
233 00402930: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
234 00402940: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
235 00402950: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
236 00402960: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
237 00402970: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
238 00402980: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
239 00402990: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
240 004029a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
241 004029b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
242 004029c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
243 004029d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
244 004029e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
245 004029f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
246 00402a00: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
247 00402a10: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
248 00402a20: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
249 00402a30: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
250 00402a40: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
251 00402a50: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
252 00402a60: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
253 00402a70: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
254 00402a80: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
255 00402a90: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
256 00402aa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
257 *
258 00403000: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
259 00403010: 5c1f aca2 f570 f044 a539 725a 50cf cddb \....p.D.9rZP...
260 00403020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
261 00403030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
262 00403040: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
263 00403050: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
264 00403060: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
265 00403070: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
266 00403080: 0000 0000 0000 0000 0105 0000 0000 0005 ................
267 00403090: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
268 004030a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
269 004030b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
270 004030c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
271 004030d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
272 004030e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
273 004030f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
274 00403100: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
275 00403110: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
276 00403120: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
277 00403130: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
278 00403140: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
279 00403150: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
280 00403160: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
281 00403170: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
282 00403180: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
283 00403190: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
284 004031a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
285 004031b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
286 004031c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
287 004031d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
288 004031e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
289 004031f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
290 00403200: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
291 00403210: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
292 00403220: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
293 00403230: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
294 00403240: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
295 00403250: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
296 00403260: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
297 00403270: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
298 00403280: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
299 00403290: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
300 004032a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
301 *
302 00404800: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
303 00404810: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
304 00404820: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
305 00404830: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
306 00404840: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
307 00404850: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
308 00404860: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
309 00404870: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
310 00404880: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
311 00404890: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
312 004048a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
313 004048b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
314 004048c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
315 004048d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
316 004048e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
317 004048f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
318 00404900: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
319 00404910: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
320 00404920: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
321 00404930: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
322 00404940: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
323 00404950: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
324 00404960: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
325 00404970: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
326 00404980: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
327 00404990: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
328 004049a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
329 004049b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
330 004049c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
331 004049d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
332 004049e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
333 004049f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
334 00404a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
335 *
336 00405000: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
337 00405010: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
338 00405020: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
339 00405030: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
340 00405040: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
341 00405050: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
342 00405060: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
343 00405070: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
344 00405080: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
345 00405090: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
346 004050a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
347 004050b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
348 004050c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
349 004050d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
350 004050e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
351 004050f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
352 00405100: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
353 00405110: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
354 00405120: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
355 00405130: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
356 00405140: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
357 00405150: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
358 00405160: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
359 00405170: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
360 00405180: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
361 00405190: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
362 004051a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
363 004051b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
364 004051c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
365 004051d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
366 004051e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
367 004051f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
368 00405200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
369 *
370 00405800: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
371 00405810: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
372 00405820: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
373 00405830: 7253 7253 0000 cbae 7253 0300 0000 0000 rSrS....rS......
374 00405840: 4152 0065 0063 006f 0076 000f 0014 6500 AR.e.c.o.v....e.
375 00405850: 7200 7900 0000 ffff ffff 0000 ffff ffff r.y.............
376 00405860: 5245 434f 5645 5259 2020 2010 0042 caae RECOVERY ..B..
377 00405870: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
378 00405880: 0000 0000 0000 0000 0000 0000 0000 0000 ................
379 *
380 00406000: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
381 00406010: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
382 00406020: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
383 00406030: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
384 00406040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
385 *
386 0fcffff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0 00000000: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
1 00000010: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
2 00000020: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
3 00000030: 0100 0600 0000 0000 0000 0000 0000 0000 ................
4 00000040: 8000 2991 fc95 7045 4e43 5259 5054 494f ..)...pENCRYPTIO
5 00000050: 4e20 4641 5433 3220 2020 2020 2020 2020 N FAT32
6 00000060: 2020 2020 2020 2020 2020 2020 2020 2020
7 00000070: 2020 2020 2020 2020 2020 2020 2020 2020
8 00000080: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
9 00000090: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
10 000000a0: 2020 2020 2020 2020 2020 2020 2020 2020
11 000000b0: 2020 2020 2020 2020 2020 2020 2020 2020
12 000000c0: 2020 2020 2020 2020 2020 2020 2020 2020
13 000000d0: 2020 2020 2020 2020 2020 2020 2020 2020
14 000000e0: 2020 2020 2020 2020 2020 2020 2020 2020
15 000000f0: 2020 2020 2020 2020 2020 2020 2020 2020
16 00000100: 2020 2020 2020 2020 2020 2020 2020 2020
17 00000110: 2020 2020 2020 2020 2020 2020 2020 2020
18 00000120: 2020 2020 2020 2020 2020 2020 2020 2020
19 00000130: 2020 2020 2020 2020 2020 2020 2020 2020
20 00000140: 2020 2020 2020 2020 2020 2020 2020 2020
21 00000150: 2020 2020 2020 2020 2020 2020 2020 2020
22 00000160: 2020 2020 2020 2020 2020 2020 2020 2020
23 00000170: 2020 2020 2020 2020 2020 2020 2020 2020
24 00000180: 2020 2020 2020 2020 2020 2020 2020 2020
25 00000190: 2020 2020 2020 2020 2020 2020 2020 2020
26 000001a0: 2020 2020 2020 2020 2020 2020 2020 2020
27 000001b0: 2020 2020 2020 2020 2020 2020 2020 2020
28 000001c0: 2020 2020 2020 2020 2020 2020 2020 2020
29 000001d0: 2020 2020 2020 2020 2020 2020 2020 2020
30 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
31 000001f0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
32 00000200: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
33 00000210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
34 *
35 000003e0: 0000 0000 7272 4161 f3f1 0100 0f00 0000 ....rrAa........
36 000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
37 00000400: 0000 0000 0000 0000 0000 0000 0000 0000 ................
38 *
39 000005f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
40 00000600: 0000 0000 0000 0000 0000 0000 0000 0000 ................
41 *
42 00000c00: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
43 00000c10: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
44 00000c20: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
45 00000c30: 0100 0600 0000 0000 0000 0000 0000 0000 ................
46 00000c40: 8000 2991 fc95 7045 4e43 5259 5054 494f ..)...pENCRYPTIO
47 00000c50: 4e20 4641 5433 3220 2020 2020 2020 2020 N FAT32
48 00000c60: 2020 2020 2020 2020 2020 2020 2020 2020
49 00000c70: 2020 2020 2020 2020 2020 2020 2020 2020
50 00000c80: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
51 00000c90: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
52 00000ca0: 2020 2020 2020 2020 2020 2020 2020 2020
53 00000cb0: 2020 2020 2020 2020 2020 2020 2020 2020
54 00000cc0: 2020 2020 2020 2020 2020 2020 2020 2020
55 00000cd0: 2020 2020 2020 2020 2020 2020 2020 2020
56 00000ce0: 2020 2020 2020 2020 2020 2020 2020 2020
57 00000cf0: 2020 2020 2020 2020 2020 2020 2020 2020
58 00000d00: 2020 2020 2020 2020 2020 2020 2020 2020
59 00000d10: 2020 2020 2020 2020 2020 2020 2020 2020
60 00000d20: 2020 2020 2020 2020 2020 2020 2020 2020
61 00000d30: 2020 2020 2020 2020 2020 2020 2020 2020
62 00000d40: 2020 2020 2020 2020 2020 2020 2020 2020
63 00000d50: 2020 2020 2020 2020 2020 2020 2020 2020
64 00000d60: 2020 2020 2020 2020 2020 2020 2020 2020
65 00000d70: 2020 2020 2020 2020 2020 2020 2020 2020
66 00000d80: 2020 2020 2020 2020 2020 2020 2020 2020
67 00000d90: 2020 2020 2020 2020 2020 2020 2020 2020
68 00000da0: 2020 2020 2020 2020 2020 2020 2020 2020
69 00000db0: 2020 2020 2020 2020 2020 2020 2020 2020
70 00000dc0: 2020 2020 2020 2020 2020 2020 2020 2020
71 00000dd0: 2020 2020 2020 2020 2020 2020 2020 2020
72 00000de0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
73 00000df0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
74 00000e00: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
75 00000e10: 0000 0000 0000 0000 0000 0000 0000 0000 ................
76 *
77 00000fe0: 0000 0000 7272 4161 ffff ffff 0200 0000 ....rrAa........
78 00000ff0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
79 00001000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
80 *
81 000011f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
82 00001200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
83 *
84 00001800: 2020 2020 2020 2020 2020 2020 2020 2020
85 00001810: 2020 2020 2020 2020 2020 2020 2020 2020
86 00001820: 2020 2020 2020 2020 2020 2020 2020 2020
87 00001830: 2020 2020 2020 2020 2020 2020 2020 2020
88 00001840: 2020 2020 2020 2020 2020 2020 2020 2020
89 00001850: 2020 2020 2020 2020 2020 2020 2020 2020
90 00001860: 2020 2020 424f 4f54 2043 4f44 4520 2020 BOOT CODE
91 00001870: 2020 5245 4d4f 5645 4420 2020 2020 2020 REMOVED
92 00001880: 2020 2020 2020 2020 2020 2020 2020 2020
93 00001890: 2020 2020 2020 2020 2020 2020 2020 2020
94 000018a0: 2020 2020 2020 2020 2020 2020 2020 2020
95 000018b0: 2020 2020 2020 2020 2020 2020 2020 2020
96 000018c0: 2020 2020 2020 2020 2020 2020 2020 2020
97 000018d0: 2020 2020 2020 2020 2020 2020 2020 2020
98 000018e0: 2020 2020 2020 2020 2020 2020 2020 2020
99 000018f0: 2020 2020 2020 2020 2020 2020 2020 2020
100 00001900: 2020 2020 2020 2020 2020 2020 2020 2020
101 00001910: 2020 2020 2020 2020 2020 2020 2020 2020
102 00001920: 2020 2020 2020 2020 2020 2020 2020 2020
103 00001930: 2020 2020 2020 2020 2020 2020 2020 2020
104 00001940: 2020 2020 2020 2020 2020 2020 2020 2020
105 00001950: 2020 2020 2020 2020 2020 2020 2020 2020
106 00001960: 2020 2020 2020 2020 2020 2020 2020 2020
107 00001970: 2020 2020 2020 2020 2020 2020 2020 2020
108 00001980: 2020 2020 2020 2020 2020 2020 2020 2020
109 00001990: 2020 2020 2020 2020 2020 2020 2020 2020
110 000019a0: 2020 2020 2020 2020 2020 2020 2020 2020
111 000019b0: 2020 2020 2020 2020 2020 2020 2020 2020
112 000019c0: 2020 2020 2020 2020 2020 2020 2020 2020
113 000019d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
114 000019e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
115 000019f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
116 00001a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
117 *
118 00306c00: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
119 00306c10: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
120 00306c20: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
121 00306c30: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
122 00306c40: 0000 0000 0000 0000 0000 0000 0000 0000 ................
123 *
124 00383600: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
125 00383610: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
126 00383620: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
127 00383630: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
128 00383640: 0000 0000 0000 0000 0000 0000 0000 0000 ................
129 *
130 00400000: 454e 4352 5950 5449 4f4e 2008 0000 0000 ENCRYPTION .....
131 00400010: 0000 0000 0000 90ae 7253 0000 0000 0000 ........rS......
132 00400020: 4220 0049 006e 0066 006f 000f 0072 7200 B .I.n.f.o...rr.
133 00400030: 6d00 6100 7400 6900 6f00 0000 6e00 0000 m.a.t.i.o...n...
134 00400040: 0153 0079 0073 0074 0065 000f 0072 6d00 .S.y.s.t.e...rm.
135 00400050: 2000 5600 6f00 6c00 7500 0000 6d00 6500 .V.o.l.u...m.e.
136 00400060: 5359 5354 454d 7e31 2020 2016 0020 91ae SYSTEM~1 .. ..
137 00400070: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
138 00400080: e564 002e 0074 0078 0074 000f 0059 0000 .d...t.x.t...Y..
139 00400090: ffff ffff ffff ffff ffff 0000 ffff ffff ................
140 004000a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
141 004000b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
142 004000c0: e545 5354 5f45 7e31 5458 5420 018a 99ae .EST_E~1TXT ....
143 004000d0: 7253 7253 0000 bcae 7253 0700 0000 0000 rSrS....rS......
144 004000e0: 2452 4543 5943 4c45 4249 4e16 0004 9aae $RECYCLEBIN.....
145 004000f0: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
146 00400100: e546 5330 2020 2020 544d 5026 0056 c5ae .FS0 TMP&.V..
147 00400110: 7253 7253 0000 c6ae 7253 0900 0e00 0000 rSrS....rS......
148 00400120: 4264 002e 0074 0078 0074 000f 00c4 2e00 Bd...t.x.t......
149 00400130: 5000 4600 4900 4c00 4500 0000 0000 ffff P.F.I.L.E.......
150 00400140: 0174 0065 0073 0074 005f 000f 00c4 6500 .t.e.s.t._....e.
151 00400150: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
152 00400160: 5445 5354 5f45 7e31 5046 4920 218a 99ae TEST_E~1PFI !...
153 00400170: 7253 7253 0000 bcae 7253 0700 1010 0000 rSrS....rS......
154 00400180: e564 0020 002d 0020 0043 000f 0059 6f00 .d. .-. .C...Yo.
155 00400190: 7000 7900 2e00 7400 7800 0000 7400 0000 p.y...t.x...t...
156 004001a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
157 004001b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
158 004001c0: e545 5354 5f45 7e31 5458 5420 010a c8ae .EST_E~1TXT ....
159 004001d0: 7253 7253 0000 c9ae 7253 0000 0000 0000 rSrS....rS......
160 004001e0: e550 0046 0049 004c 0045 000f 0064 0000 .P.F.I.L.E...d..
161 004001f0: ffff ffff ffff ffff ffff 0000 ffff ffff ................
162 00400200: e564 0020 002d 0020 0043 000f 0064 6f00 .d. .-. .C...do.
163 00400210: 7000 7900 2e00 7400 7800 0000 7400 2e00 p.y...t.x...t...
164 00400220: e574 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
165 00400230: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
166 00400240: e545 5354 5f45 7e32 5046 4920 210a c8ae .EST_E~2PFI !...
167 00400250: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
168 00400260: e500 0000 0000 0000 0000 0000 0000 0000 ................
169 00400270: 0000 0000 0000 0000 0000 0000 0000 0000 ................
170 00400280: e500 0000 0000 0000 0000 0000 0000 0000 ................
171 00400290: 0000 0000 0000 0000 0000 0000 0000 0000 ................
172 004002a0: 4653 434b 3030 3030 3030 3020 210a c8ae FSCK0000000 !...
173 004002b0: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
174 004002c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
175 *
176 00400800: 2e20 2020 2020 2020 2020 2010 0020 91ae . .. ..
177 00400810: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
178 00400820: 2e2e 2020 2020 2020 2020 2010 0020 91ae .. .. ..
179 00400830: 7253 7253 0000 92ae 7253 0000 0000 0000 rSrS....rS......
180 00400840: 4274 0000 00ff ffff ffff ff0f 00ce ffff Bt..............
181 00400850: ffff ffff ffff ffff ffff 0000 ffff ffff ................
182 00400860: 0157 0050 0053 0065 0074 000f 00ce 7400 .W.P.S.e.t....t.
183 00400870: 6900 6e00 6700 7300 2e00 0000 6400 6100 i.n.g.s.....d.a.
184 00400880: 5750 5345 5454 7e31 4441 5420 0020 91ae WPSETT~1DAT . ..
185 00400890: 7253 7253 0000 92ae 7253 0400 0c00 0000 rSrS....rS......
186 004008a0: e546 5330 2020 2020 4c4f 4722 0055 c5ae .FS0 LOG".U..
187 004008b0: 7253 7253 0000 c6ae 7253 0800 0006 0000 rSrS....rS......
188 004008c0: 4544 5020 2020 2020 2020 2010 0042 caae EDP ..B..
189 004008d0: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
190 004008e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
191 *
192 00401000: 0c00 0000 0e8c 6100 9830 d88a 0000 0000 ......a..0......
193 00401010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
194 *
195 00401800: 2e20 2020 2020 2020 2020 2010 0004 9aae . .....
196 00401810: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
197 00401820: 2e2e 2020 2020 2020 2020 2010 0004 9aae .. .....
198 00401830: 7253 7253 0000 9bae 7253 0000 0000 0000 rSrS....rS......
199 00401840: 4445 534b 544f 5020 494e 4926 1804 9aae DESKTOP INI&....
200 00401850: 7253 7253 0000 9bae 7253 0600 8100 0000 rSrS....rS......
201 00401860: 0000 0000 0000 0000 0000 0000 0000 0000 ................
202 *
203 00402000: 5b2e 5368 656c 6c43 6c61 7373 496e 666f [.ShellClassInfo
204 00402010: 5d0d 0a43 4c53 4944 3d7b 3634 3546 4630 ]..CLSID={645FF0
205 00402020: 3430 2d35 3038 312d 3130 3142 2d39 4630 40-5081-101B-9F0
206 00402030: 382d 3030 4141 3030 3246 3935 3445 7d0d 8-00AA002F954E}.
207 00402040: 0a4c 6f63 616c 697a 6564 5265 736f 7572 .LocalizedResour
208 00402050: 6365 4e61 6d65 3d40 2553 7973 7465 6d52 ceName=@%SystemR
209 00402060: 6f6f 7425 5c73 7973 7465 6d33 325c 7368 oot%\system32\sh
210 00402070: 656c 6c33 322e 646c 6c2c 2d38 3936 340d ell32.dll,-8964.
211 00402080: 0a00 0000 0000 0000 0000 0000 0000 0000 ................
212 00402090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
213 *
214 00402800: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
215 00402810: be49 c640 12cc b143 9b68 be56 b04b 9565 .I.@...C.h.V.K.e
216 00402820: 0000 0000 0000 0000 0000 0000 0000 0000 ................
217 00402830: 0000 0000 0000 0000 0000 0000 0000 0000 ................
218 00402840: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
219 00402850: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
220 00402860: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
221 00402870: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
222 00402880: 0000 0000 0000 0000 0105 0000 0000 0005 ................
223 00402890: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
224 004028a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
225 004028b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
226 004028c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
227 004028d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
228 004028e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
229 004028f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
230 00402900: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
231 00402910: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
232 00402920: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
233 00402930: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
234 00402940: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
235 00402950: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
236 00402960: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
237 00402970: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
238 00402980: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
239 00402990: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
240 004029a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
241 004029b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
242 004029c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
243 004029d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
244 004029e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
245 004029f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
246 00402a00: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
247 00402a10: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
248 00402a20: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
249 00402a30: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
250 00402a40: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
251 00402a50: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
252 00402a60: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
253 00402a70: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
254 00402a80: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
255 00402a90: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
256 00402aa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
257 *
258 00403000: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
259 00403010: 5c1f aca2 f570 f044 a539 725a 50cf cddb \....p.D.9rZP...
260 00403020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
261 00403030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
262 00403040: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
263 00403050: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
264 00403060: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
265 00403070: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
266 00403080: 0000 0000 0000 0000 0105 0000 0000 0005 ................
267 00403090: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
268 004030a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
269 004030b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
270 004030c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
271 004030d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
272 004030e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
273 004030f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
274 00403100: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
275 00403110: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
276 00403120: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
277 00403130: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
278 00403140: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
279 00403150: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
280 00403160: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
281 00403170: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
282 00403180: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
283 00403190: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
284 004031a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
285 004031b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
286 004031c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
287 004031d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
288 004031e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
289 004031f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
290 00403200: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
291 00403210: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
292 00403220: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
293 00403230: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
294 00403240: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
295 00403250: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
296 00403260: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
297 00403270: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
298 00403280: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
299 00403290: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
300 004032a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
301 *
302 00404800: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
303 00404810: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
304 00404820: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
305 00404830: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
306 00404840: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
307 00404850: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
308 00404860: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
309 00404870: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
310 00404880: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
311 00404890: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
312 004048a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
313 004048b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
314 004048c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
315 004048d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
316 004048e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
317 004048f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
318 00404900: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
319 00404910: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
320 00404920: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
321 00404930: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
322 00404940: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
323 00404950: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
324 00404960: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
325 00404970: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
326 00404980: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
327 00404990: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
328 004049a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
329 004049b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
330 004049c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
331 004049d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
332 004049e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
333 004049f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
334 00404a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
335 *
336 00405000: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
337 00405010: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
338 00405020: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
339 00405030: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
340 00405040: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
341 00405050: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
342 00405060: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
343 00405070: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
344 00405080: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
345 00405090: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
346 004050a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
347 004050b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
348 004050c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
349 004050d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
350 004050e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
351 004050f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
352 00405100: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
353 00405110: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
354 00405120: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
355 00405130: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
356 00405140: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
357 00405150: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
358 00405160: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
359 00405170: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
360 00405180: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
361 00405190: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
362 004051a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
363 004051b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
364 004051c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
365 004051d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
366 004051e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
367 004051f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
368 00405200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
369 *
370 00405800: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
371 00405810: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
372 00405820: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
373 00405830: 7253 7253 0000 cbae 7253 0300 0000 0000 rSrS....rS......
374 00405840: 4152 0065 0063 006f 0076 000f 0014 6500 AR.e.c.o.v....e.
375 00405850: 7200 7900 0000 ffff ffff 0000 ffff ffff r.y.............
376 00405860: 5245 434f 5645 5259 2020 2010 0042 caae RECOVERY ..B..
377 00405870: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
378 00405880: 0000 0000 0000 0000 0000 0000 0000 0000 ................
379 *
380 00406000: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
381 00406010: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
382 00406020: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
383 00406030: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
384 00406040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
385 *
386 0fcffff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0 00000000: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
1 00000010: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
2 00000020: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
3 00000030: 0100 0600 0000 0000 0000 0000 0000 0000 ................
4 00000040: 8000 2991 fc95 704e 4f20 4e41 4d45 2020 ..)...pNO NAME
5 00000050: 2020 4641 5433 3220 2020 2020 2020 2020 FAT32
6 00000060: 2020 2020 2020 2020 2020 2020 2020 2020
7 00000070: 2020 2020 2020 2020 2020 2020 2020 2020
8 00000080: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
9 00000090: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
10 000000a0: 2020 2020 2020 2020 2020 2020 2020 2020
11 000000b0: 2020 2020 2020 2020 2020 2020 2020 2020
12 000000c0: 2020 2020 2020 2020 2020 2020 2020 2020
13 000000d0: 2020 2020 2020 2020 2020 2020 2020 2020
14 000000e0: 2020 2020 2020 2020 2020 2020 2020 2020
15 000000f0: 2020 2020 2020 2020 2020 2020 2020 2020
16 00000100: 2020 2020 2020 2020 2020 2020 2020 2020
17 00000110: 2020 2020 2020 2020 2020 2020 2020 2020
18 00000120: 2020 2020 2020 2020 2020 2020 2020 2020
19 00000130: 2020 2020 2020 2020 2020 2020 2020 2020
20 00000140: 2020 2020 2020 2020 2020 2020 2020 2020
21 00000150: 2020 2020 2020 2020 2020 2020 2020 2020
22 00000160: 2020 2020 2020 2020 2020 2020 2020 2020
23 00000170: 2020 2020 2020 2020 2020 2020 2020 2020
24 00000180: 2020 2020 2020 2020 2020 2020 2020 2020
25 00000190: 2020 2020 2020 2020 2020 2020 2020 2020
26 000001a0: 2020 2020 2020 2020 2020 2020 2020 2020
27 000001b0: 2020 2020 2020 2020 2020 2020 2020 2020
28 000001c0: 2020 2020 2020 2020 2020 2020 2020 2020
29 000001d0: 2020 2020 2020 2020 2020 2020 2020 2020
30 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
31 000001f0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
32 00000200: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
33 00000210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
34 *
35 000003e0: 0000 0000 7272 4161 f3f1 0100 0f00 0000 ....rrAa........
36 000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
37 00000400: 0000 0000 0000 0000 0000 0000 0000 0000 ................
38 *
39 000005f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
40 00000600: 0000 0000 0000 0000 0000 0000 0000 0000 ................
41 *
42 00000c00: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
43 00000c10: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
44 00000c20: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
45 00000c30: 0100 0600 0000 0000 0000 0000 0000 0000 ................
46 00000c40: 8000 2991 fc95 704e 4f20 4e41 4d45 2020 ..)...pNO NAME
47 00000c50: 2020 4641 5433 3220 2020 2020 2020 2020 FAT32
48 00000c60: 2020 2020 2020 2020 2020 2020 2020 2020
49 00000c70: 2020 2020 2020 2020 2020 2020 2020 2020
50 00000c80: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
51 00000c90: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
52 00000ca0: 2020 2020 2020 2020 2020 2020 2020 2020
53 00000cb0: 2020 2020 2020 2020 2020 2020 2020 2020
54 00000cc0: 2020 2020 2020 2020 2020 2020 2020 2020
55 00000cd0: 2020 2020 2020 2020 2020 2020 2020 2020
56 00000ce0: 2020 2020 2020 2020 2020 2020 2020 2020
57 00000cf0: 2020 2020 2020 2020 2020 2020 2020 2020
58 00000d00: 2020 2020 2020 2020 2020 2020 2020 2020
59 00000d10: 2020 2020 2020 2020 2020 2020 2020 2020
60 00000d20: 2020 2020 2020 2020 2020 2020 2020 2020
61 00000d30: 2020 2020 2020 2020 2020 2020 2020 2020
62 00000d40: 2020 2020 2020 2020 2020 2020 2020 2020
63 00000d50: 2020 2020 2020 2020 2020 2020 2020 2020
64 00000d60: 2020 2020 2020 2020 2020 2020 2020 2020
65 00000d70: 2020 2020 2020 2020 2020 2020 2020 2020
66 00000d80: 2020 2020 2020 2020 2020 2020 2020 2020
67 00000d90: 2020 2020 2020 2020 2020 2020 2020 2020
68 00000da0: 2020 2020 2020 2020 2020 2020 2020 2020
69 00000db0: 2020 2020 2020 2020 2020 2020 2020 2020
70 00000dc0: 2020 2020 2020 2020 2020 2020 2020 2020
71 00000dd0: 2020 2020 2020 2020 2020 2020 2020 2020
72 00000de0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
73 00000df0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
74 00000e00: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
75 00000e10: 0000 0000 0000 0000 0000 0000 0000 0000 ................
76 *
77 00000fe0: 0000 0000 7272 4161 ffff ffff 0200 0000 ....rrAa........
78 00000ff0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
79 00001000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
80 *
81 000011f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
82 00001200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
83 *
84 00001800: 2020 2020 2020 2020 2020 2020 2020 2020
85 00001810: 2020 2020 2020 2020 2020 2020 2020 2020
86 00001820: 2020 2020 2020 2020 2020 2020 2020 2020
87 00001830: 2020 2020 2020 2020 2020 2020 2020 2020
88 00001840: 2020 2020 2020 2020 2020 2020 2020 2020
89 00001850: 2020 2020 2020 2020 2020 2020 2020 2020
90 00001860: 2020 2020 424f 4f54 2043 4f44 4520 2020 BOOT CODE
91 00001870: 2020 5245 4d4f 5645 4420 2020 2020 2020 REMOVED
92 00001880: 2020 2020 2020 2020 2020 2020 2020 2020
93 00001890: 2020 2020 2020 2020 2020 2020 2020 2020
94 000018a0: 2020 2020 2020 2020 2020 2020 2020 2020
95 000018b0: 2020 2020 2020 2020 2020 2020 2020 2020
96 000018c0: 2020 2020 2020 2020 2020 2020 2020 2020
97 000018d0: 2020 2020 2020 2020 2020 2020 2020 2020
98 000018e0: 2020 2020 2020 2020 2020 2020 2020 2020
99 000018f0: 2020 2020 2020 2020 2020 2020 2020 2020
100 00001900: 2020 2020 2020 2020 2020 2020 2020 2020
101 00001910: 2020 2020 2020 2020 2020 2020 2020 2020
102 00001920: 2020 2020 2020 2020 2020 2020 2020 2020
103 00001930: 2020 2020 2020 2020 2020 2020 2020 2020
104 00001940: 2020 2020 2020 2020 2020 2020 2020 2020
105 00001950: 2020 2020 2020 2020 2020 2020 2020 2020
106 00001960: 2020 2020 2020 2020 2020 2020 2020 2020
107 00001970: 2020 2020 2020 2020 2020 2020 2020 2020
108 00001980: 2020 2020 2020 2020 2020 2020 2020 2020
109 00001990: 2020 2020 2020 2020 2020 2020 2020 2020
110 000019a0: 2020 2020 2020 2020 2020 2020 2020 2020
111 000019b0: 2020 2020 2020 2020 2020 2020 2020 2020
112 000019c0: 2020 2020 2020 2020 2020 2020 2020 2020
113 000019d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
114 000019e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
115 000019f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
116 00001a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
117 *
118 00306c00: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
119 00306c10: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
120 00306c20: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
121 00306c30: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
122 00306c40: 0000 0000 0000 0000 0000 0000 0000 0000 ................
123 *
124 00383600: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
125 00383610: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
126 00383620: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
127 00383630: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
128 00383640: 0000 0000 0000 0000 0000 0000 0000 0000 ................
129 *
130 00400000: 454e 4352 5950 5449 4f4e 2008 0000 0000 ENCRYPTION .....
131 00400010: 0000 0000 0000 90ae 7253 0000 0000 0000 ........rS......
132 00400020: 4220 0049 006e 0066 006f 000f 0072 7200 B .I.n.f.o...rr.
133 00400030: 6d00 6100 7400 6900 6f00 0000 6e00 0000 m.a.t.i.o...n...
134 00400040: 0153 0079 0073 0074 0065 000f 0072 6d00 .S.y.s.t.e...rm.
135 00400050: 2000 5600 6f00 6c00 7500 0000 6d00 6500 .V.o.l.u...m.e.
136 00400060: 5359 5354 454d 7e31 2020 2016 0020 91ae SYSTEM~1 .. ..
137 00400070: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
138 00400080: e564 002e 0074 0078 0074 000f 0059 0000 .d...t.x.t...Y..
139 00400090: ffff ffff ffff ffff ffff 0000 ffff ffff ................
140 004000a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
141 004000b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
142 004000c0: e545 5354 5f45 7e31 5458 5420 018a 99ae .EST_E~1TXT ....
143 004000d0: 7253 7253 0000 bcae 7253 0700 0000 0000 rSrS....rS......
144 004000e0: 2452 4543 5943 4c45 4249 4e16 0004 9aae $RECYCLEBIN.....
145 004000f0: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
146 00400100: e546 5330 2020 2020 544d 5026 0056 c5ae .FS0 TMP&.V..
147 00400110: 7253 7253 0000 c6ae 7253 0900 0e00 0000 rSrS....rS......
148 00400120: 4264 002e 0074 0078 0074 000f 0041 2e00 Bd...t.x.t...A..
149 00400130: 5000 4600 4900 4c00 4500 0000 0000 ffff P.F.I.L.E.......
150 00400140: 0174 0065 0073 0074 005f 000f 0041 6500 .t.e.s.t._...Ae.
151 00400150: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
152 00400160: 543a 5354 5f45 7e31 5046 4920 218a 99ae T:ST_E~1PFI !...
153 00400170: 7253 7253 0000 bcae 7253 0700 1010 0000 rSrS....rS......
154 00400180: e564 0020 002d 0020 0043 000f 0059 6f00 .d. .-. .C...Yo.
155 00400190: 7000 7900 2e00 7400 7800 0000 7400 0000 p.y...t.x...t...
156 004001a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
157 004001b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
158 004001c0: e545 5354 5f45 7e31 5458 5420 010a c8ae .EST_E~1TXT ....
159 004001d0: 7253 7253 0000 c9ae 7253 0000 0000 0000 rSrS....rS......
160 004001e0: e550 0046 0049 004c 0045 000f 0064 0000 .P.F.I.L.E...d..
161 004001f0: ffff ffff ffff ffff ffff 0000 ffff ffff ................
162 00400200: e564 0020 002d 0020 0043 000f 0064 6f00 .d. .-. .C...do.
163 00400210: 7000 7900 2e00 7400 7800 0000 7400 2e00 p.y...t.x...t...
164 00400220: e574 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
165 00400230: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
166 00400240: e545 5354 5f45 7e32 5046 4920 210a c8ae .EST_E~2PFI !...
167 00400250: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
168 00400260: 4264 005f 0032 002e 0074 000f 0064 7800 Bd._.2...t...dx.
169 00400270: 7400 2e00 5000 4600 4900 0000 4c00 4500 t...P.F.I...L.E.
170 00400280: 0174 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
171 00400290: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
172 004002a0: 5445 5354 5f45 7e32 5046 4920 210a c8ae TEST_E~2PFI !...
173 004002b0: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
174 004002c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
175 *
176 00400800: 2e20 2020 2020 2020 2020 2010 0020 91ae . .. ..
177 00400810: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
178 00400820: 2e2e 2020 2020 2020 2020 2010 0020 91ae .. .. ..
179 00400830: 7253 7253 0000 92ae 7253 0000 0000 0000 rSrS....rS......
180 00400840: 4274 0000 00ff ffff ffff ff0f 00ce ffff Bt..............
181 00400850: ffff ffff ffff ffff ffff 0000 ffff ffff ................
182 00400860: 0157 0050 0053 0065 0074 000f 00ce 7400 .W.P.S.e.t....t.
183 00400870: 6900 6e00 6700 7300 2e00 0000 6400 6100 i.n.g.s.....d.a.
184 00400880: 5750 5345 5454 7e31 4441 5420 0020 91ae WPSETT~1DAT . ..
185 00400890: 7253 7253 0000 92ae 7253 0400 0c00 0000 rSrS....rS......
186 004008a0: e546 5330 2020 2020 4c4f 4722 0055 c5ae .FS0 LOG".U..
187 004008b0: 7253 7253 0000 c6ae 7253 0800 0006 0000 rSrS....rS......
188 004008c0: 4544 5020 2020 2020 2020 2010 0042 caae EDP ..B..
189 004008d0: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
190 004008e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
191 *
192 00401000: 0c00 0000 0e8c 6100 9830 d88a 0000 0000 ......a..0......
193 00401010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
194 *
195 00401800: 2e20 2020 2020 2020 2020 2010 0004 9aae . .....
196 00401810: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
197 00401820: 2e2e 2020 2020 2020 2020 2010 0004 9aae .. .....
198 00401830: 7253 7253 0000 9bae 7253 0000 0000 0000 rSrS....rS......
199 00401840: 4445 534b 544f 5020 494e 4926 1804 9aae DESKTOP INI&....
200 00401850: 7253 7253 0000 9bae 7253 0600 8100 0000 rSrS....rS......
201 00401860: 0000 0000 0000 0000 0000 0000 0000 0000 ................
202 *
203 00402000: 5b2e 5368 656c 6c43 6c61 7373 496e 666f [.ShellClassInfo
204 00402010: 5d0d 0a43 4c53 4944 3d7b 3634 3546 4630 ]..CLSID={645FF0
205 00402020: 3430 2d35 3038 312d 3130 3142 2d39 4630 40-5081-101B-9F0
206 00402030: 382d 3030 4141 3030 3246 3935 3445 7d0d 8-00AA002F954E}.
207 00402040: 0a4c 6f63 616c 697a 6564 5265 736f 7572 .LocalizedResour
208 00402050: 6365 4e61 6d65 3d40 2553 7973 7465 6d52 ceName=@%SystemR
209 00402060: 6f6f 7425 5c73 7973 7465 6d33 325c 7368 oot%\system32\sh
210 00402070: 656c 6c33 322e 646c 6c2c 2d38 3936 340d ell32.dll,-8964.
211 00402080: 0a00 0000 0000 0000 0000 0000 0000 0000 ................
212 00402090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
213 *
214 00402800: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
215 00402810: be49 c640 12cc b143 9b68 be56 b04b 9565 .I.@...C.h.V.K.e
216 00402820: 0000 0000 0000 0000 0000 0000 0000 0000 ................
217 00402830: 0000 0000 0000 0000 0000 0000 0000 0000 ................
218 00402840: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
219 00402850: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
220 00402860: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
221 00402870: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
222 00402880: 0000 0000 0000 0000 0105 0000 0000 0005 ................
223 00402890: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
224 004028a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
225 004028b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
226 004028c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
227 004028d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
228 004028e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
229 004028f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
230 00402900: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
231 00402910: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
232 00402920: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
233 00402930: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
234 00402940: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
235 00402950: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
236 00402960: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
237 00402970: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
238 00402980: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
239 00402990: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
240 004029a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
241 004029b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
242 004029c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
243 004029d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
244 004029e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
245 004029f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
246 00402a00: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
247 00402a10: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
248 00402a20: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
249 00402a30: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
250 00402a40: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
251 00402a50: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
252 00402a60: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
253 00402a70: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
254 00402a80: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
255 00402a90: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
256 00402aa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
257 *
258 00403000: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
259 00403010: 5c1f aca2 f570 f044 a539 725a 50cf cddb \....p.D.9rZP...
260 00403020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
261 00403030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
262 00403040: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
263 00403050: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
264 00403060: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
265 00403070: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
266 00403080: 0000 0000 0000 0000 0105 0000 0000 0005 ................
267 00403090: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
268 004030a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
269 004030b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
270 004030c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
271 004030d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
272 004030e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
273 004030f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
274 00403100: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
275 00403110: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
276 00403120: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
277 00403130: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
278 00403140: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
279 00403150: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
280 00403160: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
281 00403170: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
282 00403180: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
283 00403190: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
284 004031a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
285 004031b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
286 004031c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
287 004031d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
288 004031e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
289 004031f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
290 00403200: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
291 00403210: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
292 00403220: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
293 00403230: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
294 00403240: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
295 00403250: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
296 00403260: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
297 00403270: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
298 00403280: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
299 00403290: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
300 004032a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
301 *
302 00404800: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
303 00404810: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
304 00404820: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
305 00404830: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
306 00404840: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
307 00404850: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
308 00404860: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
309 00404870: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
310 00404880: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
311 00404890: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
312 004048a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
313 004048b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
314 004048c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
315 004048d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
316 004048e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
317 004048f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
318 00404900: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
319 00404910: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
320 00404920: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
321 00404930: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
322 00404940: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
323 00404950: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
324 00404960: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
325 00404970: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
326 00404980: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
327 00404990: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
328 004049a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
329 004049b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
330 004049c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
331 004049d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
332 004049e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
333 004049f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
334 00404a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
335 *
336 00405000: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
337 00405010: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
338 00405020: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
339 00405030: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
340 00405040: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
341 00405050: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
342 00405060: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
343 00405070: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
344 00405080: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
345 00405090: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
346 004050a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
347 004050b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
348 004050c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
349 004050d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
350 004050e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
351 004050f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
352 00405100: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
353 00405110: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
354 00405120: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
355 00405130: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
356 00405140: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
357 00405150: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
358 00405160: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
359 00405170: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
360 00405180: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
361 00405190: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
362 004051a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
363 004051b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
364 004051c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
365 004051d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
366 004051e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
367 004051f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
368 00405200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
369 *
370 00405800: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
371 00405810: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
372 00405820: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
373 00405830: 7253 7253 0000 cbae 7253 0300 0000 0000 rSrS....rS......
374 00405840: 4152 0065 0063 006f 0076 000f 0014 6500 AR.e.c.o.v....e.
375 00405850: 7200 7900 0000 ffff ffff 0000 ffff ffff r.y.............
376 00405860: 5245 434f 5645 5259 2020 2010 0042 caae RECOVERY ..B..
377 00405870: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
378 00405880: 0000 0000 0000 0000 0000 0000 0000 0000 ................
379 *
380 00406000: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
381 00406010: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
382 00406020: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
383 00406030: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
384 00406040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
385 *
386 0fcffff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0 00000000: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
1 00000010: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
2 00000020: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
3 00000030: 0100 0600 0000 0000 0000 0000 0000 0000 ................
4 00000040: 8000 2991 fc95 7045 4e43 5259 5054 494f ..)...pENCRYPTIO
5 00000050: 4e20 4641 5433 3220 2020 2020 2020 2020 N FAT32
6 00000060: 2020 2020 2020 2020 2020 2020 2020 2020
7 00000070: 2020 2020 2020 2020 2020 2020 2020 2020
8 00000080: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
9 00000090: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
10 000000a0: 2020 2020 2020 2020 2020 2020 2020 2020
11 000000b0: 2020 2020 2020 2020 2020 2020 2020 2020
12 000000c0: 2020 2020 2020 2020 2020 2020 2020 2020
13 000000d0: 2020 2020 2020 2020 2020 2020 2020 2020
14 000000e0: 2020 2020 2020 2020 2020 2020 2020 2020
15 000000f0: 2020 2020 2020 2020 2020 2020 2020 2020
16 00000100: 2020 2020 2020 2020 2020 2020 2020 2020
17 00000110: 2020 2020 2020 2020 2020 2020 2020 2020
18 00000120: 2020 2020 2020 2020 2020 2020 2020 2020
19 00000130: 2020 2020 2020 2020 2020 2020 2020 2020
20 00000140: 2020 2020 2020 2020 2020 2020 2020 2020
21 00000150: 2020 2020 2020 2020 2020 2020 2020 2020
22 00000160: 2020 2020 2020 2020 2020 2020 2020 2020
23 00000170: 2020 2020 2020 2020 2020 2020 2020 2020
24 00000180: 2020 2020 2020 2020 2020 2020 2020 2020
25 00000190: 2020 2020 2020 2020 2020 2020 2020 2020
26 000001a0: 2020 2020 2020 2020 2020 2020 2020 2020
27 000001b0: 2020 2020 2020 2020 2020 2020 2020 2020
28 000001c0: 2020 2020 2020 2020 2020 2020 2020 2020
29 000001d0: 2020 2020 2020 2020 2020 2020 2020 2020
30 000001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
31 000001f0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
32 00000200: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
33 00000210: 0000 0000 0000 0000 0000 0000 0000 0000 ................
34 *
35 000003e0: 0000 0000 7272 4161 f3f1 0100 0f00 0000 ....rrAa........
36 000003f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
37 00000400: 0000 0000 0000 0000 0000 0000 0000 0000 ................
38 *
39 000005f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
40 00000600: 0000 0000 0000 0000 0000 0000 0000 0000 ................
41 *
42 00000c00: eb58 904d 5344 4f53 352e 3000 0204 3618 .X.MSDOS5.0...6.
43 00000c10: 0200 0000 00f8 0000 3f00 ff00 8000 0000 ........?.......
44 00000c20: 00e8 0700 e503 0000 0000 0000 0200 0000 ................
45 00000c30: 0100 0600 0000 0000 0000 0000 0000 0000 ................
46 00000c40: 8000 2991 fc95 7045 4e43 5259 5054 494f ..)...pENCRYPTIO
47 00000c50: 4e20 4641 5433 3220 2020 2020 2020 2020 N FAT32
48 00000c60: 2020 2020 2020 2020 2020 2020 2020 2020
49 00000c70: 2020 2020 2020 2020 2020 2020 2020 2020
50 00000c80: 2020 424f 4f54 2043 4f44 4520 2020 2020 BOOT CODE
51 00000c90: 2020 2020 2052 454d 4f56 4544 2020 2020 REMOVED
52 00000ca0: 2020 2020 2020 2020 2020 2020 2020 2020
53 00000cb0: 2020 2020 2020 2020 2020 2020 2020 2020
54 00000cc0: 2020 2020 2020 2020 2020 2020 2020 2020
55 00000cd0: 2020 2020 2020 2020 2020 2020 2020 2020
56 00000ce0: 2020 2020 2020 2020 2020 2020 2020 2020
57 00000cf0: 2020 2020 2020 2020 2020 2020 2020 2020
58 00000d00: 2020 2020 2020 2020 2020 2020 2020 2020
59 00000d10: 2020 2020 2020 2020 2020 2020 2020 2020
60 00000d20: 2020 2020 2020 2020 2020 2020 2020 2020
61 00000d30: 2020 2020 2020 2020 2020 2020 2020 2020
62 00000d40: 2020 2020 2020 2020 2020 2020 2020 2020
63 00000d50: 2020 2020 2020 2020 2020 2020 2020 2020
64 00000d60: 2020 2020 2020 2020 2020 2020 2020 2020
65 00000d70: 2020 2020 2020 2020 2020 2020 2020 2020
66 00000d80: 2020 2020 2020 2020 2020 2020 2020 2020
67 00000d90: 2020 2020 2020 2020 2020 2020 2020 2020
68 00000da0: 2020 2020 2020 2020 2020 2020 2020 2020
69 00000db0: 2020 2020 2020 2020 2020 2020 2020 2020
70 00000dc0: 2020 2020 2020 2020 2020 2020 2020 2020
71 00000dd0: 2020 2020 2020 2020 2020 2020 2020 2020
72 00000de0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
73 00000df0: 0000 0000 0000 0000 ac01 b901 0000 55aa ..............U.
74 00000e00: 5252 6141 0000 0000 0000 0000 0000 0000 RRaA............
75 00000e10: 0000 0000 0000 0000 0000 0000 0000 0000 ................
76 *
77 00000fe0: 0000 0000 7272 4161 ffff ffff 0200 0000 ....rrAa........
78 00000ff0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
79 00001000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
80 *
81 000011f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
82 00001200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
83 *
84 00001800: 2020 2020 2020 2020 2020 2020 2020 2020
85 00001810: 2020 2020 2020 2020 2020 2020 2020 2020
86 00001820: 2020 2020 2020 2020 2020 2020 2020 2020
87 00001830: 2020 2020 2020 2020 2020 2020 2020 2020
88 00001840: 2020 2020 2020 2020 2020 2020 2020 2020
89 00001850: 2020 2020 2020 2020 2020 2020 2020 2020
90 00001860: 2020 2020 424f 4f54 2043 4f44 4520 2020 BOOT CODE
91 00001870: 2020 5245 4d4f 5645 4420 2020 2020 2020 REMOVED
92 00001880: 2020 2020 2020 2020 2020 2020 2020 2020
93 00001890: 2020 2020 2020 2020 2020 2020 2020 2020
94 000018a0: 2020 2020 2020 2020 2020 2020 2020 2020
95 000018b0: 2020 2020 2020 2020 2020 2020 2020 2020
96 000018c0: 2020 2020 2020 2020 2020 2020 2020 2020
97 000018d0: 2020 2020 2020 2020 2020 2020 2020 2020
98 000018e0: 2020 2020 2020 2020 2020 2020 2020 2020
99 000018f0: 2020 2020 2020 2020 2020 2020 2020 2020
100 00001900: 2020 2020 2020 2020 2020 2020 2020 2020
101 00001910: 2020 2020 2020 2020 2020 2020 2020 2020
102 00001920: 2020 2020 2020 2020 2020 2020 2020 2020
103 00001930: 2020 2020 2020 2020 2020 2020 2020 2020
104 00001940: 2020 2020 2020 2020 2020 2020 2020 2020
105 00001950: 2020 2020 2020 2020 2020 2020 2020 2020
106 00001960: 2020 2020 2020 2020 2020 2020 2020 2020
107 00001970: 2020 2020 2020 2020 2020 2020 2020 2020
108 00001980: 2020 2020 2020 2020 2020 2020 2020 2020
109 00001990: 2020 2020 2020 2020 2020 2020 2020 2020
110 000019a0: 2020 2020 2020 2020 2020 2020 2020 2020
111 000019b0: 2020 2020 2020 2020 2020 2020 2020 2020
112 000019c0: 2020 2020 2020 2020 2020 2020 2020 2020
113 000019d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
114 000019e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
115 000019f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.
116 00001a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
117 *
118 00306c00: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
119 00306c10: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
120 00306c20: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
121 00306c30: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
122 00306c40: 0000 0000 0000 0000 0000 0000 0000 0000 ................
123 *
124 00383600: f8ff ff0f ffff ffff ffff ff0f ffff ff0f ................
125 00383610: ffff ff0f ffff ff0f ffff ff0f 0a00 0000 ................
126 00383620: 0900 0000 0c00 0000 0b00 0000 ffff ff0f ................
127 00383630: ffff ff0f ffff ff0f ffff ff0f 0000 0000 ................
128 00383640: 0000 0000 0000 0000 0000 0000 0000 0000 ................
129 *
130 00400000: 454e 4352 5950 5449 4f4e 2008 0000 0000 ENCRYPTION .....
131 00400010: 0000 0000 0000 90ae 7253 0000 0000 0000 ........rS......
132 00400020: 4220 0049 006e 0066 006f 000f 0072 7200 B .I.n.f.o...rr.
133 00400030: 6d00 6100 7400 6900 6f00 0000 6e00 0000 m.a.t.i.o...n...
134 00400040: 0153 0079 0073 0074 0065 000f 0072 6d00 .S.y.s.t.e...rm.
135 00400050: 2000 5600 6f00 6c00 7500 0000 6d00 6500 .V.o.l.u...m.e.
136 00400060: 5359 5354 454d 7e31 2020 2016 0020 91ae SYSTEM~1 .. ..
137 00400070: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
138 00400080: e564 002e 0074 0078 0074 000f 0059 0000 .d...t.x.t...Y..
139 00400090: ffff ffff ffff ffff ffff 0000 ffff ffff ................
140 004000a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
141 004000b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
142 004000c0: e545 5354 5f45 7e31 5458 5420 018a 99ae .EST_E~1TXT ....
143 004000d0: 7253 7253 0000 bcae 7253 0700 0000 0000 rSrS....rS......
144 004000e0: 2452 4543 5943 4c45 4249 4e16 0004 9aae $RECYCLEBIN.....
145 004000f0: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
146 00400100: e546 5330 2020 2020 544d 5026 0056 c5ae .FS0 TMP&.V..
147 00400110: 7253 7253 0000 c6ae 7253 0900 0e00 0000 rSrS....rS......
148 00400120: e500 0000 0000 0000 0000 0000 0000 0000 ................
149 00400130: 0000 0000 0000 0000 0000 0000 0000 0000 ................
150 00400140: e500 0000 0000 0000 0000 0000 0000 0000 ................
151 00400150: 0000 0000 0000 0000 0000 0000 0000 0000 ................
152 00400160: 4653 434b 3030 3030 3030 3020 218a 99ae FSCK0000000 !...
153 00400170: 7253 7253 0000 bcae 7253 0700 1010 0000 rSrS....rS......
154 00400180: e564 0020 002d 0020 0043 000f 0059 6f00 .d. .-. .C...Yo.
155 00400190: 7000 7900 2e00 7400 7800 0000 7400 0000 p.y...t.x...t...
156 004001a0: e574 0065 0073 0074 005f 000f 0059 6500 .t.e.s.t._...Ye.
157 004001b0: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
158 004001c0: e545 5354 5f45 7e31 5458 5420 010a c8ae .EST_E~1TXT ....
159 004001d0: 7253 7253 0000 c9ae 7253 0000 0000 0000 rSrS....rS......
160 004001e0: e550 0046 0049 004c 0045 000f 0064 0000 .P.F.I.L.E...d..
161 004001f0: ffff ffff ffff ffff ffff 0000 ffff ffff ................
162 00400200: e564 0020 002d 0020 0043 000f 0064 6f00 .d. .-. .C...do.
163 00400210: 7000 7900 2e00 7400 7800 0000 7400 2e00 p.y...t.x...t...
164 00400220: e574 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
165 00400230: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
166 00400240: e545 5354 5f45 7e32 5046 4920 210a c8ae .EST_E~2PFI !...
167 00400250: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
168 00400260: 4264 005f 0032 002e 0074 000f 0064 7800 Bd._.2...t...dx.
169 00400270: 7400 2e00 5000 4600 4900 0000 4c00 4500 t...P.F.I...L.E.
170 00400280: 0174 0065 0073 0074 005f 000f 0064 6500 .t.e.s.t._...de.
171 00400290: 6e00 6300 7200 7900 7000 0000 7400 6500 n.c.r.y.p...t.e.
172 004002a0: 5445 5354 5f45 7e32 5046 4920 210a c8ae TEST_E~2PFI !...
173 004002b0: 7253 7253 0000 bcae 7253 0800 1010 0000 rSrS....rS......
174 004002c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
175 *
176 00400800: 2e20 2020 2020 2020 2020 2010 0020 91ae . .. ..
177 00400810: 7253 7253 0000 92ae 7253 0300 0000 0000 rSrS....rS......
178 00400820: 2e2e 2020 2020 2020 2020 2010 0020 91ae .. .. ..
179 00400830: 7253 7253 0000 92ae 7253 0000 0000 0000 rSrS....rS......
180 00400840: 4274 0000 00ff ffff ffff ff0f 00ce ffff Bt..............
181 00400850: ffff ffff ffff ffff ffff 0000 ffff ffff ................
182 00400860: 0157 0050 0053 0065 0074 000f 00ce 7400 .W.P.S.e.t....t.
183 00400870: 6900 6e00 6700 7300 2e00 0000 6400 6100 i.n.g.s.....d.a.
184 00400880: 5750 5345 5454 7e31 4441 5420 0020 91ae WPSETT~1DAT . ..
185 00400890: 7253 7253 0000 92ae 7253 0400 0c00 0000 rSrS....rS......
186 004008a0: e546 5330 2020 2020 4c4f 4722 0055 c5ae .FS0 LOG".U..
187 004008b0: 7253 7253 0000 c6ae 7253 0800 0006 0000 rSrS....rS......
188 004008c0: 4544 5020 2020 2020 2020 2010 0042 caae EDP ..B..
189 004008d0: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
190 004008e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
191 *
192 00401000: 0c00 0000 0e8c 6100 9830 d88a 0000 0000 ......a..0......
193 00401010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
194 *
195 00401800: 2e20 2020 2020 2020 2020 2010 0004 9aae . .....
196 00401810: 7253 7253 0000 9bae 7253 0500 0000 0000 rSrS....rS......
197 00401820: 2e2e 2020 2020 2020 2020 2010 0004 9aae .. .....
198 00401830: 7253 7253 0000 9bae 7253 0000 0000 0000 rSrS....rS......
199 00401840: 4445 534b 544f 5020 494e 4926 1804 9aae DESKTOP INI&....
200 00401850: 7253 7253 0000 9bae 7253 0600 8100 0000 rSrS....rS......
201 00401860: 0000 0000 0000 0000 0000 0000 0000 0000 ................
202 *
203 00402000: 5b2e 5368 656c 6c43 6c61 7373 496e 666f [.ShellClassInfo
204 00402010: 5d0d 0a43 4c53 4944 3d7b 3634 3546 4630 ]..CLSID={645FF0
205 00402020: 3430 2d35 3038 312d 3130 3142 2d39 4630 40-5081-101B-9F0
206 00402030: 382d 3030 4141 3030 3246 3935 3445 7d0d 8-00AA002F954E}.
207 00402040: 0a4c 6f63 616c 697a 6564 5265 736f 7572 .LocalizedResour
208 00402050: 6365 4e61 6d65 3d40 2553 7973 7465 6d52 ceName=@%SystemR
209 00402060: 6f6f 7425 5c73 7973 7465 6d33 325c 7368 oot%\system32\sh
210 00402070: 656c 6c33 322e 646c 6c2c 2d38 3936 340d ell32.dll,-8964.
211 00402080: 0a00 0000 0000 0000 0000 0000 0000 0000 ................
212 00402090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
213 *
214 00402800: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
215 00402810: be49 c640 12cc b143 9b68 be56 b04b 9565 .I.@...C.h.V.K.e
216 00402820: 0000 0000 0000 0000 0000 0000 0000 0000 ................
217 00402830: 0000 0000 0000 0000 0000 0000 0000 0000 ................
218 00402840: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
219 00402850: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
220 00402860: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
221 00402870: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
222 00402880: 0000 0000 0000 0000 0105 0000 0000 0005 ................
223 00402890: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
224 004028a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
225 004028b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
226 004028c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
227 004028d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
228 004028e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
229 004028f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
230 00402900: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
231 00402910: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
232 00402920: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
233 00402930: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
234 00402940: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
235 00402950: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
236 00402960: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
237 00402970: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
238 00402980: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
239 00402990: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
240 004029a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
241 004029b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
242 004029c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
243 004029d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
244 004029e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
245 004029f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
246 00402a00: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
247 00402a10: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
248 00402a20: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
249 00402a30: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
250 00402a40: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
251 00402a50: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
252 00402a60: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
253 00402a70: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
254 00402a80: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
255 00402a90: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
256 00402aa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
257 *
258 00403000: 0010 0000 0000 0000 0200 0000 0e80 0000 ................
259 00403010: 5c1f aca2 f570 f044 a539 725a 50cf cddb \....p.D.9rZP...
260 00403020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
261 00403030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
262 00403040: 5400 0000 0000 0000 0000 0000 0000 0000 T...............
263 00403050: 0000 0000 0100 0000 4602 0000 1400 0000 ........F.......
264 00403060: 0001 0000 4601 0000 0000 0000 3201 0000 ....F.......2...
265 00403070: 1c00 0000 0300 0000 fa00 0000 3800 0000 ............8...
266 00403080: 0000 0000 0000 0000 0105 0000 0000 0005 ................
267 00403090: 1500 0000 506a 80a1 fd79 8bc2 58f9 50cd ....Pj...y..X.P.
268 004030a0: e903 0000 1400 0000 1400 0000 2800 0000 ............(...
269 004030b0: 7200 0000 d000 0000 ba66 765d 0835 3412 r........fv].54.
270 004030c0: f808 2615 08ca 57c3 adcb 12ca 3600 3000 ..&...W.....6.0.
271 004030d0: 3400 6400 3400 3200 6300 6400 2d00 3500 4.d.4.2.c.d.-.5.
272 004030e0: 3900 3700 3300 2d00 3400 3900 3600 3200 9.7.3.-.4.9.6.2.
273 004030f0: 2d00 3800 6100 6200 3700 2d00 3900 3400 -.8.a.b.7.-.9.4.
274 00403100: 3900 3200 3600 3800 3400 3400 3000 6500 9.2.6.8.4.4.0.e.
275 00403110: 3300 3500 0000 4d00 6900 6300 7200 6f00 3.5...M.i.c.r.o.
276 00403120: 7300 6f00 6600 7400 2000 4500 6e00 6800 s.o.f.t. .E.n.h.
277 00403130: 6100 6e00 6300 6500 6400 2000 4300 7200 a.n.c.e.d. .C.r.
278 00403140: 7900 7000 7400 6f00 6700 7200 6100 7000 y.p.t.o.g.r.a.p.
279 00403150: 6800 6900 6300 2000 5000 7200 6f00 7600 h.i.c. .P.r.o.v.
280 00403160: 6900 6400 6500 7200 2000 7600 3100 2e00 i.d.e.r. .v.1...
281 00403170: 3000 0000 5500 2800 5500 4000 4400 4500 0...U.(.U.@.D.E.
282 00403180: 5300 4b00 5400 4f00 5000 2d00 5200 4400 S.K.T.O.P.-.R.D.
283 00403190: 3300 3400 3100 4800 4100 2900 0000 2245 3.4.1.H.A.)..."E
284 004031a0: a214 a826 19de edb2 0bb0 d68a 8ef5 ba92 ...&............
285 004031b0: 809c 59e8 77fb b155 c9ca 642b 9775 ffcf ..Y.w..U..d+.u..
286 004031c0: a2b3 071b e6e2 d522 0731 6cc4 e983 4e0d .......".1l...N.
287 004031d0: 71b3 ebd1 db75 c0b4 c086 5755 b818 f73d q....u....WU...=
288 004031e0: d204 7af1 12d7 24de 4155 0e82 1478 2c5d ..z...$.AU...x,]
289 004031f0: b77a eba6 9dae a497 8464 4211 6b7a df23 .z.......dB.kz.#
290 00403200: 9cc8 ea83 d22d 7ef0 9784 df12 1e0d 326c .....-~.......2l
291 00403210: 26a9 bae9 4a7c 02a5 3440 0855 3e85 a7d5 &...J|..4@.U>...
292 00403220: 9ad8 7e1b 5d13 d593 d576 bd32 0527 35e0 ..~.]....v.2.'5.
293 00403230: 01d9 17b0 b6c9 ba4a 048c e158 5a97 e2d2 .......J...XZ...
294 00403240: a9c1 7e91 a5f2 e68d ce13 b5db 89dc 7884 ..~...........x.
295 00403250: c280 90d7 edaa 4a47 c376 4651 d9c3 2b58 ......JG.vFQ..+X
296 00403260: 0561 0bad c3f8 1a7f 2b21 fd96 60e6 189b .a......+!..`...
297 00403270: e9d6 82f1 7e05 9ea7 06cb 4bb3 ae98 e5ac ....~.....K.....
298 00403280: 9475 2a80 7288 adf1 e14e 88b2 d160 bd03 .u*.r....N...`..
299 00403290: cf8e acdd da24 a1d3 ac39 c8ef b146 0000 .....$...9...F..
300 004032a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
301 *
302 00404800: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
303 00404810: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
304 00404820: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
305 00404830: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
306 00404840: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
307 00404850: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
308 00404860: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
309 00404870: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
310 00404880: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
311 00404890: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
312 004048a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
313 004048b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
314 004048c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
315 004048d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
316 004048e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
317 004048f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
318 00404900: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
319 00404910: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
320 00404920: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
321 00404930: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
322 00404940: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
323 00404950: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
324 00404960: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
325 00404970: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
326 00404980: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
327 00404990: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
328 004049a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
329 004049b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
330 004049c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
331 004049d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
332 004049e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
333 004049f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
334 00404a00: 0000 0000 0000 0000 0000 0000 0000 0000 ................
335 *
336 00405000: abea d5a9 29e0 58db dd45 e2e8 cb1e d513 ....).X..E......
337 00405010: dbc7 e9d2 f0a4 ce91 c04f 96b8 22e1 d444 .........O.."..D
338 00405020: 219b 06b4 01fd eb5b a4d9 5792 e576 84ef !......[..W..v..
339 00405030: 0e5d 455b 633b 4d16 1613 08ba e4b9 b96f .]E[c;M........o
340 00405040: 2f53 5d0d f61a 1086 82cb 38d5 326d 899d /S].......8.2m..
341 00405050: ef7f d9df 6814 412c 3215 fb33 cbb8 5f94 ....h.A,2..3.._.
342 00405060: 8d81 a008 41e0 e5f1 8923 199c b5c6 b91d ....A....#......
343 00405070: 832e 1ca7 4795 657e dd20 96dd 2b54 2c39 ....G.e~. ..+T,9
344 00405080: fb72 3ad7 8458 7d54 96d9 1a68 b694 24e6 .r:..X}T...h..$.
345 00405090: 005b 2e36 5dae 0989 941f 173c 1877 2fad .[.6]......<.w/.
346 004050a0: d5ac fec9 8fb8 726f 8404 19f7 e008 18d3 ......ro........
347 004050b0: 5f80 d1bb e7fe 2827 cf1c 4bde f815 d7a6 _.....('..K.....
348 004050c0: 08f4 3c7b d014 eb01 8674 be5b 5d50 2d84 ..<{.....t.[]P-.
349 004050d0: de1a dd42 c0b7 4857 30a1 5727 d785 9f8d ...B..HW0.W'....
350 004050e0: 166d 8f4a c0cc e6bb 55bc 01e5 8b68 4ebb .m.J....U....hN.
351 004050f0: 3b7d 60e5 752a 4434 58c8 06d9 8a10 afc4 ;}`.u*D4X.......
352 00405100: 5bda 724a 1753 8a66 5e67 4142 2a6b 5a26 [.rJ.S.f^gAB*kZ&
353 00405110: 19e3 9d6b 8f6f a195 7826 af14 9d6a 10ec ...k.o..x&...j..
354 00405120: 27de af3a 1d1c 2fed 2483 d643 dc1f e9a4 '..:../.$..C....
355 00405130: 5b1b adaf bd76 c07a dfcb 5a98 3839 2aab [....v.z..Z.89*.
356 00405140: 6f5e 3e52 b1a8 ea93 9e95 b804 5092 aa38 o^>R........P..8
357 00405150: 0843 3c81 89d0 f64b 1320 faeb 26a5 d329 .C<....K. ..&..)
358 00405160: 5024 fe42 060f e582 f15a 9d2a a7cf c516 P$.B.....Z.*....
359 00405170: ea0f aaf5 7a19 d1d7 004f 8108 8628 58ef ....z....O...(X.
360 00405180: e6d4 8ec8 c271 7a4f 7353 20e5 88bf 40e8 .....qzOsS ...@.
361 00405190: dc5e 8853 0ff5 3dbe f25b b47e 7a89 2bce .^.S..=..[.~z.+.
362 004051a0: 01d9 6c13 6a36 40e1 0777 ce56 e0d0 c4b0 ..l.j6@..w.V....
363 004051b0: dce4 6f40 300a 19aa 688b 0b00 f66b 900a ..o@0...h....k..
364 004051c0: 6c90 33b8 5a0c ac95 2bd9 6bf5 72a5 23c2 l.3.Z...+.k.r.#.
365 004051d0: e6db 80c8 5bba 8e7e 8d47 3395 911d 8dda ....[..~.G3.....
366 004051e0: fea1 d95b 3657 5b0c a398 8fb4 f5d7 bd0b ...[6W[.........
367 004051f0: 369e fef6 719e 0cd1 b113 ffea f2bd b274 6...q..........t
368 00405200: 0000 0000 0000 0000 0000 0000 0000 0000 ................
369 *
370 00405800: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
371 00405810: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
372 00405820: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
373 00405830: 7253 7253 0000 cbae 7253 0300 0000 0000 rSrS....rS......
374 00405840: 4152 0065 0063 006f 0076 000f 0014 6500 AR.e.c.o.v....e.
375 00405850: 7200 7900 0000 ffff ffff 0000 ffff ffff r.y.............
376 00405860: 5245 434f 5645 5259 2020 2010 0042 caae RECOVERY ..B..
377 00405870: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
378 00405880: 0000 0000 0000 0000 0000 0000 0000 0000 ................
379 *
380 00406000: 2e20 2020 2020 2020 2020 2010 0042 caae . ..B..
381 00406010: 7253 7253 0000 cbae 7253 0e00 0000 0000 rSrS....rS......
382 00406020: 2e2e 2020 2020 2020 2020 2010 0042 caae .. ..B..
383 00406030: 7253 7253 0000 cbae 7253 0d00 0000 0000 rSrS....rS......
384 00406040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
385 *
386 0fcffff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
4040 fi
4141
4242
43 if [ -f "$testname.args" ]; then
44 ARGS=$(cat "$testname.args")
43 if [ -f "${srcdir}/${testname}.args" ]; then
44 ARGS=$(cat "${srcdir}/${testname}.args")
4545 else
4646 ARGS=
4747 fi
5151 rm -f "${testname}.out" "${testname}.refimg"
5252
5353 xxd -r "${srcdir}/${testname}.xxd" "${testname}.refimg" || exit 99
54 run_mkfs -C -v --invariant $ARGS "${testname}.out" $SIZE || exit 99
54 (export SOURCE_DATE_EPOCH=1426325213; run_mkfs -C -v -i 0x1234abcd $ARGS "${testname}.out" $SIZE) || exit 99
5555
5656 echo
5757 echo "Comparing..."