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