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