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