Debian Codegraph @

mingw-w64-tools/gendef/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for mingw-w64-gendef 1.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else case e in #(
191 e) as_have_required=no ;;
192 esac
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else case e in #(
198 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else case e in #(
232 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi ;;
237 esac
238 fi
239
240
241 if test "x$CONFIG_SHELL" != x
242 then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
248 BASH_ENV=/dev/null
249 ENV=/dev/null
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256 esac
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed 'exec'.
260 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 exit 255
262 fi
263
264 if test x$as_have_required = xno
265 then :
266 printf "%s\n" "$0: This script requires a shell more modern than all"
267 printf "%s\n" "$0: the shells that I found on your system."
268 if test ${ZSH_VERSION+y} ; then
269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
271 else
272 printf "%s\n" "$0: Please tell [email protected] and
273 $0: [email protected] about your
274 $0: system, including any error possibly output before this
275 $0: message. Then install a modern shell, or manually run
276 $0: the script under such a shell if you do have one."
277 fi
278 exit 1
279 fi ;;
280 esac
281 fi
282 fi
283 SHELL=${CONFIG_SHELL-/bin/sh}
284 export SHELL
285 # Unset more variables known to interfere with behavior of common tools.
286 CLICOLOR_FORCE= GREP_OPTIONS=
287 unset CLICOLOR_FORCE GREP_OPTIONS
288
289 ## --------------------- ##
290 ## M4sh Shell Functions. ##
291 ## --------------------- ##
292 # as_fn_unset VAR
293 # ---------------
294 # Portably unset VAR.
295 as_fn_unset ()
296 {
297 { eval $1=; unset $1;}
298 }
299 as_unset=as_fn_unset
300
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 printf "%s\n" X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
382 then :
383 eval 'as_fn_append ()
384 {
385 eval $1+=\$2
386 }'
387 else case e in #(
388 e) as_fn_append ()
389 {
390 eval $1=\$$1\$2
391 } ;;
392 esac
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else case e in #(
407 e) as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 } ;;
411 esac
412 fi # as_fn_arith
413
414
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
420 as_fn_error ()
421 {
422 as_status=$1; test $as_status -eq 0 && as_status=1
423 if test "$4"; then
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 fi
427 printf "%s\n" "$as_me: error: $2" >&2
428 as_fn_exit $as_status
429 } # as_fn_error
430
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
433 as_expr=expr
434 else
435 as_expr=false
436 fi
437
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
439 as_basename=basename
440 else
441 as_basename=false
442 fi
443
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
445 as_dirname=dirname
446 else
447 as_dirname=false
448 fi
449
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 printf "%s\n" X/"$0" |
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\/\)$/{
460 s//\1/
461 q
462 }
463 /^X\/\(\/\).*/{
464 s//\1/
465 q
466 }
467 s/.*/./; q'`
468
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
475
476
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
482 sed -n '
483 p
484 /[$]LINENO/=
485 ' <$as_myself |
486 sed '
487 t clear
488 :clear
489 s/[$]LINENO.*/&-/
490 t lineno
491 b
492 :lineno
493 N
494 :loop
495 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 t loop
497 s/-\n.*//
498 ' >$as_me.lineno &&
499 chmod +x "$as_me.lineno" ||
500 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
501
502 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
503 # already done that, so ensure we don't try to do so again and fall
504 # in an infinite loop. This has already happened in practice.
505 _as_can_reexec=no; export _as_can_reexec
506 # Don't try to exec as it changes $[0], causing all sort of problems
507 # (the dirname of $[0] is not the place where we might find the
508 # original and so on. Autoconf is especially sensitive to this).
509 . "./$as_me.lineno"
510 # Exit status is that of the last command.
511 exit
512 }
513
514
515 # Determine whether it's possible to make 'echo' print without a newline.
516 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
517 # for compatibility with existing Makefiles.
518 ECHO_C= ECHO_N= ECHO_T=
519 case `echo -n x` in #(((((
520 -n*)
521 case `echo 'xy\c'` in
522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
523 xy) ECHO_C='\c';;
524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 ECHO_T=' ';;
526 esac;;
527 *)
528 ECHO_N='-n';;
529 esac
530
531 # For backward compatibility with old third-party macros, we provide
532 # the shell variables $as_echo and $as_echo_n. New code should use
533 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
534 as_echo='printf %s\n'
535 as_echo_n='printf %s'
536
537 rm -f conf$$ conf$$.exe conf$$.file
538 if test -d conf$$.dir; then
539 rm -f conf$$.dir/conf$$.file
540 else
541 rm -f conf$$.dir
542 mkdir conf$$.dir 2>/dev/null
543 fi
544 if (echo >conf$$.file) 2>/dev/null; then
545 if ln -s conf$$.file conf$$ 2>/dev/null; then
546 as_ln_s='ln -s'
547 # ... but there are two gotchas:
548 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
549 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
550 # In both cases, we have to default to 'cp -pR'.
551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
552 as_ln_s='cp -pR'
553 elif ln conf$$.file conf$$ 2>/dev/null; then
554 as_ln_s=ln
555 else
556 as_ln_s='cp -pR'
557 fi
558 else
559 as_ln_s='cp -pR'
560 fi
561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
562 rmdir conf$$.dir 2>/dev/null
563
564 if mkdir -p . 2>/dev/null; then
565 as_mkdir_p='mkdir -p "$as_dir"'
566 else
567 test -d ./-p && rmdir ./-p
568 as_mkdir_p=false
569 fi
570
571 as_test_x='test -x'
572 as_executable_p=as_fn_executable_p
573
574 # Sed expression to map a string onto a valid CPP name.
575 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
576 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
577
578 # Sed expression to map a string onto a valid variable name.
579 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
580 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
581
582
583 test -n "$DJDIR" || exec 7<&0 </dev/null
584 exec 6>&1
585
586 # Name of the host.
587 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
588 # so uname gets run too.
589 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
590
591 #
592 # Initializations.
593 #
594 ac_default_prefix=/usr/local
595 ac_clean_files=
596 ac_config_libobj_dir=.
597 LIBOBJS=
598 cross_compiling=no
599 subdirs=
600 MFLAGS=
601 MAKEFLAGS=
602
603 # Identity of this package.
604 PACKAGE_NAME='mingw-w64-gendef'
605 PACKAGE_TARNAME='mingw-w64-gendef'
606 PACKAGE_VERSION='1.1'
607 PACKAGE_STRING='mingw-w64-gendef 1.1'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="src/gendef.c"
612 # Factoring default headers for most tests.
613 ac_includes_default="\
614 #include <stddef.h>
615 #ifdef HAVE_STDIO_H
616 # include <stdio.h>
617 #endif
618 #ifdef HAVE_STDLIB_H
619 # include <stdlib.h>
620 #endif
621 #ifdef HAVE_STRING_H
622 # include <string.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
632 #endif
633 #ifdef HAVE_SYS_TYPES_H
634 # include <sys/types.h>
635 #endif
636 #ifdef HAVE_SYS_STAT_H
637 # include <sys/stat.h>
638 #endif
639 #ifdef HAVE_UNISTD_H
640 # include <unistd.h>
641 #endif"
642
643 ac_header_c_list=
644 ac_subst_vars='am__EXEEXT_FALSE
645 am__EXEEXT_TRUE
646 LTLIBOBJS
647 LIBOBJS
648 GENDEF_LDFLAGS
649 GENDEF_CPPFLAGS
650 with_mangle
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 am__nodep
655 AMDEPBACKSLASH
656 AMDEP_FALSE
657 AMDEP_TRUE
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 host_os
668 host_vendor
669 host_cpu
670 host
671 build_os
672 build_vendor
673 build_cpu
674 build
675 MAINT
676 MAINTAINER_MODE_FALSE
677 MAINTAINER_MODE_TRUE
678 AM_BACKSLASH
679 AM_DEFAULT_VERBOSITY
680 AM_DEFAULT_V
681 AM_V
682 CSCOPE
683 ETAGS
684 CTAGS
685 am__untar
686 am__tar
687 AMTAR
688 am__leading_dot
689 SET_MAKE
690 AWK
691 mkdir_p
692 MKDIR_P
693 INSTALL_STRIP_PROGRAM
694 STRIP
695 install_sh
696 MAKEINFO
697 AUTOHEADER
698 AUTOMAKE
699 AUTOCONF
700 ACLOCAL
701 VERSION
702 PACKAGE
703 CYGPATH_W
704 am__isrc
705 INSTALL_DATA
706 INSTALL_SCRIPT
707 INSTALL_PROGRAM
708 target_alias
709 host_alias
710 build_alias
711 LIBS
712 ECHO_T
713 ECHO_N
714 ECHO_C
715 DEFS
716 mandir
717 localedir
718 libdir
719 psdir
720 pdfdir
721 dvidir
722 htmldir
723 infodir
724 docdir
725 oldincludedir
726 includedir
727 runstatedir
728 localstatedir
729 sharedstatedir
730 sysconfdir
731 datadir
732 datarootdir
733 libexecdir
734 sbindir
735 bindir
736 program_transform_name
737 prefix
738 exec_prefix
739 PACKAGE_URL
740 PACKAGE_BUGREPORT
741 PACKAGE_STRING
742 PACKAGE_VERSION
743 PACKAGE_TARNAME
744 PACKAGE_NAME
745 PATH_SEPARATOR
746 SHELL
747 am__quote'
748 ac_subst_files=''
749 ac_user_opts='
750 enable_option_checking
751 enable_silent_rules
752 enable_maintainer_mode
753 enable_dependency_tracking
754 with_mangle
755 '
756 ac_precious_vars='build_alias
757 host_alias
758 target_alias
759 CC
760 CFLAGS
761 LDFLAGS
762 LIBS
763 CPPFLAGS'
764
765
766 # Initialize some variables set by options.
767 ac_init_help=
768 ac_init_version=false
769 ac_unrecognized_opts=
770 ac_unrecognized_sep=
771 # The variables have the same names as the options, with
772 # dashes changed to underlines.
773 cache_file=/dev/null
774 exec_prefix=NONE
775 no_create=
776 no_recursion=
777 prefix=NONE
778 program_prefix=NONE
779 program_suffix=NONE
780 program_transform_name=s,x,x,
781 silent=
782 site=
783 srcdir=
784 verbose=
785 x_includes=NONE
786 x_libraries=NONE
787
788 # Installation directory options.
789 # These are left unexpanded so users can "make install exec_prefix=/foo"
790 # and all the variables that are supposed to be based on exec_prefix
791 # by default will actually change.
792 # Use braces instead of parens because sh, perl, etc. also accept them.
793 # (The list follows the same order as the GNU Coding Standards.)
794 bindir='${exec_prefix}/bin'
795 sbindir='${exec_prefix}/sbin'
796 libexecdir='${exec_prefix}/libexec'
797 datarootdir='${prefix}/share'
798 datadir='${datarootdir}'
799 sysconfdir='${prefix}/etc'
800 sharedstatedir='${prefix}/com'
801 localstatedir='${prefix}/var'
802 runstatedir='${localstatedir}/run'
803 includedir='${prefix}/include'
804 oldincludedir='/usr/include'
805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir='${datarootdir}/info'
807 htmldir='${docdir}'
808 dvidir='${docdir}'
809 pdfdir='${docdir}'
810 psdir='${docdir}'
811 libdir='${exec_prefix}/lib'
812 localedir='${datarootdir}/locale'
813 mandir='${datarootdir}/man'
814
815 ac_prev=
816 ac_dashdash=
817 for ac_option
818 do
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\$ac_option
822 ac_prev=
823 continue
824 fi
825
826 case $ac_option in
827 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 *=) ac_optarg= ;;
829 *) ac_optarg=yes ;;
830 esac
831
832 case $ac_dashdash$ac_option in
833 --)
834 ac_dashdash=yes ;;
835
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
837 ac_prev=bindir ;;
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839 bindir=$ac_optarg ;;
840
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
845
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
852
853 --config-cache | -C)
854 cache_file=config.cache ;;
855
856 -datadir | --datadir | --datadi | --datad)
857 ac_prev=datadir ;;
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
860
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
867
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: '$ac_useropt'"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
876 *"
877 "enable_$ac_useropt"
878 "*) ;;
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
881 esac
882 eval enable_$ac_useropt=no ;;
883
884 -docdir | --docdir | --docdi | --doc | --do)
885 ac_prev=docdir ;;
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887 docdir=$ac_optarg ;;
888
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
890 ac_prev=dvidir ;;
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892 dvidir=$ac_optarg ;;
893
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: '$ac_useropt'"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
902 *"
903 "enable_$ac_useropt"
904 "*) ;;
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
907 esac
908 eval enable_$ac_useropt=\$ac_optarg ;;
909
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
918
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
921 with_gas=yes ;;
922
923 -help | --help | --hel | --he | -h)
924 ac_init_help=long ;;
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
929
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
934
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 ac_prev=htmldir ;;
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 | --ht=*)
939 htmldir=$ac_optarg ;;
940
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
947
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 ac_prev=infodir ;;
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
952
953 -libdir | --libdir | --libdi | --libd)
954 ac_prev=libdir ;;
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 libdir=$ac_optarg ;;
957
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
964
965 -localedir | --localedir | --localedi | --localed | --locale)
966 ac_prev=localedir ;;
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
969
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
976
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 ac_prev=mandir ;;
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 mandir=$ac_optarg ;;
981
982 -nfp | --nfp | --nf)
983 # Obsolete; use --without-fp.
984 with_fp=no ;;
985
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
988 no_create=yes ;;
989
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 no_recursion=yes ;;
993
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1002
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 ac_prev=prefix ;;
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1007
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1014
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1021
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1038
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 ac_prev=pdfdir ;;
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1043
1044 -psdir | --psdir | --psdi | --psd | --ps)
1045 ac_prev=psdir ;;
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 psdir=$ac_optarg ;;
1048
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1051 silent=yes ;;
1052
1053 -runstatedir | --runstatedir | --runstatedi | --runstated \
1054 | --runstate | --runstat | --runsta | --runst | --runs \
1055 | --run | --ru | --r)
1056 ac_prev=runstatedir ;;
1057 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1058 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1059 | --run=* | --ru=* | --r=*)
1060 runstatedir=$ac_optarg ;;
1061
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1067
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1078
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1083
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1088
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1095
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1100
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1103
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1106
1107 -with-* | --with-*)
1108 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111 as_fn_error $? "invalid package name: '$ac_useropt'"
1112 ac_useropt_orig=$ac_useropt
1113 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1115 *"
1116 "with_$ac_useropt"
1117 "*) ;;
1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1119 ac_unrecognized_sep=', ';;
1120 esac
1121 eval with_$ac_useropt=\$ac_optarg ;;
1122
1123 -without-* | --without-*)
1124 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: '$ac_useropt'"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1131 *"
1132 "with_$ac_useropt"
1133 "*) ;;
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1136 esac
1137 eval with_$ac_useropt=no ;;
1138
1139 --x)
1140 # Obsolete; use --with-x.
1141 with_x=yes ;;
1142
1143 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1144 | --x-incl | --x-inc | --x-in | --x-i)
1145 ac_prev=x_includes ;;
1146 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1147 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1148 x_includes=$ac_optarg ;;
1149
1150 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1151 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1152 ac_prev=x_libraries ;;
1153 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1154 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1155 x_libraries=$ac_optarg ;;
1156
1157 -*) as_fn_error $? "unrecognized option: '$ac_option'
1158 Try '$0 --help' for more information"
1159 ;;
1160
1161 *=*)
1162 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1163 # Reject names that are not valid shell variable names.
1164 case $ac_envvar in #(
1165 '' | [0-9]* | *[!_$as_cr_alnum]* )
1166 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1167 esac
1168 eval $ac_envvar=\$ac_optarg
1169 export $ac_envvar ;;
1170
1171 *)
1172 # FIXME: should be removed in autoconf 3.0.
1173 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1174 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1175 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1176 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1177 ;;
1178
1179 esac
1180 done
1181
1182 if test -n "$ac_prev"; then
1183 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1184 as_fn_error $? "missing argument to $ac_option"
1185 fi
1186
1187 if test -n "$ac_unrecognized_opts"; then
1188 case $enable_option_checking in
1189 no) ;;
1190 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1191 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1192 esac
1193 fi
1194
1195 # Check all directory arguments for consistency.
1196 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1197 datadir sysconfdir sharedstatedir localstatedir includedir \
1198 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1199 libdir localedir mandir runstatedir
1200 do
1201 eval ac_val=\$$ac_var
1202 # Remove trailing slashes.
1203 case $ac_val in
1204 */ )
1205 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1206 eval $ac_var=\$ac_val;;
1207 esac
1208 # Be sure to have absolute directory names.
1209 case $ac_val in
1210 [\\/$]* | ?:[\\/]* ) continue;;
1211 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1212 esac
1213 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1214 done
1215
1216 # There might be people who depend on the old broken behavior: '$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1219 build=$build_alias
1220 host=$host_alias
1221 target=$target_alias
1222
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x; then
1225 if test "x$build_alias" = x; then
1226 cross_compiling=maybe
1227 elif test "x$build_alias" != "x$host_alias"; then
1228 cross_compiling=yes
1229 fi
1230 fi
1231
1232 ac_tool_prefix=
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234
1235 test "$silent" = yes && exec 6>/dev/null
1236
1237
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241 as_fn_error $? "working directory cannot be determined"
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243 as_fn_error $? "pwd does not report name of working directory"
1244
1245
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248 ac_srcdir_defaulted=yes
1249 # Try the directory containing this script, then the parent directory.
1250 ac_confdir=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252 X"$as_myself" : 'X\(//\)[^/]' \| \
1253 X"$as_myself" : 'X\(//\)$' \| \
1254 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 printf "%s\n" X"$as_myself" |
1256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 s//\1/
1258 q
1259 }
1260 /^X\(\/\/\)[^/].*/{
1261 s//\1/
1262 q
1263 }
1264 /^X\(\/\/\)$/{
1265 s//\1/
1266 q
1267 }
1268 /^X\(\/\).*/{
1269 s//\1/
1270 q
1271 }
1272 s/.*/./; q'`
1273 srcdir=$ac_confdir
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 srcdir=..
1276 fi
1277 else
1278 ac_srcdir_defaulted=no
1279 fi
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1282 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 fi
1284 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1285 ac_abs_confdir=`(
1286 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 pwd)`
1288 # When building in place, set srcdir=.
1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
1290 srcdir=.
1291 fi
1292 # Remove unnecessary trailing slashes from srcdir.
1293 # Double slashes in file names in object file debugging info
1294 # mess up M-x gdb in Emacs.
1295 case $srcdir in
1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 esac
1298 for ac_var in $ac_precious_vars; do
1299 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1300 eval ac_env_${ac_var}_value=\$${ac_var}
1301 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1302 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303 done
1304
1305 #
1306 # Report the --help message.
1307 #
1308 if test "$ac_init_help" = "long"; then
1309 # Omit some internal or obsolete options to make the list less imposing.
1310 # This message is too long to be a string in the A/UX 3.1 sh.
1311 cat <<_ACEOF
1312 'configure' configures mingw-w64-gendef 1.1 to adapt to many kinds of systems.
1313
1314 Usage: $0 [OPTION]... [VAR=VALUE]...
1315
1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317 VAR=VALUE. See below for descriptions of some of the useful variables.
1318
1319 Defaults for the options are specified in brackets.
1320
1321 Configuration:
1322 -h, --help display this help and exit
1323 --help=short display options specific to this package
1324 --help=recursive display the short help of all the included packages
1325 -V, --version display version information and exit
1326 -q, --quiet, --silent do not print 'checking ...' messages
1327 --cache-file=FILE cache test results in FILE [disabled]
1328 -C, --config-cache alias for '--cache-file=config.cache'
1329 -n, --no-create do not create output files
1330 --srcdir=DIR find the sources in DIR [configure dir or '..']
1331
1332 Installation directories:
1333 --prefix=PREFIX install architecture-independent files in PREFIX
1334 [$ac_default_prefix]
1335 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1336 [PREFIX]
1337
1338 By default, 'make install' will install all the files in
1339 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1340 an installation prefix other than '$ac_default_prefix' using '--prefix',
1341 for instance '--prefix=\$HOME'.
1342
1343 For better control, use the options below.
1344
1345 Fine tuning of the installation directories:
1346 --bindir=DIR user executables [EPREFIX/bin]
1347 --sbindir=DIR system admin executables [EPREFIX/sbin]
1348 --libexecdir=DIR program executables [EPREFIX/libexec]
1349 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1350 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1351 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1352 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1353 --libdir=DIR object code libraries [EPREFIX/lib]
1354 --includedir=DIR C header files [PREFIX/include]
1355 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358 --infodir=DIR info documentation [DATAROOTDIR/info]
1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360 --mandir=DIR man documentation [DATAROOTDIR/man]
1361 --docdir=DIR documentation root
1362 [DATAROOTDIR/doc/mingw-w64-gendef]
1363 --htmldir=DIR html documentation [DOCDIR]
1364 --dvidir=DIR dvi documentation [DOCDIR]
1365 --pdfdir=DIR pdf documentation [DOCDIR]
1366 --psdir=DIR ps documentation [DOCDIR]
1367 _ACEOF
1368
1369 cat <<\_ACEOF
1370
1371 Program names:
1372 --program-prefix=PREFIX prepend PREFIX to installed program names
1373 --program-suffix=SUFFIX append SUFFIX to installed program names
1374 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1375
1376 System types:
1377 --build=BUILD configure for building on BUILD [guessed]
1378 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1379 _ACEOF
1380 fi
1381
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive ) echo "Configuration of mingw-w64-gendef 1.1:";;
1385 esac
1386 cat <<\_ACEOF
1387
1388 Optional Features:
1389 --disable-option-checking ignore unrecognized --enable/--with options
1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1392 --enable-silent-rules less verbose build output (undo: "make V=1")
1393 --disable-silent-rules verbose build output (undo: "make V=0")
1394 --enable-maintainer-mode
1395 enable make rules and dependencies not useful (and
1396 sometimes confusing) to the casual installer
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401
1402 Optional Packages:
1403 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1404 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1405 --with-mangle=ARG Use the libmangle package to build gendef. If ARG is
1406 given, set to the libmangle installation prefix.
1407
1408 Some influential environment variables:
1409 CC C compiler command
1410 CFLAGS C compiler flags
1411 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1412 nonstandard directory <lib dir>
1413 LIBS libraries to pass to the linker, e.g. -l<library>
1414 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1415 you have headers in a nonstandard directory <include dir>
1416
1417 Use these variables to override the choices made by 'configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1419
1420 Report bugs to <[email protected]>.
1421 _ACEOF
1422 ac_status=$?
1423 fi
1424
1425 if test "$ac_init_help" = "recursive"; then
1426 # If there are subdirs, report their specific --help.
1427 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428 test -d "$ac_dir" ||
1429 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 continue
1431 ac_builddir=.
1432
1433 case "$ac_dir" in
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *)
1436 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1437 # A ".." for each directory in $ac_dir_suffix.
1438 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1439 case $ac_top_builddir_sub in
1440 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442 esac ;;
1443 esac
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1448
1449 case $srcdir in
1450 .) # We are building in place.
1451 ac_srcdir=.
1452 ac_top_srcdir=$ac_top_builddir_sub
1453 ac_abs_top_srcdir=$ac_pwd ;;
1454 [\\/]* | ?:[\\/]* ) # Absolute name.
1455 ac_srcdir=$srcdir$ac_dir_suffix;
1456 ac_top_srcdir=$srcdir
1457 ac_abs_top_srcdir=$srcdir ;;
1458 *) # Relative name.
1459 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460 ac_top_srcdir=$ac_top_build_prefix$srcdir
1461 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 esac
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464
1465 cd "$ac_dir" || { ac_status=$?; continue; }
1466 # Check for configure.gnu first; this name is used for a wrapper for
1467 # Metaconfig's "Configure" on case-insensitive file systems.
1468 if test -f "$ac_srcdir/configure.gnu"; then
1469 echo &&
1470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1471 elif test -f "$ac_srcdir/configure"; then
1472 echo &&
1473 $SHELL "$ac_srcdir/configure" --help=recursive
1474 else
1475 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1476 fi || ac_status=$?
1477 cd "$ac_pwd" || { ac_status=$?; break; }
1478 done
1479 fi
1480
1481 test -n "$ac_init_help" && exit $ac_status
1482 if $ac_init_version; then
1483 cat <<\_ACEOF
1484 mingw-w64-gendef configure 1.1
1485 generated by GNU Autoconf 2.72
1486
1487 Copyright (C) 2023 Free Software Foundation, Inc.
1488 This configure script is free software; the Free Software Foundation
1489 gives unlimited permission to copy, distribute and modify it.
1490 _ACEOF
1491 exit
1492 fi
1493
1494 ## ------------------------ ##
1495 ## Autoconf initialization. ##
1496 ## ------------------------ ##
1497
1498 # ac_fn_c_try_compile LINENO
1499 # --------------------------
1500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1501 ac_fn_c_try_compile ()
1502 {
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 rm -f conftest.$ac_objext conftest.beam
1505 if { { ac_try="$ac_compile"
1506 case "(($ac_try" in
1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508 *) ac_try_echo=$ac_try;;
1509 esac
1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511 printf "%s\n" "$ac_try_echo"; } >&5
1512 (eval "$ac_compile") 2>conftest.err
1513 ac_status=$?
1514 if test -s conftest.err; then
1515 grep -v '^ *+' conftest.err >conftest.er1
1516 cat conftest.er1 >&5
1517 mv -f conftest.er1 conftest.err
1518 fi
1519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520 test $ac_status = 0; } && {
1521 test -z "$ac_c_werror_flag" ||
1522 test ! -s conftest.err
1523 } && test -s conftest.$ac_objext
1524 then :
1525 ac_retval=0
1526 else case e in #(
1527 e) printf "%s\n" "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1529
1530 ac_retval=1 ;;
1531 esac
1532 fi
1533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534 as_fn_set_status $ac_retval
1535
1536 } # ac_fn_c_try_compile
1537
1538 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1539 # -------------------------------------------------------
1540 # Tests whether HEADER exists and can be compiled using the include files in
1541 # INCLUDES, setting the cache variable VAR accordingly.
1542 ac_fn_c_check_header_compile ()
1543 {
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1546 printf %s "checking for $2... " >&6; }
1547 if eval test \${$3+y}
1548 then :
1549 printf %s "(cached) " >&6
1550 else case e in #(
1551 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552 /* end confdefs.h. */
1553 $4
1554 #include <$2>
1555 _ACEOF
1556 if ac_fn_c_try_compile "$LINENO"
1557 then :
1558 eval "$3=yes"
1559 else case e in #(
1560 e) eval "$3=no" ;;
1561 esac
1562 fi
1563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1564 esac
1565 fi
1566 eval ac_res=\$$3
1567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568 printf "%s\n" "$ac_res" >&6; }
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570
1571 } # ac_fn_c_check_header_compile
1572
1573 # ac_fn_c_find_intX_t LINENO BITS VAR
1574 # -----------------------------------
1575 # Finds a signed integer type with width BITS, setting cache variable VAR
1576 # accordingly.
1577 ac_fn_c_find_intX_t ()
1578 {
1579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1581 printf %s "checking for int$2_t... " >&6; }
1582 if eval test \${$3+y}
1583 then :
1584 printf %s "(cached) " >&6
1585 else case e in #(
1586 e) eval "$3=no"
1587 # Order is important - never check a type that is potentially smaller
1588 # than half of the expected target width.
1589 for ac_type in int$2_t 'int' 'long int' \
1590 'long long int' 'short int' 'signed char'; do
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1593 $ac_includes_default
1594 enum { N = $2 / 2 - 1 };
1595 int
1596 main (void)
1597 {
1598 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1599 test_array [0] = 0;
1600 return test_array [0];
1601
1602 ;
1603 return 0;
1604 }
1605 _ACEOF
1606 if ac_fn_c_try_compile "$LINENO"
1607 then :
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1610 $ac_includes_default
1611 enum { N = $2 / 2 - 1 };
1612 int
1613 main (void)
1614 {
1615 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1616 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1617 test_array [0] = 0;
1618 return test_array [0];
1619
1620 ;
1621 return 0;
1622 }
1623 _ACEOF
1624 if ac_fn_c_try_compile "$LINENO"
1625 then :
1626
1627 else case e in #(
1628 e) case $ac_type in #(
1629 int$2_t) :
1630 eval "$3=yes" ;; #(
1631 *) :
1632 eval "$3=\$ac_type" ;;
1633 esac ;;
1634 esac
1635 fi
1636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1637 fi
1638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1639 if eval test \"x\$"$3"\" = x"no"
1640 then :
1641
1642 else case e in #(
1643 e) break ;;
1644 esac
1645 fi
1646 done ;;
1647 esac
1648 fi
1649 eval ac_res=\$$3
1650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 printf "%s\n" "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653
1654 } # ac_fn_c_find_intX_t
1655
1656 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1657 # -------------------------------------------
1658 # Tests whether TYPE exists after having included INCLUDES, setting cache
1659 # variable VAR accordingly.
1660 ac_fn_c_check_type ()
1661 {
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1664 printf %s "checking for $2... " >&6; }
1665 if eval test \${$3+y}
1666 then :
1667 printf %s "(cached) " >&6
1668 else case e in #(
1669 e) eval "$3=no"
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1672 $4
1673 int
1674 main (void)
1675 {
1676 if (sizeof ($2))
1677 return 0;
1678 ;
1679 return 0;
1680 }
1681 _ACEOF
1682 if ac_fn_c_try_compile "$LINENO"
1683 then :
1684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h. */
1686 $4
1687 int
1688 main (void)
1689 {
1690 if (sizeof (($2)))
1691 return 0;
1692 ;
1693 return 0;
1694 }
1695 _ACEOF
1696 if ac_fn_c_try_compile "$LINENO"
1697 then :
1698
1699 else case e in #(
1700 e) eval "$3=yes" ;;
1701 esac
1702 fi
1703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1704 fi
1705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1706 esac
1707 fi
1708 eval ac_res=\$$3
1709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710 printf "%s\n" "$ac_res" >&6; }
1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712
1713 } # ac_fn_c_check_type
1714
1715 # ac_fn_c_find_uintX_t LINENO BITS VAR
1716 # ------------------------------------
1717 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1718 # accordingly.
1719 ac_fn_c_find_uintX_t ()
1720 {
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1723 printf %s "checking for uint$2_t... " >&6; }
1724 if eval test \${$3+y}
1725 then :
1726 printf %s "(cached) " >&6
1727 else case e in #(
1728 e) eval "$3=no"
1729 # Order is important - never check a type that is potentially smaller
1730 # than half of the expected target width.
1731 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1732 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1735 $ac_includes_default
1736 int
1737 main (void)
1738 {
1739 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1740 test_array [0] = 0;
1741 return test_array [0];
1742
1743 ;
1744 return 0;
1745 }
1746 _ACEOF
1747 if ac_fn_c_try_compile "$LINENO"
1748 then :
1749 case $ac_type in #(
1750 uint$2_t) :
1751 eval "$3=yes" ;; #(
1752 *) :
1753 eval "$3=\$ac_type" ;;
1754 esac
1755 fi
1756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1757 if eval test \"x\$"$3"\" = x"no"
1758 then :
1759
1760 else case e in #(
1761 e) break ;;
1762 esac
1763 fi
1764 done ;;
1765 esac
1766 fi
1767 eval ac_res=\$$3
1768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 printf "%s\n" "$ac_res" >&6; }
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771
1772 } # ac_fn_c_find_uintX_t
1773
1774 # ac_fn_c_try_link LINENO
1775 # -----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_link ()
1778 {
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1781 if { { ac_try="$ac_link"
1782 case "(($ac_try" in
1783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1785 esac
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 printf "%s\n" "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>conftest.err
1789 ac_status=$?
1790 if test -s conftest.err; then
1791 grep -v '^ *+' conftest.err >conftest.er1
1792 cat conftest.er1 >&5
1793 mv -f conftest.er1 conftest.err
1794 fi
1795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest$ac_exeext && {
1800 test "$cross_compiling" = yes ||
1801 test -x conftest$ac_exeext
1802 }
1803 then :
1804 ac_retval=0
1805 else case e in #(
1806 e) printf "%s\n" "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809 ac_retval=1 ;;
1810 esac
1811 fi
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818 as_fn_set_status $ac_retval
1819
1820 } # ac_fn_c_try_link
1821
1822 # ac_fn_c_check_func LINENO FUNC VAR
1823 # ----------------------------------
1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1825 ac_fn_c_check_func ()
1826 {
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 printf %s "checking for $2... " >&6; }
1830 if eval test \${$3+y}
1831 then :
1832 printf %s "(cached) " >&6
1833 else case e in #(
1834 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838 #define $2 innocuous_$2
1839
1840 /* System header to define __stub macros and hopefully few prototypes,
1841 which can conflict with char $2 (void); below. */
1842
1843 #include <limits.h>
1844 #undef $2
1845
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1849 #ifdef __cplusplus
1850 extern "C"
1851 #endif
1852 char $2 (void);
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1857 choke me
1858 #endif
1859
1860 int
1861 main (void)
1862 {
1863 return $2 ();
1864 ;
1865 return 0;
1866 }
1867 _ACEOF
1868 if ac_fn_c_try_link "$LINENO"
1869 then :
1870 eval "$3=yes"
1871 else case e in #(
1872 e) eval "$3=no" ;;
1873 esac
1874 fi
1875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1876 conftest$ac_exeext conftest.$ac_ext ;;
1877 esac
1878 fi
1879 eval ac_res=\$$3
1880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 printf "%s\n" "$ac_res" >&6; }
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884 } # ac_fn_c_check_func
1885 ac_configure_args_raw=
1886 for ac_arg
1887 do
1888 case $ac_arg in
1889 *\'*)
1890 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1891 esac
1892 as_fn_append ac_configure_args_raw " '$ac_arg'"
1893 done
1894
1895 case $ac_configure_args_raw in
1896 *$as_nl*)
1897 ac_safe_unquote= ;;
1898 *)
1899 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1900 ac_unsafe_a="$ac_unsafe_z#~"
1901 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1902 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1903 esac
1904
1905 cat >config.log <<_ACEOF
1906 This file contains any messages produced by compilers while
1907 running configure, to aid debugging if configure makes a mistake.
1908
1909 It was created by mingw-w64-gendef $as_me 1.1, which was
1910 generated by GNU Autoconf 2.72. Invocation command line was
1911
1912 $ $0$ac_configure_args_raw
1913
1914 _ACEOF
1915 exec 5>>config.log
1916 {
1917 cat <<_ASUNAME
1918 ## --------- ##
1919 ## Platform. ##
1920 ## --------- ##
1921
1922 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1923 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1924 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1925 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1926 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1927
1928 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1929 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1930
1931 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1932 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1933 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1934 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1935 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1936 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1937 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1938
1939 _ASUNAME
1940
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1942 for as_dir in $PATH
1943 do
1944 IFS=$as_save_IFS
1945 case $as_dir in #(((
1946 '') as_dir=./ ;;
1947 */) ;;
1948 *) as_dir=$as_dir/ ;;
1949 esac
1950 printf "%s\n" "PATH: $as_dir"
1951 done
1952 IFS=$as_save_IFS
1953
1954 } >&5
1955
1956 cat >&5 <<_ACEOF
1957
1958
1959 ## ----------- ##
1960 ## Core tests. ##
1961 ## ----------- ##
1962
1963 _ACEOF
1964
1965
1966 # Keep a trace of the command line.
1967 # Strip out --no-create and --no-recursion so they do not pile up.
1968 # Strip out --silent because we don't want to record it for future runs.
1969 # Also quote any args containing shell meta-characters.
1970 # Make two passes to allow for proper duplicate-argument suppression.
1971 ac_configure_args=
1972 ac_configure_args0=
1973 ac_configure_args1=
1974 ac_must_keep_next=false
1975 for ac_pass in 1 2
1976 do
1977 for ac_arg
1978 do
1979 case $ac_arg in
1980 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1982 | -silent | --silent | --silen | --sile | --sil)
1983 continue ;;
1984 *\'*)
1985 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1986 esac
1987 case $ac_pass in
1988 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1989 2)
1990 as_fn_append ac_configure_args1 " '$ac_arg'"
1991 if test $ac_must_keep_next = true; then
1992 ac_must_keep_next=false # Got value, back to normal.
1993 else
1994 case $ac_arg in
1995 *=* | --config-cache | -C | -disable-* | --disable-* \
1996 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1997 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1998 | -with-* | --with-* | -without-* | --without-* | --x)
1999 case "$ac_configure_args0 " in
2000 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2001 esac
2002 ;;
2003 -* ) ac_must_keep_next=true ;;
2004 esac
2005 fi
2006 as_fn_append ac_configure_args " '$ac_arg'"
2007 ;;
2008 esac
2009 done
2010 done
2011 { ac_configure_args0=; unset ac_configure_args0;}
2012 { ac_configure_args1=; unset ac_configure_args1;}
2013
2014 # When interrupted or exit'd, cleanup temporary files, and complete
2015 # config.log. We remove comments because anyway the quotes in there
2016 # would cause problems or look ugly.
2017 # WARNING: Use '\'' to represent an apostrophe within the trap.
2018 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2019 trap 'exit_status=$?
2020 # Sanitize IFS.
2021 IFS=" "" $as_nl"
2022 # Save into config.log some information that might help in debugging.
2023 {
2024 echo
2025
2026 printf "%s\n" "## ---------------- ##
2027 ## Cache variables. ##
2028 ## ---------------- ##"
2029 echo
2030 # The following way of writing the cache mishandles newlines in values,
2031 (
2032 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2033 eval ac_val=\$$ac_var
2034 case $ac_val in #(
2035 *${as_nl}*)
2036 case $ac_var in #(
2037 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2038 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2039 esac
2040 case $ac_var in #(
2041 _ | IFS | as_nl) ;; #(
2042 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2043 *) { eval $ac_var=; unset $ac_var;} ;;
2044 esac ;;
2045 esac
2046 done
2047 (set) 2>&1 |
2048 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2049 *${as_nl}ac_space=\ *)
2050 sed -n \
2051 "s/'\''/'\''\\\\'\'''\''/g;
2052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2053 ;; #(
2054 *)
2055 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2056 ;;
2057 esac |
2058 sort
2059 )
2060 echo
2061
2062 printf "%s\n" "## ----------------- ##
2063 ## Output variables. ##
2064 ## ----------------- ##"
2065 echo
2066 for ac_var in $ac_subst_vars
2067 do
2068 eval ac_val=\$$ac_var
2069 case $ac_val in
2070 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 esac
2072 printf "%s\n" "$ac_var='\''$ac_val'\''"
2073 done | sort
2074 echo
2075
2076 if test -n "$ac_subst_files"; then
2077 printf "%s\n" "## ------------------- ##
2078 ## File substitutions. ##
2079 ## ------------------- ##"
2080 echo
2081 for ac_var in $ac_subst_files
2082 do
2083 eval ac_val=\$$ac_var
2084 case $ac_val in
2085 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2086 esac
2087 printf "%s\n" "$ac_var='\''$ac_val'\''"
2088 done | sort
2089 echo
2090 fi
2091
2092 if test -s confdefs.h; then
2093 printf "%s\n" "## ----------- ##
2094 ## confdefs.h. ##
2095 ## ----------- ##"
2096 echo
2097 cat confdefs.h
2098 echo
2099 fi
2100 test "$ac_signal" != 0 &&
2101 printf "%s\n" "$as_me: caught signal $ac_signal"
2102 printf "%s\n" "$as_me: exit $exit_status"
2103 } >&5
2104 rm -f core *.core core.conftest.* &&
2105 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2106 exit $exit_status
2107 ' 0
2108 for ac_signal in 1 2 13 15; do
2109 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2110 done
2111 ac_signal=0
2112
2113 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2114 rm -f -r conftest* confdefs.h
2115
2116 printf "%s\n" "/* confdefs.h */" > confdefs.h
2117
2118 # Predefined preprocessor variables.
2119
2120 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2121
2122 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2123
2124 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2125
2126 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2127
2128 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2129
2130 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2131
2132
2133 # Let the site file select an alternate cache file if it wants to.
2134 # Prefer an explicitly selected file to automatically selected ones.
2135 if test -n "$CONFIG_SITE"; then
2136 ac_site_files="$CONFIG_SITE"
2137 elif test "x$prefix" != xNONE; then
2138 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2139 else
2140 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2141 fi
2142
2143 for ac_site_file in $ac_site_files
2144 do
2145 case $ac_site_file in #(
2146 */*) :
2147 ;; #(
2148 *) :
2149 ac_site_file=./$ac_site_file ;;
2150 esac
2151 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2153 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2154 sed 's/^/| /' "$ac_site_file" >&5
2155 . "$ac_site_file" \
2156 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2157 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2158 as_fn_error $? "failed to load site script $ac_site_file
2159 See 'config.log' for more details" "$LINENO" 5; }
2160 fi
2161 done
2162
2163 if test -r "$cache_file"; then
2164 # Some versions of bash will fail to source /dev/null (special files
2165 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2166 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2168 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2169 case $cache_file in
2170 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2171 *) . "./$cache_file";;
2172 esac
2173 fi
2174 else
2175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2176 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2177 >$cache_file
2178 fi
2179
2180 # Test code for whether the C compiler supports C89 (global declarations)
2181 ac_c_conftest_c89_globals='
2182 /* Does the compiler advertise C89 conformance?
2183 Do not test the value of __STDC__, because some compilers set it to 0
2184 while being otherwise adequately conformant. */
2185 #if !defined __STDC__
2186 # error "Compiler does not advertise C89 conformance"
2187 #endif
2188
2189 #include <stddef.h>
2190 #include <stdarg.h>
2191 struct stat;
2192 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2193 struct buf { int x; };
2194 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2195 static char *e (char **p, int i)
2196 {
2197 return p[i];
2198 }
2199 static char *f (char * (*g) (char **, int), char **p, ...)
2200 {
2201 char *s;
2202 va_list v;
2203 va_start (v,p);
2204 s = g (p, va_arg (v,int));
2205 va_end (v);
2206 return s;
2207 }
2208
2209 /* C89 style stringification. */
2210 #define noexpand_stringify(a) #a
2211 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2212
2213 /* C89 style token pasting. Exercises some of the corner cases that
2214 e.g. old MSVC gets wrong, but not very hard. */
2215 #define noexpand_concat(a,b) a##b
2216 #define expand_concat(a,b) noexpand_concat(a,b)
2217 extern int vA;
2218 extern int vbee;
2219 #define aye A
2220 #define bee B
2221 int *pvA = &expand_concat(v,aye);
2222 int *pvbee = &noexpand_concat(v,bee);
2223
2224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2225 function prototypes and stuff, but not \xHH hex character constants.
2226 These do not provoke an error unfortunately, instead are silently treated
2227 as an "x". The following induces an error, until -std is added to get
2228 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2229 array size at least. It is necessary to write \x00 == 0 to get something
2230 that is true only with -std. */
2231 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2232
2233 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2234 inside strings and character constants. */
2235 #define FOO(x) '\''x'\''
2236 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2237
2238 int test (int i, double x);
2239 struct s1 {int (*f) (int a);};
2240 struct s2 {int (*f) (double a);};
2241 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2242 int, int);'
2243
2244 # Test code for whether the C compiler supports C89 (body of main).
2245 ac_c_conftest_c89_main='
2246 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2247 '
2248
2249 # Test code for whether the C compiler supports C99 (global declarations)
2250 ac_c_conftest_c99_globals='
2251 /* Does the compiler advertise C99 conformance? */
2252 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2253 # error "Compiler does not advertise C99 conformance"
2254 #endif
2255
2256 // See if C++-style comments work.
2257
2258 #include <stdbool.h>
2259 extern int puts (const char *);
2260 extern int printf (const char *, ...);
2261 extern int dprintf (int, const char *, ...);
2262 extern void *malloc (size_t);
2263 extern void free (void *);
2264
2265 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2266 // dprintf is used instead of fprintf to avoid needing to declare
2267 // FILE and stderr.
2268 #define debug(...) dprintf (2, __VA_ARGS__)
2269 #define showlist(...) puts (#__VA_ARGS__)
2270 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2271 static void
2272 test_varargs_macros (void)
2273 {
2274 int x = 1234;
2275 int y = 5678;
2276 debug ("Flag");
2277 debug ("X = %d\n", x);
2278 showlist (The first, second, and third items.);
2279 report (x>y, "x is %d but y is %d", x, y);
2280 }
2281
2282 // Check long long types.
2283 #define BIG64 18446744073709551615ull
2284 #define BIG32 4294967295ul
2285 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2286 #if !BIG_OK
2287 #error "your preprocessor is broken"
2288 #endif
2289 #if BIG_OK
2290 #else
2291 #error "your preprocessor is broken"
2292 #endif
2293 static long long int bignum = -9223372036854775807LL;
2294 static unsigned long long int ubignum = BIG64;
2295
2296 struct incomplete_array
2297 {
2298 int datasize;
2299 double data[];
2300 };
2301
2302 struct named_init {
2303 int number;
2304 const wchar_t *name;
2305 double average;
2306 };
2307
2308 typedef const char *ccp;
2309
2310 static inline int
2311 test_restrict (ccp restrict text)
2312 {
2313 // Iterate through items via the restricted pointer.
2314 // Also check for declarations in for loops.
2315 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2316 continue;
2317 return 0;
2318 }
2319
2320 // Check varargs and va_copy.
2321 static bool
2322 test_varargs (const char *format, ...)
2323 {
2324 va_list args;
2325 va_start (args, format);
2326 va_list args_copy;
2327 va_copy (args_copy, args);
2328
2329 const char *str = "";
2330 int number = 0;
2331 float fnumber = 0;
2332
2333 while (*format)
2334 {
2335 switch (*format++)
2336 {
2337 case '\''s'\'': // string
2338 str = va_arg (args_copy, const char *);
2339 break;
2340 case '\''d'\'': // int
2341 number = va_arg (args_copy, int);
2342 break;
2343 case '\''f'\'': // float
2344 fnumber = va_arg (args_copy, double);
2345 break;
2346 default:
2347 break;
2348 }
2349 }
2350 va_end (args_copy);
2351 va_end (args);
2352
2353 return *str && number && fnumber;
2354 }
2355 '
2356
2357 # Test code for whether the C compiler supports C99 (body of main).
2358 ac_c_conftest_c99_main='
2359 // Check bool.
2360 _Bool success = false;
2361 success |= (argc != 0);
2362
2363 // Check restrict.
2364 if (test_restrict ("String literal") == 0)
2365 success = true;
2366 char *restrict newvar = "Another string";
2367
2368 // Check varargs.
2369 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2370 test_varargs_macros ();
2371
2372 // Check flexible array members.
2373 struct incomplete_array *ia =
2374 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2375 ia->datasize = 10;
2376 for (int i = 0; i < ia->datasize; ++i)
2377 ia->data[i] = i * 1.234;
2378 // Work around memory leak warnings.
2379 free (ia);
2380
2381 // Check named initializers.
2382 struct named_init ni = {
2383 .number = 34,
2384 .name = L"Test wide string",
2385 .average = 543.34343,
2386 };
2387
2388 ni.number = 58;
2389
2390 int dynamic_array[ni.number];
2391 dynamic_array[0] = argv[0][0];
2392 dynamic_array[ni.number - 1] = 543;
2393
2394 // work around unused variable warnings
2395 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2396 || dynamic_array[ni.number - 1] != 543);
2397 '
2398
2399 # Test code for whether the C compiler supports C11 (global declarations)
2400 ac_c_conftest_c11_globals='
2401 /* Does the compiler advertise C11 conformance? */
2402 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2403 # error "Compiler does not advertise C11 conformance"
2404 #endif
2405
2406 // Check _Alignas.
2407 char _Alignas (double) aligned_as_double;
2408 char _Alignas (0) no_special_alignment;
2409 extern char aligned_as_int;
2410 char _Alignas (0) _Alignas (int) aligned_as_int;
2411
2412 // Check _Alignof.
2413 enum
2414 {
2415 int_alignment = _Alignof (int),
2416 int_array_alignment = _Alignof (int[100]),
2417 char_alignment = _Alignof (char)
2418 };
2419 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2420
2421 // Check _Noreturn.
2422 int _Noreturn does_not_return (void) { for (;;) continue; }
2423
2424 // Check _Static_assert.
2425 struct test_static_assert
2426 {
2427 int x;
2428 _Static_assert (sizeof (int) <= sizeof (long int),
2429 "_Static_assert does not work in struct");
2430 long int y;
2431 };
2432
2433 // Check UTF-8 literals.
2434 #define u8 syntax error!
2435 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2436
2437 // Check duplicate typedefs.
2438 typedef long *long_ptr;
2439 typedef long int *long_ptr;
2440 typedef long_ptr long_ptr;
2441
2442 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2443 struct anonymous
2444 {
2445 union {
2446 struct { int i; int j; };
2447 struct { int k; long int l; } w;
2448 };
2449 int m;
2450 } v1;
2451 '
2452
2453 # Test code for whether the C compiler supports C11 (body of main).
2454 ac_c_conftest_c11_main='
2455 _Static_assert ((offsetof (struct anonymous, i)
2456 == offsetof (struct anonymous, w.k)),
2457 "Anonymous union alignment botch");
2458 v1.i = 2;
2459 v1.w.k = 5;
2460 ok |= v1.i != 5;
2461 '
2462
2463 # Test code for whether the C compiler supports C11 (complete).
2464 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2465 ${ac_c_conftest_c99_globals}
2466 ${ac_c_conftest_c11_globals}
2467
2468 int
2469 main (int argc, char **argv)
2470 {
2471 int ok = 0;
2472 ${ac_c_conftest_c89_main}
2473 ${ac_c_conftest_c99_main}
2474 ${ac_c_conftest_c11_main}
2475 return ok;
2476 }
2477 "
2478
2479 # Test code for whether the C compiler supports C99 (complete).
2480 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2481 ${ac_c_conftest_c99_globals}
2482
2483 int
2484 main (int argc, char **argv)
2485 {
2486 int ok = 0;
2487 ${ac_c_conftest_c89_main}
2488 ${ac_c_conftest_c99_main}
2489 return ok;
2490 }
2491 "
2492
2493 # Test code for whether the C compiler supports C89 (complete).
2494 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2495
2496 int
2497 main (int argc, char **argv)
2498 {
2499 int ok = 0;
2500 ${ac_c_conftest_c89_main}
2501 return ok;
2502 }
2503 "
2504
2505 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2506 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2507 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2508 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2509 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2510 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2511 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2512 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2513 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2514
2515 # Auxiliary files required by this configure script.
2516 ac_aux_files="compile config.guess config.sub missing install-sh"
2517
2518 # Locations in which to look for auxiliary files.
2519 ac_aux_dir_candidates="${srcdir}/build-aux"
2520
2521 # Search for a directory containing all of the required auxiliary files,
2522 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2523 # If we don't find one directory that contains all the files we need,
2524 # we report the set of missing files from the *first* directory in
2525 # $ac_aux_dir_candidates and give up.
2526 ac_missing_aux_files=""
2527 ac_first_candidate=:
2528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 as_found=false
2531 for as_dir in $ac_aux_dir_candidates
2532 do
2533 IFS=$as_save_IFS
2534 case $as_dir in #(((
2535 '') as_dir=./ ;;
2536 */) ;;
2537 *) as_dir=$as_dir/ ;;
2538 esac
2539 as_found=:
2540
2541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2542 ac_aux_dir_found=yes
2543 ac_install_sh=
2544 for ac_aux in $ac_aux_files
2545 do
2546 # As a special case, if "install-sh" is required, that requirement
2547 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2548 # and $ac_install_sh is set appropriately for whichever one is found.
2549 if test x"$ac_aux" = x"install-sh"
2550 then
2551 if test -f "${as_dir}install-sh"; then
2552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2553 ac_install_sh="${as_dir}install-sh -c"
2554 elif test -f "${as_dir}install.sh"; then
2555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2556 ac_install_sh="${as_dir}install.sh -c"
2557 elif test -f "${as_dir}shtool"; then
2558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2559 ac_install_sh="${as_dir}shtool install -c"
2560 else
2561 ac_aux_dir_found=no
2562 if $ac_first_candidate; then
2563 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2564 else
2565 break
2566 fi
2567 fi
2568 else
2569 if test -f "${as_dir}${ac_aux}"; then
2570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2571 else
2572 ac_aux_dir_found=no
2573 if $ac_first_candidate; then
2574 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2575 else
2576 break
2577 fi
2578 fi
2579 fi
2580 done
2581 if test "$ac_aux_dir_found" = yes; then
2582 ac_aux_dir="$as_dir"
2583 break
2584 fi
2585 ac_first_candidate=false
2586
2587 as_found=false
2588 done
2589 IFS=$as_save_IFS
2590 if $as_found
2591 then :
2592
2593 else case e in #(
2594 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2595 esac
2596 fi
2597
2598
2599 # These three variables are undocumented and unsupported,
2600 # and are intended to be withdrawn in a future Autoconf release.
2601 # They can cause serious problems if a builder's source tree is in a directory
2602 # whose full name contains unusual characters.
2603 if test -f "${ac_aux_dir}config.guess"; then
2604 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2605 fi
2606 if test -f "${ac_aux_dir}config.sub"; then
2607 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2608 fi
2609 if test -f "$ac_aux_dir/configure"; then
2610 ac_configure="$SHELL ${ac_aux_dir}configure"
2611 fi
2612
2613 # Check that the precious variables saved in the cache have kept the same
2614 # value.
2615 ac_cache_corrupted=false
2616 for ac_var in $ac_precious_vars; do
2617 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2618 eval ac_new_set=\$ac_env_${ac_var}_set
2619 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2620 eval ac_new_val=\$ac_env_${ac_var}_value
2621 case $ac_old_set,$ac_new_set in
2622 set,)
2623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2624 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2625 ac_cache_corrupted=: ;;
2626 ,set)
2627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2628 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2629 ac_cache_corrupted=: ;;
2630 ,);;
2631 *)
2632 if test "x$ac_old_val" != "x$ac_new_val"; then
2633 # differences in whitespace do not lead to failure.
2634 ac_old_val_w=`echo x $ac_old_val`
2635 ac_new_val_w=`echo x $ac_new_val`
2636 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2638 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2639 ac_cache_corrupted=:
2640 else
2641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2642 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2643 eval $ac_var=\$ac_old_val
2644 fi
2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2646 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2648 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2649 fi;;
2650 esac
2651 # Pass precious variables to config.status.
2652 if test "$ac_new_set" = set; then
2653 case $ac_new_val in
2654 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2655 *) ac_arg=$ac_var=$ac_new_val ;;
2656 esac
2657 case " $ac_configure_args " in
2658 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2659 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2660 esac
2661 fi
2662 done
2663 if $ac_cache_corrupted; then
2664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2665 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2667 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2668 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2669 and start over" "$LINENO" 5
2670 fi
2671 ## -------------------- ##
2672 ## Main body of script. ##
2673 ## -------------------- ##
2674
2675 ac_ext=c
2676 ac_cpp='$CPP $CPPFLAGS'
2677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680
2681
2682
2683
2684 ac_config_headers="$ac_config_headers config.h"
2685
2686
2687 am__api_version='1.16'
2688
2689
2690
2691 # Find a good install program. We prefer a C program (faster),
2692 # so one script is as good as another. But avoid the broken or
2693 # incompatible versions:
2694 # SysV /etc/install, /usr/sbin/install
2695 # SunOS /usr/etc/install
2696 # IRIX /sbin/install
2697 # AIX /bin/install
2698 # AmigaOS /C/install, which installs bootblocks on floppy discs
2699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2702 # OS/2's system install, which has a completely different semantic
2703 # ./install, which can be erroneously created by make from ./install.sh.
2704 # Reject install programs that cannot install multiple files.
2705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2706 printf %s "checking for a BSD-compatible install... " >&6; }
2707 if test -z "$INSTALL"; then
2708 if test ${ac_cv_path_install+y}
2709 then :
2710 printf %s "(cached) " >&6
2711 else case e in #(
2712 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 for as_dir in $PATH
2714 do
2715 IFS=$as_save_IFS
2716 case $as_dir in #(((
2717 '') as_dir=./ ;;
2718 */) ;;
2719 *) as_dir=$as_dir/ ;;
2720 esac
2721 # Account for fact that we put trailing slashes in our PATH walk.
2722 case $as_dir in #((
2723 ./ | /[cC]/* | \
2724 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2725 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2726 /usr/ucb/* ) ;;
2727 *)
2728 # OSF1 and SCO ODT 3.0 have their own names for install.
2729 # Don't use installbsd from OSF since it installs stuff as root
2730 # by default.
2731 for ac_prog in ginstall scoinst install; do
2732 for ac_exec_ext in '' $ac_executable_extensions; do
2733 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2734 if test $ac_prog = install &&
2735 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2736 # AIX install. It has an incompatible calling convention.
2737 :
2738 elif test $ac_prog = install &&
2739 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2740 # program-specific install script used by HP pwplus--don't use.
2741 :
2742 else
2743 rm -rf conftest.one conftest.two conftest.dir
2744 echo one > conftest.one
2745 echo two > conftest.two
2746 mkdir conftest.dir
2747 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2748 test -s conftest.one && test -s conftest.two &&
2749 test -s conftest.dir/conftest.one &&
2750 test -s conftest.dir/conftest.two
2751 then
2752 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2753 break 3
2754 fi
2755 fi
2756 fi
2757 done
2758 done
2759 ;;
2760 esac
2761
2762 done
2763 IFS=$as_save_IFS
2764
2765 rm -rf conftest.one conftest.two conftest.dir
2766 ;;
2767 esac
2768 fi
2769 if test ${ac_cv_path_install+y}; then
2770 INSTALL=$ac_cv_path_install
2771 else
2772 # As a last resort, use the slow shell script. Don't cache a
2773 # value for INSTALL within a source directory, because that will
2774 # break other packages using the cache if that directory is
2775 # removed, or if the value is a relative name.
2776 INSTALL=$ac_install_sh
2777 fi
2778 fi
2779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2780 printf "%s\n" "$INSTALL" >&6; }
2781
2782 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2783 # It thinks the first close brace ends the variable substitution.
2784 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2785
2786 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2787
2788 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2789
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2791 printf %s "checking whether build environment is sane... " >&6; }
2792 # Reject unsafe characters in $srcdir or the absolute working directory
2793 # name. Accept space and tab only in the latter.
2794 am_lf='
2795 '
2796 case `pwd` in
2797 *[\\\"\#\$\&\'\`$am_lf]*)
2798 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2799 esac
2800 case $srcdir in
2801 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2802 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2803 esac
2804
2805 # Do 'set' in a subshell so we don't clobber the current shell's
2806 # arguments. Must try -L first in case configure is actually a
2807 # symlink; some systems play weird games with the mod time of symlinks
2808 # (eg FreeBSD returns the mod time of the symlink's containing
2809 # directory).
2810 if (
2811 am_has_slept=no
2812 for am_try in 1 2; do
2813 echo "timestamp, slept: $am_has_slept" > conftest.file
2814 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2815 if test "$*" = "X"; then
2816 # -L didn't work.
2817 set X `ls -t "$srcdir/configure" conftest.file`
2818 fi
2819 if test "$*" != "X $srcdir/configure conftest.file" \
2820 && test "$*" != "X conftest.file $srcdir/configure"; then
2821
2822 # If neither matched, then we have a broken ls. This can happen
2823 # if, for instance, CONFIG_SHELL is bash and it inherits a
2824 # broken ls alias from the environment. This has actually
2825 # happened. Such a system could not be considered "sane".
2826 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2827 alias in your environment" "$LINENO" 5
2828 fi
2829 if test "$2" = conftest.file || test $am_try -eq 2; then
2830 break
2831 fi
2832 # Just in case.
2833 sleep 1
2834 am_has_slept=yes
2835 done
2836 test "$2" = conftest.file
2837 )
2838 then
2839 # Ok.
2840 :
2841 else
2842 as_fn_error $? "newly created file is older than distributed files!
2843 Check your system clock" "$LINENO" 5
2844 fi
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2846 printf "%s\n" "yes" >&6; }
2847 # If we didn't sleep, we still need to ensure time stamps of config.status and
2848 # generated files are strictly newer.
2849 am_sleep_pid=
2850 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2851 ( sleep 1 ) &
2852 am_sleep_pid=$!
2853 fi
2854
2855 rm -f conftest.file
2856
2857 test "$program_prefix" != NONE &&
2858 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2859 # Use a double $ so make ignores it.
2860 test "$program_suffix" != NONE &&
2861 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2862 # Double any \ or $.
2863 # By default was 's,x,x', remove it if useless.
2864 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2865 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2866
2867
2868 # Expand $ac_aux_dir to an absolute path.
2869 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2870
2871
2872 if test x"${MISSING+set}" != xset; then
2873 MISSING="\${SHELL} '$am_aux_dir/missing'"
2874 fi
2875 # Use eval to expand $SHELL
2876 if eval "$MISSING --is-lightweight"; then
2877 am_missing_run="$MISSING "
2878 else
2879 am_missing_run=
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2881 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2882 fi
2883
2884 if test x"${install_sh+set}" != xset; then
2885 case $am_aux_dir in
2886 *\ * | *\ *)
2887 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2888 *)
2889 install_sh="\${SHELL} $am_aux_dir/install-sh"
2890 esac
2891 fi
2892
2893 # Installed binaries are usually stripped using 'strip' when the user
2894 # run "make install-strip". However 'strip' might not be the right
2895 # tool to use in cross-compilation environments, therefore Automake
2896 # will honor the 'STRIP' environment variable to overrule this program.
2897 if test "$cross_compiling" != no; then
2898 if test -n "$ac_tool_prefix"; then
2899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2900 set dummy ${ac_tool_prefix}strip; ac_word=$2
2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2902 printf %s "checking for $ac_word... " >&6; }
2903 if test ${ac_cv_prog_STRIP+y}
2904 then :
2905 printf %s "(cached) " >&6
2906 else case e in #(
2907 e) if test -n "$STRIP"; then
2908 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2909 else
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 for as_dir in $PATH
2912 do
2913 IFS=$as_save_IFS
2914 case $as_dir in #(((
2915 '') as_dir=./ ;;
2916 */) ;;
2917 *) as_dir=$as_dir/ ;;
2918 esac
2919 for ac_exec_ext in '' $ac_executable_extensions; do
2920 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2921 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2923 break 2
2924 fi
2925 done
2926 done
2927 IFS=$as_save_IFS
2928
2929 fi ;;
2930 esac
2931 fi
2932 STRIP=$ac_cv_prog_STRIP
2933 if test -n "$STRIP"; then
2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2935 printf "%s\n" "$STRIP" >&6; }
2936 else
2937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 printf "%s\n" "no" >&6; }
2939 fi
2940
2941
2942 fi
2943 if test -z "$ac_cv_prog_STRIP"; then
2944 ac_ct_STRIP=$STRIP
2945 # Extract the first word of "strip", so it can be a program name with args.
2946 set dummy strip; ac_word=$2
2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 printf %s "checking for $ac_word... " >&6; }
2949 if test ${ac_cv_prog_ac_ct_STRIP+y}
2950 then :
2951 printf %s "(cached) " >&6
2952 else case e in #(
2953 e) if test -n "$ac_ct_STRIP"; then
2954 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2955 else
2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 for as_dir in $PATH
2958 do
2959 IFS=$as_save_IFS
2960 case $as_dir in #(((
2961 '') as_dir=./ ;;
2962 */) ;;
2963 *) as_dir=$as_dir/ ;;
2964 esac
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_ac_ct_STRIP="strip"
2968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2969 break 2
2970 fi
2971 done
2972 done
2973 IFS=$as_save_IFS
2974
2975 fi ;;
2976 esac
2977 fi
2978 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2979 if test -n "$ac_ct_STRIP"; then
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2981 printf "%s\n" "$ac_ct_STRIP" >&6; }
2982 else
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 printf "%s\n" "no" >&6; }
2985 fi
2986
2987 if test "x$ac_ct_STRIP" = x; then
2988 STRIP=":"
2989 else
2990 case $cross_compiling:$ac_tool_warned in
2991 yes:)
2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2994 ac_tool_warned=yes ;;
2995 esac
2996 STRIP=$ac_ct_STRIP
2997 fi
2998 else
2999 STRIP="$ac_cv_prog_STRIP"
3000 fi
3001
3002 fi
3003 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3004
3005
3006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3007 printf %s "checking for a race-free mkdir -p... " >&6; }
3008 if test -z "$MKDIR_P"; then
3009 if test ${ac_cv_path_mkdir+y}
3010 then :
3011 printf %s "(cached) " >&6
3012 else case e in #(
3013 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3015 do
3016 IFS=$as_save_IFS
3017 case $as_dir in #(((
3018 '') as_dir=./ ;;
3019 */) ;;
3020 *) as_dir=$as_dir/ ;;
3021 esac
3022 for ac_prog in mkdir gmkdir; do
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3025 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3026 'mkdir ('*'coreutils) '* | \
3027 *'BusyBox '* | \
3028 'mkdir (fileutils) '4.1*)
3029 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3030 break 3;;
3031 esac
3032 done
3033 done
3034 done
3035 IFS=$as_save_IFS
3036 ;;
3037 esac
3038 fi
3039
3040 test -d ./--version && rmdir ./--version
3041 if test ${ac_cv_path_mkdir+y}; then
3042 MKDIR_P="$ac_cv_path_mkdir -p"
3043 else
3044 # As a last resort, use plain mkdir -p,
3045 # in the hope it doesn't have the bugs of ancient mkdir.
3046 MKDIR_P='mkdir -p'
3047 fi
3048 fi
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3050 printf "%s\n" "$MKDIR_P" >&6; }
3051
3052 for ac_prog in gawk mawk nawk awk
3053 do
3054 # Extract the first word of "$ac_prog", so it can be a program name with args.
3055 set dummy $ac_prog; ac_word=$2
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 printf %s "checking for $ac_word... " >&6; }
3058 if test ${ac_cv_prog_AWK+y}
3059 then :
3060 printf %s "(cached) " >&6
3061 else case e in #(
3062 e) if test -n "$AWK"; then
3063 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3064 else
3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3066 for as_dir in $PATH
3067 do
3068 IFS=$as_save_IFS
3069 case $as_dir in #(((
3070 '') as_dir=./ ;;
3071 */) ;;
3072 *) as_dir=$as_dir/ ;;
3073 esac
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_AWK="$ac_prog"
3077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3078 break 2
3079 fi
3080 done
3081 done
3082 IFS=$as_save_IFS
3083
3084 fi ;;
3085 esac
3086 fi
3087 AWK=$ac_cv_prog_AWK
3088 if test -n "$AWK"; then
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3090 printf "%s\n" "$AWK" >&6; }
3091 else
3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 printf "%s\n" "no" >&6; }
3094 fi
3095
3096
3097 test -n "$AWK" && break
3098 done
3099
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3101 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3102 set x ${MAKE-make}
3103 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3104 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3105 then :
3106 printf %s "(cached) " >&6
3107 else case e in #(
3108 e) cat >conftest.make <<\_ACEOF
3109 SHELL = /bin/sh
3110 all:
3111 @echo '@@@%%%=$(MAKE)=@@@%%%'
3112 _ACEOF
3113 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3114 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3115 *@@@%%%=?*=@@@%%%*)
3116 eval ac_cv_prog_make_${ac_make}_set=yes;;
3117 *)
3118 eval ac_cv_prog_make_${ac_make}_set=no;;
3119 esac
3120 rm -f conftest.make ;;
3121 esac
3122 fi
3123 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3125 printf "%s\n" "yes" >&6; }
3126 SET_MAKE=
3127 else
3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 printf "%s\n" "no" >&6; }
3130 SET_MAKE="MAKE=${MAKE-make}"
3131 fi
3132
3133 rm -rf .tst 2>/dev/null
3134 mkdir .tst 2>/dev/null
3135 if test -d .tst; then
3136 am__leading_dot=.
3137 else
3138 am__leading_dot=_
3139 fi
3140 rmdir .tst 2>/dev/null
3141
3142 # Check whether --enable-silent-rules was given.
3143 if test ${enable_silent_rules+y}
3144 then :
3145 enableval=$enable_silent_rules;
3146 fi
3147
3148 case $enable_silent_rules in # (((
3149 yes) AM_DEFAULT_VERBOSITY=0;;
3150 no) AM_DEFAULT_VERBOSITY=1;;
3151 *) AM_DEFAULT_VERBOSITY=1;;
3152 esac
3153 am_make=${MAKE-make}
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3155 printf %s "checking whether $am_make supports nested variables... " >&6; }
3156 if test ${am_cv_make_support_nested_variables+y}
3157 then :
3158 printf %s "(cached) " >&6
3159 else case e in #(
3160 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3161 BAR0=false
3162 BAR1=true
3163 V=1
3164 am__doit:
3165 @$(TRUE)
3166 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3167 am_cv_make_support_nested_variables=yes
3168 else
3169 am_cv_make_support_nested_variables=no
3170 fi ;;
3171 esac
3172 fi
3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3174 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3175 if test $am_cv_make_support_nested_variables = yes; then
3176 AM_V='$(V)'
3177 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3178 else
3179 AM_V=$AM_DEFAULT_VERBOSITY
3180 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3181 fi
3182 AM_BACKSLASH='\'
3183
3184 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3185 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3186 # is not polluted with repeated "-I."
3187 am__isrc=' -I$(srcdir)'
3188 # test to see if srcdir already configured
3189 if test -f $srcdir/config.status; then
3190 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3191 fi
3192 fi
3193
3194 # test whether we have cygpath
3195 if test -z "$CYGPATH_W"; then
3196 if (cygpath --version) >/dev/null 2>/dev/null; then
3197 CYGPATH_W='cygpath -w'
3198 else
3199 CYGPATH_W=echo
3200 fi
3201 fi
3202
3203
3204 # Define the identity of the package.
3205 PACKAGE='mingw-w64-gendef'
3206 VERSION='1.1'
3207
3208
3209 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3210
3211
3212 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3213
3214 # Some tools Automake needs.
3215
3216 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3217
3218
3219 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3220
3221
3222 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3223
3224
3225 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3226
3227
3228 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3229
3230 # For better backward compatibility. To be removed once Automake 1.9.x
3231 # dies out for good. For more background, see:
3232 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3233 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3234 mkdir_p='$(MKDIR_P)'
3235
3236 # We need awk for the "check" target (and possibly the TAP driver). The
3237 # system "awk" is bad on some platforms.
3238 # Always define AMTAR for backward compatibility. Yes, it's still used
3239 # in the wild :-( We should find a proper way to deprecate it ...
3240 AMTAR='$${TAR-tar}'
3241
3242
3243 # We'll loop over all known methods to create a tar archive until one works.
3244 _am_tools='gnutar pax cpio none'
3245
3246 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3247
3248
3249
3250
3251
3252 # Variables for tags utilities; see am/tags.am
3253 if test -z "$CTAGS"; then
3254 CTAGS=ctags
3255 fi
3256
3257 if test -z "$ETAGS"; then
3258 ETAGS=etags
3259 fi
3260
3261 if test -z "$CSCOPE"; then
3262 CSCOPE=cscope
3263 fi
3264
3265
3266
3267 # POSIX will say in a future version that running "rm -f" with no argument
3268 # is OK; and we want to be able to make that assumption in our Makefile
3269 # recipes. So use an aggressive probe to check that the usage we want is
3270 # actually supported "in the wild" to an acceptable degree.
3271 # See automake bug#10828.
3272 # To make any issue more visible, cause the running configure to be aborted
3273 # by default if the 'rm' program in use doesn't match our expectations; the
3274 # user can still override this though.
3275 if rm -f && rm -fr && rm -rf; then : OK; else
3276 cat >&2 <<'END'
3277 Oops!
3278
3279 Your 'rm' program seems unable to run without file operands specified
3280 on the command line, even when the '-f' option is present. This is contrary
3281 to the behaviour of most rm programs out there, and not conforming with
3282 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3283
3284 Please tell [email protected] about your system, including the value
3285 of your $PATH and any error possibly output before this message. This
3286 can help us improve future automake versions.
3287
3288 END
3289 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3290 echo 'Configuration will proceed anyway, since you have set the' >&2
3291 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3292 echo >&2
3293 else
3294 cat >&2 <<'END'
3295 Aborting the configuration process, to ensure you take notice of the issue.
3296
3297 You can download and install GNU coreutils to get an 'rm' implementation
3298 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3299
3300 If you want to complete the configuration process using your problematic
3301 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3302 to "yes", and re-run configure.
3303
3304 END
3305 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3306 fi
3307 fi
3308
3309
3310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3311 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3312 # Check whether --enable-maintainer-mode was given.
3313 if test ${enable_maintainer_mode+y}
3314 then :
3315 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3316 else case e in #(
3317 e) USE_MAINTAINER_MODE=no ;;
3318 esac
3319 fi
3320
3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3322 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3323 if test $USE_MAINTAINER_MODE = yes; then
3324 MAINTAINER_MODE_TRUE=
3325 MAINTAINER_MODE_FALSE='#'
3326 else
3327 MAINTAINER_MODE_TRUE='#'
3328 MAINTAINER_MODE_FALSE=
3329 fi
3330
3331 MAINT=$MAINTAINER_MODE_TRUE
3332
3333
3334
3335
3336
3337 # Make sure we can run config.sub.
3338 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3339 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3340
3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3342 printf %s "checking build system type... " >&6; }
3343 if test ${ac_cv_build+y}
3344 then :
3345 printf %s "(cached) " >&6
3346 else case e in #(
3347 e) ac_build_alias=$build_alias
3348 test "x$ac_build_alias" = x &&
3349 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3350 test "x$ac_build_alias" = x &&
3351 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3352 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3353 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3354 ;;
3355 esac
3356 fi
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3358 printf "%s\n" "$ac_cv_build" >&6; }
3359 case $ac_cv_build in
3360 *-*-*) ;;
3361 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3362 esac
3363 build=$ac_cv_build
3364 ac_save_IFS=$IFS; IFS='-'
3365 set x $ac_cv_build
3366 shift
3367 build_cpu=$1
3368 build_vendor=$2
3369 shift; shift
3370 # Remember, the first character of IFS is used to create $*,
3371 # except with old shells:
3372 build_os=$*
3373 IFS=$ac_save_IFS
3374 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3375
3376
3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3378 printf %s "checking host system type... " >&6; }
3379 if test ${ac_cv_host+y}
3380 then :
3381 printf %s "(cached) " >&6
3382 else case e in #(
3383 e) if test "x$host_alias" = x; then
3384 ac_cv_host=$ac_cv_build
3385 else
3386 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3387 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3388 fi
3389 ;;
3390 esac
3391 fi
3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3393 printf "%s\n" "$ac_cv_host" >&6; }
3394 case $ac_cv_host in
3395 *-*-*) ;;
3396 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3397 esac
3398 host=$ac_cv_host
3399 ac_save_IFS=$IFS; IFS='-'
3400 set x $ac_cv_host
3401 shift
3402 host_cpu=$1
3403 host_vendor=$2
3404 shift; shift
3405 # Remember, the first character of IFS is used to create $*,
3406 # except with old shells:
3407 host_os=$*
3408 IFS=$ac_save_IFS
3409 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3410
3411
3412
3413 # Checks for programs.
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423 ac_ext=c
3424 ac_cpp='$CPP $CPPFLAGS'
3425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 if test -n "$ac_tool_prefix"; then
3429 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3430 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3432 printf %s "checking for $ac_word... " >&6; }
3433 if test ${ac_cv_prog_CC+y}
3434 then :
3435 printf %s "(cached) " >&6
3436 else case e in #(
3437 e) if test -n "$CC"; then
3438 ac_cv_prog_CC="$CC" # Let the user override the test.
3439 else
3440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3441 for as_dir in $PATH
3442 do
3443 IFS=$as_save_IFS
3444 case $as_dir in #(((
3445 '') as_dir=./ ;;
3446 */) ;;
3447 *) as_dir=$as_dir/ ;;
3448 esac
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3451 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3453 break 2
3454 fi
3455 done
3456 done
3457 IFS=$as_save_IFS
3458
3459 fi ;;
3460 esac
3461 fi
3462 CC=$ac_cv_prog_CC
3463 if test -n "$CC"; then
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 printf "%s\n" "$CC" >&6; }
3466 else
3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 printf "%s\n" "no" >&6; }
3469 fi
3470
3471
3472 fi
3473 if test -z "$ac_cv_prog_CC"; then
3474 ac_ct_CC=$CC
3475 # Extract the first word of "gcc", so it can be a program name with args.
3476 set dummy gcc; ac_word=$2
3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 printf %s "checking for $ac_word... " >&6; }
3479 if test ${ac_cv_prog_ac_ct_CC+y}
3480 then :
3481 printf %s "(cached) " >&6
3482 else case e in #(
3483 e) if test -n "$ac_ct_CC"; then
3484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489 IFS=$as_save_IFS
3490 case $as_dir in #(((
3491 '') as_dir=./ ;;
3492 */) ;;
3493 *) as_dir=$as_dir/ ;;
3494 esac
3495 for ac_exec_ext in '' $ac_executable_extensions; do
3496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_ac_ct_CC="gcc"
3498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3499 break 2
3500 fi
3501 done
3502 done
3503 IFS=$as_save_IFS
3504
3505 fi ;;
3506 esac
3507 fi
3508 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3509 if test -n "$ac_ct_CC"; then
3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3511 printf "%s\n" "$ac_ct_CC" >&6; }
3512 else
3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 printf "%s\n" "no" >&6; }
3515 fi
3516
3517 if test "x$ac_ct_CC" = x; then
3518 CC=""
3519 else
3520 case $cross_compiling:$ac_tool_warned in
3521 yes:)
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3523 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3524 ac_tool_warned=yes ;;
3525 esac
3526 CC=$ac_ct_CC
3527 fi
3528 else
3529 CC="$ac_cv_prog_CC"
3530 fi
3531
3532 if test -z "$CC"; then
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}cc; ac_word=$2
3536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 printf %s "checking for $ac_word... " >&6; }
3538 if test ${ac_cv_prog_CC+y}
3539 then :
3540 printf %s "(cached) " >&6
3541 else case e in #(
3542 e) if test -n "$CC"; then
3543 ac_cv_prog_CC="$CC" # Let the user override the test.
3544 else
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3546 for as_dir in $PATH
3547 do
3548 IFS=$as_save_IFS
3549 case $as_dir in #(((
3550 '') as_dir=./ ;;
3551 */) ;;
3552 *) as_dir=$as_dir/ ;;
3553 esac
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_CC="${ac_tool_prefix}cc"
3557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3558 break 2
3559 fi
3560 done
3561 done
3562 IFS=$as_save_IFS
3563
3564 fi ;;
3565 esac
3566 fi
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 printf "%s\n" "$CC" >&6; }
3571 else
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 printf "%s\n" "no" >&6; }
3574 fi
3575
3576
3577 fi
3578 fi
3579 if test -z "$CC"; then
3580 # Extract the first word of "cc", so it can be a program name with args.
3581 set dummy cc; ac_word=$2
3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 printf %s "checking for $ac_word... " >&6; }
3584 if test ${ac_cv_prog_CC+y}
3585 then :
3586 printf %s "(cached) " >&6
3587 else case e in #(
3588 e) if test -n "$CC"; then
3589 ac_cv_prog_CC="$CC" # Let the user override the test.
3590 else
3591 ac_prog_rejected=no
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3594 do
3595 IFS=$as_save_IFS
3596 case $as_dir in #(((
3597 '') as_dir=./ ;;
3598 */) ;;
3599 *) as_dir=$as_dir/ ;;
3600 esac
3601 for ac_exec_ext in '' $ac_executable_extensions; do
3602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3603 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3604 ac_prog_rejected=yes
3605 continue
3606 fi
3607 ac_cv_prog_CC="cc"
3608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 if test $ac_prog_rejected = yes; then
3616 # We found a bogon in the path, so make sure we never use it.
3617 set dummy $ac_cv_prog_CC
3618 shift
3619 if test $# != 0; then
3620 # We chose a different compiler from the bogus one.
3621 # However, it has the same basename, so the bogon will be chosen
3622 # first if we set CC to just the basename; use the full file name.
3623 shift
3624 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3625 fi
3626 fi
3627 fi ;;
3628 esac
3629 fi
3630 CC=$ac_cv_prog_CC
3631 if test -n "$CC"; then
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3633 printf "%s\n" "$CC" >&6; }
3634 else
3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 printf "%s\n" "no" >&6; }
3637 fi
3638
3639
3640 fi
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 for ac_prog in cl.exe
3644 do
3645 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 printf %s "checking for $ac_word... " >&6; }
3649 if test ${ac_cv_prog_CC+y}
3650 then :
3651 printf %s "(cached) " >&6
3652 else case e in #(
3653 e) if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3658 do
3659 IFS=$as_save_IFS
3660 case $as_dir in #(((
3661 '') as_dir=./ ;;
3662 */) ;;
3663 *) as_dir=$as_dir/ ;;
3664 esac
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3667 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671 done
3672 done
3673 IFS=$as_save_IFS
3674
3675 fi ;;
3676 esac
3677 fi
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 printf "%s\n" "$CC" >&6; }
3682 else
3683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 printf "%s\n" "no" >&6; }
3685 fi
3686
3687
3688 test -n "$CC" && break
3689 done
3690 fi
3691 if test -z "$CC"; then
3692 ac_ct_CC=$CC
3693 for ac_prog in cl.exe
3694 do
3695 # Extract the first word of "$ac_prog", so it can be a program name with args.
3696 set dummy $ac_prog; ac_word=$2
3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 printf %s "checking for $ac_word... " >&6; }
3699 if test ${ac_cv_prog_ac_ct_CC+y}
3700 then :
3701 printf %s "(cached) " >&6
3702 else case e in #(
3703 e) if test -n "$ac_ct_CC"; then
3704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3708 do
3709 IFS=$as_save_IFS
3710 case $as_dir in #(((
3711 '') as_dir=./ ;;
3712 */) ;;
3713 *) as_dir=$as_dir/ ;;
3714 esac
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_ac_ct_CC="$ac_prog"
3718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3719 break 2
3720 fi
3721 done
3722 done
3723 IFS=$as_save_IFS
3724
3725 fi ;;
3726 esac
3727 fi
3728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3729 if test -n "$ac_ct_CC"; then
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3731 printf "%s\n" "$ac_ct_CC" >&6; }
3732 else
3733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 printf "%s\n" "no" >&6; }
3735 fi
3736
3737
3738 test -n "$ac_ct_CC" && break
3739 done
3740
3741 if test "x$ac_ct_CC" = x; then
3742 CC=""
3743 else
3744 case $cross_compiling:$ac_tool_warned in
3745 yes:)
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3747 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3748 ac_tool_warned=yes ;;
3749 esac
3750 CC=$ac_ct_CC
3751 fi
3752 fi
3753
3754 fi
3755 if test -z "$CC"; then
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3758 set dummy ${ac_tool_prefix}clang; ac_word=$2
3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 printf %s "checking for $ac_word... " >&6; }
3761 if test ${ac_cv_prog_CC+y}
3762 then :
3763 printf %s "(cached) " >&6
3764 else case e in #(
3765 e) if test -n "$CC"; then
3766 ac_cv_prog_CC="$CC" # Let the user override the test.
3767 else
3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3769 for as_dir in $PATH
3770 do
3771 IFS=$as_save_IFS
3772 case $as_dir in #(((
3773 '') as_dir=./ ;;
3774 */) ;;
3775 *) as_dir=$as_dir/ ;;
3776 esac
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_CC="${ac_tool_prefix}clang"
3780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3781 break 2
3782 fi
3783 done
3784 done
3785 IFS=$as_save_IFS
3786
3787 fi ;;
3788 esac
3789 fi
3790 CC=$ac_cv_prog_CC
3791 if test -n "$CC"; then
3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3793 printf "%s\n" "$CC" >&6; }
3794 else
3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 printf "%s\n" "no" >&6; }
3797 fi
3798
3799
3800 fi
3801 if test -z "$ac_cv_prog_CC"; then
3802 ac_ct_CC=$CC
3803 # Extract the first word of "clang", so it can be a program name with args.
3804 set dummy clang; ac_word=$2
3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 printf %s "checking for $ac_word... " >&6; }
3807 if test ${ac_cv_prog_ac_ct_CC+y}
3808 then :
3809 printf %s "(cached) " >&6
3810 else case e in #(
3811 e) if test -n "$ac_ct_CC"; then
3812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3813 else
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815 for as_dir in $PATH
3816 do
3817 IFS=$as_save_IFS
3818 case $as_dir in #(((
3819 '') as_dir=./ ;;
3820 */) ;;
3821 *) as_dir=$as_dir/ ;;
3822 esac
3823 for ac_exec_ext in '' $ac_executable_extensions; do
3824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3825 ac_cv_prog_ac_ct_CC="clang"
3826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3827 break 2
3828 fi
3829 done
3830 done
3831 IFS=$as_save_IFS
3832
3833 fi ;;
3834 esac
3835 fi
3836 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3837 if test -n "$ac_ct_CC"; then
3838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3839 printf "%s\n" "$ac_ct_CC" >&6; }
3840 else
3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 printf "%s\n" "no" >&6; }
3843 fi
3844
3845 if test "x$ac_ct_CC" = x; then
3846 CC=""
3847 else
3848 case $cross_compiling:$ac_tool_warned in
3849 yes:)
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3851 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3852 ac_tool_warned=yes ;;
3853 esac
3854 CC=$ac_ct_CC
3855 fi
3856 else
3857 CC="$ac_cv_prog_CC"
3858 fi
3859
3860 fi
3861
3862
3863 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3864 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3865 as_fn_error $? "no acceptable C compiler found in \$PATH
3866 See 'config.log' for more details" "$LINENO" 5; }
3867
3868 # Provide some information about the compiler.
3869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3870 set X $ac_compile
3871 ac_compiler=$2
3872 for ac_option in --version -v -V -qversion -version; do
3873 { { ac_try="$ac_compiler $ac_option >&5"
3874 case "(($ac_try" in
3875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3877 esac
3878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3879 printf "%s\n" "$ac_try_echo"; } >&5
3880 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3881 ac_status=$?
3882 if test -s conftest.err; then
3883 sed '10a\
3884 ... rest of stderr output deleted ...
3885 10q' conftest.err >conftest.er1
3886 cat conftest.er1 >&5
3887 fi
3888 rm -f conftest.er1 conftest.err
3889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }
3891 done
3892
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3895
3896 int
3897 main (void)
3898 {
3899
3900 ;
3901 return 0;
3902 }
3903 _ACEOF
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3908 # of exeext.
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3910 printf %s "checking whether the C compiler works... " >&6; }
3911 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3912
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3915
3916 ac_rmfiles=
3917 for ac_file in $ac_files
3918 do
3919 case $ac_file in
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 esac
3923 done
3924 rm -f $ac_rmfiles
3925
3926 if { { ac_try="$ac_link_default"
3927 case "(($ac_try" in
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 printf "%s\n" "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3934 ac_status=$?
3935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }
3937 then :
3938 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3939 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3940 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3941 # so that the user can short-circuit this test for compilers unknown to
3942 # Autoconf.
3943 for ac_file in $ac_files ''
3944 do
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 ;;
3949 [ab].out )
3950 # We found the default executable, but exeext='' is most
3951 # certainly right.
3952 break;;
3953 *.* )
3954 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3955 then :; else
3956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 fi
3958 # We set ac_cv_exeext here because the later test for it is not
3959 # safe: cross compilers may not add the suffix if given an '-o'
3960 # argument, so we may need to know it at that point already.
3961 # Even if this section looks crufty: it has the advantage of
3962 # actually working.
3963 break;;
3964 * )
3965 break;;
3966 esac
3967 done
3968 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969
3970 else case e in #(
3971 e) ac_file='' ;;
3972 esac
3973 fi
3974 if test -z "$ac_file"
3975 then :
3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 printf "%s\n" "no" >&6; }
3978 printf "%s\n" "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3980
3981 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3982 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3983 as_fn_error 77 "C compiler cannot create executables
3984 See 'config.log' for more details" "$LINENO" 5; }
3985 else case e in #(
3986 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3987 printf "%s\n" "yes" >&6; } ;;
3988 esac
3989 fi
3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3991 printf %s "checking for C compiler default output file name... " >&6; }
3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3993 printf "%s\n" "$ac_file" >&6; }
3994 ac_exeext=$ac_cv_exeext
3995
3996 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3997 ac_clean_files=$ac_clean_files_save
3998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3999 printf %s "checking for suffix of executables... " >&6; }
4000 if { { ac_try="$ac_link"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 printf "%s\n" "$ac_try_echo"; } >&5
4007 (eval "$ac_link") 2>&5
4008 ac_status=$?
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }
4011 then :
4012 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4013 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4014 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4015 # 'rm'.
4016 for ac_file in conftest.exe conftest conftest.*; do
4017 test -f "$ac_file" || continue
4018 case $ac_file in
4019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4021 break;;
4022 * ) break;;
4023 esac
4024 done
4025 else case e in #(
4026 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4027 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4028 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4029 See 'config.log' for more details" "$LINENO" 5; } ;;
4030 esac
4031 fi
4032 rm -f conftest conftest$ac_cv_exeext
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 printf "%s\n" "$ac_cv_exeext" >&6; }
4035
4036 rm -f conftest.$ac_ext
4037 EXEEXT=$ac_cv_exeext
4038 ac_exeext=$EXEEXT
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4041 #include <stdio.h>
4042 int
4043 main (void)
4044 {
4045 FILE *f = fopen ("conftest.out", "w");
4046 if (!f)
4047 return 1;
4048 return ferror (f) || fclose (f) != 0;
4049
4050 ;
4051 return 0;
4052 }
4053 _ACEOF
4054 ac_clean_files="$ac_clean_files conftest.out"
4055 # Check that the compiler produces executables we can run. If not, either
4056 # the compiler is broken, or we cross compile.
4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4058 printf %s "checking whether we are cross compiling... " >&6; }
4059 if test "$cross_compiling" != yes; then
4060 { { ac_try="$ac_link"
4061 case "(($ac_try" in
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4064 esac
4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4066 printf "%s\n" "$ac_try_echo"; } >&5
4067 (eval "$ac_link") 2>&5
4068 ac_status=$?
4069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4070 test $ac_status = 0; }
4071 if { ac_try='./conftest$ac_cv_exeext'
4072 { { case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077 printf "%s\n" "$ac_try_echo"; } >&5
4078 (eval "$ac_try") 2>&5
4079 ac_status=$?
4080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081 test $ac_status = 0; }; }; then
4082 cross_compiling=no
4083 else
4084 if test "$cross_compiling" = maybe; then
4085 cross_compiling=yes
4086 else
4087 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4088 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4089 as_fn_error 77 "cannot run C compiled programs.
4090 If you meant to cross compile, use '--host'.
4091 See 'config.log' for more details" "$LINENO" 5; }
4092 fi
4093 fi
4094 fi
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4096 printf "%s\n" "$cross_compiling" >&6; }
4097
4098 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4099 conftest.o conftest.obj conftest.out
4100 ac_clean_files=$ac_clean_files_save
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4102 printf %s "checking for suffix of object files... " >&6; }
4103 if test ${ac_cv_objext+y}
4104 then :
4105 printf %s "(cached) " >&6
4106 else case e in #(
4107 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4109
4110 int
4111 main (void)
4112 {
4113
4114 ;
4115 return 0;
4116 }
4117 _ACEOF
4118 rm -f conftest.o conftest.obj
4119 if { { ac_try="$ac_compile"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 printf "%s\n" "$ac_try_echo"; } >&5
4126 (eval "$ac_compile") 2>&5
4127 ac_status=$?
4128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }
4130 then :
4131 for ac_file in conftest.o conftest.obj conftest.*; do
4132 test -f "$ac_file" || continue;
4133 case $ac_file in
4134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4136 break;;
4137 esac
4138 done
4139 else case e in #(
4140 e) printf "%s\n" "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4142
4143 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4144 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4145 as_fn_error $? "cannot compute suffix of object files: cannot compile
4146 See 'config.log' for more details" "$LINENO" 5; } ;;
4147 esac
4148 fi
4149 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4150 esac
4151 fi
4152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4153 printf "%s\n" "$ac_cv_objext" >&6; }
4154 OBJEXT=$ac_cv_objext
4155 ac_objext=$OBJEXT
4156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4157 printf %s "checking whether the compiler supports GNU C... " >&6; }
4158 if test ${ac_cv_c_compiler_gnu+y}
4159 then :
4160 printf %s "(cached) " >&6
4161 else case e in #(
4162 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main (void)
4167 {
4168 #ifndef __GNUC__
4169 choke me
4170 #endif
4171
4172 ;
4173 return 0;
4174 }
4175 _ACEOF
4176 if ac_fn_c_try_compile "$LINENO"
4177 then :
4178 ac_compiler_gnu=yes
4179 else case e in #(
4180 e) ac_compiler_gnu=no ;;
4181 esac
4182 fi
4183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4184 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4185 ;;
4186 esac
4187 fi
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4189 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4191
4192 if test $ac_compiler_gnu = yes; then
4193 GCC=yes
4194 else
4195 GCC=
4196 fi
4197 ac_test_CFLAGS=${CFLAGS+y}
4198 ac_save_CFLAGS=$CFLAGS
4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4200 printf %s "checking whether $CC accepts -g... " >&6; }
4201 if test ${ac_cv_prog_cc_g+y}
4202 then :
4203 printf %s "(cached) " >&6
4204 else case e in #(
4205 e) ac_save_c_werror_flag=$ac_c_werror_flag
4206 ac_c_werror_flag=yes
4207 ac_cv_prog_cc_g=no
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211
4212 int
4213 main (void)
4214 {
4215
4216 ;
4217 return 0;
4218 }
4219 _ACEOF
4220 if ac_fn_c_try_compile "$LINENO"
4221 then :
4222 ac_cv_prog_cc_g=yes
4223 else case e in #(
4224 e) CFLAGS=""
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4227
4228 int
4229 main (void)
4230 {
4231
4232 ;
4233 return 0;
4234 }
4235 _ACEOF
4236 if ac_fn_c_try_compile "$LINENO"
4237 then :
4238
4239 else case e in #(
4240 e) ac_c_werror_flag=$ac_save_c_werror_flag
4241 CFLAGS="-g"
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4244
4245 int
4246 main (void)
4247 {
4248
4249 ;
4250 return 0;
4251 }
4252 _ACEOF
4253 if ac_fn_c_try_compile "$LINENO"
4254 then :
4255 ac_cv_prog_cc_g=yes
4256 fi
4257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4258 esac
4259 fi
4260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4261 esac
4262 fi
4263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4264 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4265 esac
4266 fi
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4268 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4269 if test $ac_test_CFLAGS; then
4270 CFLAGS=$ac_save_CFLAGS
4271 elif test $ac_cv_prog_cc_g = yes; then
4272 if test "$GCC" = yes; then
4273 CFLAGS="-g -O2"
4274 else
4275 CFLAGS="-g"
4276 fi
4277 else
4278 if test "$GCC" = yes; then
4279 CFLAGS="-O2"
4280 else
4281 CFLAGS=
4282 fi
4283 fi
4284 ac_prog_cc_stdc=no
4285 if test x$ac_prog_cc_stdc = xno
4286 then :
4287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4288 printf %s "checking for $CC option to enable C11 features... " >&6; }
4289 if test ${ac_cv_prog_cc_c11+y}
4290 then :
4291 printf %s "(cached) " >&6
4292 else case e in #(
4293 e) ac_cv_prog_cc_c11=no
4294 ac_save_CC=$CC
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4297 $ac_c_conftest_c11_program
4298 _ACEOF
4299 for ac_arg in '' -std=gnu11
4300 do
4301 CC="$ac_save_CC $ac_arg"
4302 if ac_fn_c_try_compile "$LINENO"
4303 then :
4304 ac_cv_prog_cc_c11=$ac_arg
4305 fi
4306 rm -f core conftest.err conftest.$ac_objext conftest.beam
4307 test "x$ac_cv_prog_cc_c11" != "xno" && break
4308 done
4309 rm -f conftest.$ac_ext
4310 CC=$ac_save_CC ;;
4311 esac
4312 fi
4313
4314 if test "x$ac_cv_prog_cc_c11" = xno
4315 then :
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4317 printf "%s\n" "unsupported" >&6; }
4318 else case e in #(
4319 e) if test "x$ac_cv_prog_cc_c11" = x
4320 then :
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 printf "%s\n" "none needed" >&6; }
4323 else case e in #(
4324 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4325 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4326 CC="$CC $ac_cv_prog_cc_c11" ;;
4327 esac
4328 fi
4329 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4330 ac_prog_cc_stdc=c11 ;;
4331 esac
4332 fi
4333 fi
4334 if test x$ac_prog_cc_stdc = xno
4335 then :
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4337 printf %s "checking for $CC option to enable C99 features... " >&6; }
4338 if test ${ac_cv_prog_cc_c99+y}
4339 then :
4340 printf %s "(cached) " >&6
4341 else case e in #(
4342 e) ac_cv_prog_cc_c99=no
4343 ac_save_CC=$CC
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346 $ac_c_conftest_c99_program
4347 _ACEOF
4348 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4349 do
4350 CC="$ac_save_CC $ac_arg"
4351 if ac_fn_c_try_compile "$LINENO"
4352 then :
4353 ac_cv_prog_cc_c99=$ac_arg
4354 fi
4355 rm -f core conftest.err conftest.$ac_objext conftest.beam
4356 test "x$ac_cv_prog_cc_c99" != "xno" && break
4357 done
4358 rm -f conftest.$ac_ext
4359 CC=$ac_save_CC ;;
4360 esac
4361 fi
4362
4363 if test "x$ac_cv_prog_cc_c99" = xno
4364 then :
4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4366 printf "%s\n" "unsupported" >&6; }
4367 else case e in #(
4368 e) if test "x$ac_cv_prog_cc_c99" = x
4369 then :
4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4371 printf "%s\n" "none needed" >&6; }
4372 else case e in #(
4373 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4374 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4375 CC="$CC $ac_cv_prog_cc_c99" ;;
4376 esac
4377 fi
4378 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4379 ac_prog_cc_stdc=c99 ;;
4380 esac
4381 fi
4382 fi
4383 if test x$ac_prog_cc_stdc = xno
4384 then :
4385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4386 printf %s "checking for $CC option to enable C89 features... " >&6; }
4387 if test ${ac_cv_prog_cc_c89+y}
4388 then :
4389 printf %s "(cached) " >&6
4390 else case e in #(
4391 e) ac_cv_prog_cc_c89=no
4392 ac_save_CC=$CC
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4395 $ac_c_conftest_c89_program
4396 _ACEOF
4397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4398 do
4399 CC="$ac_save_CC $ac_arg"
4400 if ac_fn_c_try_compile "$LINENO"
4401 then :
4402 ac_cv_prog_cc_c89=$ac_arg
4403 fi
4404 rm -f core conftest.err conftest.$ac_objext conftest.beam
4405 test "x$ac_cv_prog_cc_c89" != "xno" && break
4406 done
4407 rm -f conftest.$ac_ext
4408 CC=$ac_save_CC ;;
4409 esac
4410 fi
4411
4412 if test "x$ac_cv_prog_cc_c89" = xno
4413 then :
4414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4415 printf "%s\n" "unsupported" >&6; }
4416 else case e in #(
4417 e) if test "x$ac_cv_prog_cc_c89" = x
4418 then :
4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4420 printf "%s\n" "none needed" >&6; }
4421 else case e in #(
4422 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4423 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4424 CC="$CC $ac_cv_prog_cc_c89" ;;
4425 esac
4426 fi
4427 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4428 ac_prog_cc_stdc=c89 ;;
4429 esac
4430 fi
4431 fi
4432
4433 ac_ext=c
4434 ac_cpp='$CPP $CPPFLAGS'
4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4438
4439
4440 ac_ext=c
4441 ac_cpp='$CPP $CPPFLAGS'
4442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4446 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4447 if test ${am_cv_prog_cc_c_o+y}
4448 then :
4449 printf %s "(cached) " >&6
4450 else case e in #(
4451 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4453
4454 int
4455 main (void)
4456 {
4457
4458 ;
4459 return 0;
4460 }
4461 _ACEOF
4462 # Make sure it works both with $CC and with simple cc.
4463 # Following AC_PROG_CC_C_O, we do the test twice because some
4464 # compilers refuse to overwrite an existing .o file with -o,
4465 # though they will create one.
4466 am_cv_prog_cc_c_o=yes
4467 for am_i in 1 2; do
4468 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4469 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4470 ac_status=$?
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } \
4473 && test -f conftest2.$ac_objext; then
4474 : OK
4475 else
4476 am_cv_prog_cc_c_o=no
4477 break
4478 fi
4479 done
4480 rm -f core conftest*
4481 unset am_i ;;
4482 esac
4483 fi
4484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4485 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4486 if test "$am_cv_prog_cc_c_o" != yes; then
4487 # Losing compiler, so override with the script.
4488 # FIXME: It is wrong to rewrite CC.
4489 # But if we don't then we get into trouble of one sort or another.
4490 # A longer-term fix would be to have automake use am__CC in this case,
4491 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4492 CC="$am_aux_dir/compile $CC"
4493 fi
4494 ac_ext=c
4495 ac_cpp='$CPP $CPPFLAGS'
4496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4499
4500 DEPDIR="${am__leading_dot}deps"
4501
4502 ac_config_commands="$ac_config_commands depfiles"
4503
4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4505 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4506 cat > confinc.mk << 'END'
4507 am__doit:
4508 @echo this is the am__doit target >confinc.out
4509 .PHONY: am__doit
4510 END
4511 am__include="#"
4512 am__quote=
4513 # BSD make does it like this.
4514 echo '.include "confinc.mk" # ignored' > confmf.BSD
4515 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4516 echo 'include confinc.mk # ignored' > confmf.GNU
4517 _am_result=no
4518 for s in GNU BSD; do
4519 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4520 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }
4524 case $?:`cat confinc.out 2>/dev/null` in #(
4525 '0:this is the am__doit target') :
4526 case $s in #(
4527 BSD) :
4528 am__include='.include' am__quote='"' ;; #(
4529 *) :
4530 am__include='include' am__quote='' ;;
4531 esac ;; #(
4532 *) :
4533 ;;
4534 esac
4535 if test "$am__include" != "#"; then
4536 _am_result="yes ($s style)"
4537 break
4538 fi
4539 done
4540 rm -f confinc.* confmf.*
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4542 printf "%s\n" "${_am_result}" >&6; }
4543
4544 # Check whether --enable-dependency-tracking was given.
4545 if test ${enable_dependency_tracking+y}
4546 then :
4547 enableval=$enable_dependency_tracking;
4548 fi
4549
4550 if test "x$enable_dependency_tracking" != xno; then
4551 am_depcomp="$ac_aux_dir/depcomp"
4552 AMDEPBACKSLASH='\'
4553 am__nodep='_no'
4554 fi
4555 if test "x$enable_dependency_tracking" != xno; then
4556 AMDEP_TRUE=
4557 AMDEP_FALSE='#'
4558 else
4559 AMDEP_TRUE='#'
4560 AMDEP_FALSE=
4561 fi
4562
4563
4564
4565 depcc="$CC" am_compiler_list=
4566
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4568 printf %s "checking dependency style of $depcc... " >&6; }
4569 if test ${am_cv_CC_dependencies_compiler_type+y}
4570 then :
4571 printf %s "(cached) " >&6
4572 else case e in #(
4573 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4574 # We make a subdir and do the tests there. Otherwise we can end up
4575 # making bogus files that we don't know about and never remove. For
4576 # instance it was reported that on HP-UX the gcc test will end up
4577 # making a dummy file named 'D' -- because '-MD' means "put the output
4578 # in D".
4579 rm -rf conftest.dir
4580 mkdir conftest.dir
4581 # Copy depcomp to subdir because otherwise we won't find it if we're
4582 # using a relative directory.
4583 cp "$am_depcomp" conftest.dir
4584 cd conftest.dir
4585 # We will build objects and dependencies in a subdirectory because
4586 # it helps to detect inapplicable dependency modes. For instance
4587 # both Tru64's cc and ICC support -MD to output dependencies as a
4588 # side effect of compilation, but ICC will put the dependencies in
4589 # the current directory while Tru64 will put them in the object
4590 # directory.
4591 mkdir sub
4592
4593 am_cv_CC_dependencies_compiler_type=none
4594 if test "$am_compiler_list" = ""; then
4595 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4596 fi
4597 am__universal=false
4598 case " $depcc " in #(
4599 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4600 esac
4601
4602 for depmode in $am_compiler_list; do
4603 # Setup a source with many dependencies, because some compilers
4604 # like to wrap large dependency lists on column 80 (with \), and
4605 # we should not choose a depcomp mode which is confused by this.
4606 #
4607 # We need to recreate these files for each test, as the compiler may
4608 # overwrite some of them when testing with obscure command lines.
4609 # This happens at least with the AIX C compiler.
4610 : > sub/conftest.c
4611 for i in 1 2 3 4 5 6; do
4612 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4613 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4614 # Solaris 10 /bin/sh.
4615 echo '/* dummy */' > sub/conftst$i.h
4616 done
4617 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4618
4619 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4620 # mode. It turns out that the SunPro C++ compiler does not properly
4621 # handle '-M -o', and we need to detect this. Also, some Intel
4622 # versions had trouble with output in subdirs.
4623 am__obj=sub/conftest.${OBJEXT-o}
4624 am__minus_obj="-o $am__obj"
4625 case $depmode in
4626 gcc)
4627 # This depmode causes a compiler race in universal mode.
4628 test "$am__universal" = false || continue
4629 ;;
4630 nosideeffect)
4631 # After this tag, mechanisms are not by side-effect, so they'll
4632 # only be used when explicitly requested.
4633 if test "x$enable_dependency_tracking" = xyes; then
4634 continue
4635 else
4636 break
4637 fi
4638 ;;
4639 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4640 # This compiler won't grok '-c -o', but also, the minuso test has
4641 # not run yet. These depmodes are late enough in the game, and
4642 # so weak that their functioning should not be impacted.
4643 am__obj=conftest.${OBJEXT-o}
4644 am__minus_obj=
4645 ;;
4646 none) break ;;
4647 esac
4648 if depmode=$depmode \
4649 source=sub/conftest.c object=$am__obj \
4650 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4651 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4652 >/dev/null 2>conftest.err &&
4653 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4654 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4655 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4656 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4657 # icc doesn't choke on unknown options, it will just issue warnings
4658 # or remarks (even with -Werror). So we grep stderr for any message
4659 # that says an option was ignored or not supported.
4660 # When given -MP, icc 7.0 and 7.1 complain thusly:
4661 # icc: Command line warning: ignoring option '-M'; no argument required
4662 # The diagnosis changed in icc 8.0:
4663 # icc: Command line remark: option '-MP' not supported
4664 if (grep 'ignoring option' conftest.err ||
4665 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4666 am_cv_CC_dependencies_compiler_type=$depmode
4667 break
4668 fi
4669 fi
4670 done
4671
4672 cd ..
4673 rm -rf conftest.dir
4674 else
4675 am_cv_CC_dependencies_compiler_type=none
4676 fi
4677 ;;
4678 esac
4679 fi
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4681 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4682 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4683
4684 if
4685 test "x$enable_dependency_tracking" != xno \
4686 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4687 am__fastdepCC_TRUE=
4688 am__fastdepCC_FALSE='#'
4689 else
4690 am__fastdepCC_TRUE='#'
4691 am__fastdepCC_FALSE=
4692 fi
4693
4694
4695
4696 # Checks for header files.
4697
4698 ac_header= ac_cache=
4699 for ac_item in $ac_header_c_list
4700 do
4701 if test $ac_cache; then
4702 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4703 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4704 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4705 fi
4706 ac_header= ac_cache=
4707 elif test $ac_header; then
4708 ac_cache=$ac_item
4709 else
4710 ac_header=$ac_item
4711 fi
4712 done
4713
4714
4715
4716
4717
4718
4719
4720
4721 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4722 then :
4723
4724 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4725
4726 fi
4727 ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4728 if test "x$ac_cv_header_inttypes_h" = xyes
4729 then :
4730 printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
4731
4732 fi
4733 ac_fn_c_check_header_compile "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
4734 if test "x$ac_cv_header_memory_h" = xyes
4735 then :
4736 printf "%s\n" "#define HAVE_MEMORY_H 1" >>confdefs.h
4737
4738 fi
4739 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4740 if test "x$ac_cv_header_stdint_h" = xyes
4741 then :
4742 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
4743
4744 fi
4745 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4746 if test "x$ac_cv_header_stdlib_h" = xyes
4747 then :
4748 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
4749
4750 fi
4751 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4752 if test "x$ac_cv_header_string_h" = xyes
4753 then :
4754 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
4755
4756 fi
4757
4758
4759 # Checks for typedefs, structures, and compiler characteristics.
4760 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
4761 case $ac_cv_c_int32_t in #(
4762 no|yes) ;; #(
4763 *)
4764
4765 printf "%s\n" "#define int32_t $ac_cv_c_int32_t" >>confdefs.h
4766 ;;
4767 esac
4768
4769 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4770 if test "x$ac_cv_type_size_t" = xyes
4771 then :
4772
4773 else case e in #(
4774 e)
4775 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
4776 ;;
4777 esac
4778 fi
4779
4780 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4781 case $ac_cv_c_uint16_t in #(
4782 no|yes) ;; #(
4783 *)
4784
4785
4786 printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
4787 ;;
4788 esac
4789
4790 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4791 case $ac_cv_c_uint32_t in #(
4792 no|yes) ;; #(
4793 *)
4794
4795 printf "%s\n" "#define _UINT32_T 1" >>confdefs.h
4796
4797
4798 printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
4799 ;;
4800 esac
4801
4802 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4803 case $ac_cv_c_uint64_t in #(
4804 no|yes) ;; #(
4805 *)
4806
4807 printf "%s\n" "#define _UINT64_T 1" >>confdefs.h
4808
4809
4810 printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
4811 ;;
4812 esac
4813
4814 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4815 case $ac_cv_c_uint8_t in #(
4816 no|yes) ;; #(
4817 *)
4818
4819 printf "%s\n" "#define _UINT8_T 1" >>confdefs.h
4820
4821
4822 printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
4823 ;;
4824 esac
4825
4826
4827 # Checks for library functions.
4828 # Disabled due the fact that once the autoconf detects that malloc
4829 # is not available, it places in config.h the define of malloc as
4830 # rpl_malloc. By this linkage could fail on cross-compiles.
4831 #AC_FUNC_MALLOC
4832 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
4833 if test "x$ac_cv_func_memset" = xyes
4834 then :
4835 printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
4836
4837 fi
4838 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
4839 if test "x$ac_cv_func_strdup" = xyes
4840 then :
4841 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
4842
4843 fi
4844 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
4845 if test "x$ac_cv_func_strrchr" = xyes
4846 then :
4847 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
4848
4849 fi
4850 ac_fn_c_check_func "$LINENO" "strlwr" "ac_cv_func_strlwr"
4851 if test "x$ac_cv_func_strlwr" = xyes
4852 then :
4853 printf "%s\n" "#define HAVE_STRLWR 1" >>confdefs.h
4854
4855 fi
4856
4857
4858 # Checks for libraries.
4859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build gendef with libmangle" >&5
4860 printf %s "checking whether to build gendef with libmangle... " >&6; }
4861
4862 # Check whether --with-mangle was given.
4863 if test ${with_mangle+y}
4864 then :
4865 withval=$with_mangle; case $with_mangle in #(
4866 yes) :
4867 with_mangle_result=yes ;; #(
4868 no) :
4869 with_mangle_result=no ;; #(
4870 *) :
4871 with_mangle_path="$with_mangle"; with_mangle_result=yes ;;
4872 esac
4873 else case e in #(
4874 e) with_mangle=no; with_mangle_result=no ;;
4875 esac
4876 fi
4877
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_mangle_result" >&5
4879 printf "%s\n" "$with_mangle_result" >&6; }
4880
4881 if test "x$with_mangle_result" = xyes
4882 then :
4883
4884 if test ${with_mangle_path+y}
4885 then :
4886
4887 extra_cppflags="-I$with_mangle_path/include"
4888 extra_ldflags="-L$with_mangle_path/lib"
4889 fi
4890 temp_cppflags="$CPPFLAGS"
4891 temp_ldflags="$LDFLAGS"
4892 CPPFLAGS="$CPPFLAGS -I$with_mangle_path/include"
4893 LDFLAGS="$LDFLAGS -L$with_mangle_path/lib"
4894 ac_fn_c_check_header_compile "$LINENO" "libmangle.h" "ac_cv_header_libmangle_h" "$ac_includes_default"
4895 if test "x$ac_cv_header_libmangle_h" = xyes
4896 then :
4897
4898 else case e in #(
4899 e) as_fn_error $? "libmangle enabled, but the header is not usable." "$LINENO" 5 ;;
4900 esac
4901 fi
4902
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmangle_print_decl in -lmangle" >&5
4904 printf %s "checking for libmangle_print_decl in -lmangle... " >&6; }
4905 if test ${ac_cv_lib_mangle_libmangle_print_decl+y}
4906 then :
4907 printf %s "(cached) " >&6
4908 else case e in #(
4909 e) ac_check_lib_save_LIBS=$LIBS
4910 LIBS="-lmangle $LIBS"
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4913
4914 /* Override any GCC internal prototype to avoid an error.
4915 Use char because int might match the return type of a GCC
4916 builtin and then its argument prototype would still apply.
4917 The 'extern "C"' is for builds by C++ compilers;
4918 although this is not generally supported in C code supporting it here
4919 has little cost and some practical benefit (sr 110532). */
4920 #ifdef __cplusplus
4921 extern "C"
4922 #endif
4923 char libmangle_print_decl (void);
4924 int
4925 main (void)
4926 {
4927 return libmangle_print_decl ();
4928 ;
4929 return 0;
4930 }
4931 _ACEOF
4932 if ac_fn_c_try_link "$LINENO"
4933 then :
4934 ac_cv_lib_mangle_libmangle_print_decl=yes
4935 else case e in #(
4936 e) ac_cv_lib_mangle_libmangle_print_decl=no ;;
4937 esac
4938 fi
4939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4940 conftest$ac_exeext conftest.$ac_ext
4941 LIBS=$ac_check_lib_save_LIBS ;;
4942 esac
4943 fi
4944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mangle_libmangle_print_decl" >&5
4945 printf "%s\n" "$ac_cv_lib_mangle_libmangle_print_decl" >&6; }
4946 if test "x$ac_cv_lib_mangle_libmangle_print_decl" = xyes
4947 then :
4948 printf "%s\n" "#define HAVE_LIBMANGLE 1" >>confdefs.h
4949
4950 LIBS="-lmangle $LIBS"
4951
4952 else case e in #(
4953 e) as_fn_error $? "libmangle enabled, but the library is not usable." "$LINENO" 5 ;;
4954 esac
4955 fi
4956
4957 fi
4958 CPPFLAGS="$temp_cppflags"
4959 LDFLAGS="$temp_ldflags"
4960
4961 GENDEF_CPPFLAGS=$extra_cppflags
4962
4963 GENDEF_LDFLAGS=$extra_ldflags
4964
4965
4966 ac_config_files="$ac_config_files Makefile"
4967
4968 cat >confcache <<\_ACEOF
4969 # This file is a shell script that caches the results of configure
4970 # tests run on this system so they can be shared between configure
4971 # scripts and configure runs, see configure's option --config-cache.
4972 # It is not useful on other systems. If it contains results you don't
4973 # want to keep, you may remove or edit it.
4974 #
4975 # config.status only pays attention to the cache file if you give it
4976 # the --recheck option to rerun configure.
4977 #
4978 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
4979 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
4980 # following values.
4981
4982 _ACEOF
4983
4984 # The following way of writing the cache mishandles newlines in values,
4985 # but we know of no workaround that is simple, portable, and efficient.
4986 # So, we kill variables containing newlines.
4987 # Ultrix sh set writes to stderr and can't be redirected directly,
4988 # and sets the high bit in the cache file unless we assign to the vars.
4989 (
4990 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4991 eval ac_val=\$$ac_var
4992 case $ac_val in #(
4993 *${as_nl}*)
4994 case $ac_var in #(
4995 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4996 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4997 esac
4998 case $ac_var in #(
4999 _ | IFS | as_nl) ;; #(
5000 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5001 *) { eval $ac_var=; unset $ac_var;} ;;
5002 esac ;;
5003 esac
5004 done
5005
5006 (set) 2>&1 |
5007 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5008 *${as_nl}ac_space=\ *)
5009 # 'set' does not quote correctly, so add quotes: double-quote
5010 # substitution turns \\\\ into \\, and sed turns \\ into \.
5011 sed -n \
5012 "s/'/'\\\\''/g;
5013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5014 ;; #(
5015 *)
5016 # 'set' quotes correctly as required by POSIX, so do not add quotes.
5017 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5018 ;;
5019 esac |
5020 sort
5021 ) |
5022 sed '
5023 /^ac_cv_env_/b end
5024 t clear
5025 :clear
5026 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5027 t end
5028 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5029 :end' >>confcache
5030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5031 if test -w "$cache_file"; then
5032 if test "x$cache_file" != "x/dev/null"; then
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5034 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5035 if test ! -f "$cache_file" || test -h "$cache_file"; then
5036 cat confcache >"$cache_file"
5037 else
5038 case $cache_file in #(
5039 */* | ?:*)
5040 mv -f confcache "$cache_file"$$ &&
5041 mv -f "$cache_file"$$ "$cache_file" ;; #(
5042 *)
5043 mv -f confcache "$cache_file" ;;
5044 esac
5045 fi
5046 fi
5047 else
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5049 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5050 fi
5051 fi
5052 rm -f confcache
5053
5054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5055 # Let make expand exec_prefix.
5056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5057
5058 DEFS=-DHAVE_CONFIG_H
5059
5060 ac_libobjs=
5061 ac_ltlibobjs=
5062 U=
5063 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5064 # 1. Remove the extension, and $U if already installed.
5065 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5066 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5067 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5068 # will be set to the directory where LIBOBJS objects are built.
5069 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5070 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5071 done
5072 LIBOBJS=$ac_libobjs
5073
5074 LTLIBOBJS=$ac_ltlibobjs
5075
5076
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5078 printf %s "checking that generated files are newer than configure... " >&6; }
5079 if test -n "$am_sleep_pid"; then
5080 # Hide warnings about reused PIDs.
5081 wait $am_sleep_pid 2>/dev/null
5082 fi
5083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5084 printf "%s\n" "done" >&6; }
5085 if test -n "$EXEEXT"; then
5086 am__EXEEXT_TRUE=
5087 am__EXEEXT_FALSE='#'
5088 else
5089 am__EXEEXT_TRUE='#'
5090 am__EXEEXT_FALSE=
5091 fi
5092
5093 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5094 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5096 fi
5097 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5098 as_fn_error $? "conditional \"AMDEP\" was never defined.
5099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5100 fi
5101 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5102 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5104 fi
5105
5106 : "${CONFIG_STATUS=./config.status}"
5107 ac_write_fail=0
5108 ac_clean_files_save=$ac_clean_files
5109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5111 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5112 as_write_fail=0
5113 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5114 #! $SHELL
5115 # Generated by $as_me.
5116 # Run this file to recreate the current configuration.
5117 # Compiler output produced by configure, useful for debugging
5118 # configure, is in config.log if it exists.
5119
5120 debug=false
5121 ac_cs_recheck=false
5122 ac_cs_silent=false
5123
5124 SHELL=\${CONFIG_SHELL-$SHELL}
5125 export SHELL
5126 _ASEOF
5127 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5128 ## -------------------- ##
5129 ## M4sh Initialization. ##
5130 ## -------------------- ##
5131
5132 # Be more Bourne compatible
5133 DUALCASE=1; export DUALCASE # for MKS sh
5134 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5135 then :
5136 emulate sh
5137 NULLCMD=:
5138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5139 # is contrary to our usage. Disable this feature.
5140 alias -g '${1+"$@"}'='"$@"'
5141 setopt NO_GLOB_SUBST
5142 else case e in #(
5143 e) case `(set -o) 2>/dev/null` in #(
5144 *posix*) :
5145 set -o posix ;; #(
5146 *) :
5147 ;;
5148 esac ;;
5149 esac
5150 fi
5151
5152
5153
5154 # Reset variables that may have inherited troublesome values from
5155 # the environment.
5156
5157 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5158 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5159 # side effect of setting IFS to empty, thus disabling word splitting.)
5160 # Quoting is to prevent editors from complaining about space-tab.
5161 as_nl='
5162 '
5163 export as_nl
5164 IFS=" "" $as_nl"
5165
5166 PS1='$ '
5167 PS2='> '
5168 PS4='+ '
5169
5170 # Ensure predictable behavior from utilities with locale-dependent output.
5171 LC_ALL=C
5172 export LC_ALL
5173 LANGUAGE=C
5174 export LANGUAGE
5175
5176 # We cannot yet rely on "unset" to work, but we need these variables
5177 # to be unset--not just set to an empty or harmless value--now, to
5178 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5179 # also avoids known problems related to "unset" and subshell syntax
5180 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5181 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5182 do eval test \${$as_var+y} \
5183 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5184 done
5185
5186 # Ensure that fds 0, 1, and 2 are open.
5187 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5188 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5189 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5190
5191 # The user is always right.
5192 if ${PATH_SEPARATOR+false} :; then
5193 PATH_SEPARATOR=:
5194 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5195 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5196 PATH_SEPARATOR=';'
5197 }
5198 fi
5199
5200
5201 # Find who we are. Look in the path if we contain no directory separator.
5202 as_myself=
5203 case $0 in #((
5204 *[\\/]* ) as_myself=$0 ;;
5205 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5207 do
5208 IFS=$as_save_IFS
5209 case $as_dir in #(((
5210 '') as_dir=./ ;;
5211 */) ;;
5212 *) as_dir=$as_dir/ ;;
5213 esac
5214 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5215 done
5216 IFS=$as_save_IFS
5217
5218 ;;
5219 esac
5220 # We did not find ourselves, most probably we were run as 'sh COMMAND'
5221 # in which case we are not to be found in the path.
5222 if test "x$as_myself" = x; then
5223 as_myself=$0
5224 fi
5225 if test ! -f "$as_myself"; then
5226 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5227 exit 1
5228 fi
5229
5230
5231
5232 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5233 # ----------------------------------------
5234 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5235 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5236 # script with STATUS, using 1 if that was 0.
5237 as_fn_error ()
5238 {
5239 as_status=$1; test $as_status -eq 0 && as_status=1
5240 if test "$4"; then
5241 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5243 fi
5244 printf "%s\n" "$as_me: error: $2" >&2
5245 as_fn_exit $as_status
5246 } # as_fn_error
5247
5248
5249 # as_fn_set_status STATUS
5250 # -----------------------
5251 # Set $? to STATUS, without forking.
5252 as_fn_set_status ()
5253 {
5254 return $1
5255 } # as_fn_set_status
5256
5257 # as_fn_exit STATUS
5258 # -----------------
5259 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5260 as_fn_exit ()
5261 {
5262 set +e
5263 as_fn_set_status $1
5264 exit $1
5265 } # as_fn_exit
5266
5267 # as_fn_unset VAR
5268 # ---------------
5269 # Portably unset VAR.
5270 as_fn_unset ()
5271 {
5272 { eval $1=; unset $1;}
5273 }
5274 as_unset=as_fn_unset
5275
5276 # as_fn_append VAR VALUE
5277 # ----------------------
5278 # Append the text in VALUE to the end of the definition contained in VAR. Take
5279 # advantage of any shell optimizations that allow amortized linear growth over
5280 # repeated appends, instead of the typical quadratic growth present in naive
5281 # implementations.
5282 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5283 then :
5284 eval 'as_fn_append ()
5285 {
5286 eval $1+=\$2
5287 }'
5288 else case e in #(
5289 e) as_fn_append ()
5290 {
5291 eval $1=\$$1\$2
5292 } ;;
5293 esac
5294 fi # as_fn_append
5295
5296 # as_fn_arith ARG...
5297 # ------------------
5298 # Perform arithmetic evaluation on the ARGs, and store the result in the
5299 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5300 # must be portable across $(()) and expr.
5301 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5302 then :
5303 eval 'as_fn_arith ()
5304 {
5305 as_val=$(( $* ))
5306 }'
5307 else case e in #(
5308 e) as_fn_arith ()
5309 {
5310 as_val=`expr "$@" || test $? -eq 1`
5311 } ;;
5312 esac
5313 fi # as_fn_arith
5314
5315
5316 if expr a : '\(a\)' >/dev/null 2>&1 &&
5317 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5318 as_expr=expr
5319 else
5320 as_expr=false
5321 fi
5322
5323 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5324 as_basename=basename
5325 else
5326 as_basename=false
5327 fi
5328
5329 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5330 as_dirname=dirname
5331 else
5332 as_dirname=false
5333 fi
5334
5335 as_me=`$as_basename -- "$0" ||
5336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5337 X"$0" : 'X\(//\)$' \| \
5338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5339 printf "%s\n" X/"$0" |
5340 sed '/^.*\/\([^/][^/]*\)\/*$/{
5341 s//\1/
5342 q
5343 }
5344 /^X\/\(\/\/\)$/{
5345 s//\1/
5346 q
5347 }
5348 /^X\/\(\/\).*/{
5349 s//\1/
5350 q
5351 }
5352 s/.*/./; q'`
5353
5354 # Avoid depending upon Character Ranges.
5355 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5356 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5357 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5358 as_cr_digits='0123456789'
5359 as_cr_alnum=$as_cr_Letters$as_cr_digits
5360
5361
5362 # Determine whether it's possible to make 'echo' print without a newline.
5363 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5364 # for compatibility with existing Makefiles.
5365 ECHO_C= ECHO_N= ECHO_T=
5366 case `echo -n x` in #(((((
5367 -n*)
5368 case `echo 'xy\c'` in
5369 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5370 xy) ECHO_C='\c';;
5371 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5372 ECHO_T=' ';;
5373 esac;;
5374 *)
5375 ECHO_N='-n';;
5376 esac
5377
5378 # For backward compatibility with old third-party macros, we provide
5379 # the shell variables $as_echo and $as_echo_n. New code should use
5380 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5381 as_echo='printf %s\n'
5382 as_echo_n='printf %s'
5383
5384 rm -f conf$$ conf$$.exe conf$$.file
5385 if test -d conf$$.dir; then
5386 rm -f conf$$.dir/conf$$.file
5387 else
5388 rm -f conf$$.dir
5389 mkdir conf$$.dir 2>/dev/null
5390 fi
5391 if (echo >conf$$.file) 2>/dev/null; then
5392 if ln -s conf$$.file conf$$ 2>/dev/null; then
5393 as_ln_s='ln -s'
5394 # ... but there are two gotchas:
5395 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
5396 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
5397 # In both cases, we have to default to 'cp -pR'.
5398 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5399 as_ln_s='cp -pR'
5400 elif ln conf$$.file conf$$ 2>/dev/null; then
5401 as_ln_s=ln
5402 else
5403 as_ln_s='cp -pR'
5404 fi
5405 else
5406 as_ln_s='cp -pR'
5407 fi
5408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5409 rmdir conf$$.dir 2>/dev/null
5410
5411
5412 # as_fn_mkdir_p
5413 # -------------
5414 # Create "$as_dir" as a directory, including parents if necessary.
5415 as_fn_mkdir_p ()
5416 {
5417
5418 case $as_dir in #(
5419 -*) as_dir=./$as_dir;;
5420 esac
5421 test -d "$as_dir" || eval $as_mkdir_p || {
5422 as_dirs=
5423 while :; do
5424 case $as_dir in #(
5425 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5426 *) as_qdir=$as_dir;;
5427 esac
5428 as_dirs="'$as_qdir' $as_dirs"
5429 as_dir=`$as_dirname -- "$as_dir" ||
5430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5431 X"$as_dir" : 'X\(//\)[^/]' \| \
5432 X"$as_dir" : 'X\(//\)$' \| \
5433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5434 printf "%s\n" X"$as_dir" |
5435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5436 s//\1/
5437 q
5438 }
5439 /^X\(\/\/\)[^/].*/{
5440 s//\1/
5441 q
5442 }
5443 /^X\(\/\/\)$/{
5444 s//\1/
5445 q
5446 }
5447 /^X\(\/\).*/{
5448 s//\1/
5449 q
5450 }
5451 s/.*/./; q'`
5452 test -d "$as_dir" && break
5453 done
5454 test -z "$as_dirs" || eval "mkdir $as_dirs"
5455 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5456
5457
5458 } # as_fn_mkdir_p
5459 if mkdir -p . 2>/dev/null; then
5460 as_mkdir_p='mkdir -p "$as_dir"'
5461 else
5462 test -d ./-p && rmdir ./-p
5463 as_mkdir_p=false
5464 fi
5465
5466
5467 # as_fn_executable_p FILE
5468 # -----------------------
5469 # Test if FILE is an executable regular file.
5470 as_fn_executable_p ()
5471 {
5472 test -f "$1" && test -x "$1"
5473 } # as_fn_executable_p
5474 as_test_x='test -x'
5475 as_executable_p=as_fn_executable_p
5476
5477 # Sed expression to map a string onto a valid CPP name.
5478 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5479 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
5480
5481 # Sed expression to map a string onto a valid variable name.
5482 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5483 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
5484
5485
5486 exec 6>&1
5487 ## ----------------------------------- ##
5488 ## Main body of $CONFIG_STATUS script. ##
5489 ## ----------------------------------- ##
5490 _ASEOF
5491 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5492
5493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5494 # Save the log message, to keep $0 and so on meaningful, and to
5495 # report actual input values of CONFIG_FILES etc. instead of their
5496 # values after options handling.
5497 ac_log="
5498 This file was extended by mingw-w64-gendef $as_me 1.1, which was
5499 generated by GNU Autoconf 2.72. Invocation command line was
5500
5501 CONFIG_FILES = $CONFIG_FILES
5502 CONFIG_HEADERS = $CONFIG_HEADERS
5503 CONFIG_LINKS = $CONFIG_LINKS
5504 CONFIG_COMMANDS = $CONFIG_COMMANDS
5505 $ $0 $@
5506
5507 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5508 "
5509
5510 _ACEOF
5511
5512 case $ac_config_files in *"
5513 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5514 esac
5515
5516 case $ac_config_headers in *"
5517 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5518 esac
5519
5520
5521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5522 # Files that config.status was made for.
5523 config_files="$ac_config_files"
5524 config_headers="$ac_config_headers"
5525 config_commands="$ac_config_commands"
5526
5527 _ACEOF
5528
5529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5530 ac_cs_usage="\
5531 '$as_me' instantiates files and other configuration actions
5532 from templates according to the current configuration. Unless the files
5533 and actions are specified as TAGs, all are instantiated by default.
5534
5535 Usage: $0 [OPTION]... [TAG]...
5536
5537 -h, --help print this help, then exit
5538 -V, --version print version number and configuration settings, then exit
5539 --config print configuration, then exit
5540 -q, --quiet, --silent
5541 do not print progress messages
5542 -d, --debug don't remove temporary files
5543 --recheck update $as_me by reconfiguring in the same conditions
5544 --file=FILE[:TEMPLATE]
5545 instantiate the configuration file FILE
5546 --header=FILE[:TEMPLATE]
5547 instantiate the configuration header FILE
5548
5549 Configuration files:
5550 $config_files
5551
5552 Configuration headers:
5553 $config_headers
5554
5555 Configuration commands:
5556 $config_commands
5557
5558 Report bugs to <[email protected]>."
5559
5560 _ACEOF
5561 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5562 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5564 ac_cs_config='$ac_cs_config_escaped'
5565 ac_cs_version="\\
5566 mingw-w64-gendef config.status 1.1
5567 configured by $0, generated by GNU Autoconf 2.72,
5568 with options \\"\$ac_cs_config\\"
5569
5570 Copyright (C) 2023 Free Software Foundation, Inc.
5571 This config.status script is free software; the Free Software Foundation
5572 gives unlimited permission to copy, distribute and modify it."
5573
5574 ac_pwd='$ac_pwd'
5575 srcdir='$srcdir'
5576 INSTALL='$INSTALL'
5577 MKDIR_P='$MKDIR_P'
5578 AWK='$AWK'
5579 test -n "\$AWK" || AWK=awk
5580 _ACEOF
5581
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583 # The default lists apply if the user does not specify any file.
5584 ac_need_defaults=:
5585 while test $# != 0
5586 do
5587 case $1 in
5588 --*=?*)
5589 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5590 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5591 ac_shift=:
5592 ;;
5593 --*=)
5594 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5595 ac_optarg=
5596 ac_shift=:
5597 ;;
5598 *)
5599 ac_option=$1
5600 ac_optarg=$2
5601 ac_shift=shift
5602 ;;
5603 esac
5604
5605 case $ac_option in
5606 # Handling of the options.
5607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5608 ac_cs_recheck=: ;;
5609 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5610 printf "%s\n" "$ac_cs_version"; exit ;;
5611 --config | --confi | --conf | --con | --co | --c )
5612 printf "%s\n" "$ac_cs_config"; exit ;;
5613 --debug | --debu | --deb | --de | --d | -d )
5614 debug=: ;;
5615 --file | --fil | --fi | --f )
5616 $ac_shift
5617 case $ac_optarg in
5618 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5619 '') as_fn_error $? "missing file argument" ;;
5620 esac
5621 as_fn_append CONFIG_FILES " '$ac_optarg'"
5622 ac_need_defaults=false;;
5623 --header | --heade | --head | --hea )
5624 $ac_shift
5625 case $ac_optarg in
5626 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5627 esac
5628 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5629 ac_need_defaults=false;;
5630 --he | --h)
5631 # Conflict between --help and --header
5632 as_fn_error $? "ambiguous option: '$1'
5633 Try '$0 --help' for more information.";;
5634 --help | --hel | -h )
5635 printf "%s\n" "$ac_cs_usage"; exit ;;
5636 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5637 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5638 ac_cs_silent=: ;;
5639
5640 # This is an error.
5641 -*) as_fn_error $? "unrecognized option: '$1'
5642 Try '$0 --help' for more information." ;;
5643
5644 *) as_fn_append ac_config_targets " $1"
5645 ac_need_defaults=false ;;
5646
5647 esac
5648 shift
5649 done
5650
5651 ac_configure_extra_args=
5652
5653 if $ac_cs_silent; then
5654 exec 6>/dev/null
5655 ac_configure_extra_args="$ac_configure_extra_args --silent"
5656 fi
5657
5658 _ACEOF
5659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5660 if \$ac_cs_recheck; then
5661 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5662 shift
5663 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5664 CONFIG_SHELL='$SHELL'
5665 export CONFIG_SHELL
5666 exec "\$@"
5667 fi
5668
5669 _ACEOF
5670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5671 exec 5>>config.log
5672 {
5673 echo
5674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5675 ## Running $as_me. ##
5676 _ASBOX
5677 printf "%s\n" "$ac_log"
5678 } >&5
5679
5680 _ACEOF
5681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5682 #
5683 # INIT-COMMANDS
5684 #
5685 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5686
5687 _ACEOF
5688
5689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5690
5691 # Handling of arguments.
5692 for ac_config_target in $ac_config_targets
5693 do
5694 case $ac_config_target in
5695 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5696 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5697 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5698
5699 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
5700 esac
5701 done
5702
5703
5704 # If the user did not use the arguments to specify the items to instantiate,
5705 # then the envvar interface is used. Set only those that are not.
5706 # We use the long form for the default assignment because of an extremely
5707 # bizarre bug on SunOS 4.1.3.
5708 if $ac_need_defaults; then
5709 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5710 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5711 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5712 fi
5713
5714 # Have a temporary directory for convenience. Make it in the build tree
5715 # simply because there is no reason against having it here, and in addition,
5716 # creating and moving files from /tmp can sometimes cause problems.
5717 # Hook for its removal unless debugging.
5718 # Note that there is a small window in which the directory will not be cleaned:
5719 # after its creation but before its name has been assigned to '$tmp'.
5720 $debug ||
5721 {
5722 tmp= ac_tmp=
5723 trap 'exit_status=$?
5724 : "${ac_tmp:=$tmp}"
5725 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5726 ' 0
5727 trap 'as_fn_exit 1' 1 2 13 15
5728 }
5729 # Create a (secure) tmp directory for tmp files.
5730
5731 {
5732 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5733 test -d "$tmp"
5734 } ||
5735 {
5736 tmp=./conf$$-$RANDOM
5737 (umask 077 && mkdir "$tmp")
5738 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5739 ac_tmp=$tmp
5740
5741 # Set up the scripts for CONFIG_FILES section.
5742 # No need to generate them if there are no CONFIG_FILES.
5743 # This happens for instance with './config.status config.h'.
5744 if test -n "$CONFIG_FILES"; then
5745
5746
5747 ac_cr=`echo X | tr X '\015'`
5748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5749 # But we know of no other shell where ac_cr would be empty at this
5750 # point, so we can use a bashism as a fallback.
5751 if test "x$ac_cr" = x; then
5752 eval ac_cr=\$\'\\r\'
5753 fi
5754 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5756 ac_cs_awk_cr='\\r'
5757 else
5758 ac_cs_awk_cr=$ac_cr
5759 fi
5760
5761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5762 _ACEOF
5763
5764
5765 {
5766 echo "cat >conf$$subs.awk <<_ACEOF" &&
5767 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5768 echo "_ACEOF"
5769 } >conf$$subs.sh ||
5770 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5772 ac_delim='%!_!# '
5773 for ac_last_try in false false false false false :; do
5774 . ./conf$$subs.sh ||
5775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5776
5777 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5778 if test $ac_delim_n = $ac_delim_num; then
5779 break
5780 elif $ac_last_try; then
5781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5782 else
5783 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5784 fi
5785 done
5786 rm -f conf$$subs.sh
5787
5788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5789 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5790 _ACEOF
5791 sed -n '
5792 h
5793 s/^/S["/; s/!.*/"]=/
5794 p
5795 g
5796 s/^[^!]*!//
5797 :repl
5798 t repl
5799 s/'"$ac_delim"'$//
5800 t delim
5801 :nl
5802 h
5803 s/\(.\{148\}\)..*/\1/
5804 t more1
5805 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5806 p
5807 n
5808 b repl
5809 :more1
5810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5811 p
5812 g
5813 s/.\{148\}//
5814 t nl
5815 :delim
5816 h
5817 s/\(.\{148\}\)..*/\1/
5818 t more2
5819 s/["\\]/\\&/g; s/^/"/; s/$/"/
5820 p
5821 b
5822 :more2
5823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5824 p
5825 g
5826 s/.\{148\}//
5827 t delim
5828 ' <conf$$subs.awk | sed '
5829 /^[^""]/{
5830 N
5831 s/\n//
5832 }
5833 ' >>$CONFIG_STATUS || ac_write_fail=1
5834 rm -f conf$$subs.awk
5835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5836 _ACAWK
5837 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5838 for (key in S) S_is_set[key] = 1
5839 FS = ""
5840
5841 }
5842 {
5843 line = $ 0
5844 nfields = split(line, field, "@")
5845 substed = 0
5846 len = length(field[1])
5847 for (i = 2; i < nfields; i++) {
5848 key = field[i]
5849 keylen = length(key)
5850 if (S_is_set[key]) {
5851 value = S[key]
5852 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5853 len += length(value) + length(field[++i])
5854 substed = 1
5855 } else
5856 len += 1 + keylen
5857 }
5858
5859 print line
5860 }
5861
5862 _ACAWK
5863 _ACEOF
5864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5865 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5866 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5867 else
5868 cat
5869 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5870 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5871 _ACEOF
5872
5873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5875 # trailing colons and then remove the whole line if VPATH becomes empty
5876 # (actually we leave an empty line to preserve line numbers).
5877 if test "x$srcdir" = x.; then
5878 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5879 h
5880 s///
5881 s/^/:/
5882 s/[ ]*$/:/
5883 s/:\$(srcdir):/:/g
5884 s/:\${srcdir}:/:/g
5885 s/:@srcdir@:/:/g
5886 s/^:*//
5887 s/:*$//
5888 x
5889 s/\(=[ ]*\).*/\1/
5890 G
5891 s/\n//
5892 s/^[^=]*=[ ]*$//
5893 }'
5894 fi
5895
5896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5897 fi # test -n "$CONFIG_FILES"
5898
5899 # Set up the scripts for CONFIG_HEADERS section.
5900 # No need to generate them if there are no CONFIG_HEADERS.
5901 # This happens for instance with './config.status Makefile'.
5902 if test -n "$CONFIG_HEADERS"; then
5903 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5904 BEGIN {
5905 _ACEOF
5906
5907 # Transform confdefs.h into an awk script 'defines.awk', embedded as
5908 # here-document in config.status, that substitutes the proper values into
5909 # config.h.in to produce config.h.
5910
5911 # Create a delimiter string that does not exist in confdefs.h, to ease
5912 # handling of long lines.
5913 ac_delim='%!_!# '
5914 for ac_last_try in false false :; do
5915 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5916 if test -z "$ac_tt"; then
5917 break
5918 elif $ac_last_try; then
5919 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5920 else
5921 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5922 fi
5923 done
5924
5925 # For the awk script, D is an array of macro values keyed by name,
5926 # likewise P contains macro parameters if any. Preserve backslash
5927 # newline sequences.
5928
5929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5930 sed -n '
5931 s/.\{148\}/&'"$ac_delim"'/g
5932 t rset
5933 :rset
5934 s/^[ ]*#[ ]*define[ ][ ]*/ /
5935 t def
5936 d
5937 :def
5938 s/\\$//
5939 t bsnl
5940 s/["\\]/\\&/g
5941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5942 D["\1"]=" \3"/p
5943 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5944 d
5945 :bsnl
5946 s/["\\]/\\&/g
5947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5948 D["\1"]=" \3\\\\\\n"\\/p
5949 t cont
5950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5951 t cont
5952 d
5953 :cont
5954 n
5955 s/.\{148\}/&'"$ac_delim"'/g
5956 t clear
5957 :clear
5958 s/\\$//
5959 t bsnlc
5960 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5961 d
5962 :bsnlc
5963 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5964 b cont
5965 ' <confdefs.h | sed '
5966 s/'"$ac_delim"'/"\\\
5967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5968
5969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5970 for (key in D) D_is_set[key] = 1
5971 FS = ""
5972 }
5973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5974 line = \$ 0
5975 split(line, arg, " ")
5976 if (arg[1] == "#") {
5977 defundef = arg[2]
5978 mac1 = arg[3]
5979 } else {
5980 defundef = substr(arg[1], 2)
5981 mac1 = arg[2]
5982 }
5983 split(mac1, mac2, "(") #)
5984 macro = mac2[1]
5985 prefix = substr(line, 1, index(line, defundef) - 1)
5986 if (D_is_set[macro]) {
5987 # Preserve the white space surrounding the "#".
5988 print prefix "define", macro P[macro] D[macro]
5989 next
5990 } else {
5991 # Replace #undef with comments. This is necessary, for example,
5992 # in the case of _POSIX_SOURCE, which is predefined and required
5993 # on some systems where configure will not decide to define it.
5994 if (defundef == "undef") {
5995 print "/*", prefix defundef, macro, "*/"
5996 next
5997 }
5998 }
5999 }
6000 { print }
6001 _ACAWK
6002 _ACEOF
6003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6004 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6005 fi # test -n "$CONFIG_HEADERS"
6006
6007
6008 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6009 shift
6010 for ac_tag
6011 do
6012 case $ac_tag in
6013 :[FHLC]) ac_mode=$ac_tag; continue;;
6014 esac
6015 case $ac_mode$ac_tag in
6016 :[FHL]*:*);;
6017 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
6018 :[FH]-) ac_tag=-:-;;
6019 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6020 esac
6021 ac_save_IFS=$IFS
6022 IFS=:
6023 set x $ac_tag
6024 IFS=$ac_save_IFS
6025 shift
6026 ac_file=$1
6027 shift
6028
6029 case $ac_mode in
6030 :L) ac_source=$1;;
6031 :[FH])
6032 ac_file_inputs=
6033 for ac_f
6034 do
6035 case $ac_f in
6036 -) ac_f="$ac_tmp/stdin";;
6037 *) # Look for the file first in the build tree, then in the source tree
6038 # (if the path is not absolute). The absolute path cannot be DOS-style,
6039 # because $ac_f cannot contain ':'.
6040 test -f "$ac_f" ||
6041 case $ac_f in
6042 [\\/$]*) false;;
6043 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6044 esac ||
6045 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
6046 esac
6047 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6048 as_fn_append ac_file_inputs " '$ac_f'"
6049 done
6050
6051 # Let's still pretend it is 'configure' which instantiates (i.e., don't
6052 # use $as_me), people would be surprised to read:
6053 # /* config.h. Generated by config.status. */
6054 configure_input='Generated from '`
6055 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6056 `' by configure.'
6057 if test x"$ac_file" != x-; then
6058 configure_input="$ac_file. $configure_input"
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6060 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6061 fi
6062 # Neutralize special characters interpreted by sed in replacement strings.
6063 case $configure_input in #(
6064 *\&* | *\|* | *\\* )
6065 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6067 *) ac_sed_conf_input=$configure_input;;
6068 esac
6069
6070 case $ac_tag in
6071 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6073 esac
6074 ;;
6075 esac
6076
6077 ac_dir=`$as_dirname -- "$ac_file" ||
6078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6079 X"$ac_file" : 'X\(//\)[^/]' \| \
6080 X"$ac_file" : 'X\(//\)$' \| \
6081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6082 printf "%s\n" X"$ac_file" |
6083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6084 s//\1/
6085 q
6086 }
6087 /^X\(\/\/\)[^/].*/{
6088 s//\1/
6089 q
6090 }
6091 /^X\(\/\/\)$/{
6092 s//\1/
6093 q
6094 }
6095 /^X\(\/\).*/{
6096 s//\1/
6097 q
6098 }
6099 s/.*/./; q'`
6100 as_dir="$ac_dir"; as_fn_mkdir_p
6101 ac_builddir=.
6102
6103 case "$ac_dir" in
6104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6105 *)
6106 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6107 # A ".." for each directory in $ac_dir_suffix.
6108 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6109 case $ac_top_builddir_sub in
6110 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6111 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6112 esac ;;
6113 esac
6114 ac_abs_top_builddir=$ac_pwd
6115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6116 # for backward compatibility:
6117 ac_top_builddir=$ac_top_build_prefix
6118
6119 case $srcdir in
6120 .) # We are building in place.
6121 ac_srcdir=.
6122 ac_top_srcdir=$ac_top_builddir_sub
6123 ac_abs_top_srcdir=$ac_pwd ;;
6124 [\\/]* | ?:[\\/]* ) # Absolute name.
6125 ac_srcdir=$srcdir$ac_dir_suffix;
6126 ac_top_srcdir=$srcdir
6127 ac_abs_top_srcdir=$srcdir ;;
6128 *) # Relative name.
6129 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6130 ac_top_srcdir=$ac_top_build_prefix$srcdir
6131 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6132 esac
6133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6134
6135
6136 case $ac_mode in
6137 :F)
6138 #
6139 # CONFIG_FILE
6140 #
6141
6142 case $INSTALL in
6143 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6144 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6145 esac
6146 ac_MKDIR_P=$MKDIR_P
6147 case $MKDIR_P in
6148 [\\/$]* | ?:[\\/]* ) ;;
6149 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6150 esac
6151 _ACEOF
6152
6153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6154 # If the template does not know about datarootdir, expand it.
6155 # FIXME: This hack should be removed a few years after 2.60.
6156 ac_datarootdir_hack=; ac_datarootdir_seen=
6157 ac_sed_dataroot='
6158 /datarootdir/ {
6159 p
6160 q
6161 }
6162 /@datadir@/p
6163 /@docdir@/p
6164 /@infodir@/p
6165 /@localedir@/p
6166 /@mandir@/p'
6167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6168 *datarootdir*) ac_datarootdir_seen=yes;;
6169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6171 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6172 _ACEOF
6173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6174 ac_datarootdir_hack='
6175 s&@datadir@&$datadir&g
6176 s&@docdir@&$docdir&g
6177 s&@infodir@&$infodir&g
6178 s&@localedir@&$localedir&g
6179 s&@mandir@&$mandir&g
6180 s&\\\${datarootdir}&$datarootdir&g' ;;
6181 esac
6182 _ACEOF
6183
6184 # Neutralize VPATH when '$srcdir' = '.'.
6185 # Shell code in configure.ac might set extrasub.
6186 # FIXME: do we really want to maintain this feature?
6187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6188 ac_sed_extra="$ac_vpsub
6189 $extrasub
6190 _ACEOF
6191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6192 :t
6193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6194 s|@configure_input@|$ac_sed_conf_input|;t t
6195 s&@top_builddir@&$ac_top_builddir_sub&;t t
6196 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6197 s&@srcdir@&$ac_srcdir&;t t
6198 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6199 s&@top_srcdir@&$ac_top_srcdir&;t t
6200 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6201 s&@builddir@&$ac_builddir&;t t
6202 s&@abs_builddir@&$ac_abs_builddir&;t t
6203 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6204 s&@INSTALL@&$ac_INSTALL&;t t
6205 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6206 $ac_datarootdir_hack
6207 "
6208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6209 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6210
6211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6212 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6214 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
6216 which seems to be undefined. Please make sure it is defined" >&5
6217 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
6218 which seems to be undefined. Please make sure it is defined" >&2;}
6219
6220 rm -f "$ac_tmp/stdin"
6221 case $ac_file in
6222 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6223 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6224 esac \
6225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6226 ;;
6227 :H)
6228 #
6229 # CONFIG_HEADER
6230 #
6231 if test x"$ac_file" != x-; then
6232 {
6233 printf "%s\n" "/* $configure_input */" >&1 \
6234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6235 } >"$ac_tmp/config.h" \
6236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6237 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6239 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6240 else
6241 rm -f "$ac_file"
6242 mv "$ac_tmp/config.h" "$ac_file" \
6243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6244 fi
6245 else
6246 printf "%s\n" "/* $configure_input */" >&1 \
6247 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6248 || as_fn_error $? "could not create -" "$LINENO" 5
6249 fi
6250 # Compute "$ac_file"'s index in $config_headers.
6251 _am_arg="$ac_file"
6252 _am_stamp_count=1
6253 for _am_header in $config_headers :; do
6254 case $_am_header in
6255 $_am_arg | $_am_arg:* )
6256 break ;;
6257 * )
6258 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6259 esac
6260 done
6261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6263 X"$_am_arg" : 'X\(//\)[^/]' \| \
6264 X"$_am_arg" : 'X\(//\)$' \| \
6265 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6266 printf "%s\n" X"$_am_arg" |
6267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6268 s//\1/
6269 q
6270 }
6271 /^X\(\/\/\)[^/].*/{
6272 s//\1/
6273 q
6274 }
6275 /^X\(\/\/\)$/{
6276 s//\1/
6277 q
6278 }
6279 /^X\(\/\).*/{
6280 s//\1/
6281 q
6282 }
6283 s/.*/./; q'`/stamp-h$_am_stamp_count
6284 ;;
6285
6286 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6287 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6288 ;;
6289 esac
6290
6291
6292 case $ac_file$ac_mode in
6293 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6294 # Older Autoconf quotes --file arguments for eval, but not when files
6295 # are listed without --file. Let's play safe and only enable the eval
6296 # if we detect the quoting.
6297 # TODO: see whether this extra hack can be removed once we start
6298 # requiring Autoconf 2.70 or later.
6299 case $CONFIG_FILES in #(
6300 *\'*) :
6301 eval set x "$CONFIG_FILES" ;; #(
6302 *) :
6303 set x $CONFIG_FILES ;; #(
6304 *) :
6305 ;;
6306 esac
6307 shift
6308 # Used to flag and report bootstrapping failures.
6309 am_rc=0
6310 for am_mf
6311 do
6312 # Strip MF so we end up with the name of the file.
6313 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6314 # Check whether this is an Automake generated Makefile which includes
6315 # dependency-tracking related rules and includes.
6316 # Grep'ing the whole file directly is not great: AIX grep has a line
6317 # limit of 2048, but all sed's we know have understand at least 4000.
6318 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6319 || continue
6320 am_dirpart=`$as_dirname -- "$am_mf" ||
6321 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6322 X"$am_mf" : 'X\(//\)[^/]' \| \
6323 X"$am_mf" : 'X\(//\)$' \| \
6324 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6325 printf "%s\n" X"$am_mf" |
6326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6327 s//\1/
6328 q
6329 }
6330 /^X\(\/\/\)[^/].*/{
6331 s//\1/
6332 q
6333 }
6334 /^X\(\/\/\)$/{
6335 s//\1/
6336 q
6337 }
6338 /^X\(\/\).*/{
6339 s//\1/
6340 q
6341 }
6342 s/.*/./; q'`
6343 am_filepart=`$as_basename -- "$am_mf" ||
6344 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6345 X"$am_mf" : 'X\(//\)$' \| \
6346 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6347 printf "%s\n" X/"$am_mf" |
6348 sed '/^.*\/\([^/][^/]*\)\/*$/{
6349 s//\1/
6350 q
6351 }
6352 /^X\/\(\/\/\)$/{
6353 s//\1/
6354 q
6355 }
6356 /^X\/\(\/\).*/{
6357 s//\1/
6358 q
6359 }
6360 s/.*/./; q'`
6361 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6362 && sed -e '/# am--include-marker/d' "$am_filepart" \
6363 | $MAKE -f - am--depfiles" >&5
6364 (cd "$am_dirpart" \
6365 && sed -e '/# am--include-marker/d' "$am_filepart" \
6366 | $MAKE -f - am--depfiles) >&5 2>&5
6367 ac_status=$?
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); } || am_rc=$?
6370 done
6371 if test $am_rc -ne 0; then
6372 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
6373 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
6374 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6375 for automatic dependency tracking. If GNU make was not used, consider
6376 re-running the configure script with MAKE=\"gmake\" (or whatever is
6377 necessary). You can also try re-running configure with the
6378 '--disable-dependency-tracking' option to at least be able to build
6379 the package (albeit without support for automatic dependency tracking).
6380 See 'config.log' for more details" "$LINENO" 5; }
6381 fi
6382 { am_dirpart=; unset am_dirpart;}
6383 { am_filepart=; unset am_filepart;}
6384 { am_mf=; unset am_mf;}
6385 { am_rc=; unset am_rc;}
6386 rm -f conftest-deps.mk
6387 }
6388 ;;
6389
6390 esac
6391 done # for ac_tag
6392
6393
6394 as_fn_exit 0
6395 _ACEOF
6396 ac_clean_files=$ac_clean_files_save
6397
6398 test $ac_write_fail = 0 ||
6399 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6400
6401
6402 # configure is writing to config.log, and then calls config.status.
6403 # config.status does its own redirection, appending to config.log.
6404 # Unfortunately, on DOS this fails, as config.log is still kept open
6405 # by configure, so config.status won't be able to write to it; its
6406 # output is simply discarded. So we exec the FD to /dev/null,
6407 # effectively closing config.log, so it can be properly (re)opened and
6408 # appended to by config.status. When coming back to configure, we
6409 # need to make the FD available again.
6410 if test "$no_create" != yes; then
6411 ac_cs_success=:
6412 ac_config_status_args=
6413 test "$silent" = yes &&
6414 ac_config_status_args="$ac_config_status_args --quiet"
6415 exec 5>/dev/null
6416 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6417 exec 5>>config.log
6418 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6419 # would make configure fail if this is the last instruction.
6420 $ac_cs_success || as_fn_exit 1
6421 fi
6422 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6424 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6425 fi
6426
6427