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