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