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