]> sourceware.org Git - newlib-cygwin.git/blob - winsup/doc/configure
6e053bdb2a7bca4aacc979fef90f83357e6c6363
[newlib-cygwin.git] / winsup / doc / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Cygwin Documentation 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 Documentation'
581 PACKAGE_TARNAME='cygwin'
582 PACKAGE_VERSION='0'
583 PACKAGE_STRING='Cygwin Documentation 0'
584 PACKAGE_BUGREPORT='cygwin@cygwin.com'
585 PACKAGE_URL='https://cygwin.com'
586
587 ac_unique_file="cygwin-api.xml"
588 ac_no_link=no
589 ac_subst_vars='LTLIBOBJS
590 LIBOBJS
591 build_exeext
592 OBJEXT
593 EXEEXT
594 ac_ct_CC
595 CPPFLAGS
596 LDFLAGS
597 CFLAGS
598 CC
599 target_os
600 target_vendor
601 target_cpu
602 target
603 host_os
604 host_vendor
605 host_cpu
606 host
607 build_os
608 build_vendor
609 build_cpu
610 build
611 DOCBOOK2XTEXI
612 INSTALL_DATA
613 INSTALL_SCRIPT
614 INSTALL_PROGRAM
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 Documentation 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 System types:
1263 --build=BUILD configure for building on BUILD [guessed]
1264 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1265 --target=TARGET configure for building compilers for TARGET [HOST]
1266 _ACEOF
1267 fi
1268
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive ) echo "Configuration of Cygwin Documentation 0:";;
1272 esac
1273 cat <<\_ACEOF
1274
1275 Some influential environment variables:
1276 CC C compiler command
1277 CFLAGS C compiler flags
1278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1279 nonstandard directory <lib dir>
1280 LIBS libraries to pass to the linker, e.g. -l<library>
1281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1282 you have headers in a nonstandard directory <include dir>
1283
1284 Use these variables to override the choices made by `configure' or to help
1285 it to find libraries and programs with nonstandard names/locations.
1286
1287 Report bugs to <cygwin@cygwin.com>.
1288 Cygwin Documentation home page: <https://cygwin.com>.
1289 _ACEOF
1290 ac_status=$?
1291 fi
1292
1293 if test "$ac_init_help" = "recursive"; then
1294 # If there are subdirs, report their specific --help.
1295 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1296 test -d "$ac_dir" ||
1297 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1298 continue
1299 ac_builddir=.
1300
1301 case "$ac_dir" in
1302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 *)
1304 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1305 # A ".." for each directory in $ac_dir_suffix.
1306 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1307 case $ac_top_builddir_sub in
1308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1310 esac ;;
1311 esac
1312 ac_abs_top_builddir=$ac_pwd
1313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1314 # for backward compatibility:
1315 ac_top_builddir=$ac_top_build_prefix
1316
1317 case $srcdir in
1318 .) # We are building in place.
1319 ac_srcdir=.
1320 ac_top_srcdir=$ac_top_builddir_sub
1321 ac_abs_top_srcdir=$ac_pwd ;;
1322 [\\/]* | ?:[\\/]* ) # Absolute name.
1323 ac_srcdir=$srcdir$ac_dir_suffix;
1324 ac_top_srcdir=$srcdir
1325 ac_abs_top_srcdir=$srcdir ;;
1326 *) # Relative name.
1327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1328 ac_top_srcdir=$ac_top_build_prefix$srcdir
1329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1330 esac
1331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1332
1333 cd "$ac_dir" || { ac_status=$?; continue; }
1334 # Check for guested configure.
1335 if test -f "$ac_srcdir/configure.gnu"; then
1336 echo &&
1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1338 elif test -f "$ac_srcdir/configure"; then
1339 echo &&
1340 $SHELL "$ac_srcdir/configure" --help=recursive
1341 else
1342 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343 fi || ac_status=$?
1344 cd "$ac_pwd" || { ac_status=$?; break; }
1345 done
1346 fi
1347
1348 test -n "$ac_init_help" && exit $ac_status
1349 if $ac_init_version; then
1350 cat <<\_ACEOF
1351 Cygwin Documentation configure 0
1352 generated by GNU Autoconf 2.69
1353
1354 Copyright (C) 2012 Free Software Foundation, Inc.
1355 This configure script is free software; the Free Software Foundation
1356 gives unlimited permission to copy, distribute and modify it.
1357 _ACEOF
1358 exit
1359 fi
1360
1361 ## ------------------------ ##
1362 ## Autoconf initialization. ##
1363 ## ------------------------ ##
1364
1365 # ac_fn_c_try_compile LINENO
1366 # --------------------------
1367 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1368 ac_fn_c_try_compile ()
1369 {
1370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1371 rm -f conftest.$ac_objext
1372 if { { ac_try="$ac_compile"
1373 case "(($ac_try" in
1374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1375 *) ac_try_echo=$ac_try;;
1376 esac
1377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1378 $as_echo "$ac_try_echo"; } >&5
1379 (eval "$ac_compile") 2>conftest.err
1380 ac_status=$?
1381 if test -s conftest.err; then
1382 grep -v '^ *+' conftest.err >conftest.er1
1383 cat conftest.er1 >&5
1384 mv -f conftest.er1 conftest.err
1385 fi
1386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1387 test $ac_status = 0; } && {
1388 test -z "$ac_c_werror_flag" ||
1389 test ! -s conftest.err
1390 } && test -s conftest.$ac_objext; then :
1391 ac_retval=0
1392 else
1393 $as_echo "$as_me: failed program was:" >&5
1394 sed 's/^/| /' conftest.$ac_ext >&5
1395
1396 ac_retval=1
1397 fi
1398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1399 as_fn_set_status $ac_retval
1400
1401 } # ac_fn_c_try_compile
1402 cat >config.log <<_ACEOF
1403 This file contains any messages produced by compilers while
1404 running configure, to aid debugging if configure makes a mistake.
1405
1406 It was created by Cygwin Documentation $as_me 0, which was
1407 generated by GNU Autoconf 2.69. Invocation command line was
1408
1409 $ $0 $@
1410
1411 _ACEOF
1412 exec 5>>config.log
1413 {
1414 cat <<_ASUNAME
1415 ## --------- ##
1416 ## Platform. ##
1417 ## --------- ##
1418
1419 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1420 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1421 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1422 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1423 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1424
1425 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1426 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1427
1428 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1429 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1430 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1432 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1433 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1434 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1435
1436 _ASUNAME
1437
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 for as_dir in $PATH
1440 do
1441 IFS=$as_save_IFS
1442 test -z "$as_dir" && as_dir=.
1443 $as_echo "PATH: $as_dir"
1444 done
1445 IFS=$as_save_IFS
1446
1447 } >&5
1448
1449 cat >&5 <<_ACEOF
1450
1451
1452 ## ----------- ##
1453 ## Core tests. ##
1454 ## ----------- ##
1455
1456 _ACEOF
1457
1458
1459 # Keep a trace of the command line.
1460 # Strip out --no-create and --no-recursion so they do not pile up.
1461 # Strip out --silent because we don't want to record it for future runs.
1462 # Also quote any args containing shell meta-characters.
1463 # Make two passes to allow for proper duplicate-argument suppression.
1464 ac_configure_args=
1465 ac_configure_args0=
1466 ac_configure_args1=
1467 ac_must_keep_next=false
1468 for ac_pass in 1 2
1469 do
1470 for ac_arg
1471 do
1472 case $ac_arg in
1473 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1474 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1475 | -silent | --silent | --silen | --sile | --sil)
1476 continue ;;
1477 *\'*)
1478 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1479 esac
1480 case $ac_pass in
1481 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1482 2)
1483 as_fn_append ac_configure_args1 " '$ac_arg'"
1484 if test $ac_must_keep_next = true; then
1485 ac_must_keep_next=false # Got value, back to normal.
1486 else
1487 case $ac_arg in
1488 *=* | --config-cache | -C | -disable-* | --disable-* \
1489 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1490 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1491 | -with-* | --with-* | -without-* | --without-* | --x)
1492 case "$ac_configure_args0 " in
1493 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1494 esac
1495 ;;
1496 -* ) ac_must_keep_next=true ;;
1497 esac
1498 fi
1499 as_fn_append ac_configure_args " '$ac_arg'"
1500 ;;
1501 esac
1502 done
1503 done
1504 { ac_configure_args0=; unset ac_configure_args0;}
1505 { ac_configure_args1=; unset ac_configure_args1;}
1506
1507 # When interrupted or exit'd, cleanup temporary files, and complete
1508 # config.log. We remove comments because anyway the quotes in there
1509 # would cause problems or look ugly.
1510 # WARNING: Use '\'' to represent an apostrophe within the trap.
1511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1512 trap 'exit_status=$?
1513 # Save into config.log some information that might help in debugging.
1514 {
1515 echo
1516
1517 $as_echo "## ---------------- ##
1518 ## Cache variables. ##
1519 ## ---------------- ##"
1520 echo
1521 # The following way of writing the cache mishandles newlines in values,
1522 (
1523 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1524 eval ac_val=\$$ac_var
1525 case $ac_val in #(
1526 *${as_nl}*)
1527 case $ac_var in #(
1528 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1529 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1530 esac
1531 case $ac_var in #(
1532 _ | IFS | as_nl) ;; #(
1533 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1534 *) { eval $ac_var=; unset $ac_var;} ;;
1535 esac ;;
1536 esac
1537 done
1538 (set) 2>&1 |
1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1540 *${as_nl}ac_space=\ *)
1541 sed -n \
1542 "s/'\''/'\''\\\\'\'''\''/g;
1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1544 ;; #(
1545 *)
1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ;;
1548 esac |
1549 sort
1550 )
1551 echo
1552
1553 $as_echo "## ----------------- ##
1554 ## Output variables. ##
1555 ## ----------------- ##"
1556 echo
1557 for ac_var in $ac_subst_vars
1558 do
1559 eval ac_val=\$$ac_var
1560 case $ac_val in
1561 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562 esac
1563 $as_echo "$ac_var='\''$ac_val'\''"
1564 done | sort
1565 echo
1566
1567 if test -n "$ac_subst_files"; then
1568 $as_echo "## ------------------- ##
1569 ## File substitutions. ##
1570 ## ------------------- ##"
1571 echo
1572 for ac_var in $ac_subst_files
1573 do
1574 eval ac_val=\$$ac_var
1575 case $ac_val in
1576 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1577 esac
1578 $as_echo "$ac_var='\''$ac_val'\''"
1579 done | sort
1580 echo
1581 fi
1582
1583 if test -s confdefs.h; then
1584 $as_echo "## ----------- ##
1585 ## confdefs.h. ##
1586 ## ----------- ##"
1587 echo
1588 cat confdefs.h
1589 echo
1590 fi
1591 test "$ac_signal" != 0 &&
1592 $as_echo "$as_me: caught signal $ac_signal"
1593 $as_echo "$as_me: exit $exit_status"
1594 } >&5
1595 rm -f core *.core core.conftest.* &&
1596 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597 exit $exit_status
1598 ' 0
1599 for ac_signal in 1 2 13 15; do
1600 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1601 done
1602 ac_signal=0
1603
1604 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1605 rm -f -r conftest* confdefs.h
1606
1607 $as_echo "/* confdefs.h */" > confdefs.h
1608
1609 # Predefined preprocessor variables.
1610
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_NAME "$PACKAGE_NAME"
1613 _ACEOF
1614
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617 _ACEOF
1618
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1621 _ACEOF
1622
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_STRING "$PACKAGE_STRING"
1625 _ACEOF
1626
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1629 _ACEOF
1630
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_URL "$PACKAGE_URL"
1633 _ACEOF
1634
1635
1636 # Let the site file select an alternate cache file if it wants to.
1637 # Prefer an explicitly selected file to automatically selected ones.
1638 ac_site_file1=NONE
1639 ac_site_file2=NONE
1640 if test -n "$CONFIG_SITE"; then
1641 # We do not want a PATH search for config.site.
1642 case $CONFIG_SITE in #((
1643 -*) ac_site_file1=./$CONFIG_SITE;;
1644 */*) ac_site_file1=$CONFIG_SITE;;
1645 *) ac_site_file1=./$CONFIG_SITE;;
1646 esac
1647 elif test "x$prefix" != xNONE; then
1648 ac_site_file1=$prefix/share/config.site
1649 ac_site_file2=$prefix/etc/config.site
1650 else
1651 ac_site_file1=$ac_default_prefix/share/config.site
1652 ac_site_file2=$ac_default_prefix/etc/config.site
1653 fi
1654 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1655 do
1656 test "x$ac_site_file" = xNONE && continue
1657 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1659 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1660 sed 's/^/| /' "$ac_site_file" >&5
1661 . "$ac_site_file" \
1662 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1664 as_fn_error $? "failed to load site script $ac_site_file
1665 See \`config.log' for more details" "$LINENO" 5; }
1666 fi
1667 done
1668
1669 if test -r "$cache_file"; then
1670 # Some versions of bash will fail to source /dev/null (special files
1671 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1672 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1674 $as_echo "$as_me: loading cache $cache_file" >&6;}
1675 case $cache_file in
1676 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1677 *) . "./$cache_file";;
1678 esac
1679 fi
1680 else
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1682 $as_echo "$as_me: creating cache $cache_file" >&6;}
1683 >$cache_file
1684 fi
1685
1686 # Check that the precious variables saved in the cache have kept the same
1687 # value.
1688 ac_cache_corrupted=false
1689 for ac_var in $ac_precious_vars; do
1690 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1691 eval ac_new_set=\$ac_env_${ac_var}_set
1692 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1693 eval ac_new_val=\$ac_env_${ac_var}_value
1694 case $ac_old_set,$ac_new_set in
1695 set,)
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1697 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1698 ac_cache_corrupted=: ;;
1699 ,set)
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1701 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1702 ac_cache_corrupted=: ;;
1703 ,);;
1704 *)
1705 if test "x$ac_old_val" != "x$ac_new_val"; then
1706 # differences in whitespace do not lead to failure.
1707 ac_old_val_w=`echo x $ac_old_val`
1708 ac_new_val_w=`echo x $ac_new_val`
1709 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1711 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1712 ac_cache_corrupted=:
1713 else
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1715 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1716 eval $ac_var=\$ac_old_val
1717 fi
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1719 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1721 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1722 fi;;
1723 esac
1724 # Pass precious variables to config.status.
1725 if test "$ac_new_set" = set; then
1726 case $ac_new_val in
1727 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1728 *) ac_arg=$ac_var=$ac_new_val ;;
1729 esac
1730 case " $ac_configure_args " in
1731 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1732 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1733 esac
1734 fi
1735 done
1736 if $ac_cache_corrupted; then
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1740 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1741 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1742 fi
1743 ## -------------------- ##
1744 ## Main body of script. ##
1745 ## -------------------- ##
1746
1747 ac_ext=c
1748 ac_cpp='$CPP $CPPFLAGS'
1749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1752
1753
1754
1755 ac_aux_dir=
1756 for ac_dir in ../.. "$srcdir"/../..; do
1757 if test -f "$ac_dir/install-sh"; then
1758 ac_aux_dir=$ac_dir
1759 ac_install_sh="$ac_aux_dir/install-sh -c"
1760 break
1761 elif test -f "$ac_dir/install.sh"; then
1762 ac_aux_dir=$ac_dir
1763 ac_install_sh="$ac_aux_dir/install.sh -c"
1764 break
1765 elif test -f "$ac_dir/shtool"; then
1766 ac_aux_dir=$ac_dir
1767 ac_install_sh="$ac_aux_dir/shtool install -c"
1768 break
1769 fi
1770 done
1771 if test -z "$ac_aux_dir"; then
1772 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
1773 fi
1774
1775 # These three variables are undocumented and unsupported,
1776 # and are intended to be withdrawn in a future Autoconf release.
1777 # They can cause serious problems if a builder's source tree is in a directory
1778 # whose full name contains unusual characters.
1779 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1780 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1781 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1782
1783
1784
1785 # Find a good install program. We prefer a C program (faster),
1786 # so one script is as good as another. But avoid the broken or
1787 # incompatible versions:
1788 # SysV /etc/install, /usr/sbin/install
1789 # SunOS /usr/etc/install
1790 # IRIX /sbin/install
1791 # AIX /bin/install
1792 # AmigaOS /C/install, which installs bootblocks on floppy discs
1793 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1796 # OS/2's system install, which has a completely different semantic
1797 # ./install, which can be erroneously created by make from ./install.sh.
1798 # Reject install programs that cannot install multiple files.
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1800 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1801 if test -z "$INSTALL"; then
1802 if ${ac_cv_path_install+:} false; then :
1803 $as_echo_n "(cached) " >&6
1804 else
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 for as_dir in $PATH
1807 do
1808 IFS=$as_save_IFS
1809 test -z "$as_dir" && as_dir=.
1810 # Account for people who put trailing slashes in PATH elements.
1811 case $as_dir/ in #((
1812 ./ | .// | /[cC]/* | \
1813 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1814 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1815 /usr/ucb/* ) ;;
1816 *)
1817 # OSF1 and SCO ODT 3.0 have their own names for install.
1818 # Don't use installbsd from OSF since it installs stuff as root
1819 # by default.
1820 for ac_prog in ginstall scoinst install; do
1821 for ac_exec_ext in '' $ac_executable_extensions; do
1822 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1823 if test $ac_prog = install &&
1824 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1825 # AIX install. It has an incompatible calling convention.
1826 :
1827 elif test $ac_prog = install &&
1828 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1829 # program-specific install script used by HP pwplus--don't use.
1830 :
1831 else
1832 rm -rf conftest.one conftest.two conftest.dir
1833 echo one > conftest.one
1834 echo two > conftest.two
1835 mkdir conftest.dir
1836 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1837 test -s conftest.one && test -s conftest.two &&
1838 test -s conftest.dir/conftest.one &&
1839 test -s conftest.dir/conftest.two
1840 then
1841 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1842 break 3
1843 fi
1844 fi
1845 fi
1846 done
1847 done
1848 ;;
1849 esac
1850
1851 done
1852 IFS=$as_save_IFS
1853
1854 rm -rf conftest.one conftest.two conftest.dir
1855
1856 fi
1857 if test "${ac_cv_path_install+set}" = set; then
1858 INSTALL=$ac_cv_path_install
1859 else
1860 # As a last resort, use the slow shell script. Don't cache a
1861 # value for INSTALL within a source directory, because that will
1862 # break other packages using the cache if that directory is
1863 # removed, or if the value is a relative name.
1864 INSTALL=$ac_install_sh
1865 fi
1866 fi
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1868 $as_echo "$INSTALL" >&6; }
1869
1870 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1871 # It thinks the first close brace ends the variable substitution.
1872 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1873
1874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1875
1876 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1877
1878 for ac_prog in docbook2x-texi db2x_docbook2texi
1879 do
1880 # Extract the first word of "$ac_prog", so it can be a program name with args.
1881 set dummy $ac_prog; ac_word=$2
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 $as_echo_n "checking for $ac_word... " >&6; }
1884 if ${ac_cv_prog_DOCBOOK2XTEXI+:} false; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 if test -n "$DOCBOOK2XTEXI"; then
1888 ac_cv_prog_DOCBOOK2XTEXI="$DOCBOOK2XTEXI" # Let the user override the test.
1889 else
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_DOCBOOK2XTEXI="$ac_prog"
1898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 break 2
1900 fi
1901 done
1902 done
1903 IFS=$as_save_IFS
1904
1905 fi
1906 fi
1907 DOCBOOK2XTEXI=$ac_cv_prog_DOCBOOK2XTEXI
1908 if test -n "$DOCBOOK2XTEXI"; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2XTEXI" >&5
1910 $as_echo "$DOCBOOK2XTEXI" >&6; }
1911 else
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1913 $as_echo "no" >&6; }
1914 fi
1915
1916
1917 test -n "$DOCBOOK2XTEXI" && break
1918 done
1919 test -n "$DOCBOOK2XTEXI" || DOCBOOK2XTEXI="true"
1920
1921
1922 # Make sure we can run config.sub.
1923 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1924 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1925
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1927 $as_echo_n "checking build system type... " >&6; }
1928 if ${ac_cv_build+:} false; then :
1929 $as_echo_n "(cached) " >&6
1930 else
1931 ac_build_alias=$build_alias
1932 test "x$ac_build_alias" = x &&
1933 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1934 test "x$ac_build_alias" = x &&
1935 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1936 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1937 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1938
1939 fi
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1941 $as_echo "$ac_cv_build" >&6; }
1942 case $ac_cv_build in
1943 *-*-*) ;;
1944 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1945 esac
1946 build=$ac_cv_build
1947 ac_save_IFS=$IFS; IFS='-'
1948 set x $ac_cv_build
1949 shift
1950 build_cpu=$1
1951 build_vendor=$2
1952 shift; shift
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1955 build_os=$*
1956 IFS=$ac_save_IFS
1957 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1958
1959
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1961 $as_echo_n "checking host system type... " >&6; }
1962 if ${ac_cv_host+:} false; then :
1963 $as_echo_n "(cached) " >&6
1964 else
1965 if test "x$host_alias" = x; then
1966 ac_cv_host=$ac_cv_build
1967 else
1968 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1969 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1970 fi
1971
1972 fi
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1974 $as_echo "$ac_cv_host" >&6; }
1975 case $ac_cv_host in
1976 *-*-*) ;;
1977 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1978 esac
1979 host=$ac_cv_host
1980 ac_save_IFS=$IFS; IFS='-'
1981 set x $ac_cv_host
1982 shift
1983 host_cpu=$1
1984 host_vendor=$2
1985 shift; shift
1986 # Remember, the first character of IFS is used to create $*,
1987 # except with old shells:
1988 host_os=$*
1989 IFS=$ac_save_IFS
1990 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1991
1992
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1994 $as_echo_n "checking target system type... " >&6; }
1995 if ${ac_cv_target+:} false; then :
1996 $as_echo_n "(cached) " >&6
1997 else
1998 if test "x$target_alias" = x; then
1999 ac_cv_target=$ac_cv_host
2000 else
2001 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2002 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2003 fi
2004
2005 fi
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2007 $as_echo "$ac_cv_target" >&6; }
2008 case $ac_cv_target in
2009 *-*-*) ;;
2010 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2011 esac
2012 target=$ac_cv_target
2013 ac_save_IFS=$IFS; IFS='-'
2014 set x $ac_cv_target
2015 shift
2016 target_cpu=$1
2017 target_vendor=$2
2018 shift; shift
2019 # Remember, the first character of IFS is used to create $*,
2020 # except with old shells:
2021 target_os=$*
2022 IFS=$ac_save_IFS
2023 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2024
2025
2026 # The aliases save the names the user supplied, while $host etc.
2027 # will get canonicalized.
2028 test -n "$target_alias" &&
2029 test "$program_prefix$program_suffix$program_transform_name" = \
2030 NONENONEs,x,x, &&
2031 program_prefix=${target_alias}-
2032
2033
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2038 $as_echo_n "checking for $ac_word... " >&6; }
2039 if ${ac_cv_prog_CC+:} false; then :
2040 $as_echo_n "(cached) " >&6
2041 else
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC="$CC" # Let the user override the test.
2044 else
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2047 do
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 for ac_exec_ext in '' $ac_executable_extensions; do
2051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 break 2
2055 fi
2056 done
2057 done
2058 IFS=$as_save_IFS
2059
2060 fi
2061 fi
2062 CC=$ac_cv_prog_CC
2063 if test -n "$CC"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2065 $as_echo "$CC" >&6; }
2066 else
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2068 $as_echo "no" >&6; }
2069 fi
2070
2071
2072 fi
2073 if test -z "$ac_cv_prog_CC"; then
2074 ac_ct_CC=$CC
2075 # Extract the first word of "gcc", so it can be a program name with args.
2076 set dummy gcc; ac_word=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2080 $as_echo_n "(cached) " >&6
2081 else
2082 if test -n "$ac_ct_CC"; then
2083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2084 else
2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 for as_dir in $PATH
2087 do
2088 IFS=$as_save_IFS
2089 test -z "$as_dir" && as_dir=.
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_ac_ct_CC="gcc"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 break 2
2095 fi
2096 done
2097 done
2098 IFS=$as_save_IFS
2099
2100 fi
2101 fi
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2105 $as_echo "$ac_ct_CC" >&6; }
2106 else
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2109 fi
2110
2111 if test "x$ac_ct_CC" = x; then
2112 CC="gcc"
2113 else
2114 case $cross_compiling:$ac_tool_warned in
2115 yes:)
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2118 ac_tool_warned=yes ;;
2119 esac
2120 CC=$ac_ct_CC
2121 fi
2122 else
2123 CC="$ac_cv_prog_CC"
2124 fi
2125
2126 : ${CC:=gcc}
2127 ac_ext=c
2128 ac_cpp='$CPP $CPPFLAGS'
2129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2134 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2136 $as_echo_n "checking for $ac_word... " >&6; }
2137 if ${ac_cv_prog_CC+:} false; then :
2138 $as_echo_n "(cached) " >&6
2139 else
2140 if test -n "$CC"; then
2141 ac_cv_prog_CC="$CC" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2153 fi
2154 done
2155 done
2156 IFS=$as_save_IFS
2157
2158 fi
2159 fi
2160 CC=$ac_cv_prog_CC
2161 if test -n "$CC"; then
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2163 $as_echo "$CC" >&6; }
2164 else
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2166 $as_echo "no" >&6; }
2167 fi
2168
2169
2170 fi
2171 if test -z "$ac_cv_prog_CC"; then
2172 ac_ct_CC=$CC
2173 # Extract the first word of "gcc", so it can be a program name with args.
2174 set dummy gcc; ac_word=$2
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2176 $as_echo_n "checking for $ac_word... " >&6; }
2177 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2178 $as_echo_n "(cached) " >&6
2179 else
2180 if test -n "$ac_ct_CC"; then
2181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2182 else
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 for as_dir in $PATH
2185 do
2186 IFS=$as_save_IFS
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 ac_cv_prog_ac_ct_CC="gcc"
2191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2193 fi
2194 done
2195 done
2196 IFS=$as_save_IFS
2197
2198 fi
2199 fi
2200 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2201 if test -n "$ac_ct_CC"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2203 $as_echo "$ac_ct_CC" >&6; }
2204 else
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2206 $as_echo "no" >&6; }
2207 fi
2208
2209 if test "x$ac_ct_CC" = x; then
2210 CC=""
2211 else
2212 case $cross_compiling:$ac_tool_warned in
2213 yes:)
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2216 ac_tool_warned=yes ;;
2217 esac
2218 CC=$ac_ct_CC
2219 fi
2220 else
2221 CC="$ac_cv_prog_CC"
2222 fi
2223
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2227 set dummy ${ac_tool_prefix}cc; ac_word=$2
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2229 $as_echo_n "checking for $ac_word... " >&6; }
2230 if ${ac_cv_prog_CC+:} false; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 else
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 for as_dir in $PATH
2238 do
2239 IFS=$as_save_IFS
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2243 ac_cv_prog_CC="${ac_tool_prefix}cc"
2244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247 done
2248 done
2249 IFS=$as_save_IFS
2250
2251 fi
2252 fi
2253 CC=$ac_cv_prog_CC
2254 if test -n "$CC"; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2256 $as_echo "$CC" >&6; }
2257 else
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2259 $as_echo "no" >&6; }
2260 fi
2261
2262
2263 fi
2264 fi
2265 if test -z "$CC"; then
2266 # Extract the first word of "cc", so it can be a program name with args.
2267 set dummy cc; ac_word=$2
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2269 $as_echo_n "checking for $ac_word... " >&6; }
2270 if ${ac_cv_prog_CC+:} false; then :
2271 $as_echo_n "(cached) " >&6
2272 else
2273 if test -n "$CC"; then
2274 ac_cv_prog_CC="$CC" # Let the user override the test.
2275 else
2276 ac_prog_rejected=no
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 for as_dir in $PATH
2279 do
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2285 ac_prog_rejected=yes
2286 continue
2287 fi
2288 ac_cv_prog_CC="cc"
2289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2291 fi
2292 done
2293 done
2294 IFS=$as_save_IFS
2295
2296 if test $ac_prog_rejected = yes; then
2297 # We found a bogon in the path, so make sure we never use it.
2298 set dummy $ac_cv_prog_CC
2299 shift
2300 if test $# != 0; then
2301 # We chose a different compiler from the bogus one.
2302 # However, it has the same basename, so the bogon will be chosen
2303 # first if we set CC to just the basename; use the full file name.
2304 shift
2305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2306 fi
2307 fi
2308 fi
2309 fi
2310 CC=$ac_cv_prog_CC
2311 if test -n "$CC"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2313 $as_echo "$CC" >&6; }
2314 else
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2317 fi
2318
2319
2320 fi
2321 if test -z "$CC"; then
2322 if test -n "$ac_tool_prefix"; then
2323 for ac_prog in cl.exe
2324 do
2325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2328 $as_echo_n "checking for $ac_word... " >&6; }
2329 if ${ac_cv_prog_CC+:} false; then :
2330 $as_echo_n "(cached) " >&6
2331 else
2332 if test -n "$CC"; then
2333 ac_cv_prog_CC="$CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2337 do
2338 IFS=$as_save_IFS
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 break 2
2345 fi
2346 done
2347 done
2348 IFS=$as_save_IFS
2349
2350 fi
2351 fi
2352 CC=$ac_cv_prog_CC
2353 if test -n "$CC"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2355 $as_echo "$CC" >&6; }
2356 else
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2358 $as_echo "no" >&6; }
2359 fi
2360
2361
2362 test -n "$CC" && break
2363 done
2364 fi
2365 if test -z "$CC"; then
2366 ac_ct_CC=$CC
2367 for ac_prog in cl.exe
2368 do
2369 # Extract the first word of "$ac_prog", so it can be a program name with args.
2370 set dummy $ac_prog; ac_word=$2
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; }
2373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2374 $as_echo_n "(cached) " >&6
2375 else
2376 if test -n "$ac_ct_CC"; then
2377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2378 else
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 for as_dir in $PATH
2381 do
2382 IFS=$as_save_IFS
2383 test -z "$as_dir" && as_dir=.
2384 for ac_exec_ext in '' $ac_executable_extensions; do
2385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2386 ac_cv_prog_ac_ct_CC="$ac_prog"
2387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 break 2
2389 fi
2390 done
2391 done
2392 IFS=$as_save_IFS
2393
2394 fi
2395 fi
2396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2397 if test -n "$ac_ct_CC"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2399 $as_echo "$ac_ct_CC" >&6; }
2400 else
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2402 $as_echo "no" >&6; }
2403 fi
2404
2405
2406 test -n "$ac_ct_CC" && break
2407 done
2408
2409 if test "x$ac_ct_CC" = x; then
2410 CC=""
2411 else
2412 case $cross_compiling:$ac_tool_warned in
2413 yes:)
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2416 ac_tool_warned=yes ;;
2417 esac
2418 CC=$ac_ct_CC
2419 fi
2420 fi
2421
2422 fi
2423
2424
2425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 as_fn_error $? "no acceptable C compiler found in \$PATH
2428 See \`config.log' for more details" "$LINENO" 5; }
2429
2430 # Provide some information about the compiler.
2431 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2432 set X $ac_compile
2433 ac_compiler=$2
2434 for ac_option in --version -v -V -qversion; do
2435 { { ac_try="$ac_compiler $ac_option >&5"
2436 case "(($ac_try" in
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2439 esac
2440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2441 $as_echo "$ac_try_echo"; } >&5
2442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2443 ac_status=$?
2444 if test -s conftest.err; then
2445 sed '10a\
2446 ... rest of stderr output deleted ...
2447 10q' conftest.err >conftest.er1
2448 cat conftest.er1 >&5
2449 fi
2450 rm -f conftest.er1 conftest.err
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; }
2453 done
2454
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2457
2458 int
2459 main ()
2460 {
2461
2462 ;
2463 return 0;
2464 }
2465 _ACEOF
2466 if { { ac_try="$ac_link"
2467 case "(($ac_try" in
2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2470 esac
2471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2472 $as_echo "$ac_try_echo"; } >&5
2473 (eval "$ac_link") 2>&5
2474 ac_status=$?
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; }; then
2477 ac_no_link=no
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2480
2481 int
2482 main ()
2483 {
2484
2485 ;
2486 return 0;
2487 }
2488 _ACEOF
2489 ac_clean_files_save=$ac_clean_files
2490 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2491 # Try to create an executable without -o first, disregard a.out.
2492 # It will help us diagnose broken compilers, and finding out an intuition
2493 # of exeext.
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2495 $as_echo_n "checking whether the C compiler works... " >&6; }
2496 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2497
2498 # The possible output files:
2499 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2500
2501 ac_rmfiles=
2502 for ac_file in $ac_files
2503 do
2504 case $ac_file in
2505 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2506 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2507 esac
2508 done
2509 rm -f $ac_rmfiles
2510
2511 if { { ac_try="$ac_link_default"
2512 case "(($ac_try" in
2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514 *) ac_try_echo=$ac_try;;
2515 esac
2516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2517 $as_echo "$ac_try_echo"; } >&5
2518 (eval "$ac_link_default") 2>&5
2519 ac_status=$?
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; }; then :
2522 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2523 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2524 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2525 # so that the user can short-circuit this test for compilers unknown to
2526 # Autoconf.
2527 for ac_file in $ac_files ''
2528 do
2529 test -f "$ac_file" || continue
2530 case $ac_file in
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2532 ;;
2533 [ab].out )
2534 # We found the default executable, but exeext='' is most
2535 # certainly right.
2536 break;;
2537 *.* )
2538 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2539 then :; else
2540 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2541 fi
2542 # We set ac_cv_exeext here because the later test for it is not
2543 # safe: cross compilers may not add the suffix if given an `-o'
2544 # argument, so we may need to know it at that point already.
2545 # Even if this section looks crufty: it has the advantage of
2546 # actually working.
2547 break;;
2548 * )
2549 break;;
2550 esac
2551 done
2552 test "$ac_cv_exeext" = no && ac_cv_exeext=
2553
2554 else
2555 ac_file=''
2556 fi
2557 if test -z "$ac_file"; then :
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2560 $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2562
2563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2565 as_fn_error 77 "C compiler cannot create executables
2566 See \`config.log' for more details" "$LINENO" 5; }
2567 else
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2569 $as_echo "yes" >&6; }
2570 fi
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2572 $as_echo_n "checking for C compiler default output file name... " >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2574 $as_echo "$ac_file" >&6; }
2575 ac_exeext=$ac_cv_exeext
2576
2577 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2578 ac_clean_files=$ac_clean_files_save
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2580 $as_echo_n "checking for suffix of executables... " >&6; }
2581 if { { ac_try="$ac_link"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_link") 2>&5
2589 ac_status=$?
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; }; then :
2592 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2593 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2594 # work properly (i.e., refer to `conftest.exe'), while it won't with
2595 # `rm'.
2596 for ac_file in conftest.exe conftest conftest.*; do
2597 test -f "$ac_file" || continue
2598 case $ac_file in
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2600 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2601 break;;
2602 * ) break;;
2603 esac
2604 done
2605 else
2606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2608 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2609 See \`config.log' for more details" "$LINENO" 5; }
2610 fi
2611 rm -f conftest conftest$ac_cv_exeext
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2613 $as_echo "$ac_cv_exeext" >&6; }
2614
2615 rm -f conftest.$ac_ext
2616 EXEEXT=$ac_cv_exeext
2617 ac_exeext=$EXEEXT
2618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619 /* end confdefs.h. */
2620 #include <stdio.h>
2621 int
2622 main ()
2623 {
2624 FILE *f = fopen ("conftest.out", "w");
2625 return ferror (f) || fclose (f) != 0;
2626
2627 ;
2628 return 0;
2629 }
2630 _ACEOF
2631 ac_clean_files="$ac_clean_files conftest.out"
2632 # Check that the compiler produces executables we can run. If not, either
2633 # the compiler is broken, or we cross compile.
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2635 $as_echo_n "checking whether we are cross compiling... " >&6; }
2636 if test "$cross_compiling" != yes; then
2637 { { ac_try="$ac_link"
2638 case "(($ac_try" in
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2641 esac
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_link") 2>&5
2645 ac_status=$?
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; }
2648 if { ac_try='./conftest$ac_cv_exeext'
2649 { { case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_try") 2>&5
2656 ac_status=$?
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; }; }; then
2659 cross_compiling=no
2660 else
2661 if test "$cross_compiling" = maybe; then
2662 cross_compiling=yes
2663 else
2664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2666 as_fn_error $? "cannot run C compiled programs.
2667 If you meant to cross compile, use \`--host'.
2668 See \`config.log' for more details" "$LINENO" 5; }
2669 fi
2670 fi
2671 fi
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2673 $as_echo "$cross_compiling" >&6; }
2674
2675 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2676 ac_clean_files=$ac_clean_files_save
2677
2678 else
2679 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.o conftest.obj conftest.dSYM
2680 ac_no_link=yes
2681 # Setting cross_compile will disable run tests; it will
2682 # also disable AC_CHECK_FILE but that's generally
2683 # correct if we can't link.
2684 cross_compiling=yes
2685 EXEEXT=
2686 # Check that the compiler produces executables we can run. If not, either
2687 # the compiler is broken, or we cross compile.
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2689 $as_echo_n "checking whether we are cross compiling... " >&6; }
2690 if test "$cross_compiling" != yes; then
2691 { { ac_try="$ac_link"
2692 case "(($ac_try" in
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2695 esac
2696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2697 $as_echo "$ac_try_echo"; } >&5
2698 (eval "$ac_link") 2>&5
2699 ac_status=$?
2700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; }
2702 if { ac_try='./conftest$ac_cv_exeext'
2703 { { case "(($ac_try" in
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2706 esac
2707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2708 $as_echo "$ac_try_echo"; } >&5
2709 (eval "$ac_try") 2>&5
2710 ac_status=$?
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; }; }; then
2713 cross_compiling=no
2714 else
2715 if test "$cross_compiling" = maybe; then
2716 cross_compiling=yes
2717 else
2718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2720 as_fn_error $? "cannot run C compiled programs.
2721 If you meant to cross compile, use \`--host'.
2722 See \`config.log' for more details" "$LINENO" 5; }
2723 fi
2724 fi
2725 fi
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2727 $as_echo "$cross_compiling" >&6; }
2728
2729 fi
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2731 $as_echo_n "checking for suffix of object files... " >&6; }
2732 if ${ac_cv_objext+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2737
2738 int
2739 main ()
2740 {
2741
2742 ;
2743 return 0;
2744 }
2745 _ACEOF
2746 rm -f conftest.o conftest.obj
2747 if { { ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_compile") 2>&5
2755 ac_status=$?
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; }; then :
2758 for ac_file in conftest.o conftest.obj conftest.*; do
2759 test -f "$ac_file" || continue;
2760 case $ac_file in
2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2762 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2763 break;;
2764 esac
2765 done
2766 else
2767 $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2769
2770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 as_fn_error $? "cannot compute suffix of object files: cannot compile
2773 See \`config.log' for more details" "$LINENO" 5; }
2774 fi
2775 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2776 fi
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2778 $as_echo "$ac_cv_objext" >&6; }
2779 OBJEXT=$ac_cv_objext
2780 ac_objext=$OBJEXT
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2782 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2783 if ${ac_cv_c_compiler_gnu+:} false; then :
2784 $as_echo_n "(cached) " >&6
2785 else
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2788
2789 int
2790 main ()
2791 {
2792 #ifndef __GNUC__
2793 choke me
2794 #endif
2795
2796 ;
2797 return 0;
2798 }
2799 _ACEOF
2800 if ac_fn_c_try_compile "$LINENO"; then :
2801 ac_compiler_gnu=yes
2802 else
2803 ac_compiler_gnu=no
2804 fi
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2807
2808 fi
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2810 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2811 if test $ac_compiler_gnu = yes; then
2812 GCC=yes
2813 else
2814 GCC=
2815 fi
2816 ac_test_CFLAGS=${CFLAGS+set}
2817 ac_save_CFLAGS=$CFLAGS
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2819 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2820 if ${ac_cv_prog_cc_g+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 ac_save_c_werror_flag=$ac_c_werror_flag
2824 ac_c_werror_flag=yes
2825 ac_cv_prog_cc_g=no
2826 CFLAGS="-g"
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2829
2830 int
2831 main ()
2832 {
2833
2834 ;
2835 return 0;
2836 }
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 ac_cv_prog_cc_g=yes
2840 else
2841 CFLAGS=""
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2844
2845 int
2846 main ()
2847 {
2848
2849 ;
2850 return 0;
2851 }
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854
2855 else
2856 ac_c_werror_flag=$ac_save_c_werror_flag
2857 CFLAGS="-g"
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2860
2861 int
2862 main ()
2863 {
2864
2865 ;
2866 return 0;
2867 }
2868 _ACEOF
2869 if ac_fn_c_try_compile "$LINENO"; then :
2870 ac_cv_prog_cc_g=yes
2871 fi
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 fi
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 fi
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877 ac_c_werror_flag=$ac_save_c_werror_flag
2878 fi
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2880 $as_echo "$ac_cv_prog_cc_g" >&6; }
2881 if test "$ac_test_CFLAGS" = set; then
2882 CFLAGS=$ac_save_CFLAGS
2883 elif test $ac_cv_prog_cc_g = yes; then
2884 if test "$GCC" = yes; then
2885 CFLAGS="-g -O2"
2886 else
2887 CFLAGS="-g"
2888 fi
2889 else
2890 if test "$GCC" = yes; then
2891 CFLAGS="-O2"
2892 else
2893 CFLAGS=
2894 fi
2895 fi
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2897 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2898 if ${ac_cv_prog_cc_c89+:} false; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 ac_cv_prog_cc_c89=no
2902 ac_save_CC=$CC
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905 #include <stdarg.h>
2906 #include <stdio.h>
2907 struct stat;
2908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2909 struct buf { int x; };
2910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2911 static char *e (p, i)
2912 char **p;
2913 int i;
2914 {
2915 return p[i];
2916 }
2917 static char *f (char * (*g) (char **, int), char **p, ...)
2918 {
2919 char *s;
2920 va_list v;
2921 va_start (v,p);
2922 s = g (p, va_arg (v,int));
2923 va_end (v);
2924 return s;
2925 }
2926
2927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2928 function prototypes and stuff, but not '\xHH' hex character constants.
2929 These don't provoke an error unfortunately, instead are silently treated
2930 as 'x'. The following induces an error, until -std is added to get
2931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2932 array size at least. It's necessary to write '\x00'==0 to get something
2933 that's true only with -std. */
2934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935
2936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2937 inside strings and character constants. */
2938 #define FOO(x) 'x'
2939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2940
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 int argc;
2946 char **argv;
2947 int
2948 main ()
2949 {
2950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2951 ;
2952 return 0;
2953 }
2954 _ACEOF
2955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2957 do
2958 CC="$ac_save_CC $ac_arg"
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 ac_cv_prog_cc_c89=$ac_arg
2961 fi
2962 rm -f core conftest.err conftest.$ac_objext
2963 test "x$ac_cv_prog_cc_c89" != "xno" && break
2964 done
2965 rm -f conftest.$ac_ext
2966 CC=$ac_save_CC
2967
2968 fi
2969 # AC_CACHE_VAL
2970 case "x$ac_cv_prog_cc_c89" in
2971 x)
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2973 $as_echo "none needed" >&6; } ;;
2974 xno)
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2976 $as_echo "unsupported" >&6; } ;;
2977 *)
2978 CC="$CC $ac_cv_prog_cc_c89"
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2980 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2981 esac
2982 if test "x$ac_cv_prog_cc_c89" != xno; then :
2983
2984 fi
2985
2986 ac_ext=c
2987 ac_cpp='$CPP $CPPFLAGS'
2988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2991
2992 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2993
2994
2995
2996
2997 ac_config_files="$ac_config_files Makefile"
2998
2999 cat >confcache <<\_ACEOF
3000 # This file is a shell script that caches the results of configure
3001 # tests run on this system so they can be shared between configure
3002 # scripts and configure runs, see configure's option --config-cache.
3003 # It is not useful on other systems. If it contains results you don't
3004 # want to keep, you may remove or edit it.
3005 #
3006 # config.status only pays attention to the cache file if you give it
3007 # the --recheck option to rerun configure.
3008 #
3009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3011 # following values.
3012
3013 _ACEOF
3014
3015 # The following way of writing the cache mishandles newlines in values,
3016 # but we know of no workaround that is simple, portable, and efficient.
3017 # So, we kill variables containing newlines.
3018 # Ultrix sh set writes to stderr and can't be redirected directly,
3019 # and sets the high bit in the cache file unless we assign to the vars.
3020 (
3021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3022 eval ac_val=\$$ac_var
3023 case $ac_val in #(
3024 *${as_nl}*)
3025 case $ac_var in #(
3026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3028 esac
3029 case $ac_var in #(
3030 _ | IFS | as_nl) ;; #(
3031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3032 *) { eval $ac_var=; unset $ac_var;} ;;
3033 esac ;;
3034 esac
3035 done
3036
3037 (set) 2>&1 |
3038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3039 *${as_nl}ac_space=\ *)
3040 # `set' does not quote correctly, so add quotes: double-quote
3041 # substitution turns \\\\ into \\, and sed turns \\ into \.
3042 sed -n \
3043 "s/'/'\\\\''/g;
3044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3045 ;; #(
3046 *)
3047 # `set' quotes correctly as required by POSIX, so do not add quotes.
3048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3049 ;;
3050 esac |
3051 sort
3052 ) |
3053 sed '
3054 /^ac_cv_env_/b end
3055 t clear
3056 :clear
3057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3058 t end
3059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3060 :end' >>confcache
3061 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3062 if test -w "$cache_file"; then
3063 if test "x$cache_file" != "x/dev/null"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3065 $as_echo "$as_me: updating cache $cache_file" >&6;}
3066 if test ! -f "$cache_file" || test -h "$cache_file"; then
3067 cat confcache >"$cache_file"
3068 else
3069 case $cache_file in #(
3070 */* | ?:*)
3071 mv -f confcache "$cache_file"$$ &&
3072 mv -f "$cache_file"$$ "$cache_file" ;; #(
3073 *)
3074 mv -f confcache "$cache_file" ;;
3075 esac
3076 fi
3077 fi
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3080 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3081 fi
3082 fi
3083 rm -f confcache
3084
3085 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3086 # Let make expand exec_prefix.
3087 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3088
3089 # Transform confdefs.h into DEFS.
3090 # Protect against shell expansion while executing Makefile rules.
3091 # Protect against Makefile macro expansion.
3092 #
3093 # If the first sed substitution is executed (which looks for macros that
3094 # take arguments), then branch to the quote section. Otherwise,
3095 # look for a macro that doesn't take arguments.
3096 ac_script='
3097 :mline
3098 /\\$/{
3099 N
3100 s,\\\n,,
3101 b mline
3102 }
3103 t clear
3104 :clear
3105 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3106 t quote
3107 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3108 t quote
3109 b any
3110 :quote
3111 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3112 s/\[/\\&/g
3113 s/\]/\\&/g
3114 s/\$/$$/g
3115 H
3116 :any
3117 ${
3118 g
3119 s/^\n//
3120 s/\n/ /g
3121 p
3122 }
3123 '
3124 DEFS=`sed -n "$ac_script" confdefs.h`
3125
3126
3127 ac_libobjs=
3128 ac_ltlibobjs=
3129 U=
3130 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3131 # 1. Remove the extension, and $U if already installed.
3132 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3133 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3134 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3135 # will be set to the directory where LIBOBJS objects are built.
3136 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3137 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3138 done
3139 LIBOBJS=$ac_libobjs
3140
3141 LTLIBOBJS=$ac_ltlibobjs
3142
3143
3144
3145 : "${CONFIG_STATUS=./config.status}"
3146 ac_write_fail=0
3147 ac_clean_files_save=$ac_clean_files
3148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3150 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3151 as_write_fail=0
3152 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3153 #! $SHELL
3154 # Generated by $as_me.
3155 # Run this file to recreate the current configuration.
3156 # Compiler output produced by configure, useful for debugging
3157 # configure, is in config.log if it exists.
3158
3159 debug=false
3160 ac_cs_recheck=false
3161 ac_cs_silent=false
3162
3163 SHELL=\${CONFIG_SHELL-$SHELL}
3164 export SHELL
3165 _ASEOF
3166 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3167 ## -------------------- ##
3168 ## M4sh Initialization. ##
3169 ## -------------------- ##
3170
3171 # Be more Bourne compatible
3172 DUALCASE=1; export DUALCASE # for MKS sh
3173 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3174 emulate sh
3175 NULLCMD=:
3176 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3177 # is contrary to our usage. Disable this feature.
3178 alias -g '${1+"$@"}'='"$@"'
3179 setopt NO_GLOB_SUBST
3180 else
3181 case `(set -o) 2>/dev/null` in #(
3182 *posix*) :
3183 set -o posix ;; #(
3184 *) :
3185 ;;
3186 esac
3187 fi
3188
3189
3190 as_nl='
3191 '
3192 export as_nl
3193 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3194 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3196 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3197 # Prefer a ksh shell builtin over an external printf program on Solaris,
3198 # but without wasting forks for bash or zsh.
3199 if test -z "$BASH_VERSION$ZSH_VERSION" \
3200 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3201 as_echo='print -r --'
3202 as_echo_n='print -rn --'
3203 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3204 as_echo='printf %s\n'
3205 as_echo_n='printf %s'
3206 else
3207 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3208 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3209 as_echo_n='/usr/ucb/echo -n'
3210 else
3211 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3212 as_echo_n_body='eval
3213 arg=$1;
3214 case $arg in #(
3215 *"$as_nl"*)
3216 expr "X$arg" : "X\\(.*\\)$as_nl";
3217 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3218 esac;
3219 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3220 '
3221 export as_echo_n_body
3222 as_echo_n='sh -c $as_echo_n_body as_echo'
3223 fi
3224 export as_echo_body
3225 as_echo='sh -c $as_echo_body as_echo'
3226 fi
3227
3228 # The user is always right.
3229 if test "${PATH_SEPARATOR+set}" != set; then
3230 PATH_SEPARATOR=:
3231 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3232 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3233 PATH_SEPARATOR=';'
3234 }
3235 fi
3236
3237
3238 # IFS
3239 # We need space, tab and new line, in precisely that order. Quoting is
3240 # there to prevent editors from complaining about space-tab.
3241 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3242 # splitting by setting IFS to empty value.)
3243 IFS=" "" $as_nl"
3244
3245 # Find who we are. Look in the path if we contain no directory separator.
3246 as_myself=
3247 case $0 in #((
3248 *[\\/]* ) as_myself=$0 ;;
3249 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252 IFS=$as_save_IFS
3253 test -z "$as_dir" && as_dir=.
3254 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3255 done
3256 IFS=$as_save_IFS
3257
3258 ;;
3259 esac
3260 # We did not find ourselves, most probably we were run as `sh COMMAND'
3261 # in which case we are not to be found in the path.
3262 if test "x$as_myself" = x; then
3263 as_myself=$0
3264 fi
3265 if test ! -f "$as_myself"; then
3266 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3267 exit 1
3268 fi
3269
3270 # Unset variables that we do not need and which cause bugs (e.g. in
3271 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3272 # suppresses any "Segmentation fault" message there. '((' could
3273 # trigger a bug in pdksh 5.2.14.
3274 for as_var in BASH_ENV ENV MAIL MAILPATH
3275 do eval test x\${$as_var+set} = xset \
3276 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3277 done
3278 PS1='$ '
3279 PS2='> '
3280 PS4='+ '
3281
3282 # NLS nuisances.
3283 LC_ALL=C
3284 export LC_ALL
3285 LANGUAGE=C
3286 export LANGUAGE
3287
3288 # CDPATH.
3289 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3290
3291
3292 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3293 # ----------------------------------------
3294 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3295 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3296 # script with STATUS, using 1 if that was 0.
3297 as_fn_error ()
3298 {
3299 as_status=$1; test $as_status -eq 0 && as_status=1
3300 if test "$4"; then
3301 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3302 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3303 fi
3304 $as_echo "$as_me: error: $2" >&2
3305 as_fn_exit $as_status
3306 } # as_fn_error
3307
3308
3309 # as_fn_set_status STATUS
3310 # -----------------------
3311 # Set $? to STATUS, without forking.
3312 as_fn_set_status ()
3313 {
3314 return $1
3315 } # as_fn_set_status
3316
3317 # as_fn_exit STATUS
3318 # -----------------
3319 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3320 as_fn_exit ()
3321 {
3322 set +e
3323 as_fn_set_status $1
3324 exit $1
3325 } # as_fn_exit
3326
3327 # as_fn_unset VAR
3328 # ---------------
3329 # Portably unset VAR.
3330 as_fn_unset ()
3331 {
3332 { eval $1=; unset $1;}
3333 }
3334 as_unset=as_fn_unset
3335 # as_fn_append VAR VALUE
3336 # ----------------------
3337 # Append the text in VALUE to the end of the definition contained in VAR. Take
3338 # advantage of any shell optimizations that allow amortized linear growth over
3339 # repeated appends, instead of the typical quadratic growth present in naive
3340 # implementations.
3341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3342 eval 'as_fn_append ()
3343 {
3344 eval $1+=\$2
3345 }'
3346 else
3347 as_fn_append ()
3348 {
3349 eval $1=\$$1\$2
3350 }
3351 fi # as_fn_append
3352
3353 # as_fn_arith ARG...
3354 # ------------------
3355 # Perform arithmetic evaluation on the ARGs, and store the result in the
3356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3357 # must be portable across $(()) and expr.
3358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3359 eval 'as_fn_arith ()
3360 {
3361 as_val=$(( $* ))
3362 }'
3363 else
3364 as_fn_arith ()
3365 {
3366 as_val=`expr "$@" || test $? -eq 1`
3367 }
3368 fi # as_fn_arith
3369
3370
3371 if expr a : '\(a\)' >/dev/null 2>&1 &&
3372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3373 as_expr=expr
3374 else
3375 as_expr=false
3376 fi
3377
3378 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3379 as_basename=basename
3380 else
3381 as_basename=false
3382 fi
3383
3384 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3385 as_dirname=dirname
3386 else
3387 as_dirname=false
3388 fi
3389
3390 as_me=`$as_basename -- "$0" ||
3391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3392 X"$0" : 'X\(//\)$' \| \
3393 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3394 $as_echo X/"$0" |
3395 sed '/^.*\/\([^/][^/]*\)\/*$/{
3396 s//\1/
3397 q
3398 }
3399 /^X\/\(\/\/\)$/{
3400 s//\1/
3401 q
3402 }
3403 /^X\/\(\/\).*/{
3404 s//\1/
3405 q
3406 }
3407 s/.*/./; q'`
3408
3409 # Avoid depending upon Character Ranges.
3410 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3411 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3412 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3413 as_cr_digits='0123456789'
3414 as_cr_alnum=$as_cr_Letters$as_cr_digits
3415
3416 ECHO_C= ECHO_N= ECHO_T=
3417 case `echo -n x` in #(((((
3418 -n*)
3419 case `echo 'xy\c'` in
3420 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3421 xy) ECHO_C='\c';;
3422 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3423 ECHO_T=' ';;
3424 esac;;
3425 *)
3426 ECHO_N='-n';;
3427 esac
3428
3429 rm -f conf$$ conf$$.exe conf$$.file
3430 if test -d conf$$.dir; then
3431 rm -f conf$$.dir/conf$$.file
3432 else
3433 rm -f conf$$.dir
3434 mkdir conf$$.dir 2>/dev/null
3435 fi
3436 if (echo >conf$$.file) 2>/dev/null; then
3437 if ln -s conf$$.file conf$$ 2>/dev/null; then
3438 as_ln_s='ln -s'
3439 # ... but there are two gotchas:
3440 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3441 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3442 # In both cases, we have to default to `cp -pR'.
3443 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3444 as_ln_s='cp -pR'
3445 elif ln conf$$.file conf$$ 2>/dev/null; then
3446 as_ln_s=ln
3447 else
3448 as_ln_s='cp -pR'
3449 fi
3450 else
3451 as_ln_s='cp -pR'
3452 fi
3453 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3454 rmdir conf$$.dir 2>/dev/null
3455
3456
3457 # as_fn_mkdir_p
3458 # -------------
3459 # Create "$as_dir" as a directory, including parents if necessary.
3460 as_fn_mkdir_p ()
3461 {
3462
3463 case $as_dir in #(
3464 -*) as_dir=./$as_dir;;
3465 esac
3466 test -d "$as_dir" || eval $as_mkdir_p || {
3467 as_dirs=
3468 while :; do
3469 case $as_dir in #(
3470 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3471 *) as_qdir=$as_dir;;
3472 esac
3473 as_dirs="'$as_qdir' $as_dirs"
3474 as_dir=`$as_dirname -- "$as_dir" ||
3475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3476 X"$as_dir" : 'X\(//\)[^/]' \| \
3477 X"$as_dir" : 'X\(//\)$' \| \
3478 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3479 $as_echo X"$as_dir" |
3480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3481 s//\1/
3482 q
3483 }
3484 /^X\(\/\/\)[^/].*/{
3485 s//\1/
3486 q
3487 }
3488 /^X\(\/\/\)$/{
3489 s//\1/
3490 q
3491 }
3492 /^X\(\/\).*/{
3493 s//\1/
3494 q
3495 }
3496 s/.*/./; q'`
3497 test -d "$as_dir" && break
3498 done
3499 test -z "$as_dirs" || eval "mkdir $as_dirs"
3500 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3501
3502
3503 } # as_fn_mkdir_p
3504 if mkdir -p . 2>/dev/null; then
3505 as_mkdir_p='mkdir -p "$as_dir"'
3506 else
3507 test -d ./-p && rmdir ./-p
3508 as_mkdir_p=false
3509 fi
3510
3511
3512 # as_fn_executable_p FILE
3513 # -----------------------
3514 # Test if FILE is an executable regular file.
3515 as_fn_executable_p ()
3516 {
3517 test -f "$1" && test -x "$1"
3518 } # as_fn_executable_p
3519 as_test_x='test -x'
3520 as_executable_p=as_fn_executable_p
3521
3522 # Sed expression to map a string onto a valid CPP name.
3523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3524
3525 # Sed expression to map a string onto a valid variable name.
3526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3527
3528
3529 exec 6>&1
3530 ## ----------------------------------- ##
3531 ## Main body of $CONFIG_STATUS script. ##
3532 ## ----------------------------------- ##
3533 _ASEOF
3534 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3535
3536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3537 # Save the log message, to keep $0 and so on meaningful, and to
3538 # report actual input values of CONFIG_FILES etc. instead of their
3539 # values after options handling.
3540 ac_log="
3541 This file was extended by Cygwin Documentation $as_me 0, which was
3542 generated by GNU Autoconf 2.69. Invocation command line was
3543
3544 CONFIG_FILES = $CONFIG_FILES
3545 CONFIG_HEADERS = $CONFIG_HEADERS
3546 CONFIG_LINKS = $CONFIG_LINKS
3547 CONFIG_COMMANDS = $CONFIG_COMMANDS
3548 $ $0 $@
3549
3550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3551 "
3552
3553 _ACEOF
3554
3555 case $ac_config_files in *"
3556 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3557 esac
3558
3559
3560
3561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3562 # Files that config.status was made for.
3563 config_files="$ac_config_files"
3564
3565 _ACEOF
3566
3567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3568 ac_cs_usage="\
3569 \`$as_me' instantiates files and other configuration actions
3570 from templates according to the current configuration. Unless the files
3571 and actions are specified as TAGs, all are instantiated by default.
3572
3573 Usage: $0 [OPTION]... [TAG]...
3574
3575 -h, --help print this help, then exit
3576 -V, --version print version number and configuration settings, then exit
3577 --config print configuration, then exit
3578 -q, --quiet, --silent
3579 do not print progress messages
3580 -d, --debug don't remove temporary files
3581 --recheck update $as_me by reconfiguring in the same conditions
3582 --file=FILE[:TEMPLATE]
3583 instantiate the configuration file FILE
3584
3585 Configuration files:
3586 $config_files
3587
3588 Report bugs to <cygwin@cygwin.com>.
3589 Cygwin Documentation home page: <https://cygwin.com>."
3590
3591 _ACEOF
3592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3593 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3594 ac_cs_version="\\
3595 Cygwin Documentation config.status 0
3596 configured by $0, generated by GNU Autoconf 2.69,
3597 with options \\"\$ac_cs_config\\"
3598
3599 Copyright (C) 2012 Free Software Foundation, Inc.
3600 This config.status script is free software; the Free Software Foundation
3601 gives unlimited permission to copy, distribute and modify it."
3602
3603 ac_pwd='$ac_pwd'
3604 srcdir='$srcdir'
3605 INSTALL='$INSTALL'
3606 test -n "\$AWK" || AWK=awk
3607 _ACEOF
3608
3609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3610 # The default lists apply if the user does not specify any file.
3611 ac_need_defaults=:
3612 while test $# != 0
3613 do
3614 case $1 in
3615 --*=?*)
3616 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3617 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3618 ac_shift=:
3619 ;;
3620 --*=)
3621 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3622 ac_optarg=
3623 ac_shift=:
3624 ;;
3625 *)
3626 ac_option=$1
3627 ac_optarg=$2
3628 ac_shift=shift
3629 ;;
3630 esac
3631
3632 case $ac_option in
3633 # Handling of the options.
3634 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3635 ac_cs_recheck=: ;;
3636 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3637 $as_echo "$ac_cs_version"; exit ;;
3638 --config | --confi | --conf | --con | --co | --c )
3639 $as_echo "$ac_cs_config"; exit ;;
3640 --debug | --debu | --deb | --de | --d | -d )
3641 debug=: ;;
3642 --file | --fil | --fi | --f )
3643 $ac_shift
3644 case $ac_optarg in
3645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3646 '') as_fn_error $? "missing file argument" ;;
3647 esac
3648 as_fn_append CONFIG_FILES " '$ac_optarg'"
3649 ac_need_defaults=false;;
3650 --he | --h | --help | --hel | -h )
3651 $as_echo "$ac_cs_usage"; exit ;;
3652 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3653 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3654 ac_cs_silent=: ;;
3655
3656 # This is an error.
3657 -*) as_fn_error $? "unrecognized option: \`$1'
3658 Try \`$0 --help' for more information." ;;
3659
3660 *) as_fn_append ac_config_targets " $1"
3661 ac_need_defaults=false ;;
3662
3663 esac
3664 shift
3665 done
3666
3667 ac_configure_extra_args=
3668
3669 if $ac_cs_silent; then
3670 exec 6>/dev/null
3671 ac_configure_extra_args="$ac_configure_extra_args --silent"
3672 fi
3673
3674 _ACEOF
3675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3676 if \$ac_cs_recheck; then
3677 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3678 shift
3679 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3680 CONFIG_SHELL='$SHELL'
3681 export CONFIG_SHELL
3682 exec "\$@"
3683 fi
3684
3685 _ACEOF
3686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3687 exec 5>>config.log
3688 {
3689 echo
3690 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3691 ## Running $as_me. ##
3692 _ASBOX
3693 $as_echo "$ac_log"
3694 } >&5
3695
3696 _ACEOF
3697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3698 _ACEOF
3699
3700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3701
3702 # Handling of arguments.
3703 for ac_config_target in $ac_config_targets
3704 do
3705 case $ac_config_target in
3706 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3707
3708 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3709 esac
3710 done
3711
3712
3713 # If the user did not use the arguments to specify the items to instantiate,
3714 # then the envvar interface is used. Set only those that are not.
3715 # We use the long form for the default assignment because of an extremely
3716 # bizarre bug on SunOS 4.1.3.
3717 if $ac_need_defaults; then
3718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3719 fi
3720
3721 # Have a temporary directory for convenience. Make it in the build tree
3722 # simply because there is no reason against having it here, and in addition,
3723 # creating and moving files from /tmp can sometimes cause problems.
3724 # Hook for its removal unless debugging.
3725 # Note that there is a small window in which the directory will not be cleaned:
3726 # after its creation but before its name has been assigned to `$tmp'.
3727 $debug ||
3728 {
3729 tmp= ac_tmp=
3730 trap 'exit_status=$?
3731 : "${ac_tmp:=$tmp}"
3732 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3733 ' 0
3734 trap 'as_fn_exit 1' 1 2 13 15
3735 }
3736 # Create a (secure) tmp directory for tmp files.
3737
3738 {
3739 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3740 test -d "$tmp"
3741 } ||
3742 {
3743 tmp=./conf$$-$RANDOM
3744 (umask 077 && mkdir "$tmp")
3745 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3746 ac_tmp=$tmp
3747
3748 # Set up the scripts for CONFIG_FILES section.
3749 # No need to generate them if there are no CONFIG_FILES.
3750 # This happens for instance with `./config.status config.h'.
3751 if test -n "$CONFIG_FILES"; then
3752
3753
3754 ac_cr=`echo X | tr X '\015'`
3755 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3756 # But we know of no other shell where ac_cr would be empty at this
3757 # point, so we can use a bashism as a fallback.
3758 if test "x$ac_cr" = x; then
3759 eval ac_cr=\$\'\\r\'
3760 fi
3761 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3762 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3763 ac_cs_awk_cr='\\r'
3764 else
3765 ac_cs_awk_cr=$ac_cr
3766 fi
3767
3768 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3769 _ACEOF
3770
3771
3772 {
3773 echo "cat >conf$$subs.awk <<_ACEOF" &&
3774 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3775 echo "_ACEOF"
3776 } >conf$$subs.sh ||
3777 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3778 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3779 ac_delim='%!_!# '
3780 for ac_last_try in false false false false false :; do
3781 . ./conf$$subs.sh ||
3782 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3783
3784 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3785 if test $ac_delim_n = $ac_delim_num; then
3786 break
3787 elif $ac_last_try; then
3788 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3789 else
3790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3791 fi
3792 done
3793 rm -f conf$$subs.sh
3794
3795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3796 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3797 _ACEOF
3798 sed -n '
3799 h
3800 s/^/S["/; s/!.*/"]=/
3801 p
3802 g
3803 s/^[^!]*!//
3804 :repl
3805 t repl
3806 s/'"$ac_delim"'$//
3807 t delim
3808 :nl
3809 h
3810 s/\(.\{148\}\)..*/\1/
3811 t more1
3812 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3813 p
3814 n
3815 b repl
3816 :more1
3817 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3818 p
3819 g
3820 s/.\{148\}//
3821 t nl
3822 :delim
3823 h
3824 s/\(.\{148\}\)..*/\1/
3825 t more2
3826 s/["\\]/\\&/g; s/^/"/; s/$/"/
3827 p
3828 b
3829 :more2
3830 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3831 p
3832 g
3833 s/.\{148\}//
3834 t delim
3835 ' <conf$$subs.awk | sed '
3836 /^[^""]/{
3837 N
3838 s/\n//
3839 }
3840 ' >>$CONFIG_STATUS || ac_write_fail=1
3841 rm -f conf$$subs.awk
3842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3843 _ACAWK
3844 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3845 for (key in S) S_is_set[key] = 1
3846 FS = "\a"
3847
3848 }
3849 {
3850 line = $ 0
3851 nfields = split(line, field, "@")
3852 substed = 0
3853 len = length(field[1])
3854 for (i = 2; i < nfields; i++) {
3855 key = field[i]
3856 keylen = length(key)
3857 if (S_is_set[key]) {
3858 value = S[key]
3859 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3860 len += length(value) + length(field[++i])
3861 substed = 1
3862 } else
3863 len += 1 + keylen
3864 }
3865
3866 print line
3867 }
3868
3869 _ACAWK
3870 _ACEOF
3871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3872 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3873 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3874 else
3875 cat
3876 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3877 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3878 _ACEOF
3879
3880 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3881 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3882 # trailing colons and then remove the whole line if VPATH becomes empty
3883 # (actually we leave an empty line to preserve line numbers).
3884 if test "x$srcdir" = x.; then
3885 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3886 h
3887 s///
3888 s/^/:/
3889 s/[ ]*$/:/
3890 s/:\$(srcdir):/:/g
3891 s/:\${srcdir}:/:/g
3892 s/:@srcdir@:/:/g
3893 s/^:*//
3894 s/:*$//
3895 x
3896 s/\(=[ ]*\).*/\1/
3897 G
3898 s/\n//
3899 s/^[^=]*=[ ]*$//
3900 }'
3901 fi
3902
3903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3904 fi # test -n "$CONFIG_FILES"
3905
3906
3907 eval set X " :F $CONFIG_FILES "
3908 shift
3909 for ac_tag
3910 do
3911 case $ac_tag in
3912 :[FHLC]) ac_mode=$ac_tag; continue;;
3913 esac
3914 case $ac_mode$ac_tag in
3915 :[FHL]*:*);;
3916 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3917 :[FH]-) ac_tag=-:-;;
3918 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3919 esac
3920 ac_save_IFS=$IFS
3921 IFS=:
3922 set x $ac_tag
3923 IFS=$ac_save_IFS
3924 shift
3925 ac_file=$1
3926 shift
3927
3928 case $ac_mode in
3929 :L) ac_source=$1;;
3930 :[FH])
3931 ac_file_inputs=
3932 for ac_f
3933 do
3934 case $ac_f in
3935 -) ac_f="$ac_tmp/stdin";;
3936 *) # Look for the file first in the build tree, then in the source tree
3937 # (if the path is not absolute). The absolute path cannot be DOS-style,
3938 # because $ac_f cannot contain `:'.
3939 test -f "$ac_f" ||
3940 case $ac_f in
3941 [\\/$]*) false;;
3942 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3943 esac ||
3944 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3945 esac
3946 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3947 as_fn_append ac_file_inputs " '$ac_f'"
3948 done
3949
3950 # Let's still pretend it is `configure' which instantiates (i.e., don't
3951 # use $as_me), people would be surprised to read:
3952 # /* config.h. Generated by config.status. */
3953 configure_input='Generated from '`
3954 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3955 `' by configure.'
3956 if test x"$ac_file" != x-; then
3957 configure_input="$ac_file. $configure_input"
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3959 $as_echo "$as_me: creating $ac_file" >&6;}
3960 fi
3961 # Neutralize special characters interpreted by sed in replacement strings.
3962 case $configure_input in #(
3963 *\&* | *\|* | *\\* )
3964 ac_sed_conf_input=`$as_echo "$configure_input" |
3965 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3966 *) ac_sed_conf_input=$configure_input;;
3967 esac
3968
3969 case $ac_tag in
3970 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3971 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3972 esac
3973 ;;
3974 esac
3975
3976 ac_dir=`$as_dirname -- "$ac_file" ||
3977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3978 X"$ac_file" : 'X\(//\)[^/]' \| \
3979 X"$ac_file" : 'X\(//\)$' \| \
3980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3981 $as_echo X"$ac_file" |
3982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3983 s//\1/
3984 q
3985 }
3986 /^X\(\/\/\)[^/].*/{
3987 s//\1/
3988 q
3989 }
3990 /^X\(\/\/\)$/{
3991 s//\1/
3992 q
3993 }
3994 /^X\(\/\).*/{
3995 s//\1/
3996 q
3997 }
3998 s/.*/./; q'`
3999 as_dir="$ac_dir"; as_fn_mkdir_p
4000 ac_builddir=.
4001
4002 case "$ac_dir" in
4003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4004 *)
4005 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4006 # A ".." for each directory in $ac_dir_suffix.
4007 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4008 case $ac_top_builddir_sub in
4009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4011 esac ;;
4012 esac
4013 ac_abs_top_builddir=$ac_pwd
4014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4015 # for backward compatibility:
4016 ac_top_builddir=$ac_top_build_prefix
4017
4018 case $srcdir in
4019 .) # We are building in place.
4020 ac_srcdir=.
4021 ac_top_srcdir=$ac_top_builddir_sub
4022 ac_abs_top_srcdir=$ac_pwd ;;
4023 [\\/]* | ?:[\\/]* ) # Absolute name.
4024 ac_srcdir=$srcdir$ac_dir_suffix;
4025 ac_top_srcdir=$srcdir
4026 ac_abs_top_srcdir=$srcdir ;;
4027 *) # Relative name.
4028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4029 ac_top_srcdir=$ac_top_build_prefix$srcdir
4030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4031 esac
4032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4033
4034
4035 case $ac_mode in
4036 :F)
4037 #
4038 # CONFIG_FILE
4039 #
4040
4041 case $INSTALL in
4042 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4043 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4044 esac
4045 _ACEOF
4046
4047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4048 # If the template does not know about datarootdir, expand it.
4049 # FIXME: This hack should be removed a few years after 2.60.
4050 ac_datarootdir_hack=; ac_datarootdir_seen=
4051 ac_sed_dataroot='
4052 /datarootdir/ {
4053 p
4054 q
4055 }
4056 /@datadir@/p
4057 /@docdir@/p
4058 /@infodir@/p
4059 /@localedir@/p
4060 /@mandir@/p'
4061 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4062 *datarootdir*) ac_datarootdir_seen=yes;;
4063 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4065 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4066 _ACEOF
4067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4068 ac_datarootdir_hack='
4069 s&@datadir@&$datadir&g
4070 s&@docdir@&$docdir&g
4071 s&@infodir@&$infodir&g
4072 s&@localedir@&$localedir&g
4073 s&@mandir@&$mandir&g
4074 s&\\\${datarootdir}&$datarootdir&g' ;;
4075 esac
4076 _ACEOF
4077
4078 # Neutralize VPATH when `$srcdir' = `.'.
4079 # Shell code in configure.ac might set extrasub.
4080 # FIXME: do we really want to maintain this feature?
4081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4082 ac_sed_extra="$ac_vpsub
4083 $extrasub
4084 _ACEOF
4085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4086 :t
4087 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4088 s|@configure_input@|$ac_sed_conf_input|;t t
4089 s&@top_builddir@&$ac_top_builddir_sub&;t t
4090 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4091 s&@srcdir@&$ac_srcdir&;t t
4092 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4093 s&@top_srcdir@&$ac_top_srcdir&;t t
4094 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4095 s&@builddir@&$ac_builddir&;t t
4096 s&@abs_builddir@&$ac_abs_builddir&;t t
4097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4098 s&@INSTALL@&$ac_INSTALL&;t t
4099 $ac_datarootdir_hack
4100 "
4101 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4102 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4103
4104 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4105 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4106 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4107 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4109 which seems to be undefined. Please make sure it is defined" >&5
4110 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4111 which seems to be undefined. Please make sure it is defined" >&2;}
4112
4113 rm -f "$ac_tmp/stdin"
4114 case $ac_file in
4115 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4116 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4117 esac \
4118 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4119 ;;
4120
4121
4122
4123 esac
4124
4125 done # for ac_tag
4126
4127
4128 as_fn_exit 0
4129 _ACEOF
4130 ac_clean_files=$ac_clean_files_save
4131
4132 test $ac_write_fail = 0 ||
4133 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4134
4135
4136 # configure is writing to config.log, and then calls config.status.
4137 # config.status does its own redirection, appending to config.log.
4138 # Unfortunately, on DOS this fails, as config.log is still kept open
4139 # by configure, so config.status won't be able to write to it; its
4140 # output is simply discarded. So we exec the FD to /dev/null,
4141 # effectively closing config.log, so it can be properly (re)opened and
4142 # appended to by config.status. When coming back to configure, we
4143 # need to make the FD available again.
4144 if test "$no_create" != yes; then
4145 ac_cs_success=:
4146 ac_config_status_args=
4147 test "$silent" = yes &&
4148 ac_config_status_args="$ac_config_status_args --quiet"
4149 exec 5>/dev/null
4150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4151 exec 5>>config.log
4152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4153 # would make configure fail if this is the last instruction.
4154 $ac_cs_success || as_fn_exit 1
4155 fi
4156 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4158 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4159 fi
4160
This page took 0.257443 seconds and 4 git commands to generate.