Debian Codegraph @

mingw-w64-headers/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-headers 4.0b.
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-headers'
605 PACKAGE_TARNAME='mingw-w64-headers'
606 PACKAGE_VERSION='4.0b'
607 PACKAGE_STRING='mingw-w64-headers 4.0b'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="crt/_mingw.h.in"
612 ac_subst_vars='LTLIBOBJS
613 LIBOBJS
614 DEFAULT_MSVCRT_VERSION
615 DEFAULT_WIN32_WINNT
616 IDLHEAD_LIST
617 DDKHEAD_LIST
618 SECSYSHEAD_LIST
619 SECHEAD_LIST
620 SYSHEAD_LIST
621 MINGWHELPERHEAD_LIST
622 KHRHEAD_LIST
623 GLHEAD_LIST
624 WRLWRAPPERSHEAD_LIST
625 WRLHEAD_LIST
626 GDIPLUSHEAD_LIST
627 BASEHEAD_LIST
628 ENABLE_CRT_FALSE
629 ENABLE_CRT_TRUE
630 W32API_FALSE
631 W32API_TRUE
632 HAVE_WIDL_FALSE
633 HAVE_WIDL_TRUE
634 WIDL
635 host_os
636 host_vendor
637 host_cpu
638 host
639 build_os
640 build_vendor
641 build_cpu
642 build
643 MAINT
644 MAINTAINER_MODE_FALSE
645 MAINTAINER_MODE_TRUE
646 AM_BACKSLASH
647 AM_DEFAULT_VERBOSITY
648 AM_DEFAULT_V
649 AM_V
650 CSCOPE
651 ETAGS
652 CTAGS
653 am__untar
654 am__tar
655 AMTAR
656 am__leading_dot
657 SET_MAKE
658 AWK
659 mkdir_p
660 MKDIR_P
661 INSTALL_STRIP_PROGRAM
662 STRIP
663 install_sh
664 MAKEINFO
665 AUTOHEADER
666 AUTOMAKE
667 AUTOCONF
668 ACLOCAL
669 VERSION
670 PACKAGE
671 CYGPATH_W
672 am__isrc
673 INSTALL_DATA
674 INSTALL_SCRIPT
675 INSTALL_PROGRAM
676 target_alias
677 host_alias
678 build_alias
679 LIBS
680 ECHO_T
681 ECHO_N
682 ECHO_C
683 DEFS
684 mandir
685 localedir
686 libdir
687 psdir
688 pdfdir
689 dvidir
690 htmldir
691 infodir
692 docdir
693 oldincludedir
694 includedir
695 runstatedir
696 localstatedir
697 sharedstatedir
698 sysconfdir
699 datadir
700 datarootdir
701 libexecdir
702 sbindir
703 bindir
704 program_transform_name
705 prefix
706 exec_prefix
707 PACKAGE_URL
708 PACKAGE_BUGREPORT
709 PACKAGE_STRING
710 PACKAGE_VERSION
711 PACKAGE_TARNAME
712 PACKAGE_NAME
713 PATH_SEPARATOR
714 SHELL'
715 ac_subst_files=''
716 ac_user_opts='
717 enable_option_checking
718 enable_silent_rules
719 enable_maintainer_mode
720 with_widl
721 enable_w32api
722 enable_crt
723 enable_sdk
724 enable_idl
725 with_default_win32_winnt
726 with_default_msvcrt
727 '
728 ac_precious_vars='build_alias
729 host_alias
730 target_alias'
731
732
733 # Initialize some variables set by options.
734 ac_init_help=
735 ac_init_version=false
736 ac_unrecognized_opts=
737 ac_unrecognized_sep=
738 # The variables have the same names as the options, with
739 # dashes changed to underlines.
740 cache_file=/dev/null
741 exec_prefix=NONE
742 no_create=
743 no_recursion=
744 prefix=NONE
745 program_prefix=NONE
746 program_suffix=NONE
747 program_transform_name=s,x,x,
748 silent=
749 site=
750 srcdir=
751 verbose=
752 x_includes=NONE
753 x_libraries=NONE
754
755 # Installation directory options.
756 # These are left unexpanded so users can "make install exec_prefix=/foo"
757 # and all the variables that are supposed to be based on exec_prefix
758 # by default will actually change.
759 # Use braces instead of parens because sh, perl, etc. also accept them.
760 # (The list follows the same order as the GNU Coding Standards.)
761 bindir='${exec_prefix}/bin'
762 sbindir='${exec_prefix}/sbin'
763 libexecdir='${exec_prefix}/libexec'
764 datarootdir='${prefix}/share'
765 datadir='${datarootdir}'
766 sysconfdir='${prefix}/etc'
767 sharedstatedir='${prefix}/com'
768 localstatedir='${prefix}/var'
769 runstatedir='${localstatedir}/run'
770 includedir='${prefix}/include'
771 oldincludedir='/usr/include'
772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir='${datarootdir}/info'
774 htmldir='${docdir}'
775 dvidir='${docdir}'
776 pdfdir='${docdir}'
777 psdir='${docdir}'
778 libdir='${exec_prefix}/lib'
779 localedir='${datarootdir}/locale'
780 mandir='${datarootdir}/man'
781
782 ac_prev=
783 ac_dashdash=
784 for ac_option
785 do
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\$ac_option
789 ac_prev=
790 continue
791 fi
792
793 case $ac_option in
794 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 *=) ac_optarg= ;;
796 *) ac_optarg=yes ;;
797 esac
798
799 case $ac_dashdash$ac_option in
800 --)
801 ac_dashdash=yes ;;
802
803 -bindir | --bindir | --bindi | --bind | --bin | --bi)
804 ac_prev=bindir ;;
805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
806 bindir=$ac_optarg ;;
807
808 -build | --build | --buil | --bui | --bu)
809 ac_prev=build_alias ;;
810 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
811 build_alias=$ac_optarg ;;
812
813 -cache-file | --cache-file | --cache-fil | --cache-fi \
814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
815 ac_prev=cache_file ;;
816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
818 cache_file=$ac_optarg ;;
819
820 --config-cache | -C)
821 cache_file=config.cache ;;
822
823 -datadir | --datadir | --datadi | --datad)
824 ac_prev=datadir ;;
825 -datadir=* | --datadir=* | --datadi=* | --datad=*)
826 datadir=$ac_optarg ;;
827
828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
829 | --dataroo | --dataro | --datar)
830 ac_prev=datarootdir ;;
831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
833 datarootdir=$ac_optarg ;;
834
835 -disable-* | --disable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: '$ac_useropt'"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=no ;;
850
851 -docdir | --docdir | --docdi | --doc | --do)
852 ac_prev=docdir ;;
853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
854 docdir=$ac_optarg ;;
855
856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
857 ac_prev=dvidir ;;
858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
859 dvidir=$ac_optarg ;;
860
861 -enable-* | --enable-*)
862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
865 as_fn_error $? "invalid feature name: '$ac_useropt'"
866 ac_useropt_orig=$ac_useropt
867 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
869 *"
870 "enable_$ac_useropt"
871 "*) ;;
872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
873 ac_unrecognized_sep=', ';;
874 esac
875 eval enable_$ac_useropt=\$ac_optarg ;;
876
877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
879 | --exec | --exe | --ex)
880 ac_prev=exec_prefix ;;
881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
883 | --exec=* | --exe=* | --ex=*)
884 exec_prefix=$ac_optarg ;;
885
886 -gas | --gas | --ga | --g)
887 # Obsolete; use --with-gas.
888 with_gas=yes ;;
889
890 -help | --help | --hel | --he | -h)
891 ac_init_help=long ;;
892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
893 ac_init_help=recursive ;;
894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
895 ac_init_help=short ;;
896
897 -host | --host | --hos | --ho)
898 ac_prev=host_alias ;;
899 -host=* | --host=* | --hos=* | --ho=*)
900 host_alias=$ac_optarg ;;
901
902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 ac_prev=htmldir ;;
904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 | --ht=*)
906 htmldir=$ac_optarg ;;
907
908 -includedir | --includedir | --includedi | --included | --include \
909 | --includ | --inclu | --incl | --inc)
910 ac_prev=includedir ;;
911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
912 | --includ=* | --inclu=* | --incl=* | --inc=*)
913 includedir=$ac_optarg ;;
914
915 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 ac_prev=infodir ;;
917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
918 infodir=$ac_optarg ;;
919
920 -libdir | --libdir | --libdi | --libd)
921 ac_prev=libdir ;;
922 -libdir=* | --libdir=* | --libdi=* | --libd=*)
923 libdir=$ac_optarg ;;
924
925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
926 | --libexe | --libex | --libe)
927 ac_prev=libexecdir ;;
928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
929 | --libexe=* | --libex=* | --libe=*)
930 libexecdir=$ac_optarg ;;
931
932 -localedir | --localedir | --localedi | --localed | --locale)
933 ac_prev=localedir ;;
934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
935 localedir=$ac_optarg ;;
936
937 -localstatedir | --localstatedir | --localstatedi | --localstated \
938 | --localstate | --localstat | --localsta | --localst | --locals)
939 ac_prev=localstatedir ;;
940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
942 localstatedir=$ac_optarg ;;
943
944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 ac_prev=mandir ;;
946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
947 mandir=$ac_optarg ;;
948
949 -nfp | --nfp | --nf)
950 # Obsolete; use --without-fp.
951 with_fp=no ;;
952
953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
954 | --no-cr | --no-c | -n)
955 no_create=yes ;;
956
957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
959 no_recursion=yes ;;
960
961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
963 | --oldin | --oldi | --old | --ol | --o)
964 ac_prev=oldincludedir ;;
965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
968 oldincludedir=$ac_optarg ;;
969
970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 ac_prev=prefix ;;
972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
973 prefix=$ac_optarg ;;
974
975 -program-prefix | --program-prefix | --program-prefi | --program-pref \
976 | --program-pre | --program-pr | --program-p)
977 ac_prev=program_prefix ;;
978 -program-prefix=* | --program-prefix=* | --program-prefi=* \
979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
980 program_prefix=$ac_optarg ;;
981
982 -program-suffix | --program-suffix | --program-suffi | --program-suff \
983 | --program-suf | --program-su | --program-s)
984 ac_prev=program_suffix ;;
985 -program-suffix=* | --program-suffix=* | --program-suffi=* \
986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
987 program_suffix=$ac_optarg ;;
988
989 -program-transform-name | --program-transform-name \
990 | --program-transform-nam | --program-transform-na \
991 | --program-transform-n | --program-transform- \
992 | --program-transform | --program-transfor \
993 | --program-transfo | --program-transf \
994 | --program-trans | --program-tran \
995 | --progr-tra | --program-tr | --program-t)
996 ac_prev=program_transform_name ;;
997 -program-transform-name=* | --program-transform-name=* \
998 | --program-transform-nam=* | --program-transform-na=* \
999 | --program-transform-n=* | --program-transform-=* \
1000 | --program-transform=* | --program-transfor=* \
1001 | --program-transfo=* | --program-transf=* \
1002 | --program-trans=* | --program-tran=* \
1003 | --progr-tra=* | --program-tr=* | --program-t=*)
1004 program_transform_name=$ac_optarg ;;
1005
1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 ac_prev=pdfdir ;;
1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1009 pdfdir=$ac_optarg ;;
1010
1011 -psdir | --psdir | --psdi | --psd | --ps)
1012 ac_prev=psdir ;;
1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1014 psdir=$ac_optarg ;;
1015
1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017 | -silent | --silent | --silen | --sile | --sil)
1018 silent=yes ;;
1019
1020 -runstatedir | --runstatedir | --runstatedi | --runstated \
1021 | --runstate | --runstat | --runsta | --runst | --runs \
1022 | --run | --ru | --r)
1023 ac_prev=runstatedir ;;
1024 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1025 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1026 | --run=* | --ru=* | --r=*)
1027 runstatedir=$ac_optarg ;;
1028
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 ac_prev=sbindir ;;
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 | --sbi=* | --sb=*)
1033 sbindir=$ac_optarg ;;
1034
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1038 | --sha | --sh)
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 | --sha=* | --sh=*)
1044 sharedstatedir=$ac_optarg ;;
1045
1046 -site | --site | --sit)
1047 ac_prev=site ;;
1048 -site=* | --site=* | --sit=*)
1049 site=$ac_optarg ;;
1050
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 ac_prev=srcdir ;;
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1055
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1062
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1067
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1069 verbose=yes ;;
1070
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1073
1074 -with-* | --with-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: '$ac_useropt'"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1082 *"
1083 "with_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval with_$ac_useropt=\$ac_optarg ;;
1089
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: '$ac_useropt'"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1098 *"
1099 "with_$ac_useropt"
1100 "*) ;;
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1103 esac
1104 eval with_$ac_useropt=no ;;
1105
1106 --x)
1107 # Obsolete; use --with-x.
1108 with_x=yes ;;
1109
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1116
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1123
1124 -*) as_fn_error $? "unrecognized option: '$ac_option'
1125 Try '$0 --help' for more information"
1126 ;;
1127
1128 *=*)
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1134 esac
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1137
1138 *)
1139 # FIXME: should be removed in autoconf 3.0.
1140 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1144 ;;
1145
1146 esac
1147 done
1148
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1152 fi
1153
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1156 no) ;;
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159 esac
1160 fi
1161
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir runstatedir
1167 do
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1170 case $ac_val in
1171 */ )
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1174 esac
1175 # Be sure to have absolute directory names.
1176 case $ac_val in
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1179 esac
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1181 done
1182
1183 # There might be people who depend on the old broken behavior: '$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1186 build=$build_alias
1187 host=$host_alias
1188 target=$target_alias
1189
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1195 cross_compiling=yes
1196 fi
1197 fi
1198
1199 ac_tool_prefix=
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1201
1202 test "$silent" = yes && exec 6>/dev/null
1203
1204
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1211
1212
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 printf "%s\n" X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1224 s//\1/
1225 q
1226 }
1227 /^X\(\/\/\)[^/].*/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\/\)$/{
1232 s//\1/
1233 q
1234 }
1235 /^X\(\/\).*/{
1236 s//\1/
1237 q
1238 }
1239 s/.*/./; q'`
1240 srcdir=$ac_confdir
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1242 srcdir=..
1243 fi
1244 else
1245 ac_srcdir_defaulted=no
1246 fi
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1250 fi
1251 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1252 ac_abs_confdir=`(
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1254 pwd)`
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1257 srcdir=.
1258 fi
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1262 case $srcdir in
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1264 esac
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1270 done
1271
1272 #
1273 # Report the --help message.
1274 #
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1278 cat <<_ACEOF
1279 'configure' configures mingw-w64-headers 4.0b to adapt to many kinds of systems.
1280
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1282
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1285
1286 Defaults for the options are specified in brackets.
1287
1288 Configuration:
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print 'checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for '--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or '..']
1298
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1303 [PREFIX]
1304
1305 By default, 'make install' will install all the files in
1306 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than '$ac_default_prefix' using '--prefix',
1308 for instance '--prefix=\$HOME'.
1309
1310 For better control, use the options below.
1311
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root
1329 [DATAROOTDIR/doc/mingw-w64-headers]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1334 _ACEOF
1335
1336 cat <<\_ACEOF
1337
1338 Program names:
1339 --program-prefix=PREFIX prepend PREFIX to installed program names
1340 --program-suffix=SUFFIX append SUFFIX to installed program names
1341 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1342
1343 System types:
1344 --build=BUILD configure for building on BUILD [guessed]
1345 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1346 _ACEOF
1347 fi
1348
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive ) echo "Configuration of mingw-w64-headers 4.0b:";;
1352 esac
1353 cat <<\_ACEOF
1354
1355 Optional Features:
1356 --disable-option-checking ignore unrecognized --enable/--with options
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --enable-silent-rules less verbose build output (undo: "make V=1")
1360 --disable-silent-rules verbose build output (undo: "make V=0")
1361 --enable-maintainer-mode
1362 enable make rules and dependencies not useful (and
1363 sometimes confusing) to the casual installer
1364 --enable-w32api Enable building a w32api package for Cygwin
1365 (shorthand for --includedir=PREFIX/include/w32api
1366 --disable-crt)
1367 --disable-crt Do not use the default crt headers
1368 --enable-sdk=ARG Add the desired SDK, where ARG can be one of ddk, no
1369 or all. Default is all.
1370 --enable-idl Enable installing idl files
1371
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --with-widl=PATH use widl to update idl-based headers. Optionally
1376 search for a compatible widl in PATH
1377 --with-default-win32-winnt=VER
1378 Default value of _WIN32_WINNT (default: 0xa00)
1379 --with-default-msvcrt=LIB
1380 Default msvcrt to target (default: ucrt)
1381
1382 Report bugs to <[email protected]>.
1383 _ACEOF
1384 ac_status=$?
1385 fi
1386
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1392 continue
1393 ac_builddir=.
1394
1395 case "$ac_dir" in
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 *)
1398 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 esac ;;
1405 esac
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1410
1411 case $srcdir in
1412 .) # We are building in place.
1413 ac_srcdir=.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1420 *) # Relative name.
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 esac
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for configure.gnu first; this name is used for a wrapper for
1429 # Metaconfig's "Configure" on case-insensitive file systems.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1431 echo &&
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1434 echo &&
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1436 else
1437 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 fi || ac_status=$?
1439 cd "$ac_pwd" || { ac_status=$?; break; }
1440 done
1441 fi
1442
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1445 cat <<\_ACEOF
1446 mingw-w64-headers configure 4.0b
1447 generated by GNU Autoconf 2.72
1448
1449 Copyright (C) 2023 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1452 _ACEOF
1453 exit
1454 fi
1455
1456 ## ------------------------ ##
1457 ## Autoconf initialization. ##
1458 ## ------------------------ ##
1459 ac_configure_args_raw=
1460 for ac_arg
1461 do
1462 case $ac_arg in
1463 *\'*)
1464 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1465 esac
1466 as_fn_append ac_configure_args_raw " '$ac_arg'"
1467 done
1468
1469 case $ac_configure_args_raw in
1470 *$as_nl*)
1471 ac_safe_unquote= ;;
1472 *)
1473 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1474 ac_unsafe_a="$ac_unsafe_z#~"
1475 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1476 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1477 esac
1478
1479 cat >config.log <<_ACEOF
1480 This file contains any messages produced by compilers while
1481 running configure, to aid debugging if configure makes a mistake.
1482
1483 It was created by mingw-w64-headers $as_me 4.0b, which was
1484 generated by GNU Autoconf 2.72. Invocation command line was
1485
1486 $ $0$ac_configure_args_raw
1487
1488 _ACEOF
1489 exec 5>>config.log
1490 {
1491 cat <<_ASUNAME
1492 ## --------- ##
1493 ## Platform. ##
1494 ## --------- ##
1495
1496 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1497 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1498 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1499 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1500 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1501
1502 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1503 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1504
1505 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1506 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1507 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1508 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1509 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1510 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1511 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1512
1513 _ASUNAME
1514
1515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1516 for as_dir in $PATH
1517 do
1518 IFS=$as_save_IFS
1519 case $as_dir in #(((
1520 '') as_dir=./ ;;
1521 */) ;;
1522 *) as_dir=$as_dir/ ;;
1523 esac
1524 printf "%s\n" "PATH: $as_dir"
1525 done
1526 IFS=$as_save_IFS
1527
1528 } >&5
1529
1530 cat >&5 <<_ACEOF
1531
1532
1533 ## ----------- ##
1534 ## Core tests. ##
1535 ## ----------- ##
1536
1537 _ACEOF
1538
1539
1540 # Keep a trace of the command line.
1541 # Strip out --no-create and --no-recursion so they do not pile up.
1542 # Strip out --silent because we don't want to record it for future runs.
1543 # Also quote any args containing shell meta-characters.
1544 # Make two passes to allow for proper duplicate-argument suppression.
1545 ac_configure_args=
1546 ac_configure_args0=
1547 ac_configure_args1=
1548 ac_must_keep_next=false
1549 for ac_pass in 1 2
1550 do
1551 for ac_arg
1552 do
1553 case $ac_arg in
1554 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1556 | -silent | --silent | --silen | --sile | --sil)
1557 continue ;;
1558 *\'*)
1559 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1560 esac
1561 case $ac_pass in
1562 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1563 2)
1564 as_fn_append ac_configure_args1 " '$ac_arg'"
1565 if test $ac_must_keep_next = true; then
1566 ac_must_keep_next=false # Got value, back to normal.
1567 else
1568 case $ac_arg in
1569 *=* | --config-cache | -C | -disable-* | --disable-* \
1570 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1571 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1572 | -with-* | --with-* | -without-* | --without-* | --x)
1573 case "$ac_configure_args0 " in
1574 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1575 esac
1576 ;;
1577 -* ) ac_must_keep_next=true ;;
1578 esac
1579 fi
1580 as_fn_append ac_configure_args " '$ac_arg'"
1581 ;;
1582 esac
1583 done
1584 done
1585 { ac_configure_args0=; unset ac_configure_args0;}
1586 { ac_configure_args1=; unset ac_configure_args1;}
1587
1588 # When interrupted or exit'd, cleanup temporary files, and complete
1589 # config.log. We remove comments because anyway the quotes in there
1590 # would cause problems or look ugly.
1591 # WARNING: Use '\'' to represent an apostrophe within the trap.
1592 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1593 trap 'exit_status=$?
1594 # Sanitize IFS.
1595 IFS=" "" $as_nl"
1596 # Save into config.log some information that might help in debugging.
1597 {
1598 echo
1599
1600 printf "%s\n" "## ---------------- ##
1601 ## Cache variables. ##
1602 ## ---------------- ##"
1603 echo
1604 # The following way of writing the cache mishandles newlines in values,
1605 (
1606 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1607 eval ac_val=\$$ac_var
1608 case $ac_val in #(
1609 *${as_nl}*)
1610 case $ac_var in #(
1611 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1612 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1613 esac
1614 case $ac_var in #(
1615 _ | IFS | as_nl) ;; #(
1616 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1617 *) { eval $ac_var=; unset $ac_var;} ;;
1618 esac ;;
1619 esac
1620 done
1621 (set) 2>&1 |
1622 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1623 *${as_nl}ac_space=\ *)
1624 sed -n \
1625 "s/'\''/'\''\\\\'\'''\''/g;
1626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1627 ;; #(
1628 *)
1629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1630 ;;
1631 esac |
1632 sort
1633 )
1634 echo
1635
1636 printf "%s\n" "## ----------------- ##
1637 ## Output variables. ##
1638 ## ----------------- ##"
1639 echo
1640 for ac_var in $ac_subst_vars
1641 do
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 printf "%s\n" "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1649
1650 if test -n "$ac_subst_files"; then
1651 printf "%s\n" "## ------------------- ##
1652 ## File substitutions. ##
1653 ## ------------------- ##"
1654 echo
1655 for ac_var in $ac_subst_files
1656 do
1657 eval ac_val=\$$ac_var
1658 case $ac_val in
1659 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1660 esac
1661 printf "%s\n" "$ac_var='\''$ac_val'\''"
1662 done | sort
1663 echo
1664 fi
1665
1666 if test -s confdefs.h; then
1667 printf "%s\n" "## ----------- ##
1668 ## confdefs.h. ##
1669 ## ----------- ##"
1670 echo
1671 cat confdefs.h
1672 echo
1673 fi
1674 test "$ac_signal" != 0 &&
1675 printf "%s\n" "$as_me: caught signal $ac_signal"
1676 printf "%s\n" "$as_me: exit $exit_status"
1677 } >&5
1678 rm -f core *.core core.conftest.* &&
1679 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680 exit $exit_status
1681 ' 0
1682 for ac_signal in 1 2 13 15; do
1683 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1684 done
1685 ac_signal=0
1686
1687 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1688 rm -f -r conftest* confdefs.h
1689
1690 printf "%s\n" "/* confdefs.h */" > confdefs.h
1691
1692 # Predefined preprocessor variables.
1693
1694 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1695
1696 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1697
1698 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1699
1700 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1701
1702 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1703
1704 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1705
1706
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer an explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 ac_site_files="$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1713 else
1714 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1715 fi
1716
1717 for ac_site_file in $ac_site_files
1718 do
1719 case $ac_site_file in #(
1720 */*) :
1721 ;; #(
1722 *) :
1723 ac_site_file=./$ac_site_file ;;
1724 esac
1725 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1727 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1728 sed 's/^/| /' "$ac_site_file" >&5
1729 . "$ac_site_file" \
1730 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1731 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1732 as_fn_error $? "failed to load site script $ac_site_file
1733 See 'config.log' for more details" "$LINENO" 5; }
1734 fi
1735 done
1736
1737 if test -r "$cache_file"; then
1738 # Some versions of bash will fail to source /dev/null (special files
1739 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1740 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1742 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1743 case $cache_file in
1744 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1745 *) . "./$cache_file";;
1746 esac
1747 fi
1748 else
1749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1750 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1751 >$cache_file
1752 fi
1753
1754
1755 # Auxiliary files required by this configure script.
1756 ac_aux_files="config.guess config.sub missing install-sh"
1757
1758 # Locations in which to look for auxiliary files.
1759 ac_aux_dir_candidates="${srcdir}/build-aux"
1760
1761 # Search for a directory containing all of the required auxiliary files,
1762 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1763 # If we don't find one directory that contains all the files we need,
1764 # we report the set of missing files from the *first* directory in
1765 # $ac_aux_dir_candidates and give up.
1766 ac_missing_aux_files=""
1767 ac_first_candidate=:
1768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770 as_found=false
1771 for as_dir in $ac_aux_dir_candidates
1772 do
1773 IFS=$as_save_IFS
1774 case $as_dir in #(((
1775 '') as_dir=./ ;;
1776 */) ;;
1777 *) as_dir=$as_dir/ ;;
1778 esac
1779 as_found=:
1780
1781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1782 ac_aux_dir_found=yes
1783 ac_install_sh=
1784 for ac_aux in $ac_aux_files
1785 do
1786 # As a special case, if "install-sh" is required, that requirement
1787 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1788 # and $ac_install_sh is set appropriately for whichever one is found.
1789 if test x"$ac_aux" = x"install-sh"
1790 then
1791 if test -f "${as_dir}install-sh"; then
1792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1793 ac_install_sh="${as_dir}install-sh -c"
1794 elif test -f "${as_dir}install.sh"; then
1795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1796 ac_install_sh="${as_dir}install.sh -c"
1797 elif test -f "${as_dir}shtool"; then
1798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1799 ac_install_sh="${as_dir}shtool install -c"
1800 else
1801 ac_aux_dir_found=no
1802 if $ac_first_candidate; then
1803 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1804 else
1805 break
1806 fi
1807 fi
1808 else
1809 if test -f "${as_dir}${ac_aux}"; then
1810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1811 else
1812 ac_aux_dir_found=no
1813 if $ac_first_candidate; then
1814 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1815 else
1816 break
1817 fi
1818 fi
1819 fi
1820 done
1821 if test "$ac_aux_dir_found" = yes; then
1822 ac_aux_dir="$as_dir"
1823 break
1824 fi
1825 ac_first_candidate=false
1826
1827 as_found=false
1828 done
1829 IFS=$as_save_IFS
1830 if $as_found
1831 then :
1832
1833 else case e in #(
1834 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
1835 esac
1836 fi
1837
1838
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 if test -f "${ac_aux_dir}config.guess"; then
1844 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1845 fi
1846 if test -f "${ac_aux_dir}config.sub"; then
1847 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1848 fi
1849 if test -f "$ac_aux_dir/configure"; then
1850 ac_configure="$SHELL ${ac_aux_dir}configure"
1851 fi
1852
1853 # Check that the precious variables saved in the cache have kept the same
1854 # value.
1855 ac_cache_corrupted=false
1856 for ac_var in $ac_precious_vars; do
1857 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1858 eval ac_new_set=\$ac_env_${ac_var}_set
1859 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1860 eval ac_new_val=\$ac_env_${ac_var}_value
1861 case $ac_old_set,$ac_new_set in
1862 set,)
1863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
1864 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1865 ac_cache_corrupted=: ;;
1866 ,set)
1867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
1868 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1869 ac_cache_corrupted=: ;;
1870 ,);;
1871 *)
1872 if test "x$ac_old_val" != "x$ac_new_val"; then
1873 # differences in whitespace do not lead to failure.
1874 ac_old_val_w=`echo x $ac_old_val`
1875 ac_new_val_w=`echo x $ac_new_val`
1876 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
1878 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1879 ac_cache_corrupted=:
1880 else
1881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
1882 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1883 eval $ac_var=\$ac_old_val
1884 fi
1885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
1886 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
1887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
1888 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
1889 fi;;
1890 esac
1891 # Pass precious variables to config.status.
1892 if test "$ac_new_set" = set; then
1893 case $ac_new_val in
1894 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1895 *) ac_arg=$ac_var=$ac_new_val ;;
1896 esac
1897 case " $ac_configure_args " in
1898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1899 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1900 esac
1901 fi
1902 done
1903 if $ac_cache_corrupted; then
1904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1905 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1907 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1908 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1909 and start over" "$LINENO" 5
1910 fi
1911 ## -------------------- ##
1912 ## Main body of script. ##
1913 ## -------------------- ##
1914
1915 ac_ext=c
1916 ac_cpp='$CPP $CPPFLAGS'
1917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1920
1921
1922
1923
1924 ac_config_headers="$ac_config_headers config.h"
1925
1926
1927 am__api_version='1.16'
1928
1929
1930
1931 # Find a good install program. We prefer a C program (faster),
1932 # so one script is as good as another. But avoid the broken or
1933 # incompatible versions:
1934 # SysV /etc/install, /usr/sbin/install
1935 # SunOS /usr/etc/install
1936 # IRIX /sbin/install
1937 # AIX /bin/install
1938 # AmigaOS /C/install, which installs bootblocks on floppy discs
1939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1942 # OS/2's system install, which has a completely different semantic
1943 # ./install, which can be erroneously created by make from ./install.sh.
1944 # Reject install programs that cannot install multiple files.
1945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1946 printf %s "checking for a BSD-compatible install... " >&6; }
1947 if test -z "$INSTALL"; then
1948 if test ${ac_cv_path_install+y}
1949 then :
1950 printf %s "(cached) " >&6
1951 else case e in #(
1952 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1954 do
1955 IFS=$as_save_IFS
1956 case $as_dir in #(((
1957 '') as_dir=./ ;;
1958 */) ;;
1959 *) as_dir=$as_dir/ ;;
1960 esac
1961 # Account for fact that we put trailing slashes in our PATH walk.
1962 case $as_dir in #((
1963 ./ | /[cC]/* | \
1964 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1965 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1966 /usr/ucb/* ) ;;
1967 *)
1968 # OSF1 and SCO ODT 3.0 have their own names for install.
1969 # Don't use installbsd from OSF since it installs stuff as root
1970 # by default.
1971 for ac_prog in ginstall scoinst install; do
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1974 if test $ac_prog = install &&
1975 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1976 # AIX install. It has an incompatible calling convention.
1977 :
1978 elif test $ac_prog = install &&
1979 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1980 # program-specific install script used by HP pwplus--don't use.
1981 :
1982 else
1983 rm -rf conftest.one conftest.two conftest.dir
1984 echo one > conftest.one
1985 echo two > conftest.two
1986 mkdir conftest.dir
1987 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1988 test -s conftest.one && test -s conftest.two &&
1989 test -s conftest.dir/conftest.one &&
1990 test -s conftest.dir/conftest.two
1991 then
1992 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1993 break 3
1994 fi
1995 fi
1996 fi
1997 done
1998 done
1999 ;;
2000 esac
2001
2002 done
2003 IFS=$as_save_IFS
2004
2005 rm -rf conftest.one conftest.two conftest.dir
2006 ;;
2007 esac
2008 fi
2009 if test ${ac_cv_path_install+y}; then
2010 INSTALL=$ac_cv_path_install
2011 else
2012 # As a last resort, use the slow shell script. Don't cache a
2013 # value for INSTALL within a source directory, because that will
2014 # break other packages using the cache if that directory is
2015 # removed, or if the value is a relative name.
2016 INSTALL=$ac_install_sh
2017 fi
2018 fi
2019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2020 printf "%s\n" "$INSTALL" >&6; }
2021
2022 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2023 # It thinks the first close brace ends the variable substitution.
2024 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2025
2026 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2027
2028 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2029
2030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2031 printf %s "checking whether build environment is sane... " >&6; }
2032 # Reject unsafe characters in $srcdir or the absolute working directory
2033 # name. Accept space and tab only in the latter.
2034 am_lf='
2035 '
2036 case `pwd` in
2037 *[\\\"\#\$\&\'\`$am_lf]*)
2038 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2039 esac
2040 case $srcdir in
2041 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2042 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2043 esac
2044
2045 # Do 'set' in a subshell so we don't clobber the current shell's
2046 # arguments. Must try -L first in case configure is actually a
2047 # symlink; some systems play weird games with the mod time of symlinks
2048 # (eg FreeBSD returns the mod time of the symlink's containing
2049 # directory).
2050 if (
2051 am_has_slept=no
2052 for am_try in 1 2; do
2053 echo "timestamp, slept: $am_has_slept" > conftest.file
2054 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2055 if test "$*" = "X"; then
2056 # -L didn't work.
2057 set X `ls -t "$srcdir/configure" conftest.file`
2058 fi
2059 if test "$*" != "X $srcdir/configure conftest.file" \
2060 && test "$*" != "X conftest.file $srcdir/configure"; then
2061
2062 # If neither matched, then we have a broken ls. This can happen
2063 # if, for instance, CONFIG_SHELL is bash and it inherits a
2064 # broken ls alias from the environment. This has actually
2065 # happened. Such a system could not be considered "sane".
2066 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2067 alias in your environment" "$LINENO" 5
2068 fi
2069 if test "$2" = conftest.file || test $am_try -eq 2; then
2070 break
2071 fi
2072 # Just in case.
2073 sleep 1
2074 am_has_slept=yes
2075 done
2076 test "$2" = conftest.file
2077 )
2078 then
2079 # Ok.
2080 :
2081 else
2082 as_fn_error $? "newly created file is older than distributed files!
2083 Check your system clock" "$LINENO" 5
2084 fi
2085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2086 printf "%s\n" "yes" >&6; }
2087 # If we didn't sleep, we still need to ensure time stamps of config.status and
2088 # generated files are strictly newer.
2089 am_sleep_pid=
2090 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2091 ( sleep 1 ) &
2092 am_sleep_pid=$!
2093 fi
2094
2095 rm -f conftest.file
2096
2097 test "$program_prefix" != NONE &&
2098 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2099 # Use a double $ so make ignores it.
2100 test "$program_suffix" != NONE &&
2101 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2102 # Double any \ or $.
2103 # By default was 's,x,x', remove it if useless.
2104 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2105 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2106
2107
2108 # Expand $ac_aux_dir to an absolute path.
2109 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2110
2111
2112 if test x"${MISSING+set}" != xset; then
2113 MISSING="\${SHELL} '$am_aux_dir/missing'"
2114 fi
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --is-lightweight"; then
2117 am_missing_run="$MISSING "
2118 else
2119 am_missing_run=
2120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2121 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2122 fi
2123
2124 if test x"${install_sh+set}" != xset; then
2125 case $am_aux_dir in
2126 *\ * | *\ *)
2127 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2128 *)
2129 install_sh="\${SHELL} $am_aux_dir/install-sh"
2130 esac
2131 fi
2132
2133 # Installed binaries are usually stripped using 'strip' when the user
2134 # run "make install-strip". However 'strip' might not be the right
2135 # tool to use in cross-compilation environments, therefore Automake
2136 # will honor the 'STRIP' environment variable to overrule this program.
2137 if test "$cross_compiling" != no; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}strip; ac_word=$2
2141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2142 printf %s "checking for $ac_word... " >&6; }
2143 if test ${ac_cv_prog_STRIP+y}
2144 then :
2145 printf %s "(cached) " >&6
2146 else case e in #(
2147 e) if test -n "$STRIP"; then
2148 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2149 else
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 for as_dir in $PATH
2152 do
2153 IFS=$as_save_IFS
2154 case $as_dir in #(((
2155 '') as_dir=./ ;;
2156 */) ;;
2157 *) as_dir=$as_dir/ ;;
2158 esac
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2163 break 2
2164 fi
2165 done
2166 done
2167 IFS=$as_save_IFS
2168
2169 fi ;;
2170 esac
2171 fi
2172 STRIP=$ac_cv_prog_STRIP
2173 if test -n "$STRIP"; then
2174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2175 printf "%s\n" "$STRIP" >&6; }
2176 else
2177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2178 printf "%s\n" "no" >&6; }
2179 fi
2180
2181
2182 fi
2183 if test -z "$ac_cv_prog_STRIP"; then
2184 ac_ct_STRIP=$STRIP
2185 # Extract the first word of "strip", so it can be a program name with args.
2186 set dummy strip; ac_word=$2
2187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2188 printf %s "checking for $ac_word... " >&6; }
2189 if test ${ac_cv_prog_ac_ct_STRIP+y}
2190 then :
2191 printf %s "(cached) " >&6
2192 else case e in #(
2193 e) if test -n "$ac_ct_STRIP"; then
2194 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2198 do
2199 IFS=$as_save_IFS
2200 case $as_dir in #(((
2201 '') as_dir=./ ;;
2202 */) ;;
2203 *) as_dir=$as_dir/ ;;
2204 esac
2205 for ac_exec_ext in '' $ac_executable_extensions; do
2206 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2207 ac_cv_prog_ac_ct_STRIP="strip"
2208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2209 break 2
2210 fi
2211 done
2212 done
2213 IFS=$as_save_IFS
2214
2215 fi ;;
2216 esac
2217 fi
2218 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2219 if test -n "$ac_ct_STRIP"; then
2220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2221 printf "%s\n" "$ac_ct_STRIP" >&6; }
2222 else
2223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2224 printf "%s\n" "no" >&6; }
2225 fi
2226
2227 if test "x$ac_ct_STRIP" = x; then
2228 STRIP=":"
2229 else
2230 case $cross_compiling:$ac_tool_warned in
2231 yes:)
2232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2233 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2234 ac_tool_warned=yes ;;
2235 esac
2236 STRIP=$ac_ct_STRIP
2237 fi
2238 else
2239 STRIP="$ac_cv_prog_STRIP"
2240 fi
2241
2242 fi
2243 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2244
2245
2246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2247 printf %s "checking for a race-free mkdir -p... " >&6; }
2248 if test -z "$MKDIR_P"; then
2249 if test ${ac_cv_path_mkdir+y}
2250 then :
2251 printf %s "(cached) " >&6
2252 else case e in #(
2253 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2255 do
2256 IFS=$as_save_IFS
2257 case $as_dir in #(((
2258 '') as_dir=./ ;;
2259 */) ;;
2260 *) as_dir=$as_dir/ ;;
2261 esac
2262 for ac_prog in mkdir gmkdir; do
2263 for ac_exec_ext in '' $ac_executable_extensions; do
2264 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2265 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2266 'mkdir ('*'coreutils) '* | \
2267 *'BusyBox '* | \
2268 'mkdir (fileutils) '4.1*)
2269 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2270 break 3;;
2271 esac
2272 done
2273 done
2274 done
2275 IFS=$as_save_IFS
2276 ;;
2277 esac
2278 fi
2279
2280 test -d ./--version && rmdir ./--version
2281 if test ${ac_cv_path_mkdir+y}; then
2282 MKDIR_P="$ac_cv_path_mkdir -p"
2283 else
2284 # As a last resort, use plain mkdir -p,
2285 # in the hope it doesn't have the bugs of ancient mkdir.
2286 MKDIR_P='mkdir -p'
2287 fi
2288 fi
2289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2290 printf "%s\n" "$MKDIR_P" >&6; }
2291
2292 for ac_prog in gawk mawk nawk awk
2293 do
2294 # Extract the first word of "$ac_prog", so it can be a program name with args.
2295 set dummy $ac_prog; ac_word=$2
2296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2297 printf %s "checking for $ac_word... " >&6; }
2298 if test ${ac_cv_prog_AWK+y}
2299 then :
2300 printf %s "(cached) " >&6
2301 else case e in #(
2302 e) if test -n "$AWK"; then
2303 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2304 else
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 for as_dir in $PATH
2307 do
2308 IFS=$as_save_IFS
2309 case $as_dir in #(((
2310 '') as_dir=./ ;;
2311 */) ;;
2312 *) as_dir=$as_dir/ ;;
2313 esac
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_AWK="$ac_prog"
2317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2318 break 2
2319 fi
2320 done
2321 done
2322 IFS=$as_save_IFS
2323
2324 fi ;;
2325 esac
2326 fi
2327 AWK=$ac_cv_prog_AWK
2328 if test -n "$AWK"; then
2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2330 printf "%s\n" "$AWK" >&6; }
2331 else
2332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333 printf "%s\n" "no" >&6; }
2334 fi
2335
2336
2337 test -n "$AWK" && break
2338 done
2339
2340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2341 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2342 set x ${MAKE-make}
2343 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2344 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2345 then :
2346 printf %s "(cached) " >&6
2347 else case e in #(
2348 e) cat >conftest.make <<\_ACEOF
2349 SHELL = /bin/sh
2350 all:
2351 @echo '@@@%%%=$(MAKE)=@@@%%%'
2352 _ACEOF
2353 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2354 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2355 *@@@%%%=?*=@@@%%%*)
2356 eval ac_cv_prog_make_${ac_make}_set=yes;;
2357 *)
2358 eval ac_cv_prog_make_${ac_make}_set=no;;
2359 esac
2360 rm -f conftest.make ;;
2361 esac
2362 fi
2363 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2365 printf "%s\n" "yes" >&6; }
2366 SET_MAKE=
2367 else
2368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2369 printf "%s\n" "no" >&6; }
2370 SET_MAKE="MAKE=${MAKE-make}"
2371 fi
2372
2373 rm -rf .tst 2>/dev/null
2374 mkdir .tst 2>/dev/null
2375 if test -d .tst; then
2376 am__leading_dot=.
2377 else
2378 am__leading_dot=_
2379 fi
2380 rmdir .tst 2>/dev/null
2381
2382 # Check whether --enable-silent-rules was given.
2383 if test ${enable_silent_rules+y}
2384 then :
2385 enableval=$enable_silent_rules;
2386 fi
2387
2388 case $enable_silent_rules in # (((
2389 yes) AM_DEFAULT_VERBOSITY=0;;
2390 no) AM_DEFAULT_VERBOSITY=1;;
2391 *) AM_DEFAULT_VERBOSITY=1;;
2392 esac
2393 am_make=${MAKE-make}
2394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2395 printf %s "checking whether $am_make supports nested variables... " >&6; }
2396 if test ${am_cv_make_support_nested_variables+y}
2397 then :
2398 printf %s "(cached) " >&6
2399 else case e in #(
2400 e) if printf "%s\n" 'TRUE=$(BAR$(V))
2401 BAR0=false
2402 BAR1=true
2403 V=1
2404 am__doit:
2405 @$(TRUE)
2406 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2407 am_cv_make_support_nested_variables=yes
2408 else
2409 am_cv_make_support_nested_variables=no
2410 fi ;;
2411 esac
2412 fi
2413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2414 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2415 if test $am_cv_make_support_nested_variables = yes; then
2416 AM_V='$(V)'
2417 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2418 else
2419 AM_V=$AM_DEFAULT_VERBOSITY
2420 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2421 fi
2422 AM_BACKSLASH='\'
2423
2424 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2425 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2426 # is not polluted with repeated "-I."
2427 am__isrc=' -I$(srcdir)'
2428 # test to see if srcdir already configured
2429 if test -f $srcdir/config.status; then
2430 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2431 fi
2432 fi
2433
2434 # test whether we have cygpath
2435 if test -z "$CYGPATH_W"; then
2436 if (cygpath --version) >/dev/null 2>/dev/null; then
2437 CYGPATH_W='cygpath -w'
2438 else
2439 CYGPATH_W=echo
2440 fi
2441 fi
2442
2443
2444 # Define the identity of the package.
2445 PACKAGE='mingw-w64-headers'
2446 VERSION='4.0b'
2447
2448
2449 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2450
2451
2452 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2453
2454 # Some tools Automake needs.
2455
2456 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2457
2458
2459 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2460
2461
2462 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2463
2464
2465 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2466
2467
2468 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2469
2470 # For better backward compatibility. To be removed once Automake 1.9.x
2471 # dies out for good. For more background, see:
2472 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2473 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2474 mkdir_p='$(MKDIR_P)'
2475
2476 # We need awk for the "check" target (and possibly the TAP driver). The
2477 # system "awk" is bad on some platforms.
2478 # Always define AMTAR for backward compatibility. Yes, it's still used
2479 # in the wild :-( We should find a proper way to deprecate it ...
2480 AMTAR='$${TAR-tar}'
2481
2482
2483 # We'll loop over all known methods to create a tar archive until one works.
2484 _am_tools='gnutar pax cpio none'
2485
2486 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2487
2488
2489
2490
2491
2492 # Variables for tags utilities; see am/tags.am
2493 if test -z "$CTAGS"; then
2494 CTAGS=ctags
2495 fi
2496
2497 if test -z "$ETAGS"; then
2498 ETAGS=etags
2499 fi
2500
2501 if test -z "$CSCOPE"; then
2502 CSCOPE=cscope
2503 fi
2504
2505
2506
2507 # POSIX will say in a future version that running "rm -f" with no argument
2508 # is OK; and we want to be able to make that assumption in our Makefile
2509 # recipes. So use an aggressive probe to check that the usage we want is
2510 # actually supported "in the wild" to an acceptable degree.
2511 # See automake bug#10828.
2512 # To make any issue more visible, cause the running configure to be aborted
2513 # by default if the 'rm' program in use doesn't match our expectations; the
2514 # user can still override this though.
2515 if rm -f && rm -fr && rm -rf; then : OK; else
2516 cat >&2 <<'END'
2517 Oops!
2518
2519 Your 'rm' program seems unable to run without file operands specified
2520 on the command line, even when the '-f' option is present. This is contrary
2521 to the behaviour of most rm programs out there, and not conforming with
2522 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2523
2524 Please tell [email protected] about your system, including the value
2525 of your $PATH and any error possibly output before this message. This
2526 can help us improve future automake versions.
2527
2528 END
2529 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2530 echo 'Configuration will proceed anyway, since you have set the' >&2
2531 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2532 echo >&2
2533 else
2534 cat >&2 <<'END'
2535 Aborting the configuration process, to ensure you take notice of the issue.
2536
2537 You can download and install GNU coreutils to get an 'rm' implementation
2538 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2539
2540 If you want to complete the configuration process using your problematic
2541 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2542 to "yes", and re-run configure.
2543
2544 END
2545 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2546 fi
2547 fi
2548
2549
2550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2551 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2552 # Check whether --enable-maintainer-mode was given.
2553 if test ${enable_maintainer_mode+y}
2554 then :
2555 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2556 else case e in #(
2557 e) USE_MAINTAINER_MODE=no ;;
2558 esac
2559 fi
2560
2561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2562 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2563 if test $USE_MAINTAINER_MODE = yes; then
2564 MAINTAINER_MODE_TRUE=
2565 MAINTAINER_MODE_FALSE='#'
2566 else
2567 MAINTAINER_MODE_TRUE='#'
2568 MAINTAINER_MODE_FALSE=
2569 fi
2570
2571 MAINT=$MAINTAINER_MODE_TRUE
2572
2573
2574
2575
2576
2577 # Make sure we can run config.sub.
2578 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
2579 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
2580
2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2582 printf %s "checking build system type... " >&6; }
2583 if test ${ac_cv_build+y}
2584 then :
2585 printf %s "(cached) " >&6
2586 else case e in #(
2587 e) ac_build_alias=$build_alias
2588 test "x$ac_build_alias" = x &&
2589 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
2590 test "x$ac_build_alias" = x &&
2591 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2592 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2593 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2594 ;;
2595 esac
2596 fi
2597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2598 printf "%s\n" "$ac_cv_build" >&6; }
2599 case $ac_cv_build in
2600 *-*-*) ;;
2601 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2602 esac
2603 build=$ac_cv_build
2604 ac_save_IFS=$IFS; IFS='-'
2605 set x $ac_cv_build
2606 shift
2607 build_cpu=$1
2608 build_vendor=$2
2609 shift; shift
2610 # Remember, the first character of IFS is used to create $*,
2611 # except with old shells:
2612 build_os=$*
2613 IFS=$ac_save_IFS
2614 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2615
2616
2617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2618 printf %s "checking host system type... " >&6; }
2619 if test ${ac_cv_host+y}
2620 then :
2621 printf %s "(cached) " >&6
2622 else case e in #(
2623 e) if test "x$host_alias" = x; then
2624 ac_cv_host=$ac_cv_build
2625 else
2626 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2627 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2628 fi
2629 ;;
2630 esac
2631 fi
2632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2633 printf "%s\n" "$ac_cv_host" >&6; }
2634 case $ac_cv_host in
2635 *-*-*) ;;
2636 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2637 esac
2638 host=$ac_cv_host
2639 ac_save_IFS=$IFS; IFS='-'
2640 set x $ac_cv_host
2641 shift
2642 host_cpu=$1
2643 host_vendor=$2
2644 shift; shift
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2647 host_os=$*
2648 IFS=$ac_save_IFS
2649 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2650
2651
2652
2653 # Search for a usable widl. If PATH is given, search there. Otherwise, search
2654 # in $PATH. In all cases, search for a canonicalized name first ($host-widl),
2655 # followed by a non-canonicalized name (widl). If these fail, error out.
2656 # NB: $host from this perspective is the same as $target while building widl.
2657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to rebuild headers with widl" >&5
2658 printf %s "checking whether to rebuild headers with widl... " >&6; }
2659
2660 # Check whether --with-widl was given.
2661 if test ${with_widl+y}
2662 then :
2663 withval=$with_widl; if test "x$with_widl" = xyes
2664 then :
2665 with_widl="$PATH"
2666 fi
2667 else case e in #(
2668 e) with_widl=no ;;
2669 esac
2670 fi
2671
2672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_widl" >&5
2673 printf "%s\n" "$with_widl" >&6; }
2674
2675 if test "x$with_widl" = xno
2676 then :
2677
2678 else case e in #(
2679 e)
2680 if test "x$srcdir" = x.
2681 then :
2682
2683 else case e in #(
2684 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-widl used in out of the tree compilation. Existing generated files will not be modified." >&5
2685 printf "%s\n" "$as_me: WARNING: --with-widl used in out of the tree compilation. Existing generated files will not be modified." >&2;} ;;
2686 esac
2687 fi
2688 for ac_prog in $host-widl widl
2689 do
2690 # Extract the first word of "$ac_prog", so it can be a program name with args.
2691 set dummy $ac_prog; ac_word=$2
2692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 printf %s "checking for $ac_word... " >&6; }
2694 if test ${ac_cv_path_WIDL+y}
2695 then :
2696 printf %s "(cached) " >&6
2697 else case e in #(
2698 e) case $WIDL in
2699 [\\/]* | ?:[\\/]*)
2700 ac_cv_path_WIDL="$WIDL" # Let the user override the test with a path.
2701 ;;
2702 *)
2703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 for as_dir in $with_widl
2705 do
2706 IFS=$as_save_IFS
2707 case $as_dir in #(((
2708 '') as_dir=./ ;;
2709 */) ;;
2710 *) as_dir=$as_dir/ ;;
2711 esac
2712 for ac_exec_ext in '' $ac_executable_extensions; do
2713 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2714 ac_cv_path_WIDL="$as_dir$ac_word$ac_exec_ext"
2715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2716 break 2
2717 fi
2718 done
2719 done
2720 IFS=$as_save_IFS
2721
2722 ;;
2723 esac ;;
2724 esac
2725 fi
2726 WIDL=$ac_cv_path_WIDL
2727 if test -n "$WIDL"; then
2728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WIDL" >&5
2729 printf "%s\n" "$WIDL" >&6; }
2730 else
2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 printf "%s\n" "no" >&6; }
2733 fi
2734
2735
2736 test -n "$WIDL" && break
2737 done
2738
2739 if ${WIDL:+false} :
2740 then :
2741 as_fn_error $? "--with-widl is specified, but widl installation could not be found." "$LINENO" 5
2742 fi ;;
2743 esac
2744 fi
2745
2746 if test ${WIDL+y}; then
2747 HAVE_WIDL_TRUE=
2748 HAVE_WIDL_FALSE='#'
2749 else
2750 HAVE_WIDL_TRUE='#'
2751 HAVE_WIDL_FALSE=
2752 fi
2753
2754
2755 # Checks for libraries.
2756
2757 # Checks for header files.
2758
2759 BASEHEAD_LIST="crt/_bsd_types.h crt/_cygwin.h crt/_mingw.h crt/_mingw_mac.h crt/_mingw_secapi.h crt/_mingw_unicode.h crt/_timeval.h crt/crtdefs.h crt/corecrt.h crt/excpt.h crt/intrin.h crt/vadefs.h crt/tchar.h "$srcdir/include/*.h
2760 SECHEAD_LIST="$srcdir/crt/sec_api/stralign_s.h"
2761 for i in c inl dlg h16 hxx rh ver; do
2762 BASEHEAD_LIST="$BASEHEAD_LIST "$srcdir/include/*.$i
2763 done
2764
2765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build a w32api package for Cygwin" >&5
2766 printf %s "checking whether to build a w32api package for Cygwin... " >&6; }
2767 # Check whether --enable-w32api was given.
2768 if test ${enable_w32api+y}
2769 then :
2770 enableval=$enable_w32api;
2771 else case e in #(
2772 e) enable_w32api=no ;;
2773 esac
2774 fi
2775
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_w32api" >&5
2777 printf "%s\n" "$enable_w32api" >&6; }
2778 case $enable_w32api in #(
2779 no) :
2780 ;; #(
2781 yes) :
2782 W32API=
2783 enable_crt=no
2784 includedir=${prefix}/include/w32api ;; #(
2785 *) :
2786 as_fn_error $? "invalid argument. Must be either yes or no." "$LINENO" 5 ;;
2787 esac
2788 if test ${W32API+y}; then
2789 W32API_TRUE=
2790 W32API_FALSE='#'
2791 else
2792 W32API_TRUE='#'
2793 W32API_FALSE=
2794 fi
2795
2796
2797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for c-runtime headers" >&5
2798 printf %s "checking for c-runtime headers... " >&6; }
2799 # Check whether --enable-crt was given.
2800 if test ${enable_crt+y}
2801 then :
2802 enableval=$enable_crt;
2803 else case e in #(
2804 e) enable_crt=yes ;;
2805 esac
2806 fi
2807
2808 if test x$enable_crt=xyes; then
2809 ENABLE_CRT_TRUE=
2810 ENABLE_CRT_FALSE='#'
2811 else
2812 ENABLE_CRT_TRUE='#'
2813 ENABLE_CRT_FALSE=
2814 fi
2815
2816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_crt" >&5
2817 printf "%s\n" "$enable_crt" >&6; }
2818 if test "x$enable_crt" = xyes
2819 then :
2820
2821 BASEHEAD_LIST="$BASEHEAD_LIST "$srcdir/crt/*.h" "$srcdir/crt/*.inl
2822 SYSHEAD_LIST=$srcdir/crt/sys/*.h
2823 SECHEAD_LIST=$srcdir/crt/sec_api/*.h
2824 SECSYSHEAD_LIST=$srcdir/crt/sec_api/sys/*.h
2825
2826 fi
2827 GDIPLUSHEAD_LIST=$srcdir/include/gdiplus/*.h
2828 WRLHEAD_LIST=$srcdir/include/wrl/*.h
2829 WRLWRAPPERSHEAD_LIST=$srcdir/include/wrl/wrappers/*.h
2830 GLHEAD_LIST=$srcdir/include/GL/*.h
2831 KHRHEAD_LIST=$srcdir/include/KHR/*.h
2832 MINGWHELPERHEAD_LIST=$srcdir/include/psdk_inc/*.h
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optional sdk headers" >&5
2845 printf %s "checking for optional sdk headers... " >&6; }
2846 # Check whether --enable-sdk was given.
2847 if test ${enable_sdk+y}
2848 then :
2849 enableval=$enable_sdk;
2850 else case e in #(
2851 e) enable_sdk=all ;;
2852 esac
2853 fi
2854
2855
2856 case $enable_sdk in #(
2857 all|yes) :
2858
2859 enable_sdk=ddk
2860 enable_ddk=yes ;; #(
2861 ddk) :
2862
2863 enable_ddk=yes ;; #(
2864 directx) :
2865
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated option: directx. directx headers are always enabled." >&5
2867 printf "%s\n" "$as_me: WARNING: Deprecated option: directx. directx headers are always enabled." >&2;} ;; #(
2868 no) :
2869 ;; #(
2870 *) :
2871 as_fn_error $? "Invalid option: $enable_sdk. Please choose one of ddk, no or all." "$LINENO" 5 ;;
2872 esac
2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_sdk" >&5
2874 printf "%s\n" "$enable_sdk" >&6; }
2875
2876 if test "x$enable_ddk" = xyes
2877 then :
2878
2879 DDKHEAD_LIST=$srcdir/ddk/include/ddk/*.h
2880
2881 fi
2882
2883
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if installing idl files is enabled" >&5
2885 printf %s "checking if installing idl files is enabled... " >&6; }
2886 # Check whether --enable-idl was given.
2887 if test ${enable_idl+y}
2888 then :
2889 enableval=$enable_idl;
2890 else case e in #(
2891 e) enable_idl=no ;;
2892 esac
2893 fi
2894
2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_idl" >&5
2896 printf "%s\n" "$enable_idl" >&6; }
2897 if test "x$enable_idl" = xyes
2898 then :
2899 IDLHEAD_LIST=$srcdir/include/*.idl" "$srcdir/tlb/*.tlb
2900 else case e in #(
2901 e) IDLHEAD_LIST="" ;;
2902 esac
2903 fi
2904
2905
2906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default _WIN32_WINNT version" >&5
2907 printf %s "checking default _WIN32_WINNT version... " >&6; }
2908
2909 # Check whether --with-default-win32-winnt was given.
2910 if test ${with_default_win32_winnt+y}
2911 then :
2912 withval=$with_default_win32_winnt;
2913 else case e in #(
2914 e) with_default_win32_winnt=0xa00 ;;
2915 esac
2916 fi
2917
2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_default_win32_winnt" >&5
2919 printf "%s\n" "$with_default_win32_winnt" >&6; }
2920 DEFAULT_WIN32_WINNT=$with_default_win32_winnt
2921
2922
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default msvcrt" >&5
2924 printf %s "checking default msvcrt... " >&6; }
2925
2926 # Check whether --with-default-msvcrt was given.
2927 if test ${with_default_msvcrt+y}
2928 then :
2929 withval=$with_default_msvcrt;
2930 else case e in #(
2931 e) with_default_msvcrt=ucrt ;;
2932 esac
2933 fi
2934
2935 case $with_default_msvcrt in
2936 crtdll*)
2937 default_msvcrt_version=0x00
2938 ;;
2939 msvcrt10*)
2940 default_msvcrt_version=0x100
2941 ;;
2942 msvcrt20*)
2943 default_msvcrt_version=0x200
2944 ;;
2945 msvcrt40*|msvcr40*)
2946 default_msvcrt_version=0x400
2947 ;;
2948 msvcr70*)
2949 default_msvcrt_version=0x700
2950 ;;
2951 msvcr71*)
2952 default_msvcrt_version=0x701
2953 ;;
2954 msvcr80*)
2955 default_msvcrt_version=0x800
2956 ;;
2957 msvcr90*)
2958 default_msvcrt_version=0x900
2959 ;;
2960 msvcr100*)
2961 default_msvcrt_version=0xA00
2962 ;;
2963 msvcr110*)
2964 default_msvcrt_version=0xB00
2965 ;;
2966 msvcr120*)
2967 default_msvcrt_version=0xC00
2968 ;;
2969 msvcrt*)
2970 default_msvcrt_version=0x600
2971 ;;
2972 ucrt*|*)
2973 default_msvcrt_version=0xE00
2974 ;;
2975 esac
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_default_msvcrt ($default_msvcrt_version)" >&5
2977 printf "%s\n" "$with_default_msvcrt ($default_msvcrt_version)" >&6; }
2978 DEFAULT_MSVCRT_VERSION=$default_msvcrt_version
2979
2980
2981 # Checks for typedefs, structures, and compiler characteristics.
2982
2983 # Checks for library functions.
2984
2985 ac_config_files="$ac_config_files Makefile crt/_mingw.h"
2986
2987 cat >confcache <<\_ACEOF
2988 # This file is a shell script that caches the results of configure
2989 # tests run on this system so they can be shared between configure
2990 # scripts and configure runs, see configure's option --config-cache.
2991 # It is not useful on other systems. If it contains results you don't
2992 # want to keep, you may remove or edit it.
2993 #
2994 # config.status only pays attention to the cache file if you give it
2995 # the --recheck option to rerun configure.
2996 #
2997 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
2998 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
2999 # following values.
3000
3001 _ACEOF
3002
3003 # The following way of writing the cache mishandles newlines in values,
3004 # but we know of no workaround that is simple, portable, and efficient.
3005 # So, we kill variables containing newlines.
3006 # Ultrix sh set writes to stderr and can't be redirected directly,
3007 # and sets the high bit in the cache file unless we assign to the vars.
3008 (
3009 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3010 eval ac_val=\$$ac_var
3011 case $ac_val in #(
3012 *${as_nl}*)
3013 case $ac_var in #(
3014 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3015 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3016 esac
3017 case $ac_var in #(
3018 _ | IFS | as_nl) ;; #(
3019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3020 *) { eval $ac_var=; unset $ac_var;} ;;
3021 esac ;;
3022 esac
3023 done
3024
3025 (set) 2>&1 |
3026 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3027 *${as_nl}ac_space=\ *)
3028 # 'set' does not quote correctly, so add quotes: double-quote
3029 # substitution turns \\\\ into \\, and sed turns \\ into \.
3030 sed -n \
3031 "s/'/'\\\\''/g;
3032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3033 ;; #(
3034 *)
3035 # 'set' quotes correctly as required by POSIX, so do not add quotes.
3036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3037 ;;
3038 esac |
3039 sort
3040 ) |
3041 sed '
3042 /^ac_cv_env_/b end
3043 t clear
3044 :clear
3045 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3046 t end
3047 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3048 :end' >>confcache
3049 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3050 if test -w "$cache_file"; then
3051 if test "x$cache_file" != "x/dev/null"; then
3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3053 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3054 if test ! -f "$cache_file" || test -h "$cache_file"; then
3055 cat confcache >"$cache_file"
3056 else
3057 case $cache_file in #(
3058 */* | ?:*)
3059 mv -f confcache "$cache_file"$$ &&
3060 mv -f "$cache_file"$$ "$cache_file" ;; #(
3061 *)
3062 mv -f confcache "$cache_file" ;;
3063 esac
3064 fi
3065 fi
3066 else
3067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3068 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3069 fi
3070 fi
3071 rm -f confcache
3072
3073 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3074 # Let make expand exec_prefix.
3075 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3076
3077 DEFS=-DHAVE_CONFIG_H
3078
3079 ac_libobjs=
3080 ac_ltlibobjs=
3081 U=
3082 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3083 # 1. Remove the extension, and $U if already installed.
3084 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3085 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3086 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3087 # will be set to the directory where LIBOBJS objects are built.
3088 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3089 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3090 done
3091 LIBOBJS=$ac_libobjs
3092
3093 LTLIBOBJS=$ac_ltlibobjs
3094
3095
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3097 printf %s "checking that generated files are newer than configure... " >&6; }
3098 if test -n "$am_sleep_pid"; then
3099 # Hide warnings about reused PIDs.
3100 wait $am_sleep_pid 2>/dev/null
3101 fi
3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3103 printf "%s\n" "done" >&6; }
3104
3105 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3106 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
3107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3108 fi
3109 if test -z "${HAVE_WIDL_TRUE}" && test -z "${HAVE_WIDL_FALSE}"; then
3110 as_fn_error $? "conditional \"HAVE_WIDL\" was never defined.
3111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3112 fi
3113 if test -z "${W32API_TRUE}" && test -z "${W32API_FALSE}"; then
3114 as_fn_error $? "conditional \"W32API\" was never defined.
3115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3116 fi
3117 if test -z "${ENABLE_CRT_TRUE}" && test -z "${ENABLE_CRT_FALSE}"; then
3118 as_fn_error $? "conditional \"ENABLE_CRT\" was never defined.
3119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3120 fi
3121
3122 : "${CONFIG_STATUS=./config.status}"
3123 ac_write_fail=0
3124 ac_clean_files_save=$ac_clean_files
3125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3127 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3128 as_write_fail=0
3129 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3130 #! $SHELL
3131 # Generated by $as_me.
3132 # Run this file to recreate the current configuration.
3133 # Compiler output produced by configure, useful for debugging
3134 # configure, is in config.log if it exists.
3135
3136 debug=false
3137 ac_cs_recheck=false
3138 ac_cs_silent=false
3139
3140 SHELL=\${CONFIG_SHELL-$SHELL}
3141 export SHELL
3142 _ASEOF
3143 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3144 ## -------------------- ##
3145 ## M4sh Initialization. ##
3146 ## -------------------- ##
3147
3148 # Be more Bourne compatible
3149 DUALCASE=1; export DUALCASE # for MKS sh
3150 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3151 then :
3152 emulate sh
3153 NULLCMD=:
3154 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3155 # is contrary to our usage. Disable this feature.
3156 alias -g '${1+"$@"}'='"$@"'
3157 setopt NO_GLOB_SUBST
3158 else case e in #(
3159 e) case `(set -o) 2>/dev/null` in #(
3160 *posix*) :
3161 set -o posix ;; #(
3162 *) :
3163 ;;
3164 esac ;;
3165 esac
3166 fi
3167
3168
3169
3170 # Reset variables that may have inherited troublesome values from
3171 # the environment.
3172
3173 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3174 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3175 # side effect of setting IFS to empty, thus disabling word splitting.)
3176 # Quoting is to prevent editors from complaining about space-tab.
3177 as_nl='
3178 '
3179 export as_nl
3180 IFS=" "" $as_nl"
3181
3182 PS1='$ '
3183 PS2='> '
3184 PS4='+ '
3185
3186 # Ensure predictable behavior from utilities with locale-dependent output.
3187 LC_ALL=C
3188 export LC_ALL
3189 LANGUAGE=C
3190 export LANGUAGE
3191
3192 # We cannot yet rely on "unset" to work, but we need these variables
3193 # to be unset--not just set to an empty or harmless value--now, to
3194 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3195 # also avoids known problems related to "unset" and subshell syntax
3196 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3197 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3198 do eval test \${$as_var+y} \
3199 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3200 done
3201
3202 # Ensure that fds 0, 1, and 2 are open.
3203 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3204 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3205 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3206
3207 # The user is always right.
3208 if ${PATH_SEPARATOR+false} :; then
3209 PATH_SEPARATOR=:
3210 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3211 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3212 PATH_SEPARATOR=';'
3213 }
3214 fi
3215
3216
3217 # Find who we are. Look in the path if we contain no directory separator.
3218 as_myself=
3219 case $0 in #((
3220 *[\\/]* ) as_myself=$0 ;;
3221 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 for as_dir in $PATH
3223 do
3224 IFS=$as_save_IFS
3225 case $as_dir in #(((
3226 '') as_dir=./ ;;
3227 */) ;;
3228 *) as_dir=$as_dir/ ;;
3229 esac
3230 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3231 done
3232 IFS=$as_save_IFS
3233
3234 ;;
3235 esac
3236 # We did not find ourselves, most probably we were run as 'sh COMMAND'
3237 # in which case we are not to be found in the path.
3238 if test "x$as_myself" = x; then
3239 as_myself=$0
3240 fi
3241 if test ! -f "$as_myself"; then
3242 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3243 exit 1
3244 fi
3245
3246
3247
3248 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3249 # ----------------------------------------
3250 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3251 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3252 # script with STATUS, using 1 if that was 0.
3253 as_fn_error ()
3254 {
3255 as_status=$1; test $as_status -eq 0 && as_status=1
3256 if test "$4"; then
3257 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3259 fi
3260 printf "%s\n" "$as_me: error: $2" >&2
3261 as_fn_exit $as_status
3262 } # as_fn_error
3263
3264
3265 # as_fn_set_status STATUS
3266 # -----------------------
3267 # Set $? to STATUS, without forking.
3268 as_fn_set_status ()
3269 {
3270 return $1
3271 } # as_fn_set_status
3272
3273 # as_fn_exit STATUS
3274 # -----------------
3275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3276 as_fn_exit ()
3277 {
3278 set +e
3279 as_fn_set_status $1
3280 exit $1
3281 } # as_fn_exit
3282
3283 # as_fn_unset VAR
3284 # ---------------
3285 # Portably unset VAR.
3286 as_fn_unset ()
3287 {
3288 { eval $1=; unset $1;}
3289 }
3290 as_unset=as_fn_unset
3291
3292 # as_fn_append VAR VALUE
3293 # ----------------------
3294 # Append the text in VALUE to the end of the definition contained in VAR. Take
3295 # advantage of any shell optimizations that allow amortized linear growth over
3296 # repeated appends, instead of the typical quadratic growth present in naive
3297 # implementations.
3298 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3299 then :
3300 eval 'as_fn_append ()
3301 {
3302 eval $1+=\$2
3303 }'
3304 else case e in #(
3305 e) as_fn_append ()
3306 {
3307 eval $1=\$$1\$2
3308 } ;;
3309 esac
3310 fi # as_fn_append
3311
3312 # as_fn_arith ARG...
3313 # ------------------
3314 # Perform arithmetic evaluation on the ARGs, and store the result in the
3315 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3316 # must be portable across $(()) and expr.
3317 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3318 then :
3319 eval 'as_fn_arith ()
3320 {
3321 as_val=$(( $* ))
3322 }'
3323 else case e in #(
3324 e) as_fn_arith ()
3325 {
3326 as_val=`expr "$@" || test $? -eq 1`
3327 } ;;
3328 esac
3329 fi # as_fn_arith
3330
3331
3332 if expr a : '\(a\)' >/dev/null 2>&1 &&
3333 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3334 as_expr=expr
3335 else
3336 as_expr=false
3337 fi
3338
3339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3340 as_basename=basename
3341 else
3342 as_basename=false
3343 fi
3344
3345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3346 as_dirname=dirname
3347 else
3348 as_dirname=false
3349 fi
3350
3351 as_me=`$as_basename -- "$0" ||
3352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3353 X"$0" : 'X\(//\)$' \| \
3354 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3355 printf "%s\n" X/"$0" |
3356 sed '/^.*\/\([^/][^/]*\)\/*$/{
3357 s//\1/
3358 q
3359 }
3360 /^X\/\(\/\/\)$/{
3361 s//\1/
3362 q
3363 }
3364 /^X\/\(\/\).*/{
3365 s//\1/
3366 q
3367 }
3368 s/.*/./; q'`
3369
3370 # Avoid depending upon Character Ranges.
3371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3374 as_cr_digits='0123456789'
3375 as_cr_alnum=$as_cr_Letters$as_cr_digits
3376
3377
3378 # Determine whether it's possible to make 'echo' print without a newline.
3379 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3380 # for compatibility with existing Makefiles.
3381 ECHO_C= ECHO_N= ECHO_T=
3382 case `echo -n x` in #(((((
3383 -n*)
3384 case `echo 'xy\c'` in
3385 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3386 xy) ECHO_C='\c';;
3387 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3388 ECHO_T=' ';;
3389 esac;;
3390 *)
3391 ECHO_N='-n';;
3392 esac
3393
3394 # For backward compatibility with old third-party macros, we provide
3395 # the shell variables $as_echo and $as_echo_n. New code should use
3396 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3397 as_echo='printf %s\n'
3398 as_echo_n='printf %s'
3399
3400 rm -f conf$$ conf$$.exe conf$$.file
3401 if test -d conf$$.dir; then
3402 rm -f conf$$.dir/conf$$.file
3403 else
3404 rm -f conf$$.dir
3405 mkdir conf$$.dir 2>/dev/null
3406 fi
3407 if (echo >conf$$.file) 2>/dev/null; then
3408 if ln -s conf$$.file conf$$ 2>/dev/null; then
3409 as_ln_s='ln -s'
3410 # ... but there are two gotchas:
3411 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
3412 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
3413 # In both cases, we have to default to 'cp -pR'.
3414 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3415 as_ln_s='cp -pR'
3416 elif ln conf$$.file conf$$ 2>/dev/null; then
3417 as_ln_s=ln
3418 else
3419 as_ln_s='cp -pR'
3420 fi
3421 else
3422 as_ln_s='cp -pR'
3423 fi
3424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3425 rmdir conf$$.dir 2>/dev/null
3426
3427
3428 # as_fn_mkdir_p
3429 # -------------
3430 # Create "$as_dir" as a directory, including parents if necessary.
3431 as_fn_mkdir_p ()
3432 {
3433
3434 case $as_dir in #(
3435 -*) as_dir=./$as_dir;;
3436 esac
3437 test -d "$as_dir" || eval $as_mkdir_p || {
3438 as_dirs=
3439 while :; do
3440 case $as_dir in #(
3441 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3442 *) as_qdir=$as_dir;;
3443 esac
3444 as_dirs="'$as_qdir' $as_dirs"
3445 as_dir=`$as_dirname -- "$as_dir" ||
3446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3447 X"$as_dir" : 'X\(//\)[^/]' \| \
3448 X"$as_dir" : 'X\(//\)$' \| \
3449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3450 printf "%s\n" X"$as_dir" |
3451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3452 s//\1/
3453 q
3454 }
3455 /^X\(\/\/\)[^/].*/{
3456 s//\1/
3457 q
3458 }
3459 /^X\(\/\/\)$/{
3460 s//\1/
3461 q
3462 }
3463 /^X\(\/\).*/{
3464 s//\1/
3465 q
3466 }
3467 s/.*/./; q'`
3468 test -d "$as_dir" && break
3469 done
3470 test -z "$as_dirs" || eval "mkdir $as_dirs"
3471 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3472
3473
3474 } # as_fn_mkdir_p
3475 if mkdir -p . 2>/dev/null; then
3476 as_mkdir_p='mkdir -p "$as_dir"'
3477 else
3478 test -d ./-p && rmdir ./-p
3479 as_mkdir_p=false
3480 fi
3481
3482
3483 # as_fn_executable_p FILE
3484 # -----------------------
3485 # Test if FILE is an executable regular file.
3486 as_fn_executable_p ()
3487 {
3488 test -f "$1" && test -x "$1"
3489 } # as_fn_executable_p
3490 as_test_x='test -x'
3491 as_executable_p=as_fn_executable_p
3492
3493 # Sed expression to map a string onto a valid CPP name.
3494 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3495 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
3496
3497 # Sed expression to map a string onto a valid variable name.
3498 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3499 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
3500
3501
3502 exec 6>&1
3503 ## ----------------------------------- ##
3504 ## Main body of $CONFIG_STATUS script. ##
3505 ## ----------------------------------- ##
3506 _ASEOF
3507 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3508
3509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3510 # Save the log message, to keep $0 and so on meaningful, and to
3511 # report actual input values of CONFIG_FILES etc. instead of their
3512 # values after options handling.
3513 ac_log="
3514 This file was extended by mingw-w64-headers $as_me 4.0b, which was
3515 generated by GNU Autoconf 2.72. Invocation command line was
3516
3517 CONFIG_FILES = $CONFIG_FILES
3518 CONFIG_HEADERS = $CONFIG_HEADERS
3519 CONFIG_LINKS = $CONFIG_LINKS
3520 CONFIG_COMMANDS = $CONFIG_COMMANDS
3521 $ $0 $@
3522
3523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3524 "
3525
3526 _ACEOF
3527
3528 case $ac_config_files in *"
3529 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3530 esac
3531
3532 case $ac_config_headers in *"
3533 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3534 esac
3535
3536
3537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3538 # Files that config.status was made for.
3539 config_files="$ac_config_files"
3540 config_headers="$ac_config_headers"
3541
3542 _ACEOF
3543
3544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3545 ac_cs_usage="\
3546 '$as_me' instantiates files and other configuration actions
3547 from templates according to the current configuration. Unless the files
3548 and actions are specified as TAGs, all are instantiated by default.
3549
3550 Usage: $0 [OPTION]... [TAG]...
3551
3552 -h, --help print this help, then exit
3553 -V, --version print version number and configuration settings, then exit
3554 --config print configuration, then exit
3555 -q, --quiet, --silent
3556 do not print progress messages
3557 -d, --debug don't remove temporary files
3558 --recheck update $as_me by reconfiguring in the same conditions
3559 --file=FILE[:TEMPLATE]
3560 instantiate the configuration file FILE
3561 --header=FILE[:TEMPLATE]
3562 instantiate the configuration header FILE
3563
3564 Configuration files:
3565 $config_files
3566
3567 Configuration headers:
3568 $config_headers
3569
3570 Report bugs to <[email protected]>."
3571
3572 _ACEOF
3573 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3574 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3576 ac_cs_config='$ac_cs_config_escaped'
3577 ac_cs_version="\\
3578 mingw-w64-headers config.status 4.0b
3579 configured by $0, generated by GNU Autoconf 2.72,
3580 with options \\"\$ac_cs_config\\"
3581
3582 Copyright (C) 2023 Free Software Foundation, Inc.
3583 This config.status script is free software; the Free Software Foundation
3584 gives unlimited permission to copy, distribute and modify it."
3585
3586 ac_pwd='$ac_pwd'
3587 srcdir='$srcdir'
3588 INSTALL='$INSTALL'
3589 MKDIR_P='$MKDIR_P'
3590 AWK='$AWK'
3591 test -n "\$AWK" || AWK=awk
3592 _ACEOF
3593
3594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3595 # The default lists apply if the user does not specify any file.
3596 ac_need_defaults=:
3597 while test $# != 0
3598 do
3599 case $1 in
3600 --*=?*)
3601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3602 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3603 ac_shift=:
3604 ;;
3605 --*=)
3606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3607 ac_optarg=
3608 ac_shift=:
3609 ;;
3610 *)
3611 ac_option=$1
3612 ac_optarg=$2
3613 ac_shift=shift
3614 ;;
3615 esac
3616
3617 case $ac_option in
3618 # Handling of the options.
3619 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3620 ac_cs_recheck=: ;;
3621 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3622 printf "%s\n" "$ac_cs_version"; exit ;;
3623 --config | --confi | --conf | --con | --co | --c )
3624 printf "%s\n" "$ac_cs_config"; exit ;;
3625 --debug | --debu | --deb | --de | --d | -d )
3626 debug=: ;;
3627 --file | --fil | --fi | --f )
3628 $ac_shift
3629 case $ac_optarg in
3630 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3631 '') as_fn_error $? "missing file argument" ;;
3632 esac
3633 as_fn_append CONFIG_FILES " '$ac_optarg'"
3634 ac_need_defaults=false;;
3635 --header | --heade | --head | --hea )
3636 $ac_shift
3637 case $ac_optarg in
3638 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3639 esac
3640 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3641 ac_need_defaults=false;;
3642 --he | --h)
3643 # Conflict between --help and --header
3644 as_fn_error $? "ambiguous option: '$1'
3645 Try '$0 --help' for more information.";;
3646 --help | --hel | -h )
3647 printf "%s\n" "$ac_cs_usage"; exit ;;
3648 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3649 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3650 ac_cs_silent=: ;;
3651
3652 # This is an error.
3653 -*) as_fn_error $? "unrecognized option: '$1'
3654 Try '$0 --help' for more information." ;;
3655
3656 *) as_fn_append ac_config_targets " $1"
3657 ac_need_defaults=false ;;
3658
3659 esac
3660 shift
3661 done
3662
3663 ac_configure_extra_args=
3664
3665 if $ac_cs_silent; then
3666 exec 6>/dev/null
3667 ac_configure_extra_args="$ac_configure_extra_args --silent"
3668 fi
3669
3670 _ACEOF
3671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3672 if \$ac_cs_recheck; then
3673 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3674 shift
3675 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3676 CONFIG_SHELL='$SHELL'
3677 export CONFIG_SHELL
3678 exec "\$@"
3679 fi
3680
3681 _ACEOF
3682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3683 exec 5>>config.log
3684 {
3685 echo
3686 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3687 ## Running $as_me. ##
3688 _ASBOX
3689 printf "%s\n" "$ac_log"
3690 } >&5
3691
3692 _ACEOF
3693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3694 _ACEOF
3695
3696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3697
3698 # Handling of arguments.
3699 for ac_config_target in $ac_config_targets
3700 do
3701 case $ac_config_target in
3702 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3703 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3704 "crt/_mingw.h") CONFIG_FILES="$CONFIG_FILES crt/_mingw.h" ;;
3705
3706 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
3707 esac
3708 done
3709
3710
3711 # If the user did not use the arguments to specify the items to instantiate,
3712 # then the envvar interface is used. Set only those that are not.
3713 # We use the long form for the default assignment because of an extremely
3714 # bizarre bug on SunOS 4.1.3.
3715 if $ac_need_defaults; then
3716 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3717 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3718 fi
3719
3720 # Have a temporary directory for convenience. Make it in the build tree
3721 # simply because there is no reason against having it here, and in addition,
3722 # creating and moving files from /tmp can sometimes cause problems.
3723 # Hook for its removal unless debugging.
3724 # Note that there is a small window in which the directory will not be cleaned:
3725 # after its creation but before its name has been assigned to '$tmp'.
3726 $debug ||
3727 {
3728 tmp= ac_tmp=
3729 trap 'exit_status=$?
3730 : "${ac_tmp:=$tmp}"
3731 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3732 ' 0
3733 trap 'as_fn_exit 1' 1 2 13 15
3734 }
3735 # Create a (secure) tmp directory for tmp files.
3736
3737 {
3738 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3739 test -d "$tmp"
3740 } ||
3741 {
3742 tmp=./conf$$-$RANDOM
3743 (umask 077 && mkdir "$tmp")
3744 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3745 ac_tmp=$tmp
3746
3747 # Set up the scripts for CONFIG_FILES section.
3748 # No need to generate them if there are no CONFIG_FILES.
3749 # This happens for instance with './config.status config.h'.
3750 if test -n "$CONFIG_FILES"; then
3751
3752
3753 ac_cr=`echo X | tr X '\015'`
3754 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3755 # But we know of no other shell where ac_cr would be empty at this
3756 # point, so we can use a bashism as a fallback.
3757 if test "x$ac_cr" = x; then
3758 eval ac_cr=\$\'\\r\'
3759 fi
3760 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3761 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3762 ac_cs_awk_cr='\\r'
3763 else
3764 ac_cs_awk_cr=$ac_cr
3765 fi
3766
3767 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3768 _ACEOF
3769
3770
3771 {
3772 echo "cat >conf$$subs.awk <<_ACEOF" &&
3773 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3774 echo "_ACEOF"
3775 } >conf$$subs.sh ||
3776 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3777 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3778 ac_delim='%!_!# '
3779 for ac_last_try in false false false false false :; do
3780 . ./conf$$subs.sh ||
3781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3782
3783 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3784 if test $ac_delim_n = $ac_delim_num; then
3785 break
3786 elif $ac_last_try; then
3787 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3788 else
3789 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3790 fi
3791 done
3792 rm -f conf$$subs.sh
3793
3794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3795 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3796 _ACEOF
3797 sed -n '
3798 h
3799 s/^/S["/; s/!.*/"]=/
3800 p
3801 g
3802 s/^[^!]*!//
3803 :repl
3804 t repl
3805 s/'"$ac_delim"'$//
3806 t delim
3807 :nl
3808 h
3809 s/\(.\{148\}\)..*/\1/
3810 t more1
3811 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3812 p
3813 n
3814 b repl
3815 :more1
3816 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3817 p
3818 g
3819 s/.\{148\}//
3820 t nl
3821 :delim
3822 h
3823 s/\(.\{148\}\)..*/\1/
3824 t more2
3825 s/["\\]/\\&/g; s/^/"/; s/$/"/
3826 p
3827 b
3828 :more2
3829 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3830 p
3831 g
3832 s/.\{148\}//
3833 t delim
3834 ' <conf$$subs.awk | sed '
3835 /^[^""]/{
3836 N
3837 s/\n//
3838 }
3839 ' >>$CONFIG_STATUS || ac_write_fail=1
3840 rm -f conf$$subs.awk
3841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3842 _ACAWK
3843 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3844 for (key in S) S_is_set[key] = 1
3845 FS = ""
3846
3847 }
3848 {
3849 line = $ 0
3850 nfields = split(line, field, "@")
3851 substed = 0
3852 len = length(field[1])
3853 for (i = 2; i < nfields; i++) {
3854 key = field[i]
3855 keylen = length(key)
3856 if (S_is_set[key]) {
3857 value = S[key]
3858 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3859 len += length(value) + length(field[++i])
3860 substed = 1
3861 } else
3862 len += 1 + keylen
3863 }
3864
3865 print line
3866 }
3867
3868 _ACAWK
3869 _ACEOF
3870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3871 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3872 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3873 else
3874 cat
3875 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3876 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3877 _ACEOF
3878
3879 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3880 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3881 # trailing colons and then remove the whole line if VPATH becomes empty
3882 # (actually we leave an empty line to preserve line numbers).
3883 if test "x$srcdir" = x.; then
3884 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3885 h
3886 s///
3887 s/^/:/
3888 s/[ ]*$/:/
3889 s/:\$(srcdir):/:/g
3890 s/:\${srcdir}:/:/g
3891 s/:@srcdir@:/:/g
3892 s/^:*//
3893 s/:*$//
3894 x
3895 s/\(=[ ]*\).*/\1/
3896 G
3897 s/\n//
3898 s/^[^=]*=[ ]*$//
3899 }'
3900 fi
3901
3902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3903 fi # test -n "$CONFIG_FILES"
3904
3905 # Set up the scripts for CONFIG_HEADERS section.
3906 # No need to generate them if there are no CONFIG_HEADERS.
3907 # This happens for instance with './config.status Makefile'.
3908 if test -n "$CONFIG_HEADERS"; then
3909 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3910 BEGIN {
3911 _ACEOF
3912
3913 # Transform confdefs.h into an awk script 'defines.awk', embedded as
3914 # here-document in config.status, that substitutes the proper values into
3915 # config.h.in to produce config.h.
3916
3917 # Create a delimiter string that does not exist in confdefs.h, to ease
3918 # handling of long lines.
3919 ac_delim='%!_!# '
3920 for ac_last_try in false false :; do
3921 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3922 if test -z "$ac_tt"; then
3923 break
3924 elif $ac_last_try; then
3925 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3926 else
3927 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3928 fi
3929 done
3930
3931 # For the awk script, D is an array of macro values keyed by name,
3932 # likewise P contains macro parameters if any. Preserve backslash
3933 # newline sequences.
3934
3935 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3936 sed -n '
3937 s/.\{148\}/&'"$ac_delim"'/g
3938 t rset
3939 :rset
3940 s/^[ ]*#[ ]*define[ ][ ]*/ /
3941 t def
3942 d
3943 :def
3944 s/\\$//
3945 t bsnl
3946 s/["\\]/\\&/g
3947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3948 D["\1"]=" \3"/p
3949 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3950 d
3951 :bsnl
3952 s/["\\]/\\&/g
3953 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3954 D["\1"]=" \3\\\\\\n"\\/p
3955 t cont
3956 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3957 t cont
3958 d
3959 :cont
3960 n
3961 s/.\{148\}/&'"$ac_delim"'/g
3962 t clear
3963 :clear
3964 s/\\$//
3965 t bsnlc
3966 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3967 d
3968 :bsnlc
3969 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3970 b cont
3971 ' <confdefs.h | sed '
3972 s/'"$ac_delim"'/"\\\
3973 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3974
3975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3976 for (key in D) D_is_set[key] = 1
3977 FS = ""
3978 }
3979 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3980 line = \$ 0
3981 split(line, arg, " ")
3982 if (arg[1] == "#") {
3983 defundef = arg[2]
3984 mac1 = arg[3]
3985 } else {
3986 defundef = substr(arg[1], 2)
3987 mac1 = arg[2]
3988 }
3989 split(mac1, mac2, "(") #)
3990 macro = mac2[1]
3991 prefix = substr(line, 1, index(line, defundef) - 1)
3992 if (D_is_set[macro]) {
3993 # Preserve the white space surrounding the "#".
3994 print prefix "define", macro P[macro] D[macro]
3995 next
3996 } else {
3997 # Replace #undef with comments. This is necessary, for example,
3998 # in the case of _POSIX_SOURCE, which is predefined and required
3999 # on some systems where configure will not decide to define it.
4000 if (defundef == "undef") {
4001 print "/*", prefix defundef, macro, "*/"
4002 next
4003 }
4004 }
4005 }
4006 { print }
4007 _ACAWK
4008 _ACEOF
4009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4010 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4011 fi # test -n "$CONFIG_HEADERS"
4012
4013
4014 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4015 shift
4016 for ac_tag
4017 do
4018 case $ac_tag in
4019 :[FHLC]) ac_mode=$ac_tag; continue;;
4020 esac
4021 case $ac_mode$ac_tag in
4022 :[FHL]*:*);;
4023 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
4024 :[FH]-) ac_tag=-:-;;
4025 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4026 esac
4027 ac_save_IFS=$IFS
4028 IFS=:
4029 set x $ac_tag
4030 IFS=$ac_save_IFS
4031 shift
4032 ac_file=$1
4033 shift
4034
4035 case $ac_mode in
4036 :L) ac_source=$1;;
4037 :[FH])
4038 ac_file_inputs=
4039 for ac_f
4040 do
4041 case $ac_f in
4042 -) ac_f="$ac_tmp/stdin";;
4043 *) # Look for the file first in the build tree, then in the source tree
4044 # (if the path is not absolute). The absolute path cannot be DOS-style,
4045 # because $ac_f cannot contain ':'.
4046 test -f "$ac_f" ||
4047 case $ac_f in
4048 [\\/$]*) false;;
4049 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4050 esac ||
4051 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
4052 esac
4053 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4054 as_fn_append ac_file_inputs " '$ac_f'"
4055 done
4056
4057 # Let's still pretend it is 'configure' which instantiates (i.e., don't
4058 # use $as_me), people would be surprised to read:
4059 # /* config.h. Generated by config.status. */
4060 configure_input='Generated from '`
4061 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4062 `' by configure.'
4063 if test x"$ac_file" != x-; then
4064 configure_input="$ac_file. $configure_input"
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4066 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4067 fi
4068 # Neutralize special characters interpreted by sed in replacement strings.
4069 case $configure_input in #(
4070 *\&* | *\|* | *\\* )
4071 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4072 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4073 *) ac_sed_conf_input=$configure_input;;
4074 esac
4075
4076 case $ac_tag in
4077 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4079 esac
4080 ;;
4081 esac
4082
4083 ac_dir=`$as_dirname -- "$ac_file" ||
4084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4085 X"$ac_file" : 'X\(//\)[^/]' \| \
4086 X"$ac_file" : 'X\(//\)$' \| \
4087 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4088 printf "%s\n" X"$ac_file" |
4089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4090 s//\1/
4091 q
4092 }
4093 /^X\(\/\/\)[^/].*/{
4094 s//\1/
4095 q
4096 }
4097 /^X\(\/\/\)$/{
4098 s//\1/
4099 q
4100 }
4101 /^X\(\/\).*/{
4102 s//\1/
4103 q
4104 }
4105 s/.*/./; q'`
4106 as_dir="$ac_dir"; as_fn_mkdir_p
4107 ac_builddir=.
4108
4109 case "$ac_dir" in
4110 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4111 *)
4112 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4113 # A ".." for each directory in $ac_dir_suffix.
4114 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4115 case $ac_top_builddir_sub in
4116 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4117 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4118 esac ;;
4119 esac
4120 ac_abs_top_builddir=$ac_pwd
4121 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4122 # for backward compatibility:
4123 ac_top_builddir=$ac_top_build_prefix
4124
4125 case $srcdir in
4126 .) # We are building in place.
4127 ac_srcdir=.
4128 ac_top_srcdir=$ac_top_builddir_sub
4129 ac_abs_top_srcdir=$ac_pwd ;;
4130 [\\/]* | ?:[\\/]* ) # Absolute name.
4131 ac_srcdir=$srcdir$ac_dir_suffix;
4132 ac_top_srcdir=$srcdir
4133 ac_abs_top_srcdir=$srcdir ;;
4134 *) # Relative name.
4135 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4136 ac_top_srcdir=$ac_top_build_prefix$srcdir
4137 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4138 esac
4139 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4140
4141
4142 case $ac_mode in
4143 :F)
4144 #
4145 # CONFIG_FILE
4146 #
4147
4148 case $INSTALL in
4149 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4150 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4151 esac
4152 ac_MKDIR_P=$MKDIR_P
4153 case $MKDIR_P in
4154 [\\/$]* | ?:[\\/]* ) ;;
4155 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4156 esac
4157 _ACEOF
4158
4159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4160 # If the template does not know about datarootdir, expand it.
4161 # FIXME: This hack should be removed a few years after 2.60.
4162 ac_datarootdir_hack=; ac_datarootdir_seen=
4163 ac_sed_dataroot='
4164 /datarootdir/ {
4165 p
4166 q
4167 }
4168 /@datadir@/p
4169 /@docdir@/p
4170 /@infodir@/p
4171 /@localedir@/p
4172 /@mandir@/p'
4173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4174 *datarootdir*) ac_datarootdir_seen=yes;;
4175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4177 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4178 _ACEOF
4179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4180 ac_datarootdir_hack='
4181 s&@datadir@&$datadir&g
4182 s&@docdir@&$docdir&g
4183 s&@infodir@&$infodir&g
4184 s&@localedir@&$localedir&g
4185 s&@mandir@&$mandir&g
4186 s&\\\${datarootdir}&$datarootdir&g' ;;
4187 esac
4188 _ACEOF
4189
4190 # Neutralize VPATH when '$srcdir' = '.'.
4191 # Shell code in configure.ac might set extrasub.
4192 # FIXME: do we really want to maintain this feature?
4193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4194 ac_sed_extra="$ac_vpsub
4195 $extrasub
4196 _ACEOF
4197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4198 :t
4199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4200 s|@configure_input@|$ac_sed_conf_input|;t t
4201 s&@top_builddir@&$ac_top_builddir_sub&;t t
4202 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4203 s&@srcdir@&$ac_srcdir&;t t
4204 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4205 s&@top_srcdir@&$ac_top_srcdir&;t t
4206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4207 s&@builddir@&$ac_builddir&;t t
4208 s&@abs_builddir@&$ac_abs_builddir&;t t
4209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4210 s&@INSTALL@&$ac_INSTALL&;t t
4211 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4212 $ac_datarootdir_hack
4213 "
4214 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4215 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4216
4217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4218 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4220 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4222 which seems to be undefined. Please make sure it is defined" >&5
4223 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
4224 which seems to be undefined. Please make sure it is defined" >&2;}
4225
4226 rm -f "$ac_tmp/stdin"
4227 case $ac_file in
4228 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4229 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4230 esac \
4231 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4232 ;;
4233 :H)
4234 #
4235 # CONFIG_HEADER
4236 #
4237 if test x"$ac_file" != x-; then
4238 {
4239 printf "%s\n" "/* $configure_input */" >&1 \
4240 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4241 } >"$ac_tmp/config.h" \
4242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4243 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4245 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4246 else
4247 rm -f "$ac_file"
4248 mv "$ac_tmp/config.h" "$ac_file" \
4249 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4250 fi
4251 else
4252 printf "%s\n" "/* $configure_input */" >&1 \
4253 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4254 || as_fn_error $? "could not create -" "$LINENO" 5
4255 fi
4256 # Compute "$ac_file"'s index in $config_headers.
4257 _am_arg="$ac_file"
4258 _am_stamp_count=1
4259 for _am_header in $config_headers :; do
4260 case $_am_header in
4261 $_am_arg | $_am_arg:* )
4262 break ;;
4263 * )
4264 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4265 esac
4266 done
4267 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4268 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4269 X"$_am_arg" : 'X\(//\)[^/]' \| \
4270 X"$_am_arg" : 'X\(//\)$' \| \
4271 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4272 printf "%s\n" X"$_am_arg" |
4273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4274 s//\1/
4275 q
4276 }
4277 /^X\(\/\/\)[^/].*/{
4278 s//\1/
4279 q
4280 }
4281 /^X\(\/\/\)$/{
4282 s//\1/
4283 q
4284 }
4285 /^X\(\/\).*/{
4286 s//\1/
4287 q
4288 }
4289 s/.*/./; q'`/stamp-h$_am_stamp_count
4290 ;;
4291
4292
4293 esac
4294
4295 done # for ac_tag
4296
4297
4298 as_fn_exit 0
4299 _ACEOF
4300 ac_clean_files=$ac_clean_files_save
4301
4302 test $ac_write_fail = 0 ||
4303 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4304
4305
4306 # configure is writing to config.log, and then calls config.status.
4307 # config.status does its own redirection, appending to config.log.
4308 # Unfortunately, on DOS this fails, as config.log is still kept open
4309 # by configure, so config.status won't be able to write to it; its
4310 # output is simply discarded. So we exec the FD to /dev/null,
4311 # effectively closing config.log, so it can be properly (re)opened and
4312 # appended to by config.status. When coming back to configure, we
4313 # need to make the FD available again.
4314 if test "$no_create" != yes; then
4315 ac_cs_success=:
4316 ac_config_status_args=
4317 test "$silent" = yes &&
4318 ac_config_status_args="$ac_config_status_args --quiet"
4319 exec 5>/dev/null
4320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4321 exec 5>>config.log
4322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4323 # would make configure fail if this is the last instruction.
4324 $ac_cs_success || as_fn_exit 1
4325 fi
4326 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4328 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4329 fi
4330
4331
4332