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