]> sourceware.org Git - newlib-cygwin.git/blob - winsup/utils/configure
5cf181edd9890f38b0221fc82124fb070f984b34
[newlib-cygwin.git] / winsup / utils / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin Utils 0.
4 #
5 # Report bugs to <cygwin@cygwin.com>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and cygwin@cygwin.com
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='Cygwin Utils'
581 PACKAGE_TARNAME='cygwin'
582 PACKAGE_VERSION='0'
583 PACKAGE_STRING='Cygwin Utils 0'
584 PACKAGE_BUGREPORT='cygwin@cygwin.com'
585 PACKAGE_URL='https://cygwin.com'
586
587 ac_unique_file="mount.cc"
588 ac_no_link=no
589 ac_subst_vars='LTLIBOBJS
590 LIBOBJS
591 configure_args
592 MINGW_CXX
593 INSTALL_DATA
594 INSTALL_SCRIPT
595 INSTALL_PROGRAM
596 cygwin_headers
597 newlib_headers
598 windows_headers
599 ac_ct_CXX
600 CXXFLAGS
601 CXX
602 windows_libdir
603 OBJEXT
604 EXEEXT
605 ac_ct_CC
606 CPPFLAGS
607 LDFLAGS
608 CFLAGS
609 CC
610 target_os
611 target_vendor
612 target_cpu
613 target
614 host_os
615 host_vendor
616 host_cpu
617 host
618 build_os
619 build_vendor
620 build_cpu
621 build
622 target_alias
623 host_alias
624 build_alias
625 LIBS
626 ECHO_T
627 ECHO_N
628 ECHO_C
629 DEFS
630 mandir
631 localedir
632 libdir
633 psdir
634 pdfdir
635 dvidir
636 htmldir
637 infodir
638 docdir
639 oldincludedir
640 includedir
641 localstatedir
642 sharedstatedir
643 sysconfdir
644 datadir
645 datarootdir
646 libexecdir
647 sbindir
648 bindir
649 program_transform_name
650 prefix
651 exec_prefix
652 PACKAGE_URL
653 PACKAGE_BUGREPORT
654 PACKAGE_STRING
655 PACKAGE_VERSION
656 PACKAGE_TARNAME
657 PACKAGE_NAME
658 PATH_SEPARATOR
659 SHELL
660 winsup_srcdir
661 target_builddir'
662 ac_subst_files=''
663 ac_user_opts='
664 enable_option_checking
665 with_windows_headers
666 with_windows_libs
667 '
668 ac_precious_vars='build_alias
669 host_alias
670 target_alias
671 CC
672 CFLAGS
673 LDFLAGS
674 LIBS
675 CPPFLAGS
676 CXX
677 CXXFLAGS
678 CCC'
679
680
681 # Initialize some variables set by options.
682 ac_init_help=
683 ac_init_version=false
684 ac_unrecognized_opts=
685 ac_unrecognized_sep=
686 # The variables have the same names as the options, with
687 # dashes changed to underlines.
688 cache_file=/dev/null
689 exec_prefix=NONE
690 no_create=
691 no_recursion=
692 prefix=NONE
693 program_prefix=NONE
694 program_suffix=NONE
695 program_transform_name=s,x,x,
696 silent=
697 site=
698 srcdir=
699 verbose=
700 x_includes=NONE
701 x_libraries=NONE
702
703 # Installation directory options.
704 # These are left unexpanded so users can "make install exec_prefix=/foo"
705 # and all the variables that are supposed to be based on exec_prefix
706 # by default will actually change.
707 # Use braces instead of parens because sh, perl, etc. also accept them.
708 # (The list follows the same order as the GNU Coding Standards.)
709 bindir='${exec_prefix}/bin'
710 sbindir='${exec_prefix}/sbin'
711 libexecdir='${exec_prefix}/libexec'
712 datarootdir='${prefix}/share'
713 datadir='${datarootdir}'
714 sysconfdir='${prefix}/etc'
715 sharedstatedir='${prefix}/com'
716 localstatedir='${prefix}/var'
717 includedir='${prefix}/include'
718 oldincludedir='/usr/include'
719 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
720 infodir='${datarootdir}/info'
721 htmldir='${docdir}'
722 dvidir='${docdir}'
723 pdfdir='${docdir}'
724 psdir='${docdir}'
725 libdir='${exec_prefix}/lib'
726 localedir='${datarootdir}/locale'
727 mandir='${datarootdir}/man'
728
729 ac_prev=
730 ac_dashdash=
731 for ac_option
732 do
733 # If the previous option needs an argument, assign it.
734 if test -n "$ac_prev"; then
735 eval $ac_prev=\$ac_option
736 ac_prev=
737 continue
738 fi
739
740 case $ac_option in
741 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 *=) ac_optarg= ;;
743 *) ac_optarg=yes ;;
744 esac
745
746 # Accept the important Cygnus configure options, so we can diagnose typos.
747
748 case $ac_dashdash$ac_option in
749 --)
750 ac_dashdash=yes ;;
751
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 ac_prev=bindir ;;
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 bindir=$ac_optarg ;;
756
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
761
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
768
769 --config-cache | -C)
770 cache_file=config.cache ;;
771
772 -datadir | --datadir | --datadi | --datad)
773 ac_prev=datadir ;;
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
776
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
783
784 -disable-* | --disable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: $ac_useropt"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
792 *"
793 "enable_$ac_useropt"
794 "*) ;;
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
797 esac
798 eval enable_$ac_useropt=no ;;
799
800 -docdir | --docdir | --docdi | --doc | --do)
801 ac_prev=docdir ;;
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
803 docdir=$ac_optarg ;;
804
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 ac_prev=dvidir ;;
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
808 dvidir=$ac_optarg ;;
809
810 -enable-* | --enable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: $ac_useropt"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
818 *"
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=\$ac_optarg ;;
825
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
834
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
837 with_gas=yes ;;
838
839 -help | --help | --hel | --he | -h)
840 ac_init_help=long ;;
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
845
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
850
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 ac_prev=htmldir ;;
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 | --ht=*)
855 htmldir=$ac_optarg ;;
856
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
863
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 ac_prev=infodir ;;
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
868
869 -libdir | --libdir | --libdi | --libd)
870 ac_prev=libdir ;;
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 libdir=$ac_optarg ;;
873
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
880
881 -localedir | --localedir | --localedi | --localed | --locale)
882 ac_prev=localedir ;;
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
885
886 -localstatedir | --localstatedir | --localstatedi | --localstated \
887 | --localstate | --localstat | --localsta | --localst | --locals)
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891 localstatedir=$ac_optarg ;;
892
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 ac_prev=mandir ;;
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896 mandir=$ac_optarg ;;
897
898 -nfp | --nfp | --nf)
899 # Obsolete; use --without-fp.
900 with_fp=no ;;
901
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
904 no_create=yes ;;
905
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 no_recursion=yes ;;
909
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
918
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 ac_prev=prefix ;;
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 prefix=$ac_optarg ;;
923
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
930
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
937
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
954
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 ac_prev=pdfdir ;;
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 pdfdir=$ac_optarg ;;
959
960 -psdir | --psdir | --psdi | --psd | --ps)
961 ac_prev=psdir ;;
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 psdir=$ac_optarg ;;
964
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
967 silent=yes ;;
968
969 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970 ac_prev=sbindir ;;
971 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972 | --sbi=* | --sb=*)
973 sbindir=$ac_optarg ;;
974
975 -sharedstatedir | --sharedstatedir | --sharedstatedi \
976 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977 | --sharedst | --shareds | --shared | --share | --shar \
978 | --sha | --sh)
979 ac_prev=sharedstatedir ;;
980 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983 | --sha=* | --sh=*)
984 sharedstatedir=$ac_optarg ;;
985
986 -site | --site | --sit)
987 ac_prev=site ;;
988 -site=* | --site=* | --sit=*)
989 site=$ac_optarg ;;
990
991 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992 ac_prev=srcdir ;;
993 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 srcdir=$ac_optarg ;;
995
996 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997 | --syscon | --sysco | --sysc | --sys | --sy)
998 ac_prev=sysconfdir ;;
999 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001 sysconfdir=$ac_optarg ;;
1002
1003 -target | --target | --targe | --targ | --tar | --ta | --t)
1004 ac_prev=target_alias ;;
1005 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006 target_alias=$ac_optarg ;;
1007
1008 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 verbose=yes ;;
1010
1011 -version | --version | --versio | --versi | --vers | -V)
1012 ac_init_version=: ;;
1013
1014 -with-* | --with-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1022 *"
1023 "with_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
1028 eval with_$ac_useropt=\$ac_optarg ;;
1029
1030 -without-* | --without-*)
1031 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1034 as_fn_error $? "invalid package name: $ac_useropt"
1035 ac_useropt_orig=$ac_useropt
1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1038 *"
1039 "with_$ac_useropt"
1040 "*) ;;
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1043 esac
1044 eval with_$ac_useropt=no ;;
1045
1046 --x)
1047 # Obsolete; use --with-x.
1048 with_x=yes ;;
1049
1050 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1051 | --x-incl | --x-inc | --x-in | --x-i)
1052 ac_prev=x_includes ;;
1053 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055 x_includes=$ac_optarg ;;
1056
1057 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1058 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059 ac_prev=x_libraries ;;
1060 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 x_libraries=$ac_optarg ;;
1063
1064 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information"
1066 ;;
1067
1068 *=*)
1069 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' | [0-9]* | *[!_$as_cr_alnum]* )
1073 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1074 esac
1075 eval $ac_envvar=\$ac_optarg
1076 export $ac_envvar ;;
1077
1078 *)
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1084 ;;
1085
1086 esac
1087 done
1088
1089 if test -n "$ac_prev"; then
1090 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error $? "missing argument to $ac_option"
1092 fi
1093
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1096 no) ;;
1097 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099 esac
1100 fi
1101
1102 # Check all directory arguments for consistency.
1103 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1107 do
1108 eval ac_val=\$$ac_var
1109 # Remove trailing slashes.
1110 case $ac_val in
1111 */ )
1112 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\$ac_val;;
1114 esac
1115 # Be sure to have absolute directory names.
1116 case $ac_val in
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1119 esac
1120 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1121 done
1122
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1126 build=$build_alias
1127 host=$host_alias
1128 target=$target_alias
1129
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x; then
1132 if test "x$build_alias" = x; then
1133 cross_compiling=maybe
1134 elif test "x$build_alias" != "x$host_alias"; then
1135 cross_compiling=yes
1136 fi
1137 fi
1138
1139 ac_tool_prefix=
1140 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1141
1142 test "$silent" = yes && exec 6>/dev/null
1143
1144
1145 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1146 ac_ls_di=`ls -di .` &&
1147 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1148 as_fn_error $? "working directory cannot be determined"
1149 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1150 as_fn_error $? "pwd does not report name of working directory"
1151
1152
1153 # Find the source files, if location was not specified.
1154 if test -z "$srcdir"; then
1155 ac_srcdir_defaulted=yes
1156 # Try the directory containing this script, then the parent directory.
1157 ac_confdir=`$as_dirname -- "$as_myself" ||
1158 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1159 X"$as_myself" : 'X\(//\)[^/]' \| \
1160 X"$as_myself" : 'X\(//\)$' \| \
1161 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1162 $as_echo X"$as_myself" |
1163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\/\)[^/].*/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\/\)$/{
1172 s//\1/
1173 q
1174 }
1175 /^X\(\/\).*/{
1176 s//\1/
1177 q
1178 }
1179 s/.*/./; q'`
1180 srcdir=$ac_confdir
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 srcdir=..
1183 fi
1184 else
1185 ac_srcdir_defaulted=no
1186 fi
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1188 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1189 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1190 fi
1191 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 ac_abs_confdir=`(
1193 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1194 pwd)`
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1197 srcdir=.
1198 fi
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1202 case $srcdir in
1203 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1204 esac
1205 for ac_var in $ac_precious_vars; do
1206 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_${ac_var}_value=\$${ac_var}
1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1210 done
1211
1212 #
1213 # Report the --help message.
1214 #
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1218 cat <<_ACEOF
1219 \`configure' configures Cygwin Utils 0 to adapt to many kinds of systems.
1220
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1222
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1225
1226 Defaults for the options are specified in brackets.
1227
1228 Configuration:
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking ...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1238
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1243 [PREFIX]
1244
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1249
1250 For better control, use the options below.
1251
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/cygwin]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1272 _ACEOF
1273
1274 cat <<\_ACEOF
1275
1276 Program names:
1277 --program-prefix=PREFIX prepend PREFIX to installed program names
1278 --program-suffix=SUFFIX append SUFFIX to installed program names
1279 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1280
1281 System types:
1282 --build=BUILD configure for building on BUILD [guessed]
1283 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1284 --target=TARGET configure for building compilers for TARGET [HOST]
1285 _ACEOF
1286 fi
1287
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive ) echo "Configuration of Cygwin Utils 0:";;
1291 esac
1292 cat <<\_ACEOF
1293
1294 Optional Packages:
1295 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1296 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1297 --with-windows-headers=DIR
1298 specify where the windows includes are located
1299 --with-windows-libs=DIR specify where the windows libraries are located
1300
1301 Some influential environment variables:
1302 CC C compiler command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1305 nonstandard directory <lib dir>
1306 LIBS libraries to pass to the linker, e.g. -l<library>
1307 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1308 you have headers in a nonstandard directory <include dir>
1309 CXX C++ compiler command
1310 CXXFLAGS C++ compiler flags
1311
1312 Use these variables to override the choices made by `configure' or to help
1313 it to find libraries and programs with nonstandard names/locations.
1314
1315 Report bugs to <cygwin@cygwin.com>.
1316 Cygwin Utils home page: <https://cygwin.com>.
1317 _ACEOF
1318 ac_status=$?
1319 fi
1320
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
1327 ac_builddir=.
1328
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *)
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1344
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1374 fi
1375
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 Cygwin Utils configure 0
1380 generated by GNU Autoconf 2.69
1381
1382 Copyright (C) 2012 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1385 _ACEOF
1386 exit
1387 fi
1388
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1392
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1397 {
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1401 case "(($ac_try" in
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1404 esac
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1408 ac_status=$?
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1413 fi
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1419 ac_retval=0
1420 else
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1423
1424 ac_retval=1
1425 fi
1426 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427 as_fn_set_status $ac_retval
1428
1429 } # ac_fn_c_try_compile
1430
1431 # ac_fn_cxx_try_compile LINENO
1432 # ----------------------------
1433 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1434 ac_fn_cxx_try_compile ()
1435 {
1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437 rm -f conftest.$ac_objext
1438 if { { ac_try="$ac_compile"
1439 case "(($ac_try" in
1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1442 esac
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_compile") 2>conftest.err
1446 ac_status=$?
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1451 fi
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && {
1454 test -z "$ac_cxx_werror_flag" ||
1455 test ! -s conftest.err
1456 } && test -s conftest.$ac_objext; then :
1457 ac_retval=0
1458 else
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1461
1462 ac_retval=1
1463 fi
1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1465 as_fn_set_status $ac_retval
1466
1467 } # ac_fn_cxx_try_compile
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1471
1472 It was created by Cygwin Utils $as_me 0, which was
1473 generated by GNU Autoconf 2.69. Invocation command line was
1474
1475 $ $0 $@
1476
1477 _ACEOF
1478 exec 5>>config.log
1479 {
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1484
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1490
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1493
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1501
1502 _ASUNAME
1503
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1506 do
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 $as_echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1512
1513 } >&5
1514
1515 cat >&5 <<_ACEOF
1516
1517
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1521
1522 _ACEOF
1523
1524
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1535 do
1536 for ac_arg
1537 do
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1548 2)
1549 as_fn_append ac_configure_args1 " '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1561 ;;
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1564 fi
1565 as_fn_append ac_configure_args " '$ac_arg'"
1566 ;;
1567 esac
1568 done
1569 done
1570 { ac_configure_args0=; unset ac_configure_args0;}
1571 { ac_configure_args1=; unset ac_configure_args1;}
1572
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1580 {
1581 echo
1582
1583 $as_echo "## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##"
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1588 (
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) { eval $ac_var=; unset $ac_var;} ;;
1601 esac ;;
1602 esac
1603 done
1604 (set) 2>&1 |
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1607 sed -n \
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 ;; #(
1611 *)
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 ;;
1614 esac |
1615 sort
1616 )
1617 echo
1618
1619 $as_echo "## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##"
1622 echo
1623 for ac_var in $ac_subst_vars
1624 do
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 $as_echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1632
1633 if test -n "$ac_subst_files"; then
1634 $as_echo "## ------------------- ##
1635 ## File substitutions. ##
1636 ## ------------------- ##"
1637 echo
1638 for ac_var in $ac_subst_files
1639 do
1640 eval ac_val=\$$ac_var
1641 case $ac_val in
1642 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 esac
1644 $as_echo "$ac_var='\''$ac_val'\''"
1645 done | sort
1646 echo
1647 fi
1648
1649 if test -s confdefs.h; then
1650 $as_echo "## ----------- ##
1651 ## confdefs.h. ##
1652 ## ----------- ##"
1653 echo
1654 cat confdefs.h
1655 echo
1656 fi
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1660 } >&5
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663 exit $exit_status
1664 ' 0
1665 for ac_signal in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1667 done
1668 ac_signal=0
1669
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest* confdefs.h
1672
1673 $as_echo "/* confdefs.h */" > confdefs.h
1674
1675 # Predefined preprocessor variables.
1676
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_NAME "$PACKAGE_NAME"
1679 _ACEOF
1680
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683 _ACEOF
1684
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1687 _ACEOF
1688
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 _ACEOF
1692
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 _ACEOF
1696
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_URL "$PACKAGE_URL"
1699 _ACEOF
1700
1701
1702 # Let the site file select an alternate cache file if it wants to.
1703 # Prefer an explicitly selected file to automatically selected ones.
1704 ac_site_file1=NONE
1705 ac_site_file2=NONE
1706 if test -n "$CONFIG_SITE"; then
1707 # We do not want a PATH search for config.site.
1708 case $CONFIG_SITE in #((
1709 -*) ac_site_file1=./$CONFIG_SITE;;
1710 */*) ac_site_file1=$CONFIG_SITE;;
1711 *) ac_site_file1=./$CONFIG_SITE;;
1712 esac
1713 elif test "x$prefix" != xNONE; then
1714 ac_site_file1=$prefix/share/config.site
1715 ac_site_file2=$prefix/etc/config.site
1716 else
1717 ac_site_file1=$ac_default_prefix/share/config.site
1718 ac_site_file2=$ac_default_prefix/etc/config.site
1719 fi
1720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1721 do
1722 test "x$ac_site_file" = xNONE && continue
1723 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1727 . "$ac_site_file" \
1728 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730 as_fn_error $? "failed to load site script $ac_site_file
1731 See \`config.log' for more details" "$LINENO" 5; }
1732 fi
1733 done
1734
1735 if test -r "$cache_file"; then
1736 # Some versions of bash will fail to source /dev/null (special files
1737 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1738 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1740 $as_echo "$as_me: loading cache $cache_file" >&6;}
1741 case $cache_file in
1742 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1743 *) . "./$cache_file";;
1744 esac
1745 fi
1746 else
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1748 $as_echo "$as_me: creating cache $cache_file" >&6;}
1749 >$cache_file
1750 fi
1751
1752 # Check that the precious variables saved in the cache have kept the same
1753 # value.
1754 ac_cache_corrupted=false
1755 for ac_var in $ac_precious_vars; do
1756 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1757 eval ac_new_set=\$ac_env_${ac_var}_set
1758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1759 eval ac_new_val=\$ac_env_${ac_var}_value
1760 case $ac_old_set,$ac_new_set in
1761 set,)
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1765 ,set)
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1767 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1768 ac_cache_corrupted=: ;;
1769 ,);;
1770 *)
1771 if test "x$ac_old_val" != "x$ac_new_val"; then
1772 # differences in whitespace do not lead to failure.
1773 ac_old_val_w=`echo x $ac_old_val`
1774 ac_new_val_w=`echo x $ac_new_val`
1775 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1778 ac_cache_corrupted=:
1779 else
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1782 eval $ac_var=\$ac_old_val
1783 fi
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1785 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1787 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1788 fi;;
1789 esac
1790 # Pass precious variables to config.status.
1791 if test "$ac_new_set" = set; then
1792 case $ac_new_val in
1793 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1794 *) ac_arg=$ac_var=$ac_new_val ;;
1795 esac
1796 case " $ac_configure_args " in
1797 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1798 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1799 esac
1800 fi
1801 done
1802 if $ac_cache_corrupted; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1807 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1808 fi
1809 ## -------------------- ##
1810 ## Main body of script. ##
1811 ## -------------------- ##
1812
1813 ac_ext=c
1814 ac_cpp='$CPP $CPPFLAGS'
1815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1818
1819
1820
1821 ac_aux_dir=
1822 for ac_dir in ../.. "$srcdir"/../..; do
1823 if test -f "$ac_dir/install-sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install-sh -c"
1826 break
1827 elif test -f "$ac_dir/install.sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install.sh -c"
1830 break
1831 elif test -f "$ac_dir/shtool"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/shtool install -c"
1834 break
1835 fi
1836 done
1837 if test -z "$ac_aux_dir"; then
1838 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1839 fi
1840
1841 # These three variables are undocumented and unsupported,
1842 # and are intended to be withdrawn in a future Autoconf release.
1843 # They can cause serious problems if a builder's source tree is in a directory
1844 # whose full name contains unusual characters.
1845 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1846 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1847 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848
1849
1850
1851
1852
1853 . ${srcdir}/../configure.cygwin
1854
1855 # Make sure we can run config.sub.
1856 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1857 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1858
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1860 $as_echo_n "checking build system type... " >&6; }
1861 if ${ac_cv_build+:} false; then :
1862 $as_echo_n "(cached) " >&6
1863 else
1864 ac_build_alias=$build_alias
1865 test "x$ac_build_alias" = x &&
1866 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1867 test "x$ac_build_alias" = x &&
1868 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1869 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1870 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1871
1872 fi
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1874 $as_echo "$ac_cv_build" >&6; }
1875 case $ac_cv_build in
1876 *-*-*) ;;
1877 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1878 esac
1879 build=$ac_cv_build
1880 ac_save_IFS=$IFS; IFS='-'
1881 set x $ac_cv_build
1882 shift
1883 build_cpu=$1
1884 build_vendor=$2
1885 shift; shift
1886 # Remember, the first character of IFS is used to create $*,
1887 # except with old shells:
1888 build_os=$*
1889 IFS=$ac_save_IFS
1890 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1891
1892
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1894 $as_echo_n "checking host system type... " >&6; }
1895 if ${ac_cv_host+:} false; then :
1896 $as_echo_n "(cached) " >&6
1897 else
1898 if test "x$host_alias" = x; then
1899 ac_cv_host=$ac_cv_build
1900 else
1901 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1902 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1903 fi
1904
1905 fi
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1907 $as_echo "$ac_cv_host" >&6; }
1908 case $ac_cv_host in
1909 *-*-*) ;;
1910 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1911 esac
1912 host=$ac_cv_host
1913 ac_save_IFS=$IFS; IFS='-'
1914 set x $ac_cv_host
1915 shift
1916 host_cpu=$1
1917 host_vendor=$2
1918 shift; shift
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1921 host_os=$*
1922 IFS=$ac_save_IFS
1923 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1924
1925
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1927 $as_echo_n "checking target system type... " >&6; }
1928 if ${ac_cv_target+:} false; then :
1929 $as_echo_n "(cached) " >&6
1930 else
1931 if test "x$target_alias" = x; then
1932 ac_cv_target=$ac_cv_host
1933 else
1934 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1936 fi
1937
1938 fi
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1940 $as_echo "$ac_cv_target" >&6; }
1941 case $ac_cv_target in
1942 *-*-*) ;;
1943 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1944 esac
1945 target=$ac_cv_target
1946 ac_save_IFS=$IFS; IFS='-'
1947 set x $ac_cv_target
1948 shift
1949 target_cpu=$1
1950 target_vendor=$2
1951 shift; shift
1952 # Remember, the first character of IFS is used to create $*,
1953 # except with old shells:
1954 target_os=$*
1955 IFS=$ac_save_IFS
1956 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1957
1958
1959 # The aliases save the names the user supplied, while $host etc.
1960 # will get canonicalized.
1961 test -n "$target_alias" &&
1962 test "$program_prefix$program_suffix$program_transform_name" = \
1963 NONENONEs,x,x, &&
1964 program_prefix=${target_alias}-
1965
1966
1967 ac_ext=c
1968 ac_cpp='$CPP $CPPFLAGS'
1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1972 if test -n "$ac_tool_prefix"; then
1973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1976 $as_echo_n "checking for $ac_word... " >&6; }
1977 if ${ac_cv_prog_CC+:} false; then :
1978 $as_echo_n "(cached) " >&6
1979 else
1980 if test -n "$CC"; then
1981 ac_cv_prog_CC="$CC" # Let the user override the test.
1982 else
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1985 do
1986 IFS=$as_save_IFS
1987 test -z "$as_dir" && as_dir=.
1988 for ac_exec_ext in '' $ac_executable_extensions; do
1989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 break 2
1993 fi
1994 done
1995 done
1996 IFS=$as_save_IFS
1997
1998 fi
1999 fi
2000 CC=$ac_cv_prog_CC
2001 if test -n "$CC"; then
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2003 $as_echo "$CC" >&6; }
2004 else
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2006 $as_echo "no" >&6; }
2007 fi
2008
2009
2010 fi
2011 if test -z "$ac_cv_prog_CC"; then
2012 ac_ct_CC=$CC
2013 # Extract the first word of "gcc", so it can be a program name with args.
2014 set dummy gcc; ac_word=$2
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2016 $as_echo_n "checking for $ac_word... " >&6; }
2017 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2018 $as_echo_n "(cached) " >&6
2019 else
2020 if test -n "$ac_ct_CC"; then
2021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2022 else
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2024 for as_dir in $PATH
2025 do
2026 IFS=$as_save_IFS
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2030 ac_cv_prog_ac_ct_CC="gcc"
2031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 break 2
2033 fi
2034 done
2035 done
2036 IFS=$as_save_IFS
2037
2038 fi
2039 fi
2040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2041 if test -n "$ac_ct_CC"; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2043 $as_echo "$ac_ct_CC" >&6; }
2044 else
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2046 $as_echo "no" >&6; }
2047 fi
2048
2049 if test "x$ac_ct_CC" = x; then
2050 CC=""
2051 else
2052 case $cross_compiling:$ac_tool_warned in
2053 yes:)
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2056 ac_tool_warned=yes ;;
2057 esac
2058 CC=$ac_ct_CC
2059 fi
2060 else
2061 CC="$ac_cv_prog_CC"
2062 fi
2063
2064 if test -z "$CC"; then
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}cc; ac_word=$2
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if ${ac_cv_prog_CC+:} false; then :
2071 $as_echo_n "(cached) " >&6
2072 else
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_CC="${ac_tool_prefix}cc"
2084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2086 fi
2087 done
2088 done
2089 IFS=$as_save_IFS
2090
2091 fi
2092 fi
2093 CC=$ac_cv_prog_CC
2094 if test -n "$CC"; then
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2096 $as_echo "$CC" >&6; }
2097 else
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2099 $as_echo "no" >&6; }
2100 fi
2101
2102
2103 fi
2104 fi
2105 if test -z "$CC"; then
2106 # Extract the first word of "cc", so it can be a program name with args.
2107 set dummy cc; ac_word=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if ${ac_cv_prog_CC+:} false; then :
2111 $as_echo_n "(cached) " >&6
2112 else
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC="$CC" # Let the user override the test.
2115 else
2116 ac_prog_rejected=no
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2124 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2125 ac_prog_rejected=yes
2126 continue
2127 fi
2128 ac_cv_prog_CC="cc"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 break 2
2131 fi
2132 done
2133 done
2134 IFS=$as_save_IFS
2135
2136 if test $ac_prog_rejected = yes; then
2137 # We found a bogon in the path, so make sure we never use it.
2138 set dummy $ac_cv_prog_CC
2139 shift
2140 if test $# != 0; then
2141 # We chose a different compiler from the bogus one.
2142 # However, it has the same basename, so the bogon will be chosen
2143 # first if we set CC to just the basename; use the full file name.
2144 shift
2145 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2146 fi
2147 fi
2148 fi
2149 fi
2150 CC=$ac_cv_prog_CC
2151 if test -n "$CC"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2153 $as_echo "$CC" >&6; }
2154 else
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2156 $as_echo "no" >&6; }
2157 fi
2158
2159
2160 fi
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 for ac_prog in cl.exe
2164 do
2165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2166 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if ${ac_cv_prog_CC+:} false; then :
2170 $as_echo_n "(cached) " >&6
2171 else
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 else
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH
2177 do
2178 IFS=$as_save_IFS
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2184 break 2
2185 fi
2186 done
2187 done
2188 IFS=$as_save_IFS
2189
2190 fi
2191 fi
2192 CC=$ac_cv_prog_CC
2193 if test -n "$CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195 $as_echo "$CC" >&6; }
2196 else
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2199 fi
2200
2201
2202 test -n "$CC" && break
2203 done
2204 fi
2205 if test -z "$CC"; then
2206 ac_ct_CC=$CC
2207 for ac_prog in cl.exe
2208 do
2209 # Extract the first word of "$ac_prog", so it can be a program name with args.
2210 set dummy $ac_prog; ac_word=$2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2214 $as_echo_n "(cached) " >&6
2215 else
2216 if test -n "$ac_ct_CC"; then
2217 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2218 else
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 for as_dir in $PATH
2221 do
2222 IFS=$as_save_IFS
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_ac_ct_CC="$ac_prog"
2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 break 2
2229 fi
2230 done
2231 done
2232 IFS=$as_save_IFS
2233
2234 fi
2235 fi
2236 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2237 if test -n "$ac_ct_CC"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2239 $as_echo "$ac_ct_CC" >&6; }
2240 else
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2242 $as_echo "no" >&6; }
2243 fi
2244
2245
2246 test -n "$ac_ct_CC" && break
2247 done
2248
2249 if test "x$ac_ct_CC" = x; then
2250 CC=""
2251 else
2252 case $cross_compiling:$ac_tool_warned in
2253 yes:)
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2256 ac_tool_warned=yes ;;
2257 esac
2258 CC=$ac_ct_CC
2259 fi
2260 fi
2261
2262 fi
2263
2264
2265 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 as_fn_error $? "no acceptable C compiler found in \$PATH
2268 See \`config.log' for more details" "$LINENO" 5; }
2269
2270 # Provide some information about the compiler.
2271 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2272 set X $ac_compile
2273 ac_compiler=$2
2274 for ac_option in --version -v -V -qversion; do
2275 { { ac_try="$ac_compiler $ac_option >&5"
2276 case "(($ac_try" in
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2279 esac
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2283 ac_status=$?
2284 if test -s conftest.err; then
2285 sed '10a\
2286 ... rest of stderr output deleted ...
2287 10q' conftest.err >conftest.er1
2288 cat conftest.er1 >&5
2289 fi
2290 rm -f conftest.er1 conftest.err
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; }
2293 done
2294
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297
2298 int
2299 main ()
2300 {
2301
2302 ;
2303 return 0;
2304 }
2305 _ACEOF
2306 if { { ac_try="$ac_link"
2307 case "(($ac_try" in
2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2310 esac
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_link") 2>&5
2314 ac_status=$?
2315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2316 test $ac_status = 0; }; then
2317 ac_no_link=no
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320
2321 int
2322 main ()
2323 {
2324
2325 ;
2326 return 0;
2327 }
2328 _ACEOF
2329 ac_clean_files_save=$ac_clean_files
2330 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2331 # Try to create an executable without -o first, disregard a.out.
2332 # It will help us diagnose broken compilers, and finding out an intuition
2333 # of exeext.
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2335 $as_echo_n "checking whether the C compiler works... " >&6; }
2336 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2337
2338 # The possible output files:
2339 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2340
2341 ac_rmfiles=
2342 for ac_file in $ac_files
2343 do
2344 case $ac_file in
2345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2346 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2347 esac
2348 done
2349 rm -f $ac_rmfiles
2350
2351 if { { ac_try="$ac_link_default"
2352 case "(($ac_try" in
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2355 esac
2356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2357 $as_echo "$ac_try_echo"; } >&5
2358 (eval "$ac_link_default") 2>&5
2359 ac_status=$?
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; }; then :
2362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2365 # so that the user can short-circuit this test for compilers unknown to
2366 # Autoconf.
2367 for ac_file in $ac_files ''
2368 do
2369 test -f "$ac_file" || continue
2370 case $ac_file in
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2372 ;;
2373 [ab].out )
2374 # We found the default executable, but exeext='' is most
2375 # certainly right.
2376 break;;
2377 *.* )
2378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2379 then :; else
2380 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2381 fi
2382 # We set ac_cv_exeext here because the later test for it is not
2383 # safe: cross compilers may not add the suffix if given an `-o'
2384 # argument, so we may need to know it at that point already.
2385 # Even if this section looks crufty: it has the advantage of
2386 # actually working.
2387 break;;
2388 * )
2389 break;;
2390 esac
2391 done
2392 test "$ac_cv_exeext" = no && ac_cv_exeext=
2393
2394 else
2395 ac_file=''
2396 fi
2397 if test -z "$ac_file"; then :
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2399 $as_echo "no" >&6; }
2400 $as_echo "$as_me: failed program was:" >&5
2401 sed 's/^/| /' conftest.$ac_ext >&5
2402
2403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2405 as_fn_error 77 "C compiler cannot create executables
2406 See \`config.log' for more details" "$LINENO" 5; }
2407 else
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2409 $as_echo "yes" >&6; }
2410 fi
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2412 $as_echo_n "checking for C compiler default output file name... " >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2414 $as_echo "$ac_file" >&6; }
2415 ac_exeext=$ac_cv_exeext
2416
2417 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2418 ac_clean_files=$ac_clean_files_save
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2420 $as_echo_n "checking for suffix of executables... " >&6; }
2421 if { { ac_try="$ac_link"
2422 case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425 esac
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_link") 2>&5
2429 ac_status=$?
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; }; then :
2432 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2433 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2434 # work properly (i.e., refer to `conftest.exe'), while it won't with
2435 # `rm'.
2436 for ac_file in conftest.exe conftest conftest.*; do
2437 test -f "$ac_file" || continue
2438 case $ac_file in
2439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2440 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 break;;
2442 * ) break;;
2443 esac
2444 done
2445 else
2446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2449 See \`config.log' for more details" "$LINENO" 5; }
2450 fi
2451 rm -f conftest conftest$ac_cv_exeext
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2453 $as_echo "$ac_cv_exeext" >&6; }
2454
2455 rm -f conftest.$ac_ext
2456 EXEEXT=$ac_cv_exeext
2457 ac_exeext=$EXEEXT
2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */
2460 #include <stdio.h>
2461 int
2462 main ()
2463 {
2464 FILE *f = fopen ("conftest.out", "w");
2465 return ferror (f) || fclose (f) != 0;
2466
2467 ;
2468 return 0;
2469 }
2470 _ACEOF
2471 ac_clean_files="$ac_clean_files conftest.out"
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2475 $as_echo_n "checking whether we are cross compiling... " >&6; }
2476 if test "$cross_compiling" != yes; then
2477 { { ac_try="$ac_link"
2478 case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2481 esac
2482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_link") 2>&5
2485 ac_status=$?
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; }
2488 if { ac_try='./conftest$ac_cv_exeext'
2489 { { case "(($ac_try" in
2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2492 esac
2493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2494 $as_echo "$ac_try_echo"; } >&5
2495 (eval "$ac_try") 2>&5
2496 ac_status=$?
2497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2498 test $ac_status = 0; }; }; then
2499 cross_compiling=no
2500 else
2501 if test "$cross_compiling" = maybe; then
2502 cross_compiling=yes
2503 else
2504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 as_fn_error $? "cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \`config.log' for more details" "$LINENO" 5; }
2509 fi
2510 fi
2511 fi
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2513 $as_echo "$cross_compiling" >&6; }
2514
2515 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2516 ac_clean_files=$ac_clean_files_save
2517
2518 else
2519 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
2520 ac_no_link=yes
2521 # Setting cross_compile will disable run tests; it will
2522 # also disable AC_CHECK_FILE but that's generally
2523 # correct if we can't link.
2524 cross_compiling=yes
2525 EXEEXT=
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2529 $as_echo_n "checking whether we are cross compiling... " >&6; }
2530 if test "$cross_compiling" != yes; then
2531 { { ac_try="$ac_link"
2532 case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_link") 2>&5
2539 ac_status=$?
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }
2542 if { ac_try='./conftest$ac_cv_exeext'
2543 { { case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_try") 2>&5
2550 ac_status=$?
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; }; }; then
2553 cross_compiling=no
2554 else
2555 if test "$cross_compiling" = maybe; then
2556 cross_compiling=yes
2557 else
2558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 as_fn_error $? "cannot run C compiled programs.
2561 If you meant to cross compile, use \`--host'.
2562 See \`config.log' for more details" "$LINENO" 5; }
2563 fi
2564 fi
2565 fi
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2567 $as_echo "$cross_compiling" >&6; }
2568
2569 fi
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2571 $as_echo_n "checking for suffix of object files... " >&6; }
2572 if ${ac_cv_objext+:} false; then :
2573 $as_echo_n "(cached) " >&6
2574 else
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 /* end confdefs.h. */
2577
2578 int
2579 main ()
2580 {
2581
2582 ;
2583 return 0;
2584 }
2585 _ACEOF
2586 rm -f conftest.o conftest.obj
2587 if { { ac_try="$ac_compile"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_compile") 2>&5
2595 ac_status=$?
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }; then :
2598 for ac_file in conftest.o conftest.obj conftest.*; do
2599 test -f "$ac_file" || continue;
2600 case $ac_file in
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2602 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2603 break;;
2604 esac
2605 done
2606 else
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2609
2610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612 as_fn_error $? "cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details" "$LINENO" 5; }
2614 fi
2615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2616 fi
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2618 $as_echo "$ac_cv_objext" >&6; }
2619 OBJEXT=$ac_cv_objext
2620 ac_objext=$OBJEXT
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2622 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2623 if ${ac_cv_c_compiler_gnu+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628
2629 int
2630 main ()
2631 {
2632 #ifndef __GNUC__
2633 choke me
2634 #endif
2635
2636 ;
2637 return 0;
2638 }
2639 _ACEOF
2640 if ac_fn_c_try_compile "$LINENO"; then :
2641 ac_compiler_gnu=yes
2642 else
2643 ac_compiler_gnu=no
2644 fi
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2647
2648 fi
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2650 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2651 if test $ac_compiler_gnu = yes; then
2652 GCC=yes
2653 else
2654 GCC=
2655 fi
2656 ac_test_CFLAGS=${CFLAGS+set}
2657 ac_save_CFLAGS=$CFLAGS
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2659 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2660 if ${ac_cv_prog_cc_g+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 ac_save_c_werror_flag=$ac_c_werror_flag
2664 ac_c_werror_flag=yes
2665 ac_cv_prog_cc_g=no
2666 CFLAGS="-g"
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2669
2670 int
2671 main ()
2672 {
2673
2674 ;
2675 return 0;
2676 }
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2679 ac_cv_prog_cc_g=yes
2680 else
2681 CFLAGS=""
2682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2684
2685 int
2686 main ()
2687 {
2688
2689 ;
2690 return 0;
2691 }
2692 _ACEOF
2693 if ac_fn_c_try_compile "$LINENO"; then :
2694
2695 else
2696 ac_c_werror_flag=$ac_save_c_werror_flag
2697 CFLAGS="-g"
2698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2699 /* end confdefs.h. */
2700
2701 int
2702 main ()
2703 {
2704
2705 ;
2706 return 0;
2707 }
2708 _ACEOF
2709 if ac_fn_c_try_compile "$LINENO"; then :
2710 ac_cv_prog_cc_g=yes
2711 fi
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 fi
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2715 fi
2716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 ac_c_werror_flag=$ac_save_c_werror_flag
2718 fi
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2720 $as_echo "$ac_cv_prog_cc_g" >&6; }
2721 if test "$ac_test_CFLAGS" = set; then
2722 CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724 if test "$GCC" = yes; then
2725 CFLAGS="-g -O2"
2726 else
2727 CFLAGS="-g"
2728 fi
2729 else
2730 if test "$GCC" = yes; then
2731 CFLAGS="-O2"
2732 else
2733 CFLAGS=
2734 fi
2735 fi
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2737 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2738 if ${ac_cv_prog_cc_c89+:} false; then :
2739 $as_echo_n "(cached) " >&6
2740 else
2741 ac_cv_prog_cc_c89=no
2742 ac_save_CC=$CC
2743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 struct stat;
2748 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2749 struct buf { int x; };
2750 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2751 static char *e (p, i)
2752 char **p;
2753 int i;
2754 {
2755 return p[i];
2756 }
2757 static char *f (char * (*g) (char **, int), char **p, ...)
2758 {
2759 char *s;
2760 va_list v;
2761 va_start (v,p);
2762 s = g (p, va_arg (v,int));
2763 va_end (v);
2764 return s;
2765 }
2766
2767 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2768 function prototypes and stuff, but not '\xHH' hex character constants.
2769 These don't provoke an error unfortunately, instead are silently treated
2770 as 'x'. The following induces an error, until -std is added to get
2771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2772 array size at least. It's necessary to write '\x00'==0 to get something
2773 that's true only with -std. */
2774 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2775
2776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2777 inside strings and character constants. */
2778 #define FOO(x) 'x'
2779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2780
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2785 int argc;
2786 char **argv;
2787 int
2788 main ()
2789 {
2790 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2791 ;
2792 return 0;
2793 }
2794 _ACEOF
2795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2797 do
2798 CC="$ac_save_CC $ac_arg"
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 ac_cv_prog_cc_c89=$ac_arg
2801 fi
2802 rm -f core conftest.err conftest.$ac_objext
2803 test "x$ac_cv_prog_cc_c89" != "xno" && break
2804 done
2805 rm -f conftest.$ac_ext
2806 CC=$ac_save_CC
2807
2808 fi
2809 # AC_CACHE_VAL
2810 case "x$ac_cv_prog_cc_c89" in
2811 x)
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2813 $as_echo "none needed" >&6; } ;;
2814 xno)
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2816 $as_echo "unsupported" >&6; } ;;
2817 *)
2818 CC="$CC $ac_cv_prog_cc_c89"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2820 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2821 esac
2822 if test "x$ac_cv_prog_cc_c89" != xno; then :
2823
2824 fi
2825
2826 ac_ext=c
2827 ac_cpp='$CPP $CPPFLAGS'
2828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2831
2832
2833
2834
2835 # Check whether --with-windows-headers was given.
2836 if test "${with_windows_headers+set}" = set; then :
2837 withval=$with_windows_headers; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-headers" "$LINENO" 5
2838
2839 fi
2840
2841
2842
2843
2844 # Check whether --with-windows-libs was given.
2845 if test "${with_windows_libs+set}" = set; then :
2846 withval=$with_windows_libs; test -z "$withval" && as_fn_error $? "must specify value for --with-windows-libs" "$LINENO" 5
2847
2848 fi
2849
2850 windows_libdir=$(realdirpath "$with_windows_libs")
2851 if test -z "$windows_libdir"; then
2852 windows_libdir=$(realdirpath $(${ac_cv_prog_CC:-$CC} -xc /dev/null -Wl,--verbose=1 -lntdll 2>&1 | sed -rn 's%^.*\s(\S+)/libntdll\..*succeeded%\1%p'))
2853 if test -z "$windows_libdir"; then
2854 as_fn_error $? "cannot find windows library files" "$LINENO" 5
2855 fi
2856 fi
2857
2858
2859
2860
2861 ac_ext=cpp
2862 ac_cpp='$CXXCPP $CPPFLAGS'
2863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2866 if test -z "$CXX"; then
2867 if test -n "$CCC"; then
2868 CXX=$CCC
2869 else
2870 if test -n "$ac_tool_prefix"; then
2871 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2872 do
2873 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2874 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_CXX+:} false; then :
2878 $as_echo_n "(cached) " >&6
2879 else
2880 if test -n "$CXX"; then
2881 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2882 else
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 for as_dir in $PATH
2885 do
2886 IFS=$as_save_IFS
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 break 2
2893 fi
2894 done
2895 done
2896 IFS=$as_save_IFS
2897
2898 fi
2899 fi
2900 CXX=$ac_cv_prog_CXX
2901 if test -n "$CXX"; then
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2903 $as_echo "$CXX" >&6; }
2904 else
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2907 fi
2908
2909
2910 test -n "$CXX" && break
2911 done
2912 fi
2913 if test -z "$CXX"; then
2914 ac_ct_CXX=$CXX
2915 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2916 do
2917 # Extract the first word of "$ac_prog", so it can be a program name with args.
2918 set dummy $ac_prog; ac_word=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2924 if test -n "$ac_ct_CXX"; then
2925 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2926 else
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 for as_dir in $PATH
2929 do
2930 IFS=$as_save_IFS
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2934 ac_cv_prog_ac_ct_CXX="$ac_prog"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 break 2
2937 fi
2938 done
2939 done
2940 IFS=$as_save_IFS
2941
2942 fi
2943 fi
2944 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2945 if test -n "$ac_ct_CXX"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2947 $as_echo "$ac_ct_CXX" >&6; }
2948 else
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2951 fi
2952
2953
2954 test -n "$ac_ct_CXX" && break
2955 done
2956
2957 if test "x$ac_ct_CXX" = x; then
2958 CXX="g++"
2959 else
2960 case $cross_compiling:$ac_tool_warned in
2961 yes:)
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2964 ac_tool_warned=yes ;;
2965 esac
2966 CXX=$ac_ct_CXX
2967 fi
2968 fi
2969
2970 fi
2971 fi
2972 # Provide some information about the compiler.
2973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2974 set X $ac_compile
2975 ac_compiler=$2
2976 for ac_option in --version -v -V -qversion; do
2977 { { ac_try="$ac_compiler $ac_option >&5"
2978 case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2981 esac
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2985 ac_status=$?
2986 if test -s conftest.err; then
2987 sed '10a\
2988 ... rest of stderr output deleted ...
2989 10q' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2991 fi
2992 rm -f conftest.er1 conftest.err
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }
2995 done
2996
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2998 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2999 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3000 $as_echo_n "(cached) " >&6
3001 else
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3004
3005 int
3006 main ()
3007 {
3008 #ifndef __GNUC__
3009 choke me
3010 #endif
3011
3012 ;
3013 return 0;
3014 }
3015 _ACEOF
3016 if ac_fn_cxx_try_compile "$LINENO"; then :
3017 ac_compiler_gnu=yes
3018 else
3019 ac_compiler_gnu=no
3020 fi
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3023
3024 fi
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3026 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3027 if test $ac_compiler_gnu = yes; then
3028 GXX=yes
3029 else
3030 GXX=
3031 fi
3032 ac_test_CXXFLAGS=${CXXFLAGS+set}
3033 ac_save_CXXFLAGS=$CXXFLAGS
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3035 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3036 if ${ac_cv_prog_cxx_g+:} false; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3040 ac_cxx_werror_flag=yes
3041 ac_cv_prog_cxx_g=no
3042 CXXFLAGS="-g"
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3045
3046 int
3047 main ()
3048 {
3049
3050 ;
3051 return 0;
3052 }
3053 _ACEOF
3054 if ac_fn_cxx_try_compile "$LINENO"; then :
3055 ac_cv_prog_cxx_g=yes
3056 else
3057 CXXFLAGS=""
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3060
3061 int
3062 main ()
3063 {
3064
3065 ;
3066 return 0;
3067 }
3068 _ACEOF
3069 if ac_fn_cxx_try_compile "$LINENO"; then :
3070
3071 else
3072 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3073 CXXFLAGS="-g"
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3076
3077 int
3078 main ()
3079 {
3080
3081 ;
3082 return 0;
3083 }
3084 _ACEOF
3085 if ac_fn_cxx_try_compile "$LINENO"; then :
3086 ac_cv_prog_cxx_g=yes
3087 fi
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 fi
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 fi
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3094 fi
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3096 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3097 if test "$ac_test_CXXFLAGS" = set; then
3098 CXXFLAGS=$ac_save_CXXFLAGS
3099 elif test $ac_cv_prog_cxx_g = yes; then
3100 if test "$GXX" = yes; then
3101 CXXFLAGS="-g -O2"
3102 else
3103 CXXFLAGS="-g"
3104 fi
3105 else
3106 if test "$GXX" = yes; then
3107 CXXFLAGS="-O2"
3108 else
3109 CXXFLAGS=
3110 fi
3111 fi
3112 ac_ext=c
3113 ac_cpp='$CPP $CPPFLAGS'
3114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3117
3118
3119
3120 addto_CPPFLAGS -nostdinc
3121 : ${ac_cv_prog_CXX:=$CXX}
3122 : ${ac_cv_prog_CC:=$CC}
3123
3124 cygwin_headers=$(realdirpath "$winsup_srcdir/cygwin/include")
3125 if test -z "$cygwin_headers"; then
3126 as_fn_error $? "cannot find $winsup_srcdir/cygwin/include directory" "$LINENO" 5
3127 fi
3128
3129 newlib_headers=$(realdirpath $winsup_srcdir/../newlib/libc/include)
3130 if test -z "$newlib_headers"; then
3131 as_fn_error $? "cannot find newlib source directory: $winsup_srcdir/../newlib/libc/include" "$LINENO" 5
3132 fi
3133 newlib_headers="$target_builddir/newlib/targ-include $newlib_headers"
3134
3135 if test -n "$with_windows_headers"; then
3136 if test -e "$with_windows_headers/windef.h"; then
3137 windows_headers="$with_windows_headers"
3138 else
3139 as_fn_error $? "cannot find windef.h in specified --with-windows-headers path: $saw_windows_headers" "$LINENO" 5;
3140 fi
3141 elif test -d "$winsup_srcdir/w32api/include/windef.h"; then
3142 windows_headers="$winsup_srcdir/w32api/include"
3143 else
3144 windows_headers=$(cd $($ac_cv_prog_CC -xc /dev/null -E -include windef.h 2>/dev/null | sed -n 's%^# 1 "\([^"]*\)/windef\.h".*$%\1%p' | head -n1) 2>/dev/null && pwd)
3145 if test -z "$windows_headers" -o ! -d "$windows_headers"; then
3146 as_fn_error $? "cannot find windows header files" "$LINENO" 5
3147 fi
3148 fi
3149 CC=$ac_cv_prog_CC
3150 CXX=$ac_cv_prog_CXX
3151 export CC
3152 export CXX
3153
3154
3155
3156
3157
3158 test "$program_prefix" != NONE &&
3159 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3160 # Use a double $ so make ignores it.
3161 test "$program_suffix" != NONE &&
3162 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3163 # Double any \ or $.
3164 # By default was `s,x,x', remove it if useless.
3165 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3166 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3167
3168
3169 # Find a good install program. We prefer a C program (faster),
3170 # so one script is as good as another. But avoid the broken or
3171 # incompatible versions:
3172 # SysV /etc/install, /usr/sbin/install
3173 # SunOS /usr/etc/install
3174 # IRIX /sbin/install
3175 # AIX /bin/install
3176 # AmigaOS /C/install, which installs bootblocks on floppy discs
3177 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3178 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3179 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3180 # OS/2's system install, which has a completely different semantic
3181 # ./install, which can be erroneously created by make from ./install.sh.
3182 # Reject install programs that cannot install multiple files.
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3184 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3185 if test -z "$INSTALL"; then
3186 if ${ac_cv_path_install+:} false; then :
3187 $as_echo_n "(cached) " >&6
3188 else
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3191 do
3192 IFS=$as_save_IFS
3193 test -z "$as_dir" && as_dir=.
3194 # Account for people who put trailing slashes in PATH elements.
3195 case $as_dir/ in #((
3196 ./ | .// | /[cC]/* | \
3197 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3198 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3199 /usr/ucb/* ) ;;
3200 *)
3201 # OSF1 and SCO ODT 3.0 have their own names for install.
3202 # Don't use installbsd from OSF since it installs stuff as root
3203 # by default.
3204 for ac_prog in ginstall scoinst install; do
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3207 if test $ac_prog = install &&
3208 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3209 # AIX install. It has an incompatible calling convention.
3210 :
3211 elif test $ac_prog = install &&
3212 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3213 # program-specific install script used by HP pwplus--don't use.
3214 :
3215 else
3216 rm -rf conftest.one conftest.two conftest.dir
3217 echo one > conftest.one
3218 echo two > conftest.two
3219 mkdir conftest.dir
3220 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3221 test -s conftest.one && test -s conftest.two &&
3222 test -s conftest.dir/conftest.one &&
3223 test -s conftest.dir/conftest.two
3224 then
3225 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3226 break 3
3227 fi
3228 fi
3229 fi
3230 done
3231 done
3232 ;;
3233 esac
3234
3235 done
3236 IFS=$as_save_IFS
3237
3238 rm -rf conftest.one conftest.two conftest.dir
3239
3240 fi
3241 if test "${ac_cv_path_install+set}" = set; then
3242 INSTALL=$ac_cv_path_install
3243 else
3244 # As a last resort, use the slow shell script. Don't cache a
3245 # value for INSTALL within a source directory, because that will
3246 # break other packages using the cache if that directory is
3247 # removed, or if the value is a relative name.
3248 INSTALL=$ac_install_sh
3249 fi
3250 fi
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3252 $as_echo "$INSTALL" >&6; }
3253
3254 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3255 # It thinks the first close brace ends the variable substitution.
3256 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3257
3258 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3259
3260 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3261
3262
3263 for ac_prog in ${target_cpu}-w64-mingw32-g++
3264 do
3265 # Extract the first word of "$ac_prog", so it can be a program name with args.
3266 set dummy $ac_prog; ac_word=$2
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 $as_echo_n "checking for $ac_word... " >&6; }
3269 if ${ac_cv_prog_MINGW_CXX+:} false; then :
3270 $as_echo_n "(cached) " >&6
3271 else
3272 if test -n "$MINGW_CXX"; then
3273 ac_cv_prog_MINGW_CXX="$MINGW_CXX" # Let the user override the test.
3274 else
3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 for as_dir in $PATH
3277 do
3278 IFS=$as_save_IFS
3279 test -z "$as_dir" && as_dir=.
3280 for ac_exec_ext in '' $ac_executable_extensions; do
3281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282 ac_cv_prog_MINGW_CXX="$ac_prog"
3283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284 break 2
3285 fi
3286 done
3287 done
3288 IFS=$as_save_IFS
3289
3290 fi
3291 fi
3292 MINGW_CXX=$ac_cv_prog_MINGW_CXX
3293 if test -n "$MINGW_CXX"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINGW_CXX" >&5
3295 $as_echo "$MINGW_CXX" >&6; }
3296 else
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3299 fi
3300
3301
3302 test -n "$MINGW_CXX" && break
3303 done
3304
3305 test -n "$MINGW_CXX" || as_fn_error $? "no acceptable mingw g++ found in \$PATH" "$LINENO" 5
3306
3307
3308
3309 configure_args=X
3310 for f in $ac_configure_args; do
3311 case "$f" in
3312 *--srcdir*) ;;
3313 *) configure_args="$configure_args $f" ;;
3314 esac
3315 done
3316 configure_args=$(/usr/bin/expr "$configure_args" : 'X \(.*\)')
3317
3318
3319 ac_config_files="$ac_config_files Makefile"
3320
3321 cat >confcache <<\_ACEOF
3322 # This file is a shell script that caches the results of configure
3323 # tests run on this system so they can be shared between configure
3324 # scripts and configure runs, see configure's option --config-cache.
3325 # It is not useful on other systems. If it contains results you don't
3326 # want to keep, you may remove or edit it.
3327 #
3328 # config.status only pays attention to the cache file if you give it
3329 # the --recheck option to rerun configure.
3330 #
3331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3333 # following values.
3334
3335 _ACEOF
3336
3337 # The following way of writing the cache mishandles newlines in values,
3338 # but we know of no workaround that is simple, portable, and efficient.
3339 # So, we kill variables containing newlines.
3340 # Ultrix sh set writes to stderr and can't be redirected directly,
3341 # and sets the high bit in the cache file unless we assign to the vars.
3342 (
3343 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3344 eval ac_val=\$$ac_var
3345 case $ac_val in #(
3346 *${as_nl}*)
3347 case $ac_var in #(
3348 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3350 esac
3351 case $ac_var in #(
3352 _ | IFS | as_nl) ;; #(
3353 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3354 *) { eval $ac_var=; unset $ac_var;} ;;
3355 esac ;;
3356 esac
3357 done
3358
3359 (set) 2>&1 |
3360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3361 *${as_nl}ac_space=\ *)
3362 # `set' does not quote correctly, so add quotes: double-quote
3363 # substitution turns \\\\ into \\, and sed turns \\ into \.
3364 sed -n \
3365 "s/'/'\\\\''/g;
3366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3367 ;; #(
3368 *)
3369 # `set' quotes correctly as required by POSIX, so do not add quotes.
3370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3371 ;;
3372 esac |
3373 sort
3374 ) |
3375 sed '
3376 /^ac_cv_env_/b end
3377 t clear
3378 :clear
3379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3380 t end
3381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3382 :end' >>confcache
3383 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3384 if test -w "$cache_file"; then
3385 if test "x$cache_file" != "x/dev/null"; then
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3387 $as_echo "$as_me: updating cache $cache_file" >&6;}
3388 if test ! -f "$cache_file" || test -h "$cache_file"; then
3389 cat confcache >"$cache_file"
3390 else
3391 case $cache_file in #(
3392 */* | ?:*)
3393 mv -f confcache "$cache_file"$$ &&
3394 mv -f "$cache_file"$$ "$cache_file" ;; #(
3395 *)
3396 mv -f confcache "$cache_file" ;;
3397 esac
3398 fi
3399 fi
3400 else
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3402 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3403 fi
3404 fi
3405 rm -f confcache
3406
3407 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3408 # Let make expand exec_prefix.
3409 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3410
3411 # Transform confdefs.h into DEFS.
3412 # Protect against shell expansion while executing Makefile rules.
3413 # Protect against Makefile macro expansion.
3414 #
3415 # If the first sed substitution is executed (which looks for macros that
3416 # take arguments), then branch to the quote section. Otherwise,
3417 # look for a macro that doesn't take arguments.
3418 ac_script='
3419 :mline
3420 /\\$/{
3421 N
3422 s,\\\n,,
3423 b mline
3424 }
3425 t clear
3426 :clear
3427 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3428 t quote
3429 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3430 t quote
3431 b any
3432 :quote
3433 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3434 s/\[/\\&/g
3435 s/\]/\\&/g
3436 s/\$/$$/g
3437 H
3438 :any
3439 ${
3440 g
3441 s/^\n//
3442 s/\n/ /g
3443 p
3444 }
3445 '
3446 DEFS=`sed -n "$ac_script" confdefs.h`
3447
3448
3449 ac_libobjs=
3450 ac_ltlibobjs=
3451 U=
3452 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3453 # 1. Remove the extension, and $U if already installed.
3454 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3455 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3456 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3457 # will be set to the directory where LIBOBJS objects are built.
3458 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3459 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3460 done
3461 LIBOBJS=$ac_libobjs
3462
3463 LTLIBOBJS=$ac_ltlibobjs
3464
3465
3466
3467 : "${CONFIG_STATUS=./config.status}"
3468 ac_write_fail=0
3469 ac_clean_files_save=$ac_clean_files
3470 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3472 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3473 as_write_fail=0
3474 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3475 #! $SHELL
3476 # Generated by $as_me.
3477 # Run this file to recreate the current configuration.
3478 # Compiler output produced by configure, useful for debugging
3479 # configure, is in config.log if it exists.
3480
3481 debug=false
3482 ac_cs_recheck=false
3483 ac_cs_silent=false
3484
3485 SHELL=\${CONFIG_SHELL-$SHELL}
3486 export SHELL
3487 _ASEOF
3488 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3489 ## -------------------- ##
3490 ## M4sh Initialization. ##
3491 ## -------------------- ##
3492
3493 # Be more Bourne compatible
3494 DUALCASE=1; export DUALCASE # for MKS sh
3495 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3496 emulate sh
3497 NULLCMD=:
3498 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3499 # is contrary to our usage. Disable this feature.
3500 alias -g '${1+"$@"}'='"$@"'
3501 setopt NO_GLOB_SUBST
3502 else
3503 case `(set -o) 2>/dev/null` in #(
3504 *posix*) :
3505 set -o posix ;; #(
3506 *) :
3507 ;;
3508 esac
3509 fi
3510
3511
3512 as_nl='
3513 '
3514 export as_nl
3515 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3516 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3519 # Prefer a ksh shell builtin over an external printf program on Solaris,
3520 # but without wasting forks for bash or zsh.
3521 if test -z "$BASH_VERSION$ZSH_VERSION" \
3522 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3523 as_echo='print -r --'
3524 as_echo_n='print -rn --'
3525 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3526 as_echo='printf %s\n'
3527 as_echo_n='printf %s'
3528 else
3529 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3530 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3531 as_echo_n='/usr/ucb/echo -n'
3532 else
3533 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3534 as_echo_n_body='eval
3535 arg=$1;
3536 case $arg in #(
3537 *"$as_nl"*)
3538 expr "X$arg" : "X\\(.*\\)$as_nl";
3539 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3540 esac;
3541 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3542 '
3543 export as_echo_n_body
3544 as_echo_n='sh -c $as_echo_n_body as_echo'
3545 fi
3546 export as_echo_body
3547 as_echo='sh -c $as_echo_body as_echo'
3548 fi
3549
3550 # The user is always right.
3551 if test "${PATH_SEPARATOR+set}" != set; then
3552 PATH_SEPARATOR=:
3553 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3554 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3555 PATH_SEPARATOR=';'
3556 }
3557 fi
3558
3559
3560 # IFS
3561 # We need space, tab and new line, in precisely that order. Quoting is
3562 # there to prevent editors from complaining about space-tab.
3563 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3564 # splitting by setting IFS to empty value.)
3565 IFS=" "" $as_nl"
3566
3567 # Find who we are. Look in the path if we contain no directory separator.
3568 as_myself=
3569 case $0 in #((
3570 *[\\/]* ) as_myself=$0 ;;
3571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3573 do
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3577 done
3578 IFS=$as_save_IFS
3579
3580 ;;
3581 esac
3582 # We did not find ourselves, most probably we were run as `sh COMMAND'
3583 # in which case we are not to be found in the path.
3584 if test "x$as_myself" = x; then
3585 as_myself=$0
3586 fi
3587 if test ! -f "$as_myself"; then
3588 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3589 exit 1
3590 fi
3591
3592 # Unset variables that we do not need and which cause bugs (e.g. in
3593 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3594 # suppresses any "Segmentation fault" message there. '((' could
3595 # trigger a bug in pdksh 5.2.14.
3596 for as_var in BASH_ENV ENV MAIL MAILPATH
3597 do eval test x\${$as_var+set} = xset \
3598 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3599 done
3600 PS1='$ '
3601 PS2='> '
3602 PS4='+ '
3603
3604 # NLS nuisances.
3605 LC_ALL=C
3606 export LC_ALL
3607 LANGUAGE=C
3608 export LANGUAGE
3609
3610 # CDPATH.
3611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3612
3613
3614 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3615 # ----------------------------------------
3616 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3617 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3618 # script with STATUS, using 1 if that was 0.
3619 as_fn_error ()
3620 {
3621 as_status=$1; test $as_status -eq 0 && as_status=1
3622 if test "$4"; then
3623 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3624 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3625 fi
3626 $as_echo "$as_me: error: $2" >&2
3627 as_fn_exit $as_status
3628 } # as_fn_error
3629
3630
3631 # as_fn_set_status STATUS
3632 # -----------------------
3633 # Set $? to STATUS, without forking.
3634 as_fn_set_status ()
3635 {
3636 return $1
3637 } # as_fn_set_status
3638
3639 # as_fn_exit STATUS
3640 # -----------------
3641 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3642 as_fn_exit ()
3643 {
3644 set +e
3645 as_fn_set_status $1
3646 exit $1
3647 } # as_fn_exit
3648
3649 # as_fn_unset VAR
3650 # ---------------
3651 # Portably unset VAR.
3652 as_fn_unset ()
3653 {
3654 { eval $1=; unset $1;}
3655 }
3656 as_unset=as_fn_unset
3657 # as_fn_append VAR VALUE
3658 # ----------------------
3659 # Append the text in VALUE to the end of the definition contained in VAR. Take
3660 # advantage of any shell optimizations that allow amortized linear growth over
3661 # repeated appends, instead of the typical quadratic growth present in naive
3662 # implementations.
3663 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3664 eval 'as_fn_append ()
3665 {
3666 eval $1+=\$2
3667 }'
3668 else
3669 as_fn_append ()
3670 {
3671 eval $1=\$$1\$2
3672 }
3673 fi # as_fn_append
3674
3675 # as_fn_arith ARG...
3676 # ------------------
3677 # Perform arithmetic evaluation on the ARGs, and store the result in the
3678 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3679 # must be portable across $(()) and expr.
3680 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3681 eval 'as_fn_arith ()
3682 {
3683 as_val=$(( $* ))
3684 }'
3685 else
3686 as_fn_arith ()
3687 {
3688 as_val=`expr "$@" || test $? -eq 1`
3689 }
3690 fi # as_fn_arith
3691
3692
3693 if expr a : '\(a\)' >/dev/null 2>&1 &&
3694 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3695 as_expr=expr
3696 else
3697 as_expr=false
3698 fi
3699
3700 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3701 as_basename=basename
3702 else
3703 as_basename=false
3704 fi
3705
3706 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3707 as_dirname=dirname
3708 else
3709 as_dirname=false
3710 fi
3711
3712 as_me=`$as_basename -- "$0" ||
3713 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3714 X"$0" : 'X\(//\)$' \| \
3715 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3716 $as_echo X/"$0" |
3717 sed '/^.*\/\([^/][^/]*\)\/*$/{
3718 s//\1/
3719 q
3720 }
3721 /^X\/\(\/\/\)$/{
3722 s//\1/
3723 q
3724 }
3725 /^X\/\(\/\).*/{
3726 s//\1/
3727 q
3728 }
3729 s/.*/./; q'`
3730
3731 # Avoid depending upon Character Ranges.
3732 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3733 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3734 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3735 as_cr_digits='0123456789'
3736 as_cr_alnum=$as_cr_Letters$as_cr_digits
3737
3738 ECHO_C= ECHO_N= ECHO_T=
3739 case `echo -n x` in #(((((
3740 -n*)
3741 case `echo 'xy\c'` in
3742 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3743 xy) ECHO_C='\c';;
3744 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3745 ECHO_T=' ';;
3746 esac;;
3747 *)
3748 ECHO_N='-n';;
3749 esac
3750
3751 rm -f conf$$ conf$$.exe conf$$.file
3752 if test -d conf$$.dir; then
3753 rm -f conf$$.dir/conf$$.file
3754 else
3755 rm -f conf$$.dir
3756 mkdir conf$$.dir 2>/dev/null
3757 fi
3758 if (echo >conf$$.file) 2>/dev/null; then
3759 if ln -s conf$$.file conf$$ 2>/dev/null; then
3760 as_ln_s='ln -s'
3761 # ... but there are two gotchas:
3762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3764 # In both cases, we have to default to `cp -pR'.
3765 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3766 as_ln_s='cp -pR'
3767 elif ln conf$$.file conf$$ 2>/dev/null; then
3768 as_ln_s=ln
3769 else
3770 as_ln_s='cp -pR'
3771 fi
3772 else
3773 as_ln_s='cp -pR'
3774 fi
3775 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3776 rmdir conf$$.dir 2>/dev/null
3777
3778
3779 # as_fn_mkdir_p
3780 # -------------
3781 # Create "$as_dir" as a directory, including parents if necessary.
3782 as_fn_mkdir_p ()
3783 {
3784
3785 case $as_dir in #(
3786 -*) as_dir=./$as_dir;;
3787 esac
3788 test -d "$as_dir" || eval $as_mkdir_p || {
3789 as_dirs=
3790 while :; do
3791 case $as_dir in #(
3792 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3793 *) as_qdir=$as_dir;;
3794 esac
3795 as_dirs="'$as_qdir' $as_dirs"
3796 as_dir=`$as_dirname -- "$as_dir" ||
3797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3798 X"$as_dir" : 'X\(//\)[^/]' \| \
3799 X"$as_dir" : 'X\(//\)$' \| \
3800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3801 $as_echo X"$as_dir" |
3802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3803 s//\1/
3804 q
3805 }
3806 /^X\(\/\/\)[^/].*/{
3807 s//\1/
3808 q
3809 }
3810 /^X\(\/\/\)$/{
3811 s//\1/
3812 q
3813 }
3814 /^X\(\/\).*/{
3815 s//\1/
3816 q
3817 }
3818 s/.*/./; q'`
3819 test -d "$as_dir" && break
3820 done
3821 test -z "$as_dirs" || eval "mkdir $as_dirs"
3822 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3823
3824
3825 } # as_fn_mkdir_p
3826 if mkdir -p . 2>/dev/null; then
3827 as_mkdir_p='mkdir -p "$as_dir"'
3828 else
3829 test -d ./-p && rmdir ./-p
3830 as_mkdir_p=false
3831 fi
3832
3833
3834 # as_fn_executable_p FILE
3835 # -----------------------
3836 # Test if FILE is an executable regular file.
3837 as_fn_executable_p ()
3838 {
3839 test -f "$1" && test -x "$1"
3840 } # as_fn_executable_p
3841 as_test_x='test -x'
3842 as_executable_p=as_fn_executable_p
3843
3844 # Sed expression to map a string onto a valid CPP name.
3845 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3846
3847 # Sed expression to map a string onto a valid variable name.
3848 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3849
3850
3851 exec 6>&1
3852 ## ----------------------------------- ##
3853 ## Main body of $CONFIG_STATUS script. ##
3854 ## ----------------------------------- ##
3855 _ASEOF
3856 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3857
3858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3859 # Save the log message, to keep $0 and so on meaningful, and to
3860 # report actual input values of CONFIG_FILES etc. instead of their
3861 # values after options handling.
3862 ac_log="
3863 This file was extended by Cygwin Utils $as_me 0, which was
3864 generated by GNU Autoconf 2.69. Invocation command line was
3865
3866 CONFIG_FILES = $CONFIG_FILES
3867 CONFIG_HEADERS = $CONFIG_HEADERS
3868 CONFIG_LINKS = $CONFIG_LINKS
3869 CONFIG_COMMANDS = $CONFIG_COMMANDS
3870 $ $0 $@
3871
3872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3873 "
3874
3875 _ACEOF
3876
3877 case $ac_config_files in *"
3878 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3879 esac
3880
3881
3882
3883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3884 # Files that config.status was made for.
3885 config_files="$ac_config_files"
3886
3887 _ACEOF
3888
3889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3890 ac_cs_usage="\
3891 \`$as_me' instantiates files and other configuration actions
3892 from templates according to the current configuration. Unless the files
3893 and actions are specified as TAGs, all are instantiated by default.
3894
3895 Usage: $0 [OPTION]... [TAG]...
3896
3897 -h, --help print this help, then exit
3898 -V, --version print version number and configuration settings, then exit
3899 --config print configuration, then exit
3900 -q, --quiet, --silent
3901 do not print progress messages
3902 -d, --debug don't remove temporary files
3903 --recheck update $as_me by reconfiguring in the same conditions
3904 --file=FILE[:TEMPLATE]
3905 instantiate the configuration file FILE
3906
3907 Configuration files:
3908 $config_files
3909
3910 Report bugs to <cygwin@cygwin.com>.
3911 Cygwin Utils home page: <https://cygwin.com>."
3912
3913 _ACEOF
3914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3915 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3916 ac_cs_version="\\
3917 Cygwin Utils config.status 0
3918 configured by $0, generated by GNU Autoconf 2.69,
3919 with options \\"\$ac_cs_config\\"
3920
3921 Copyright (C) 2012 Free Software Foundation, Inc.
3922 This config.status script is free software; the Free Software Foundation
3923 gives unlimited permission to copy, distribute and modify it."
3924
3925 ac_pwd='$ac_pwd'
3926 srcdir='$srcdir'
3927 INSTALL='$INSTALL'
3928 test -n "\$AWK" || AWK=awk
3929 _ACEOF
3930
3931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3932 # The default lists apply if the user does not specify any file.
3933 ac_need_defaults=:
3934 while test $# != 0
3935 do
3936 case $1 in
3937 --*=?*)
3938 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3939 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3940 ac_shift=:
3941 ;;
3942 --*=)
3943 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3944 ac_optarg=
3945 ac_shift=:
3946 ;;
3947 *)
3948 ac_option=$1
3949 ac_optarg=$2
3950 ac_shift=shift
3951 ;;
3952 esac
3953
3954 case $ac_option in
3955 # Handling of the options.
3956 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3957 ac_cs_recheck=: ;;
3958 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3959 $as_echo "$ac_cs_version"; exit ;;
3960 --config | --confi | --conf | --con | --co | --c )
3961 $as_echo "$ac_cs_config"; exit ;;
3962 --debug | --debu | --deb | --de | --d | -d )
3963 debug=: ;;
3964 --file | --fil | --fi | --f )
3965 $ac_shift
3966 case $ac_optarg in
3967 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3968 '') as_fn_error $? "missing file argument" ;;
3969 esac
3970 as_fn_append CONFIG_FILES " '$ac_optarg'"
3971 ac_need_defaults=false;;
3972 --he | --h | --help | --hel | -h )
3973 $as_echo "$ac_cs_usage"; exit ;;
3974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3975 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3976 ac_cs_silent=: ;;
3977
3978 # This is an error.
3979 -*) as_fn_error $? "unrecognized option: \`$1'
3980 Try \`$0 --help' for more information." ;;
3981
3982 *) as_fn_append ac_config_targets " $1"
3983 ac_need_defaults=false ;;
3984
3985 esac
3986 shift
3987 done
3988
3989 ac_configure_extra_args=
3990
3991 if $ac_cs_silent; then
3992 exec 6>/dev/null
3993 ac_configure_extra_args="$ac_configure_extra_args --silent"
3994 fi
3995
3996 _ACEOF
3997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3998 if \$ac_cs_recheck; then
3999 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4000 shift
4001 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4002 CONFIG_SHELL='$SHELL'
4003 export CONFIG_SHELL
4004 exec "\$@"
4005 fi
4006
4007 _ACEOF
4008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4009 exec 5>>config.log
4010 {
4011 echo
4012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4013 ## Running $as_me. ##
4014 _ASBOX
4015 $as_echo "$ac_log"
4016 } >&5
4017
4018 _ACEOF
4019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4020 _ACEOF
4021
4022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4023
4024 # Handling of arguments.
4025 for ac_config_target in $ac_config_targets
4026 do
4027 case $ac_config_target in
4028 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4029
4030 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4031 esac
4032 done
4033
4034
4035 # If the user did not use the arguments to specify the items to instantiate,
4036 # then the envvar interface is used. Set only those that are not.
4037 # We use the long form for the default assignment because of an extremely
4038 # bizarre bug on SunOS 4.1.3.
4039 if $ac_need_defaults; then
4040 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4041 fi
4042
4043 # Have a temporary directory for convenience. Make it in the build tree
4044 # simply because there is no reason against having it here, and in addition,
4045 # creating and moving files from /tmp can sometimes cause problems.
4046 # Hook for its removal unless debugging.
4047 # Note that there is a small window in which the directory will not be cleaned:
4048 # after its creation but before its name has been assigned to `$tmp'.
4049 $debug ||
4050 {
4051 tmp= ac_tmp=
4052 trap 'exit_status=$?
4053 : "${ac_tmp:=$tmp}"
4054 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4055 ' 0
4056 trap 'as_fn_exit 1' 1 2 13 15
4057 }
4058 # Create a (secure) tmp directory for tmp files.
4059
4060 {
4061 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4062 test -d "$tmp"
4063 } ||
4064 {
4065 tmp=./conf$$-$RANDOM
4066 (umask 077 && mkdir "$tmp")
4067 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4068 ac_tmp=$tmp
4069
4070 # Set up the scripts for CONFIG_FILES section.
4071 # No need to generate them if there are no CONFIG_FILES.
4072 # This happens for instance with `./config.status config.h'.
4073 if test -n "$CONFIG_FILES"; then
4074
4075
4076 ac_cr=`echo X | tr X '\015'`
4077 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4078 # But we know of no other shell where ac_cr would be empty at this
4079 # point, so we can use a bashism as a fallback.
4080 if test "x$ac_cr" = x; then
4081 eval ac_cr=\$\'\\r\'
4082 fi
4083 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4084 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4085 ac_cs_awk_cr='\\r'
4086 else
4087 ac_cs_awk_cr=$ac_cr
4088 fi
4089
4090 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4091 _ACEOF
4092
4093
4094 {
4095 echo "cat >conf$$subs.awk <<_ACEOF" &&
4096 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4097 echo "_ACEOF"
4098 } >conf$$subs.sh ||
4099 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4100 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4101 ac_delim='%!_!# '
4102 for ac_last_try in false false false false false :; do
4103 . ./conf$$subs.sh ||
4104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4105
4106 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4107 if test $ac_delim_n = $ac_delim_num; then
4108 break
4109 elif $ac_last_try; then
4110 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4111 else
4112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4113 fi
4114 done
4115 rm -f conf$$subs.sh
4116
4117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4118 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4119 _ACEOF
4120 sed -n '
4121 h
4122 s/^/S["/; s/!.*/"]=/
4123 p
4124 g
4125 s/^[^!]*!//
4126 :repl
4127 t repl
4128 s/'"$ac_delim"'$//
4129 t delim
4130 :nl
4131 h
4132 s/\(.\{148\}\)..*/\1/
4133 t more1
4134 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4135 p
4136 n
4137 b repl
4138 :more1
4139 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4140 p
4141 g
4142 s/.\{148\}//
4143 t nl
4144 :delim
4145 h
4146 s/\(.\{148\}\)..*/\1/
4147 t more2
4148 s/["\\]/\\&/g; s/^/"/; s/$/"/
4149 p
4150 b
4151 :more2
4152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4153 p
4154 g
4155 s/.\{148\}//
4156 t delim
4157 ' <conf$$subs.awk | sed '
4158 /^[^""]/{
4159 N
4160 s/\n//
4161 }
4162 ' >>$CONFIG_STATUS || ac_write_fail=1
4163 rm -f conf$$subs.awk
4164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4165 _ACAWK
4166 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4167 for (key in S) S_is_set[key] = 1
4168 FS = "\a"
4169
4170 }
4171 {
4172 line = $ 0
4173 nfields = split(line, field, "@")
4174 substed = 0
4175 len = length(field[1])
4176 for (i = 2; i < nfields; i++) {
4177 key = field[i]
4178 keylen = length(key)
4179 if (S_is_set[key]) {
4180 value = S[key]
4181 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4182 len += length(value) + length(field[++i])
4183 substed = 1
4184 } else
4185 len += 1 + keylen
4186 }
4187
4188 print line
4189 }
4190
4191 _ACAWK
4192 _ACEOF
4193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4194 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4195 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4196 else
4197 cat
4198 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4199 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4200 _ACEOF
4201
4202 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4203 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4204 # trailing colons and then remove the whole line if VPATH becomes empty
4205 # (actually we leave an empty line to preserve line numbers).
4206 if test "x$srcdir" = x.; then
4207 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4208 h
4209 s///
4210 s/^/:/
4211 s/[ ]*$/:/
4212 s/:\$(srcdir):/:/g
4213 s/:\${srcdir}:/:/g
4214 s/:@srcdir@:/:/g
4215 s/^:*//
4216 s/:*$//
4217 x
4218 s/\(=[ ]*\).*/\1/
4219 G
4220 s/\n//
4221 s/^[^=]*=[ ]*$//
4222 }'
4223 fi
4224
4225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4226 fi # test -n "$CONFIG_FILES"
4227
4228
4229 eval set X " :F $CONFIG_FILES "
4230 shift
4231 for ac_tag
4232 do
4233 case $ac_tag in
4234 :[FHLC]) ac_mode=$ac_tag; continue;;
4235 esac
4236 case $ac_mode$ac_tag in
4237 :[FHL]*:*);;
4238 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4239 :[FH]-) ac_tag=-:-;;
4240 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4241 esac
4242 ac_save_IFS=$IFS
4243 IFS=:
4244 set x $ac_tag
4245 IFS=$ac_save_IFS
4246 shift
4247 ac_file=$1
4248 shift
4249
4250 case $ac_mode in
4251 :L) ac_source=$1;;
4252 :[FH])
4253 ac_file_inputs=
4254 for ac_f
4255 do
4256 case $ac_f in
4257 -) ac_f="$ac_tmp/stdin";;
4258 *) # Look for the file first in the build tree, then in the source tree
4259 # (if the path is not absolute). The absolute path cannot be DOS-style,
4260 # because $ac_f cannot contain `:'.
4261 test -f "$ac_f" ||
4262 case $ac_f in
4263 [\\/$]*) false;;
4264 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4265 esac ||
4266 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4267 esac
4268 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4269 as_fn_append ac_file_inputs " '$ac_f'"
4270 done
4271
4272 # Let's still pretend it is `configure' which instantiates (i.e., don't
4273 # use $as_me), people would be surprised to read:
4274 # /* config.h. Generated by config.status. */
4275 configure_input='Generated from '`
4276 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4277 `' by configure.'
4278 if test x"$ac_file" != x-; then
4279 configure_input="$ac_file. $configure_input"
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4281 $as_echo "$as_me: creating $ac_file" >&6;}
4282 fi
4283 # Neutralize special characters interpreted by sed in replacement strings.
4284 case $configure_input in #(
4285 *\&* | *\|* | *\\* )
4286 ac_sed_conf_input=`$as_echo "$configure_input" |
4287 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4288 *) ac_sed_conf_input=$configure_input;;
4289 esac
4290
4291 case $ac_tag in
4292 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4294 esac
4295 ;;
4296 esac
4297
4298 ac_dir=`$as_dirname -- "$ac_file" ||
4299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4300 X"$ac_file" : 'X\(//\)[^/]' \| \
4301 X"$ac_file" : 'X\(//\)$' \| \
4302 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4303 $as_echo X"$ac_file" |
4304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4305 s//\1/
4306 q
4307 }
4308 /^X\(\/\/\)[^/].*/{
4309 s//\1/
4310 q
4311 }
4312 /^X\(\/\/\)$/{
4313 s//\1/
4314 q
4315 }
4316 /^X\(\/\).*/{
4317 s//\1/
4318 q
4319 }
4320 s/.*/./; q'`
4321 as_dir="$ac_dir"; as_fn_mkdir_p
4322 ac_builddir=.
4323
4324 case "$ac_dir" in
4325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4326 *)
4327 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4328 # A ".." for each directory in $ac_dir_suffix.
4329 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4330 case $ac_top_builddir_sub in
4331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4333 esac ;;
4334 esac
4335 ac_abs_top_builddir=$ac_pwd
4336 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4337 # for backward compatibility:
4338 ac_top_builddir=$ac_top_build_prefix
4339
4340 case $srcdir in
4341 .) # We are building in place.
4342 ac_srcdir=.
4343 ac_top_srcdir=$ac_top_builddir_sub
4344 ac_abs_top_srcdir=$ac_pwd ;;
4345 [\\/]* | ?:[\\/]* ) # Absolute name.
4346 ac_srcdir=$srcdir$ac_dir_suffix;
4347 ac_top_srcdir=$srcdir
4348 ac_abs_top_srcdir=$srcdir ;;
4349 *) # Relative name.
4350 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4351 ac_top_srcdir=$ac_top_build_prefix$srcdir
4352 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4353 esac
4354 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4355
4356
4357 case $ac_mode in
4358 :F)
4359 #
4360 # CONFIG_FILE
4361 #
4362
4363 case $INSTALL in
4364 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4365 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4366 esac
4367 _ACEOF
4368
4369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4370 # If the template does not know about datarootdir, expand it.
4371 # FIXME: This hack should be removed a few years after 2.60.
4372 ac_datarootdir_hack=; ac_datarootdir_seen=
4373 ac_sed_dataroot='
4374 /datarootdir/ {
4375 p
4376 q
4377 }
4378 /@datadir@/p
4379 /@docdir@/p
4380 /@infodir@/p
4381 /@localedir@/p
4382 /@mandir@/p'
4383 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4384 *datarootdir*) ac_datarootdir_seen=yes;;
4385 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4387 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4388 _ACEOF
4389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4390 ac_datarootdir_hack='
4391 s&@datadir@&$datadir&g
4392 s&@docdir@&$docdir&g
4393 s&@infodir@&$infodir&g
4394 s&@localedir@&$localedir&g
4395 s&@mandir@&$mandir&g
4396 s&\\\${datarootdir}&$datarootdir&g' ;;
4397 esac
4398 _ACEOF
4399
4400 # Neutralize VPATH when `$srcdir' = `.'.
4401 # Shell code in configure.ac might set extrasub.
4402 # FIXME: do we really want to maintain this feature?
4403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4404 ac_sed_extra="$ac_vpsub
4405 $extrasub
4406 _ACEOF
4407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4408 :t
4409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4410 s|@configure_input@|$ac_sed_conf_input|;t t
4411 s&@top_builddir@&$ac_top_builddir_sub&;t t
4412 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4413 s&@srcdir@&$ac_srcdir&;t t
4414 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4415 s&@top_srcdir@&$ac_top_srcdir&;t t
4416 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4417 s&@builddir@&$ac_builddir&;t t
4418 s&@abs_builddir@&$ac_abs_builddir&;t t
4419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4420 s&@INSTALL@&$ac_INSTALL&;t t
4421 $ac_datarootdir_hack
4422 "
4423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4424 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4425
4426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4427 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4429 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4431 which seems to be undefined. Please make sure it is defined" >&5
4432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4433 which seems to be undefined. Please make sure it is defined" >&2;}
4434
4435 rm -f "$ac_tmp/stdin"
4436 case $ac_file in
4437 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4438 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4439 esac \
4440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4441 ;;
4442
4443
4444
4445 esac
4446
4447 done # for ac_tag
4448
4449
4450 as_fn_exit 0
4451 _ACEOF
4452 ac_clean_files=$ac_clean_files_save
4453
4454 test $ac_write_fail = 0 ||
4455 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4456
4457
4458 # configure is writing to config.log, and then calls config.status.
4459 # config.status does its own redirection, appending to config.log.
4460 # Unfortunately, on DOS this fails, as config.log is still kept open
4461 # by configure, so config.status won't be able to write to it; its
4462 # output is simply discarded. So we exec the FD to /dev/null,
4463 # effectively closing config.log, so it can be properly (re)opened and
4464 # appended to by config.status. When coming back to configure, we
4465 # need to make the FD available again.
4466 if test "$no_create" != yes; then
4467 ac_cs_success=:
4468 ac_config_status_args=
4469 test "$silent" = yes &&
4470 ac_config_status_args="$ac_config_status_args --quiet"
4471 exec 5>/dev/null
4472 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4473 exec 5>>config.log
4474 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4475 # would make configure fail if this is the last instruction.
4476 $ac_cs_success || as_fn_exit 1
4477 fi
4478 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4480 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4481 fi
4482
This page took 0.268942 seconds and 4 git commands to generate.