166b3a080e25fc28532d0ca767cf5f9e09b5520e
[platform/upstream/mtools.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # 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 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
556
557 ac_unique_file="buffer.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 #  include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 #  include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 HOST_ID
597 SHLIB
598 MACHDEPLIBS
599 extralibdir
600 extraincludedir
601 BINFLOPPYD
602 FLOPPYD
603 X_EXTRA_LIBS
604 X_LIBS
605 X_PRE_LIBS
606 X_CFLAGS
607 XMKMF
608 target_os
609 target_vendor
610 target_cpu
611 target
612 host_os
613 host_vendor
614 host_cpu
615 host
616 build_os
617 build_vendor
618 build_cpu
619 build
620 INSTALL_INFO
621 LN_S
622 INSTALL_DATA
623 INSTALL_SCRIPT
624 INSTALL_PROGRAM
625 EGREP
626 GREP
627 CPP
628 OBJEXT
629 EXEEXT
630 ac_ct_CC
631 CPPFLAGS
632 LDFLAGS
633 CFLAGS
634 CC
635 target_alias
636 host_alias
637 build_alias
638 LIBS
639 ECHO_T
640 ECHO_N
641 ECHO_C
642 DEFS
643 mandir
644 localedir
645 libdir
646 psdir
647 pdfdir
648 dvidir
649 htmldir
650 infodir
651 docdir
652 oldincludedir
653 includedir
654 localstatedir
655 sharedstatedir
656 sysconfdir
657 datadir
658 datarootdir
659 libexecdir
660 sbindir
661 bindir
662 program_transform_name
663 prefix
664 exec_prefix
665 PACKAGE_URL
666 PACKAGE_BUGREPORT
667 PACKAGE_STRING
668 PACKAGE_VERSION
669 PACKAGE_TARNAME
670 PACKAGE_NAME
671 PATH_SEPARATOR
672 SHELL'
673 ac_subst_files=''
674 ac_user_opts='
675 enable_option_checking
676 enable_xdf
677 enable_vold
678 enable_new_vold
679 enable_debug
680 enable_raw_term
681 with_x
682 enable_floppyd
683 '
684       ac_precious_vars='build_alias
685 host_alias
686 target_alias
687 CC
688 CFLAGS
689 LDFLAGS
690 LIBS
691 CPPFLAGS
692 CPP
693 XMKMF'
694
695
696 # Initialize some variables set by options.
697 ac_init_help=
698 ac_init_version=false
699 ac_unrecognized_opts=
700 ac_unrecognized_sep=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
703 cache_file=/dev/null
704 exec_prefix=NONE
705 no_create=
706 no_recursion=
707 prefix=NONE
708 program_prefix=NONE
709 program_suffix=NONE
710 program_transform_name=s,x,x,
711 silent=
712 site=
713 srcdir=
714 verbose=
715 x_includes=NONE
716 x_libraries=NONE
717
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir='${exec_prefix}/bin'
725 sbindir='${exec_prefix}/sbin'
726 libexecdir='${exec_prefix}/libexec'
727 datarootdir='${prefix}/share'
728 datadir='${datarootdir}'
729 sysconfdir='${prefix}/etc'
730 sharedstatedir='${prefix}/com'
731 localstatedir='${prefix}/var'
732 includedir='${prefix}/include'
733 oldincludedir='/usr/include'
734 docdir='${datarootdir}/doc/${PACKAGE}'
735 infodir='${datarootdir}/info'
736 htmldir='${docdir}'
737 dvidir='${docdir}'
738 pdfdir='${docdir}'
739 psdir='${docdir}'
740 libdir='${exec_prefix}/lib'
741 localedir='${datarootdir}/locale'
742 mandir='${datarootdir}/man'
743
744 ac_prev=
745 ac_dashdash=
746 for ac_option
747 do
748   # If the previous option needs an argument, assign it.
749   if test -n "$ac_prev"; then
750     eval $ac_prev=\$ac_option
751     ac_prev=
752     continue
753   fi
754
755   case $ac_option in
756   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757   *)    ac_optarg=yes ;;
758   esac
759
760   # Accept the important Cygnus configure options, so we can diagnose typos.
761
762   case $ac_dashdash$ac_option in
763   --)
764     ac_dashdash=yes ;;
765
766   -bindir | --bindir | --bindi | --bind | --bin | --bi)
767     ac_prev=bindir ;;
768   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769     bindir=$ac_optarg ;;
770
771   -build | --build | --buil | --bui | --bu)
772     ac_prev=build_alias ;;
773   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774     build_alias=$ac_optarg ;;
775
776   -cache-file | --cache-file | --cache-fil | --cache-fi \
777   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778     ac_prev=cache_file ;;
779   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781     cache_file=$ac_optarg ;;
782
783   --config-cache | -C)
784     cache_file=config.cache ;;
785
786   -datadir | --datadir | --datadi | --datad)
787     ac_prev=datadir ;;
788   -datadir=* | --datadir=* | --datadi=* | --datad=*)
789     datadir=$ac_optarg ;;
790
791   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792   | --dataroo | --dataro | --datar)
793     ac_prev=datarootdir ;;
794   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796     datarootdir=$ac_optarg ;;
797
798   -disable-* | --disable-*)
799     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800     # Reject names that are not valid shell variable names.
801     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802       as_fn_error "invalid feature name: $ac_useropt"
803     ac_useropt_orig=$ac_useropt
804     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805     case $ac_user_opts in
806       *"
807 "enable_$ac_useropt"
808 "*) ;;
809       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
810          ac_unrecognized_sep=', ';;
811     esac
812     eval enable_$ac_useropt=no ;;
813
814   -docdir | --docdir | --docdi | --doc | --do)
815     ac_prev=docdir ;;
816   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
817     docdir=$ac_optarg ;;
818
819   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
820     ac_prev=dvidir ;;
821   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
822     dvidir=$ac_optarg ;;
823
824   -enable-* | --enable-*)
825     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826     # Reject names that are not valid shell variable names.
827     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828       as_fn_error "invalid feature name: $ac_useropt"
829     ac_useropt_orig=$ac_useropt
830     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831     case $ac_user_opts in
832       *"
833 "enable_$ac_useropt"
834 "*) ;;
835       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
836          ac_unrecognized_sep=', ';;
837     esac
838     eval enable_$ac_useropt=\$ac_optarg ;;
839
840   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842   | --exec | --exe | --ex)
843     ac_prev=exec_prefix ;;
844   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846   | --exec=* | --exe=* | --ex=*)
847     exec_prefix=$ac_optarg ;;
848
849   -gas | --gas | --ga | --g)
850     # Obsolete; use --with-gas.
851     with_gas=yes ;;
852
853   -help | --help | --hel | --he | -h)
854     ac_init_help=long ;;
855   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856     ac_init_help=recursive ;;
857   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858     ac_init_help=short ;;
859
860   -host | --host | --hos | --ho)
861     ac_prev=host_alias ;;
862   -host=* | --host=* | --hos=* | --ho=*)
863     host_alias=$ac_optarg ;;
864
865   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866     ac_prev=htmldir ;;
867   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868   | --ht=*)
869     htmldir=$ac_optarg ;;
870
871   -includedir | --includedir | --includedi | --included | --include \
872   | --includ | --inclu | --incl | --inc)
873     ac_prev=includedir ;;
874   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875   | --includ=* | --inclu=* | --incl=* | --inc=*)
876     includedir=$ac_optarg ;;
877
878   -infodir | --infodir | --infodi | --infod | --info | --inf)
879     ac_prev=infodir ;;
880   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881     infodir=$ac_optarg ;;
882
883   -libdir | --libdir | --libdi | --libd)
884     ac_prev=libdir ;;
885   -libdir=* | --libdir=* | --libdi=* | --libd=*)
886     libdir=$ac_optarg ;;
887
888   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889   | --libexe | --libex | --libe)
890     ac_prev=libexecdir ;;
891   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892   | --libexe=* | --libex=* | --libe=*)
893     libexecdir=$ac_optarg ;;
894
895   -localedir | --localedir | --localedi | --localed | --locale)
896     ac_prev=localedir ;;
897   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898     localedir=$ac_optarg ;;
899
900   -localstatedir | --localstatedir | --localstatedi | --localstated \
901   | --localstate | --localstat | --localsta | --localst | --locals)
902     ac_prev=localstatedir ;;
903   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905     localstatedir=$ac_optarg ;;
906
907   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908     ac_prev=mandir ;;
909   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910     mandir=$ac_optarg ;;
911
912   -nfp | --nfp | --nf)
913     # Obsolete; use --without-fp.
914     with_fp=no ;;
915
916   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917   | --no-cr | --no-c | -n)
918     no_create=yes ;;
919
920   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922     no_recursion=yes ;;
923
924   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926   | --oldin | --oldi | --old | --ol | --o)
927     ac_prev=oldincludedir ;;
928   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931     oldincludedir=$ac_optarg ;;
932
933   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934     ac_prev=prefix ;;
935   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936     prefix=$ac_optarg ;;
937
938   -program-prefix | --program-prefix | --program-prefi | --program-pref \
939   | --program-pre | --program-pr | --program-p)
940     ac_prev=program_prefix ;;
941   -program-prefix=* | --program-prefix=* | --program-prefi=* \
942   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943     program_prefix=$ac_optarg ;;
944
945   -program-suffix | --program-suffix | --program-suffi | --program-suff \
946   | --program-suf | --program-su | --program-s)
947     ac_prev=program_suffix ;;
948   -program-suffix=* | --program-suffix=* | --program-suffi=* \
949   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950     program_suffix=$ac_optarg ;;
951
952   -program-transform-name | --program-transform-name \
953   | --program-transform-nam | --program-transform-na \
954   | --program-transform-n | --program-transform- \
955   | --program-transform | --program-transfor \
956   | --program-transfo | --program-transf \
957   | --program-trans | --program-tran \
958   | --progr-tra | --program-tr | --program-t)
959     ac_prev=program_transform_name ;;
960   -program-transform-name=* | --program-transform-name=* \
961   | --program-transform-nam=* | --program-transform-na=* \
962   | --program-transform-n=* | --program-transform-=* \
963   | --program-transform=* | --program-transfor=* \
964   | --program-transfo=* | --program-transf=* \
965   | --program-trans=* | --program-tran=* \
966   | --progr-tra=* | --program-tr=* | --program-t=*)
967     program_transform_name=$ac_optarg ;;
968
969   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970     ac_prev=pdfdir ;;
971   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972     pdfdir=$ac_optarg ;;
973
974   -psdir | --psdir | --psdi | --psd | --ps)
975     ac_prev=psdir ;;
976   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977     psdir=$ac_optarg ;;
978
979   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980   | -silent | --silent | --silen | --sile | --sil)
981     silent=yes ;;
982
983   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984     ac_prev=sbindir ;;
985   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986   | --sbi=* | --sb=*)
987     sbindir=$ac_optarg ;;
988
989   -sharedstatedir | --sharedstatedir | --sharedstatedi \
990   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991   | --sharedst | --shareds | --shared | --share | --shar \
992   | --sha | --sh)
993     ac_prev=sharedstatedir ;;
994   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997   | --sha=* | --sh=*)
998     sharedstatedir=$ac_optarg ;;
999
1000   -site | --site | --sit)
1001     ac_prev=site ;;
1002   -site=* | --site=* | --sit=*)
1003     site=$ac_optarg ;;
1004
1005   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006     ac_prev=srcdir ;;
1007   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008     srcdir=$ac_optarg ;;
1009
1010   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011   | --syscon | --sysco | --sysc | --sys | --sy)
1012     ac_prev=sysconfdir ;;
1013   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015     sysconfdir=$ac_optarg ;;
1016
1017   -target | --target | --targe | --targ | --tar | --ta | --t)
1018     ac_prev=target_alias ;;
1019   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020     target_alias=$ac_optarg ;;
1021
1022   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023     verbose=yes ;;
1024
1025   -version | --version | --versio | --versi | --vers | -V)
1026     ac_init_version=: ;;
1027
1028   -with-* | --with-*)
1029     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030     # Reject names that are not valid shell variable names.
1031     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032       as_fn_error "invalid package name: $ac_useropt"
1033     ac_useropt_orig=$ac_useropt
1034     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035     case $ac_user_opts in
1036       *"
1037 "with_$ac_useropt"
1038 "*) ;;
1039       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040          ac_unrecognized_sep=', ';;
1041     esac
1042     eval with_$ac_useropt=\$ac_optarg ;;
1043
1044   -without-* | --without-*)
1045     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046     # Reject names that are not valid shell variable names.
1047     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048       as_fn_error "invalid package name: $ac_useropt"
1049     ac_useropt_orig=$ac_useropt
1050     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051     case $ac_user_opts in
1052       *"
1053 "with_$ac_useropt"
1054 "*) ;;
1055       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056          ac_unrecognized_sep=', ';;
1057     esac
1058     eval with_$ac_useropt=no ;;
1059
1060   --x)
1061     # Obsolete; use --with-x.
1062     with_x=yes ;;
1063
1064   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065   | --x-incl | --x-inc | --x-in | --x-i)
1066     ac_prev=x_includes ;;
1067   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069     x_includes=$ac_optarg ;;
1070
1071   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073     ac_prev=x_libraries ;;
1074   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076     x_libraries=$ac_optarg ;;
1077
1078   -*) as_fn_error "unrecognized option: \`$ac_option'
1079 Try \`$0 --help' for more information."
1080     ;;
1081
1082   *=*)
1083     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084     # Reject names that are not valid shell variable names.
1085     case $ac_envvar in #(
1086       '' | [0-9]* | *[!_$as_cr_alnum]* )
1087       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1088     esac
1089     eval $ac_envvar=\$ac_optarg
1090     export $ac_envvar ;;
1091
1092   *)
1093     # FIXME: should be removed in autoconf 3.0.
1094     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098     ;;
1099
1100   esac
1101 done
1102
1103 if test -n "$ac_prev"; then
1104   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105   as_fn_error "missing argument to $ac_option"
1106 fi
1107
1108 if test -n "$ac_unrecognized_opts"; then
1109   case $enable_option_checking in
1110     no) ;;
1111     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1112     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1113   esac
1114 fi
1115
1116 # Check all directory arguments for consistency.
1117 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118                 datadir sysconfdir sharedstatedir localstatedir includedir \
1119                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120                 libdir localedir mandir
1121 do
1122   eval ac_val=\$$ac_var
1123   # Remove trailing slashes.
1124   case $ac_val in
1125     */ )
1126       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1127       eval $ac_var=\$ac_val;;
1128   esac
1129   # Be sure to have absolute directory names.
1130   case $ac_val in
1131     [\\/$]* | ?:[\\/]* )  continue;;
1132     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133   esac
1134   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1135 done
1136
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1140 build=$build_alias
1141 host=$host_alias
1142 target=$target_alias
1143
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146   if test "x$build_alias" = x; then
1147     cross_compiling=maybe
1148     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1149     If a cross compiler is detected then cross compile mode will be used." >&2
1150   elif test "x$build_alias" != "x$host_alias"; then
1151     cross_compiling=yes
1152   fi
1153 fi
1154
1155 ac_tool_prefix=
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1157
1158 test "$silent" = yes && exec 6>/dev/null
1159
1160
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1162 ac_ls_di=`ls -di .` &&
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1164   as_fn_error "working directory cannot be determined"
1165 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1166   as_fn_error "pwd does not report name of working directory"
1167
1168
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171   ac_srcdir_defaulted=yes
1172   # Try the directory containing this script, then the parent directory.
1173   ac_confdir=`$as_dirname -- "$as_myself" ||
1174 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175          X"$as_myself" : 'X\(//\)[^/]' \| \
1176          X"$as_myself" : 'X\(//\)$' \| \
1177          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1178 $as_echo X"$as_myself" |
1179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1180             s//\1/
1181             q
1182           }
1183           /^X\(\/\/\)[^/].*/{
1184             s//\1/
1185             q
1186           }
1187           /^X\(\/\/\)$/{
1188             s//\1/
1189             q
1190           }
1191           /^X\(\/\).*/{
1192             s//\1/
1193             q
1194           }
1195           s/.*/./; q'`
1196   srcdir=$ac_confdir
1197   if test ! -r "$srcdir/$ac_unique_file"; then
1198     srcdir=..
1199   fi
1200 else
1201   ac_srcdir_defaulted=no
1202 fi
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1206 fi
1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208 ac_abs_confdir=`(
1209         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1210         pwd)`
1211 # When building in place, set srcdir=.
1212 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213   srcdir=.
1214 fi
1215 # Remove unnecessary trailing slashes from srcdir.
1216 # Double slashes in file names in object file debugging info
1217 # mess up M-x gdb in Emacs.
1218 case $srcdir in
1219 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1220 esac
1221 for ac_var in $ac_precious_vars; do
1222   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1223   eval ac_env_${ac_var}_value=\$${ac_var}
1224   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1225   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1226 done
1227
1228 #
1229 # Report the --help message.
1230 #
1231 if test "$ac_init_help" = "long"; then
1232   # Omit some internal or obsolete options to make the list less imposing.
1233   # This message is too long to be a string in the A/UX 3.1 sh.
1234   cat <<_ACEOF
1235 \`configure' configures this package to adapt to many kinds of systems.
1236
1237 Usage: $0 [OPTION]... [VAR=VALUE]...
1238
1239 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1240 VAR=VALUE.  See below for descriptions of some of the useful variables.
1241
1242 Defaults for the options are specified in brackets.
1243
1244 Configuration:
1245   -h, --help              display this help and exit
1246       --help=short        display options specific to this package
1247       --help=recursive    display the short help of all the included packages
1248   -V, --version           display version information and exit
1249   -q, --quiet, --silent   do not print \`checking...' messages
1250       --cache-file=FILE   cache test results in FILE [disabled]
1251   -C, --config-cache      alias for \`--cache-file=config.cache'
1252   -n, --no-create         do not create output files
1253       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1254
1255 Installation directories:
1256   --prefix=PREFIX         install architecture-independent files in PREFIX
1257                           [$ac_default_prefix]
1258   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1259                           [PREFIX]
1260
1261 By default, \`make install' will install all the files in
1262 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1263 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1264 for instance \`--prefix=\$HOME'.
1265
1266 For better control, use the options below.
1267
1268 Fine tuning of the installation directories:
1269   --bindir=DIR            user executables [EPREFIX/bin]
1270   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1271   --libexecdir=DIR        program executables [EPREFIX/libexec]
1272   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1273   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1274   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1275   --libdir=DIR            object code libraries [EPREFIX/lib]
1276   --includedir=DIR        C header files [PREFIX/include]
1277   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1278   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1279   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1280   --infodir=DIR           info documentation [DATAROOTDIR/info]
1281   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1282   --mandir=DIR            man documentation [DATAROOTDIR/man]
1283   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1284   --htmldir=DIR           html documentation [DOCDIR]
1285   --dvidir=DIR            dvi documentation [DOCDIR]
1286   --pdfdir=DIR            pdf documentation [DOCDIR]
1287   --psdir=DIR             ps documentation [DOCDIR]
1288 _ACEOF
1289
1290   cat <<\_ACEOF
1291
1292 X features:
1293   --x-includes=DIR    X include files are in DIR
1294   --x-libraries=DIR   X library files are in DIR
1295
1296 System types:
1297   --build=BUILD     configure for building on BUILD [guessed]
1298   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1299   --target=TARGET   configure for building compilers for TARGET [HOST]
1300 _ACEOF
1301 fi
1302
1303 if test -n "$ac_init_help"; then
1304
1305   cat <<\_ACEOF
1306
1307 Optional Features:
1308   --disable-option-checking  ignore unrecognized --enable/--with options
1309   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1310   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1311   --enable-xdf           support for OS/2 extended density format disks
1312   --enable-vold          compatibility with Solaris' vold
1313   --enable-new-vold          compatibility with Solaris' vold, new version
1314   --enable-debug         debuging messages
1315   --enable-raw-term      raw terminal (readkey behaviour, default)
1316   --enable-floppyd       floppy daemon support
1317
1318 Optional Packages:
1319   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1320   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1321   --with-x                use the X Window System
1322
1323 Some influential environment variables:
1324   CC          C compiler command
1325   CFLAGS      C compiler flags
1326   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1327               nonstandard directory <lib dir>
1328   LIBS        libraries to pass to the linker, e.g. -l<library>
1329   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1330               you have headers in a nonstandard directory <include dir>
1331   CPP         C preprocessor
1332   XMKMF       Path to xmkmf, Makefile generator for X Window System
1333
1334 Use these variables to override the choices made by `configure' or to help
1335 it to find libraries and programs with nonstandard names/locations.
1336
1337 Report bugs to the package provider.
1338 _ACEOF
1339 ac_status=$?
1340 fi
1341
1342 if test "$ac_init_help" = "recursive"; then
1343   # If there are subdirs, report their specific --help.
1344   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1345     test -d "$ac_dir" ||
1346       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1347       continue
1348     ac_builddir=.
1349
1350 case "$ac_dir" in
1351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *)
1353   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1354   # A ".." for each directory in $ac_dir_suffix.
1355   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1356   case $ac_top_builddir_sub in
1357   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1359   esac ;;
1360 esac
1361 ac_abs_top_builddir=$ac_pwd
1362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363 # for backward compatibility:
1364 ac_top_builddir=$ac_top_build_prefix
1365
1366 case $srcdir in
1367   .)  # We are building in place.
1368     ac_srcdir=.
1369     ac_top_srcdir=$ac_top_builddir_sub
1370     ac_abs_top_srcdir=$ac_pwd ;;
1371   [\\/]* | ?:[\\/]* )  # Absolute name.
1372     ac_srcdir=$srcdir$ac_dir_suffix;
1373     ac_top_srcdir=$srcdir
1374     ac_abs_top_srcdir=$srcdir ;;
1375   *) # Relative name.
1376     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1377     ac_top_srcdir=$ac_top_build_prefix$srcdir
1378     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1379 esac
1380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381
1382     cd "$ac_dir" || { ac_status=$?; continue; }
1383     # Check for guested configure.
1384     if test -f "$ac_srcdir/configure.gnu"; then
1385       echo &&
1386       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1387     elif test -f "$ac_srcdir/configure"; then
1388       echo &&
1389       $SHELL "$ac_srcdir/configure" --help=recursive
1390     else
1391       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392     fi || ac_status=$?
1393     cd "$ac_pwd" || { ac_status=$?; break; }
1394   done
1395 fi
1396
1397 test -n "$ac_init_help" && exit $ac_status
1398 if $ac_init_version; then
1399   cat <<\_ACEOF
1400 configure
1401 generated by GNU Autoconf 2.65
1402
1403 Copyright (C) 2009 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it.
1406 _ACEOF
1407   exit
1408 fi
1409
1410 ## ------------------------ ##
1411 ## Autoconf initialization. ##
1412 ## ------------------------ ##
1413
1414 # ac_fn_c_try_compile LINENO
1415 # --------------------------
1416 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1417 ac_fn_c_try_compile ()
1418 {
1419   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1420   rm -f conftest.$ac_objext
1421   if { { ac_try="$ac_compile"
1422 case "(($ac_try" in
1423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1424   *) ac_try_echo=$ac_try;;
1425 esac
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1427 $as_echo "$ac_try_echo"; } >&5
1428   (eval "$ac_compile") 2>conftest.err
1429   ac_status=$?
1430   if test -s conftest.err; then
1431     grep -v '^ *+' conftest.err >conftest.er1
1432     cat conftest.er1 >&5
1433     mv -f conftest.er1 conftest.err
1434   fi
1435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1436   test $ac_status = 0; } && {
1437          test -z "$ac_c_werror_flag" ||
1438          test ! -s conftest.err
1439        } && test -s conftest.$ac_objext; then :
1440   ac_retval=0
1441 else
1442   $as_echo "$as_me: failed program was:" >&5
1443 sed 's/^/| /' conftest.$ac_ext >&5
1444
1445         ac_retval=1
1446 fi
1447   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1448   as_fn_set_status $ac_retval
1449
1450 } # ac_fn_c_try_compile
1451
1452 # ac_fn_c_try_cpp LINENO
1453 # ----------------------
1454 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1455 ac_fn_c_try_cpp ()
1456 {
1457   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1458   if { { ac_try="$ac_cpp conftest.$ac_ext"
1459 case "(($ac_try" in
1460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461   *) ac_try_echo=$ac_try;;
1462 esac
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1466   ac_status=$?
1467   if test -s conftest.err; then
1468     grep -v '^ *+' conftest.err >conftest.er1
1469     cat conftest.er1 >&5
1470     mv -f conftest.er1 conftest.err
1471   fi
1472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473   test $ac_status = 0; } >/dev/null && {
1474          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1475          test ! -s conftest.err
1476        }; then :
1477   ac_retval=0
1478 else
1479   $as_echo "$as_me: failed program was:" >&5
1480 sed 's/^/| /' conftest.$ac_ext >&5
1481
1482     ac_retval=1
1483 fi
1484   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1485   as_fn_set_status $ac_retval
1486
1487 } # ac_fn_c_try_cpp
1488
1489 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1490 # -------------------------------------------------------
1491 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1492 # the include files in INCLUDES and setting the cache variable VAR
1493 # accordingly.
1494 ac_fn_c_check_header_mongrel ()
1495 {
1496   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1499 $as_echo_n "checking for $2... " >&6; }
1500 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1501   $as_echo_n "(cached) " >&6
1502 fi
1503 eval ac_res=\$$3
1504                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1505 $as_echo "$ac_res" >&6; }
1506 else
1507   # Is the header compilable?
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1509 $as_echo_n "checking $2 usability... " >&6; }
1510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1511 /* end confdefs.h.  */
1512 $4
1513 #include <$2>
1514 _ACEOF
1515 if ac_fn_c_try_compile "$LINENO"; then :
1516   ac_header_compiler=yes
1517 else
1518   ac_header_compiler=no
1519 fi
1520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1522 $as_echo "$ac_header_compiler" >&6; }
1523
1524 # Is the header present?
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1526 $as_echo_n "checking $2 presence... " >&6; }
1527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1528 /* end confdefs.h.  */
1529 #include <$2>
1530 _ACEOF
1531 if ac_fn_c_try_cpp "$LINENO"; then :
1532   ac_header_preproc=yes
1533 else
1534   ac_header_preproc=no
1535 fi
1536 rm -f conftest.err conftest.$ac_ext
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1538 $as_echo "$ac_header_preproc" >&6; }
1539
1540 # So?  What about this header?
1541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1542   yes:no: )
1543     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1544 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1545     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1547     ;;
1548   no:yes:* )
1549     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1550 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1551     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1552 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1553     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1554 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1555     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1556 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1557     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1558 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1559     ;;
1560 esac
1561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1562 $as_echo_n "checking for $2... " >&6; }
1563 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1564   $as_echo_n "(cached) " >&6
1565 else
1566   eval "$3=\$ac_header_compiler"
1567 fi
1568 eval ac_res=\$$3
1569                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570 $as_echo "$ac_res" >&6; }
1571 fi
1572   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1573
1574 } # ac_fn_c_check_header_mongrel
1575
1576 # ac_fn_c_try_run LINENO
1577 # ----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1579 # that executables *can* be run.
1580 ac_fn_c_try_run ()
1581 {
1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583   if { { ac_try="$ac_link"
1584 case "(($ac_try" in
1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586   *) ac_try_echo=$ac_try;;
1587 esac
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590   (eval "$ac_link") 2>&5
1591   ac_status=$?
1592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1594   { { case "(($ac_try" in
1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596   *) ac_try_echo=$ac_try;;
1597 esac
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600   (eval "$ac_try") 2>&5
1601   ac_status=$?
1602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603   test $ac_status = 0; }; }; then :
1604   ac_retval=0
1605 else
1606   $as_echo "$as_me: program exited with status $ac_status" >&5
1607        $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1609
1610        ac_retval=$ac_status
1611 fi
1612   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614   as_fn_set_status $ac_retval
1615
1616 } # ac_fn_c_try_run
1617
1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619 # -------------------------------------------------------
1620 # Tests whether HEADER exists and can be compiled using the include files in
1621 # INCLUDES, setting the cache variable VAR accordingly.
1622 ac_fn_c_check_header_compile ()
1623 {
1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628   $as_echo_n "(cached) " >&6
1629 else
1630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h.  */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636   eval "$3=yes"
1637 else
1638   eval "$3=no"
1639 fi
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 fi
1642 eval ac_res=\$$3
1643                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1645   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1646
1647 } # ac_fn_c_check_header_compile
1648
1649 # ac_fn_c_try_link LINENO
1650 # -----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_c_try_link ()
1653 {
1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655   rm -f conftest.$ac_objext conftest$ac_exeext
1656   if { { ac_try="$ac_link"
1657 case "(($ac_try" in
1658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659   *) ac_try_echo=$ac_try;;
1660 esac
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663   (eval "$ac_link") 2>conftest.err
1664   ac_status=$?
1665   if test -s conftest.err; then
1666     grep -v '^ *+' conftest.err >conftest.er1
1667     cat conftest.er1 >&5
1668     mv -f conftest.er1 conftest.err
1669   fi
1670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671   test $ac_status = 0; } && {
1672          test -z "$ac_c_werror_flag" ||
1673          test ! -s conftest.err
1674        } && test -s conftest$ac_exeext && {
1675          test "$cross_compiling" = yes ||
1676          $as_test_x conftest$ac_exeext
1677        }; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683         ac_retval=1
1684 fi
1685   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1686   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1687   # interfere with the next link command; also delete a directory that is
1688   # left behind by Apple's compiler.  We do this before executing the actions.
1689   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691   as_fn_set_status $ac_retval
1692
1693 } # ac_fn_c_try_link
1694
1695 # ac_fn_c_check_func LINENO FUNC VAR
1696 # ----------------------------------
1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1698 ac_fn_c_check_func ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704   $as_echo_n "(cached) " >&6
1705 else
1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h.  */
1708 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1710 #define $2 innocuous_$2
1711
1712 /* System header to define __stub macros and hopefully few prototypes,
1713     which can conflict with char $2 (); below.
1714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1715     <limits.h> exists even on freestanding compilers.  */
1716
1717 #ifdef __STDC__
1718 # include <limits.h>
1719 #else
1720 # include <assert.h>
1721 #endif
1722
1723 #undef $2
1724
1725 /* Override any GCC internal prototype to avoid an error.
1726    Use char because int might match the return type of a GCC
1727    builtin and then its argument prototype would still apply.  */
1728 #ifdef __cplusplus
1729 extern "C"
1730 #endif
1731 char $2 ();
1732 /* The GNU C library defines this for functions which it implements
1733     to always fail with ENOSYS.  Some functions are actually named
1734     something starting with __ and the normal name is an alias.  */
1735 #if defined __stub_$2 || defined __stub___$2
1736 choke me
1737 #endif
1738
1739 int
1740 main ()
1741 {
1742 return $2 ();
1743   ;
1744   return 0;
1745 }
1746 _ACEOF
1747 if ac_fn_c_try_link "$LINENO"; then :
1748   eval "$3=yes"
1749 else
1750   eval "$3=no"
1751 fi
1752 rm -f core conftest.err conftest.$ac_objext \
1753     conftest$ac_exeext conftest.$ac_ext
1754 fi
1755 eval ac_res=\$$3
1756                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
1760 } # ac_fn_c_check_func
1761
1762 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1763 # -------------------------------------------
1764 # Tests whether TYPE exists after having included INCLUDES, setting cache
1765 # variable VAR accordingly.
1766 ac_fn_c_check_type ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1772   $as_echo_n "(cached) " >&6
1773 else
1774   eval "$3=no"
1775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h.  */
1777 $4
1778 int
1779 main ()
1780 {
1781 if (sizeof ($2))
1782          return 0;
1783   ;
1784   return 0;
1785 }
1786 _ACEOF
1787 if ac_fn_c_try_compile "$LINENO"; then :
1788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h.  */
1790 $4
1791 int
1792 main ()
1793 {
1794 if (sizeof (($2)))
1795             return 0;
1796   ;
1797   return 0;
1798 }
1799 _ACEOF
1800 if ac_fn_c_try_compile "$LINENO"; then :
1801
1802 else
1803   eval "$3=yes"
1804 fi
1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1806 fi
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 fi
1809 eval ac_res=\$$3
1810                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813
1814 } # ac_fn_c_check_type
1815 cat >config.log <<_ACEOF
1816 This file contains any messages produced by compilers while
1817 running configure, to aid debugging if configure makes a mistake.
1818
1819 It was created by $as_me, which was
1820 generated by GNU Autoconf 2.65.  Invocation command line was
1821
1822   $ $0 $@
1823
1824 _ACEOF
1825 exec 5>>config.log
1826 {
1827 cat <<_ASUNAME
1828 ## --------- ##
1829 ## Platform. ##
1830 ## --------- ##
1831
1832 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1833 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1834 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1835 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1836 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1837
1838 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1839 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1840
1841 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1842 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1843 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1844 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1845 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1846 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1847 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1848
1849 _ASUNAME
1850
1851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 for as_dir in $PATH
1853 do
1854   IFS=$as_save_IFS
1855   test -z "$as_dir" && as_dir=.
1856     $as_echo "PATH: $as_dir"
1857   done
1858 IFS=$as_save_IFS
1859
1860 } >&5
1861
1862 cat >&5 <<_ACEOF
1863
1864
1865 ## ----------- ##
1866 ## Core tests. ##
1867 ## ----------- ##
1868
1869 _ACEOF
1870
1871
1872 # Keep a trace of the command line.
1873 # Strip out --no-create and --no-recursion so they do not pile up.
1874 # Strip out --silent because we don't want to record it for future runs.
1875 # Also quote any args containing shell meta-characters.
1876 # Make two passes to allow for proper duplicate-argument suppression.
1877 ac_configure_args=
1878 ac_configure_args0=
1879 ac_configure_args1=
1880 ac_must_keep_next=false
1881 for ac_pass in 1 2
1882 do
1883   for ac_arg
1884   do
1885     case $ac_arg in
1886     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1887     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1888     | -silent | --silent | --silen | --sile | --sil)
1889       continue ;;
1890     *\'*)
1891       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1892     esac
1893     case $ac_pass in
1894     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1895     2)
1896       as_fn_append ac_configure_args1 " '$ac_arg'"
1897       if test $ac_must_keep_next = true; then
1898         ac_must_keep_next=false # Got value, back to normal.
1899       else
1900         case $ac_arg in
1901           *=* | --config-cache | -C | -disable-* | --disable-* \
1902           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1903           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1904           | -with-* | --with-* | -without-* | --without-* | --x)
1905             case "$ac_configure_args0 " in
1906               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1907             esac
1908             ;;
1909           -* ) ac_must_keep_next=true ;;
1910         esac
1911       fi
1912       as_fn_append ac_configure_args " '$ac_arg'"
1913       ;;
1914     esac
1915   done
1916 done
1917 { ac_configure_args0=; unset ac_configure_args0;}
1918 { ac_configure_args1=; unset ac_configure_args1;}
1919
1920 # When interrupted or exit'd, cleanup temporary files, and complete
1921 # config.log.  We remove comments because anyway the quotes in there
1922 # would cause problems or look ugly.
1923 # WARNING: Use '\'' to represent an apostrophe within the trap.
1924 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1925 trap 'exit_status=$?
1926   # Save into config.log some information that might help in debugging.
1927   {
1928     echo
1929
1930     cat <<\_ASBOX
1931 ## ---------------- ##
1932 ## Cache variables. ##
1933 ## ---------------- ##
1934 _ASBOX
1935     echo
1936     # The following way of writing the cache mishandles newlines in values,
1937 (
1938   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1939     eval ac_val=\$$ac_var
1940     case $ac_val in #(
1941     *${as_nl}*)
1942       case $ac_var in #(
1943       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1944 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1945       esac
1946       case $ac_var in #(
1947       _ | IFS | as_nl) ;; #(
1948       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1949       *) { eval $ac_var=; unset $ac_var;} ;;
1950       esac ;;
1951     esac
1952   done
1953   (set) 2>&1 |
1954     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1955     *${as_nl}ac_space=\ *)
1956       sed -n \
1957         "s/'\''/'\''\\\\'\'''\''/g;
1958           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1959       ;; #(
1960     *)
1961       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1962       ;;
1963     esac |
1964     sort
1965 )
1966     echo
1967
1968     cat <<\_ASBOX
1969 ## ----------------- ##
1970 ## Output variables. ##
1971 ## ----------------- ##
1972 _ASBOX
1973     echo
1974     for ac_var in $ac_subst_vars
1975     do
1976       eval ac_val=\$$ac_var
1977       case $ac_val in
1978       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1979       esac
1980       $as_echo "$ac_var='\''$ac_val'\''"
1981     done | sort
1982     echo
1983
1984     if test -n "$ac_subst_files"; then
1985       cat <<\_ASBOX
1986 ## ------------------- ##
1987 ## File substitutions. ##
1988 ## ------------------- ##
1989 _ASBOX
1990       echo
1991       for ac_var in $ac_subst_files
1992       do
1993         eval ac_val=\$$ac_var
1994         case $ac_val in
1995         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1996         esac
1997         $as_echo "$ac_var='\''$ac_val'\''"
1998       done | sort
1999       echo
2000     fi
2001
2002     if test -s confdefs.h; then
2003       cat <<\_ASBOX
2004 ## ----------- ##
2005 ## confdefs.h. ##
2006 ## ----------- ##
2007 _ASBOX
2008       echo
2009       cat confdefs.h
2010       echo
2011     fi
2012     test "$ac_signal" != 0 &&
2013       $as_echo "$as_me: caught signal $ac_signal"
2014     $as_echo "$as_me: exit $exit_status"
2015   } >&5
2016   rm -f core *.core core.conftest.* &&
2017     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2018     exit $exit_status
2019 ' 0
2020 for ac_signal in 1 2 13 15; do
2021   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2022 done
2023 ac_signal=0
2024
2025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2026 rm -f -r conftest* confdefs.h
2027
2028 $as_echo "/* confdefs.h */" > confdefs.h
2029
2030 # Predefined preprocessor variables.
2031
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_NAME "$PACKAGE_NAME"
2034 _ACEOF
2035
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2038 _ACEOF
2039
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2042 _ACEOF
2043
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_STRING "$PACKAGE_STRING"
2046 _ACEOF
2047
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2050 _ACEOF
2051
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_URL "$PACKAGE_URL"
2054 _ACEOF
2055
2056
2057 # Let the site file select an alternate cache file if it wants to.
2058 # Prefer an explicitly selected file to automatically selected ones.
2059 ac_site_file1=NONE
2060 ac_site_file2=NONE
2061 if test -n "$CONFIG_SITE"; then
2062   ac_site_file1=$CONFIG_SITE
2063 elif test "x$prefix" != xNONE; then
2064   ac_site_file1=$prefix/share/config.site
2065   ac_site_file2=$prefix/etc/config.site
2066 else
2067   ac_site_file1=$ac_default_prefix/share/config.site
2068   ac_site_file2=$ac_default_prefix/etc/config.site
2069 fi
2070 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2071 do
2072   test "x$ac_site_file" = xNONE && continue
2073   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2074     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2076     sed 's/^/| /' "$ac_site_file" >&5
2077     . "$ac_site_file"
2078   fi
2079 done
2080
2081 if test -r "$cache_file"; then
2082   # Some versions of bash will fail to source /dev/null (special files
2083   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2084   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2085     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2086 $as_echo "$as_me: loading cache $cache_file" >&6;}
2087     case $cache_file in
2088       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2089       *)                      . "./$cache_file";;
2090     esac
2091   fi
2092 else
2093   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2094 $as_echo "$as_me: creating cache $cache_file" >&6;}
2095   >$cache_file
2096 fi
2097
2098 # Check that the precious variables saved in the cache have kept the same
2099 # value.
2100 ac_cache_corrupted=false
2101 for ac_var in $ac_precious_vars; do
2102   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2103   eval ac_new_set=\$ac_env_${ac_var}_set
2104   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2105   eval ac_new_val=\$ac_env_${ac_var}_value
2106   case $ac_old_set,$ac_new_set in
2107     set,)
2108       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2109 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2110       ac_cache_corrupted=: ;;
2111     ,set)
2112       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2113 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2114       ac_cache_corrupted=: ;;
2115     ,);;
2116     *)
2117       if test "x$ac_old_val" != "x$ac_new_val"; then
2118         # differences in whitespace do not lead to failure.
2119         ac_old_val_w=`echo x $ac_old_val`
2120         ac_new_val_w=`echo x $ac_new_val`
2121         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2122           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2123 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2124           ac_cache_corrupted=:
2125         else
2126           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2127 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2128           eval $ac_var=\$ac_old_val
2129         fi
2130         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2131 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2132         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2133 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2134       fi;;
2135   esac
2136   # Pass precious variables to config.status.
2137   if test "$ac_new_set" = set; then
2138     case $ac_new_val in
2139     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2140     *) ac_arg=$ac_var=$ac_new_val ;;
2141     esac
2142     case " $ac_configure_args " in
2143       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2144       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2145     esac
2146   fi
2147 done
2148 if $ac_cache_corrupted; then
2149   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2152 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2153   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2154 fi
2155 ## -------------------- ##
2156 ## Main body of script. ##
2157 ## -------------------- ##
2158
2159 ac_ext=c
2160 ac_cpp='$CPP $CPPFLAGS'
2161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2164
2165
2166
2167 ac_config_headers="$ac_config_headers config.h"
2168
2169
2170 ac_ext=c
2171 ac_cpp='$CPP $CPPFLAGS'
2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175 if test -n "$ac_tool_prefix"; then
2176   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2177 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if test "${ac_cv_prog_CC+set}" = set; then :
2181   $as_echo_n "(cached) " >&6
2182 else
2183   if test -n "$CC"; then
2184   ac_cv_prog_CC="$CC" # Let the user override the test.
2185 else
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2188 do
2189   IFS=$as_save_IFS
2190   test -z "$as_dir" && as_dir=.
2191     for ac_exec_ext in '' $ac_executable_extensions; do
2192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2195     break 2
2196   fi
2197 done
2198   done
2199 IFS=$as_save_IFS
2200
2201 fi
2202 fi
2203 CC=$ac_cv_prog_CC
2204 if test -n "$CC"; then
2205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2206 $as_echo "$CC" >&6; }
2207 else
2208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209 $as_echo "no" >&6; }
2210 fi
2211
2212
2213 fi
2214 if test -z "$ac_cv_prog_CC"; then
2215   ac_ct_CC=$CC
2216   # Extract the first word of "gcc", so it can be a program name with args.
2217 set dummy gcc; ac_word=$2
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2221   $as_echo_n "(cached) " >&6
2222 else
2223   if test -n "$ac_ct_CC"; then
2224   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2225 else
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2228 do
2229   IFS=$as_save_IFS
2230   test -z "$as_dir" && as_dir=.
2231     for ac_exec_ext in '' $ac_executable_extensions; do
2232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233     ac_cv_prog_ac_ct_CC="gcc"
2234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2235     break 2
2236   fi
2237 done
2238   done
2239 IFS=$as_save_IFS
2240
2241 fi
2242 fi
2243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2244 if test -n "$ac_ct_CC"; then
2245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2246 $as_echo "$ac_ct_CC" >&6; }
2247 else
2248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2249 $as_echo "no" >&6; }
2250 fi
2251
2252   if test "x$ac_ct_CC" = x; then
2253     CC=""
2254   else
2255     case $cross_compiling:$ac_tool_warned in
2256 yes:)
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2259 ac_tool_warned=yes ;;
2260 esac
2261     CC=$ac_ct_CC
2262   fi
2263 else
2264   CC="$ac_cv_prog_CC"
2265 fi
2266
2267 if test -z "$CC"; then
2268           if test -n "$ac_tool_prefix"; then
2269     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}cc; ac_word=$2
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2272 $as_echo_n "checking for $ac_word... " >&6; }
2273 if test "${ac_cv_prog_CC+set}" = set; then :
2274   $as_echo_n "(cached) " >&6
2275 else
2276   if test -n "$CC"; then
2277   ac_cv_prog_CC="$CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282   IFS=$as_save_IFS
2283   test -z "$as_dir" && as_dir=.
2284     for ac_exec_ext in '' $ac_executable_extensions; do
2285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286     ac_cv_prog_CC="${ac_tool_prefix}cc"
2287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288     break 2
2289   fi
2290 done
2291   done
2292 IFS=$as_save_IFS
2293
2294 fi
2295 fi
2296 CC=$ac_cv_prog_CC
2297 if test -n "$CC"; then
2298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2299 $as_echo "$CC" >&6; }
2300 else
2301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302 $as_echo "no" >&6; }
2303 fi
2304
2305
2306   fi
2307 fi
2308 if test -z "$CC"; then
2309   # Extract the first word of "cc", so it can be a program name with args.
2310 set dummy cc; ac_word=$2
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2312 $as_echo_n "checking for $ac_word... " >&6; }
2313 if test "${ac_cv_prog_CC+set}" = set; then :
2314   $as_echo_n "(cached) " >&6
2315 else
2316   if test -n "$CC"; then
2317   ac_cv_prog_CC="$CC" # Let the user override the test.
2318 else
2319   ac_prog_rejected=no
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 for as_dir in $PATH
2322 do
2323   IFS=$as_save_IFS
2324   test -z "$as_dir" && as_dir=.
2325     for ac_exec_ext in '' $ac_executable_extensions; do
2326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2328        ac_prog_rejected=yes
2329        continue
2330      fi
2331     ac_cv_prog_CC="cc"
2332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2333     break 2
2334   fi
2335 done
2336   done
2337 IFS=$as_save_IFS
2338
2339 if test $ac_prog_rejected = yes; then
2340   # We found a bogon in the path, so make sure we never use it.
2341   set dummy $ac_cv_prog_CC
2342   shift
2343   if test $# != 0; then
2344     # We chose a different compiler from the bogus one.
2345     # However, it has the same basename, so the bogon will be chosen
2346     # first if we set CC to just the basename; use the full file name.
2347     shift
2348     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2349   fi
2350 fi
2351 fi
2352 fi
2353 CC=$ac_cv_prog_CC
2354 if test -n "$CC"; then
2355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2356 $as_echo "$CC" >&6; }
2357 else
2358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359 $as_echo "no" >&6; }
2360 fi
2361
2362
2363 fi
2364 if test -z "$CC"; then
2365   if test -n "$ac_tool_prefix"; then
2366   for ac_prog in cl.exe
2367   do
2368     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2371 $as_echo_n "checking for $ac_word... " >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then :
2373   $as_echo_n "(cached) " >&6
2374 else
2375   if test -n "$CC"; then
2376   ac_cv_prog_CC="$CC" # Let the user override the test.
2377 else
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383     for ac_exec_ext in '' $ac_executable_extensions; do
2384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387     break 2
2388   fi
2389 done
2390   done
2391 IFS=$as_save_IFS
2392
2393 fi
2394 fi
2395 CC=$ac_cv_prog_CC
2396 if test -n "$CC"; then
2397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2398 $as_echo "$CC" >&6; }
2399 else
2400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2401 $as_echo "no" >&6; }
2402 fi
2403
2404
2405     test -n "$CC" && break
2406   done
2407 fi
2408 if test -z "$CC"; then
2409   ac_ct_CC=$CC
2410   for ac_prog in cl.exe
2411 do
2412   # Extract the first word of "$ac_prog", so it can be a program name with args.
2413 set dummy $ac_prog; ac_word=$2
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2415 $as_echo_n "checking for $ac_word... " >&6; }
2416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2417   $as_echo_n "(cached) " >&6
2418 else
2419   if test -n "$ac_ct_CC"; then
2420   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2421 else
2422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 for as_dir in $PATH
2424 do
2425   IFS=$as_save_IFS
2426   test -z "$as_dir" && as_dir=.
2427     for ac_exec_ext in '' $ac_executable_extensions; do
2428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2429     ac_cv_prog_ac_ct_CC="$ac_prog"
2430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431     break 2
2432   fi
2433 done
2434   done
2435 IFS=$as_save_IFS
2436
2437 fi
2438 fi
2439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2440 if test -n "$ac_ct_CC"; then
2441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2442 $as_echo "$ac_ct_CC" >&6; }
2443 else
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 $as_echo "no" >&6; }
2446 fi
2447
2448
2449   test -n "$ac_ct_CC" && break
2450 done
2451
2452   if test "x$ac_ct_CC" = x; then
2453     CC=""
2454   else
2455     case $cross_compiling:$ac_tool_warned in
2456 yes:)
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459 ac_tool_warned=yes ;;
2460 esac
2461     CC=$ac_ct_CC
2462   fi
2463 fi
2464
2465 fi
2466
2467
2468 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 as_fn_error "no acceptable C compiler found in \$PATH
2471 See \`config.log' for more details." "$LINENO" 5; }
2472
2473 # Provide some information about the compiler.
2474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2475 set X $ac_compile
2476 ac_compiler=$2
2477 for ac_option in --version -v -V -qversion; do
2478   { { ac_try="$ac_compiler $ac_option >&5"
2479 case "(($ac_try" in
2480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481   *) ac_try_echo=$ac_try;;
2482 esac
2483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2484 $as_echo "$ac_try_echo"; } >&5
2485   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2486   ac_status=$?
2487   if test -s conftest.err; then
2488     sed '10a\
2489 ... rest of stderr output deleted ...
2490          10q' conftest.err >conftest.er1
2491     cat conftest.er1 >&5
2492   fi
2493   rm -f conftest.er1 conftest.err
2494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2495   test $ac_status = 0; }
2496 done
2497
2498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h.  */
2500
2501 int
2502 main ()
2503 {
2504
2505   ;
2506   return 0;
2507 }
2508 _ACEOF
2509 ac_clean_files_save=$ac_clean_files
2510 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2511 # Try to create an executable without -o first, disregard a.out.
2512 # It will help us diagnose broken compilers, and finding out an intuition
2513 # of exeext.
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2515 $as_echo_n "checking whether the C compiler works... " >&6; }
2516 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2517
2518 # The possible output files:
2519 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2520
2521 ac_rmfiles=
2522 for ac_file in $ac_files
2523 do
2524   case $ac_file in
2525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2527   esac
2528 done
2529 rm -f $ac_rmfiles
2530
2531 if { { ac_try="$ac_link_default"
2532 case "(($ac_try" in
2533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534   *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538   (eval "$ac_link_default") 2>&5
2539   ac_status=$?
2540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541   test $ac_status = 0; }; then :
2542   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2543 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2544 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2545 # so that the user can short-circuit this test for compilers unknown to
2546 # Autoconf.
2547 for ac_file in $ac_files ''
2548 do
2549   test -f "$ac_file" || continue
2550   case $ac_file in
2551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2552         ;;
2553     [ab].out )
2554         # We found the default executable, but exeext='' is most
2555         # certainly right.
2556         break;;
2557     *.* )
2558         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2559         then :; else
2560            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561         fi
2562         # We set ac_cv_exeext here because the later test for it is not
2563         # safe: cross compilers may not add the suffix if given an `-o'
2564         # argument, so we may need to know it at that point already.
2565         # Even if this section looks crufty: it has the advantage of
2566         # actually working.
2567         break;;
2568     * )
2569         break;;
2570   esac
2571 done
2572 test "$ac_cv_exeext" = no && ac_cv_exeext=
2573
2574 else
2575   ac_file=''
2576 fi
2577 if test -z "$ac_file"; then :
2578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2579 $as_echo "no" >&6; }
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2582
2583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 { as_fn_set_status 77
2586 as_fn_error "C compiler cannot create executables
2587 See \`config.log' for more details." "$LINENO" 5; }; }
2588 else
2589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2590 $as_echo "yes" >&6; }
2591 fi
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2593 $as_echo_n "checking for C compiler default output file name... " >&6; }
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2595 $as_echo "$ac_file" >&6; }
2596 ac_exeext=$ac_cv_exeext
2597
2598 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2599 ac_clean_files=$ac_clean_files_save
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2601 $as_echo_n "checking for suffix of executables... " >&6; }
2602 if { { ac_try="$ac_link"
2603 case "(($ac_try" in
2604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605   *) ac_try_echo=$ac_try;;
2606 esac
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609   (eval "$ac_link") 2>&5
2610   ac_status=$?
2611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612   test $ac_status = 0; }; then :
2613   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2614 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2615 # work properly (i.e., refer to `conftest.exe'), while it won't with
2616 # `rm'.
2617 for ac_file in conftest.exe conftest conftest.*; do
2618   test -f "$ac_file" || continue
2619   case $ac_file in
2620     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2621     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2622           break;;
2623     * ) break;;
2624   esac
2625 done
2626 else
2627   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error "cannot compute suffix of executables: cannot compile and link
2630 See \`config.log' for more details." "$LINENO" 5; }
2631 fi
2632 rm -f conftest conftest$ac_cv_exeext
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2634 $as_echo "$ac_cv_exeext" >&6; }
2635
2636 rm -f conftest.$ac_ext
2637 EXEEXT=$ac_cv_exeext
2638 ac_exeext=$EXEEXT
2639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h.  */
2641 #include <stdio.h>
2642 int
2643 main ()
2644 {
2645 FILE *f = fopen ("conftest.out", "w");
2646  return ferror (f) || fclose (f) != 0;
2647
2648   ;
2649   return 0;
2650 }
2651 _ACEOF
2652 ac_clean_files="$ac_clean_files conftest.out"
2653 # Check that the compiler produces executables we can run.  If not, either
2654 # the compiler is broken, or we cross compile.
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2656 $as_echo_n "checking whether we are cross compiling... " >&6; }
2657 if test "$cross_compiling" != yes; then
2658   { { ac_try="$ac_link"
2659 case "(($ac_try" in
2660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661   *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665   (eval "$ac_link") 2>&5
2666   ac_status=$?
2667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668   test $ac_status = 0; }
2669   if { ac_try='./conftest$ac_cv_exeext'
2670   { { case "(($ac_try" in
2671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2672   *) ac_try_echo=$ac_try;;
2673 esac
2674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2675 $as_echo "$ac_try_echo"; } >&5
2676   (eval "$ac_try") 2>&5
2677   ac_status=$?
2678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679   test $ac_status = 0; }; }; then
2680     cross_compiling=no
2681   else
2682     if test "$cross_compiling" = maybe; then
2683         cross_compiling=yes
2684     else
2685         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 as_fn_error "cannot run C compiled programs.
2688 If you meant to cross compile, use \`--host'.
2689 See \`config.log' for more details." "$LINENO" 5; }
2690     fi
2691   fi
2692 fi
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2694 $as_echo "$cross_compiling" >&6; }
2695
2696 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2697 ac_clean_files=$ac_clean_files_save
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2699 $as_echo_n "checking for suffix of object files... " >&6; }
2700 if test "${ac_cv_objext+set}" = set; then :
2701   $as_echo_n "(cached) " >&6
2702 else
2703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h.  */
2705
2706 int
2707 main ()
2708 {
2709
2710   ;
2711   return 0;
2712 }
2713 _ACEOF
2714 rm -f conftest.o conftest.obj
2715 if { { ac_try="$ac_compile"
2716 case "(($ac_try" in
2717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718   *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722   (eval "$ac_compile") 2>&5
2723   ac_status=$?
2724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2725   test $ac_status = 0; }; then :
2726   for ac_file in conftest.o conftest.obj conftest.*; do
2727   test -f "$ac_file" || continue;
2728   case $ac_file in
2729     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2730     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2731        break;;
2732   esac
2733 done
2734 else
2735   $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2737
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error "cannot compute suffix of object files: cannot compile
2741 See \`config.log' for more details." "$LINENO" 5; }
2742 fi
2743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2744 fi
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2746 $as_echo "$ac_cv_objext" >&6; }
2747 OBJEXT=$ac_cv_objext
2748 ac_objext=$OBJEXT
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2751 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2752   $as_echo_n "(cached) " >&6
2753 else
2754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h.  */
2756
2757 int
2758 main ()
2759 {
2760 #ifndef __GNUC__
2761        choke me
2762 #endif
2763
2764   ;
2765   return 0;
2766 }
2767 _ACEOF
2768 if ac_fn_c_try_compile "$LINENO"; then :
2769   ac_compiler_gnu=yes
2770 else
2771   ac_compiler_gnu=no
2772 fi
2773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2775
2776 fi
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2779 if test $ac_compiler_gnu = yes; then
2780   GCC=yes
2781 else
2782   GCC=
2783 fi
2784 ac_test_CFLAGS=${CFLAGS+set}
2785 ac_save_CFLAGS=$CFLAGS
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2788 if test "${ac_cv_prog_cc_g+set}" = set; then :
2789   $as_echo_n "(cached) " >&6
2790 else
2791   ac_save_c_werror_flag=$ac_c_werror_flag
2792    ac_c_werror_flag=yes
2793    ac_cv_prog_cc_g=no
2794    CFLAGS="-g"
2795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h.  */
2797
2798 int
2799 main ()
2800 {
2801
2802   ;
2803   return 0;
2804 }
2805 _ACEOF
2806 if ac_fn_c_try_compile "$LINENO"; then :
2807   ac_cv_prog_cc_g=yes
2808 else
2809   CFLAGS=""
2810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h.  */
2812
2813 int
2814 main ()
2815 {
2816
2817   ;
2818   return 0;
2819 }
2820 _ACEOF
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822
2823 else
2824   ac_c_werror_flag=$ac_save_c_werror_flag
2825          CFLAGS="-g"
2826          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h.  */
2828
2829 int
2830 main ()
2831 {
2832
2833   ;
2834   return 0;
2835 }
2836 _ACEOF
2837 if ac_fn_c_try_compile "$LINENO"; then :
2838   ac_cv_prog_cc_g=yes
2839 fi
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841 fi
2842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2843 fi
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845    ac_c_werror_flag=$ac_save_c_werror_flag
2846 fi
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2848 $as_echo "$ac_cv_prog_cc_g" >&6; }
2849 if test "$ac_test_CFLAGS" = set; then
2850   CFLAGS=$ac_save_CFLAGS
2851 elif test $ac_cv_prog_cc_g = yes; then
2852   if test "$GCC" = yes; then
2853     CFLAGS="-g -O2"
2854   else
2855     CFLAGS="-g"
2856   fi
2857 else
2858   if test "$GCC" = yes; then
2859     CFLAGS="-O2"
2860   else
2861     CFLAGS=
2862   fi
2863 fi
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2866 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2867   $as_echo_n "(cached) " >&6
2868 else
2869   ac_cv_prog_cc_c89=no
2870 ac_save_CC=$CC
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h.  */
2873 #include <stdarg.h>
2874 #include <stdio.h>
2875 #include <sys/types.h>
2876 #include <sys/stat.h>
2877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2878 struct buf { int x; };
2879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2880 static char *e (p, i)
2881      char **p;
2882      int i;
2883 {
2884   return p[i];
2885 }
2886 static char *f (char * (*g) (char **, int), char **p, ...)
2887 {
2888   char *s;
2889   va_list v;
2890   va_start (v,p);
2891   s = g (p, va_arg (v,int));
2892   va_end (v);
2893   return s;
2894 }
2895
2896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2897    function prototypes and stuff, but not '\xHH' hex character constants.
2898    These don't provoke an error unfortunately, instead are silently treated
2899    as 'x'.  The following induces an error, until -std is added to get
2900    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2901    array size at least.  It's necessary to write '\x00'==0 to get something
2902    that's true only with -std.  */
2903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2904
2905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2906    inside strings and character constants.  */
2907 #define FOO(x) 'x'
2908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2909
2910 int test (int i, double x);
2911 struct s1 {int (*f) (int a);};
2912 struct s2 {int (*f) (double a);};
2913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2914 int argc;
2915 char **argv;
2916 int
2917 main ()
2918 {
2919 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2920   ;
2921   return 0;
2922 }
2923 _ACEOF
2924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2925         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926 do
2927   CC="$ac_save_CC $ac_arg"
2928   if ac_fn_c_try_compile "$LINENO"; then :
2929   ac_cv_prog_cc_c89=$ac_arg
2930 fi
2931 rm -f core conftest.err conftest.$ac_objext
2932   test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 done
2934 rm -f conftest.$ac_ext
2935 CC=$ac_save_CC
2936
2937 fi
2938 # AC_CACHE_VAL
2939 case "x$ac_cv_prog_cc_c89" in
2940   x)
2941     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2942 $as_echo "none needed" >&6; } ;;
2943   xno)
2944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2945 $as_echo "unsupported" >&6; } ;;
2946   *)
2947     CC="$CC $ac_cv_prog_cc_c89"
2948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2950 esac
2951 if test "x$ac_cv_prog_cc_c89" != xno; then :
2952
2953 fi
2954
2955 ac_ext=c
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960
2961
2962 ac_ext=c
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2968 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2969 # On Suns, sometimes $CPP names a directory.
2970 if test -n "$CPP" && test -d "$CPP"; then
2971   CPP=
2972 fi
2973 if test -z "$CPP"; then
2974   if test "${ac_cv_prog_CPP+set}" = set; then :
2975   $as_echo_n "(cached) " >&6
2976 else
2977       # Double quotes because CPP needs to be expanded
2978     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2979     do
2980       ac_preproc_ok=false
2981 for ac_c_preproc_warn_flag in '' yes
2982 do
2983   # Use a header file that comes with gcc, so configuring glibc
2984   # with a fresh cross-compiler works.
2985   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2986   # <limits.h> exists even on freestanding compilers.
2987   # On the NeXT, cc -E runs the code through the compiler's parser,
2988   # not just through cpp. "Syntax error" is here to catch this case.
2989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2990 /* end confdefs.h.  */
2991 #ifdef __STDC__
2992 # include <limits.h>
2993 #else
2994 # include <assert.h>
2995 #endif
2996                      Syntax error
2997 _ACEOF
2998 if ac_fn_c_try_cpp "$LINENO"; then :
2999
3000 else
3001   # Broken: fails on valid input.
3002 continue
3003 fi
3004 rm -f conftest.err conftest.$ac_ext
3005
3006   # OK, works on sane cases.  Now check whether nonexistent headers
3007   # can be detected and how.
3008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h.  */
3010 #include <ac_nonexistent.h>
3011 _ACEOF
3012 if ac_fn_c_try_cpp "$LINENO"; then :
3013   # Broken: success on invalid input.
3014 continue
3015 else
3016   # Passes both tests.
3017 ac_preproc_ok=:
3018 break
3019 fi
3020 rm -f conftest.err conftest.$ac_ext
3021
3022 done
3023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3024 rm -f conftest.err conftest.$ac_ext
3025 if $ac_preproc_ok; then :
3026   break
3027 fi
3028
3029     done
3030     ac_cv_prog_CPP=$CPP
3031
3032 fi
3033   CPP=$ac_cv_prog_CPP
3034 else
3035   ac_cv_prog_CPP=$CPP
3036 fi
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3038 $as_echo "$CPP" >&6; }
3039 ac_preproc_ok=false
3040 for ac_c_preproc_warn_flag in '' yes
3041 do
3042   # Use a header file that comes with gcc, so configuring glibc
3043   # with a fresh cross-compiler works.
3044   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3045   # <limits.h> exists even on freestanding compilers.
3046   # On the NeXT, cc -E runs the code through the compiler's parser,
3047   # not just through cpp. "Syntax error" is here to catch this case.
3048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h.  */
3050 #ifdef __STDC__
3051 # include <limits.h>
3052 #else
3053 # include <assert.h>
3054 #endif
3055                      Syntax error
3056 _ACEOF
3057 if ac_fn_c_try_cpp "$LINENO"; then :
3058
3059 else
3060   # Broken: fails on valid input.
3061 continue
3062 fi
3063 rm -f conftest.err conftest.$ac_ext
3064
3065   # OK, works on sane cases.  Now check whether nonexistent headers
3066   # can be detected and how.
3067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h.  */
3069 #include <ac_nonexistent.h>
3070 _ACEOF
3071 if ac_fn_c_try_cpp "$LINENO"; then :
3072   # Broken: success on invalid input.
3073 continue
3074 else
3075   # Passes both tests.
3076 ac_preproc_ok=:
3077 break
3078 fi
3079 rm -f conftest.err conftest.$ac_ext
3080
3081 done
3082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3083 rm -f conftest.err conftest.$ac_ext
3084 if $ac_preproc_ok; then :
3085
3086 else
3087   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3089 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3090 See \`config.log' for more details." "$LINENO" 5; }
3091 fi
3092
3093 ac_ext=c
3094 ac_cpp='$CPP $CPPFLAGS'
3095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098
3099
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3101 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3102 if test "${ac_cv_path_GREP+set}" = set; then :
3103   $as_echo_n "(cached) " >&6
3104 else
3105   if test -z "$GREP"; then
3106   ac_path_GREP_found=false
3107   # Loop through the user's path and test for each of PROGNAME-LIST
3108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3110 do
3111   IFS=$as_save_IFS
3112   test -z "$as_dir" && as_dir=.
3113     for ac_prog in grep ggrep; do
3114     for ac_exec_ext in '' $ac_executable_extensions; do
3115       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3116       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3117 # Check for GNU ac_path_GREP and select it if it is found.
3118   # Check for GNU $ac_path_GREP
3119 case `"$ac_path_GREP" --version 2>&1` in
3120 *GNU*)
3121   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3122 *)
3123   ac_count=0
3124   $as_echo_n 0123456789 >"conftest.in"
3125   while :
3126   do
3127     cat "conftest.in" "conftest.in" >"conftest.tmp"
3128     mv "conftest.tmp" "conftest.in"
3129     cp "conftest.in" "conftest.nl"
3130     $as_echo 'GREP' >> "conftest.nl"
3131     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3132     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3133     as_fn_arith $ac_count + 1 && ac_count=$as_val
3134     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3135       # Best one so far, save it but keep looking for a better one
3136       ac_cv_path_GREP="$ac_path_GREP"
3137       ac_path_GREP_max=$ac_count
3138     fi
3139     # 10*(2^10) chars as input seems more than enough
3140     test $ac_count -gt 10 && break
3141   done
3142   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3143 esac
3144
3145       $ac_path_GREP_found && break 3
3146     done
3147   done
3148   done
3149 IFS=$as_save_IFS
3150   if test -z "$ac_cv_path_GREP"; then
3151     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3152   fi
3153 else
3154   ac_cv_path_GREP=$GREP
3155 fi
3156
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3159 $as_echo "$ac_cv_path_GREP" >&6; }
3160  GREP="$ac_cv_path_GREP"
3161
3162
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3164 $as_echo_n "checking for egrep... " >&6; }
3165 if test "${ac_cv_path_EGREP+set}" = set; then :
3166   $as_echo_n "(cached) " >&6
3167 else
3168   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3169    then ac_cv_path_EGREP="$GREP -E"
3170    else
3171      if test -z "$EGREP"; then
3172   ac_path_EGREP_found=false
3173   # Loop through the user's path and test for each of PROGNAME-LIST
3174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3176 do
3177   IFS=$as_save_IFS
3178   test -z "$as_dir" && as_dir=.
3179     for ac_prog in egrep; do
3180     for ac_exec_ext in '' $ac_executable_extensions; do
3181       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3182       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3183 # Check for GNU ac_path_EGREP and select it if it is found.
3184   # Check for GNU $ac_path_EGREP
3185 case `"$ac_path_EGREP" --version 2>&1` in
3186 *GNU*)
3187   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3188 *)
3189   ac_count=0
3190   $as_echo_n 0123456789 >"conftest.in"
3191   while :
3192   do
3193     cat "conftest.in" "conftest.in" >"conftest.tmp"
3194     mv "conftest.tmp" "conftest.in"
3195     cp "conftest.in" "conftest.nl"
3196     $as_echo 'EGREP' >> "conftest.nl"
3197     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3198     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3199     as_fn_arith $ac_count + 1 && ac_count=$as_val
3200     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3201       # Best one so far, save it but keep looking for a better one
3202       ac_cv_path_EGREP="$ac_path_EGREP"
3203       ac_path_EGREP_max=$ac_count
3204     fi
3205     # 10*(2^10) chars as input seems more than enough
3206     test $ac_count -gt 10 && break
3207   done
3208   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3209 esac
3210
3211       $ac_path_EGREP_found && break 3
3212     done
3213   done
3214   done
3215 IFS=$as_save_IFS
3216   if test -z "$ac_cv_path_EGREP"; then
3217     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3218   fi
3219 else
3220   ac_cv_path_EGREP=$EGREP
3221 fi
3222
3223    fi
3224 fi
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3226 $as_echo "$ac_cv_path_EGREP" >&6; }
3227  EGREP="$ac_cv_path_EGREP"
3228
3229
3230 if test $ac_cv_c_compiler_gnu = yes; then
3231     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
3232 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
3233 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
3234   $as_echo_n "(cached) " >&6
3235 else
3236     ac_pattern="Autoconf.*'x'"
3237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h.  */
3239 #include <sgtty.h>
3240 Autoconf TIOCGETP
3241 _ACEOF
3242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3243   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
3244   ac_cv_prog_gcc_traditional=yes
3245 else
3246   ac_cv_prog_gcc_traditional=no
3247 fi
3248 rm -f conftest*
3249
3250
3251   if test $ac_cv_prog_gcc_traditional = no; then
3252     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h.  */
3254 #include <termio.h>
3255 Autoconf TCGETA
3256 _ACEOF
3257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3258   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
3259   ac_cv_prog_gcc_traditional=yes
3260 fi
3261 rm -f conftest*
3262
3263   fi
3264 fi
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
3266 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3267   if test $ac_cv_prog_gcc_traditional = yes; then
3268     CC="$CC -traditional"
3269   fi
3270 fi
3271
3272 ac_aux_dir=
3273 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3274   for ac_t in install-sh install.sh shtool; do
3275     if test -f "$ac_dir/$ac_t"; then
3276       ac_aux_dir=$ac_dir
3277       ac_install_sh="$ac_aux_dir/$ac_t -c"
3278       break 2
3279     fi
3280   done
3281 done
3282 if test -z "$ac_aux_dir"; then
3283   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3284 fi
3285
3286 # These three variables are undocumented and unsupported,
3287 # and are intended to be withdrawn in a future Autoconf release.
3288 # They can cause serious problems if a builder's source tree is in a directory
3289 # whose full name contains unusual characters.
3290 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3291 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3292 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3293
3294
3295 # Find a good install program.  We prefer a C program (faster),
3296 # so one script is as good as another.  But avoid the broken or
3297 # incompatible versions:
3298 # SysV /etc/install, /usr/sbin/install
3299 # SunOS /usr/etc/install
3300 # IRIX /sbin/install
3301 # AIX /bin/install
3302 # AmigaOS /C/install, which installs bootblocks on floppy discs
3303 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3306 # OS/2's system install, which has a completely different semantic
3307 # ./install, which can be erroneously created by make from ./install.sh.
3308 # Reject install programs that cannot install multiple files.
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3310 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3311 if test -z "$INSTALL"; then
3312 if test "${ac_cv_path_install+set}" = set; then :
3313   $as_echo_n "(cached) " >&6
3314 else
3315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH
3317 do
3318   IFS=$as_save_IFS
3319   test -z "$as_dir" && as_dir=.
3320     # Account for people who put trailing slashes in PATH elements.
3321 case $as_dir/ in #((
3322   ./ | .// | /[cC]/* | \
3323   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3324   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3325   /usr/ucb/* ) ;;
3326   *)
3327     # OSF1 and SCO ODT 3.0 have their own names for install.
3328     # Don't use installbsd from OSF since it installs stuff as root
3329     # by default.
3330     for ac_prog in ginstall scoinst install; do
3331       for ac_exec_ext in '' $ac_executable_extensions; do
3332         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3333           if test $ac_prog = install &&
3334             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3335             # AIX install.  It has an incompatible calling convention.
3336             :
3337           elif test $ac_prog = install &&
3338             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3339             # program-specific install script used by HP pwplus--don't use.
3340             :
3341           else
3342             rm -rf conftest.one conftest.two conftest.dir
3343             echo one > conftest.one
3344             echo two > conftest.two
3345             mkdir conftest.dir
3346             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3347               test -s conftest.one && test -s conftest.two &&
3348               test -s conftest.dir/conftest.one &&
3349               test -s conftest.dir/conftest.two
3350             then
3351               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3352               break 3
3353             fi
3354           fi
3355         fi
3356       done
3357     done
3358     ;;
3359 esac
3360
3361   done
3362 IFS=$as_save_IFS
3363
3364 rm -rf conftest.one conftest.two conftest.dir
3365
3366 fi
3367   if test "${ac_cv_path_install+set}" = set; then
3368     INSTALL=$ac_cv_path_install
3369   else
3370     # As a last resort, use the slow shell script.  Don't cache a
3371     # value for INSTALL within a source directory, because that will
3372     # break other packages using the cache if that directory is
3373     # removed, or if the value is a relative name.
3374     INSTALL=$ac_install_sh
3375   fi
3376 fi
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3378 $as_echo "$INSTALL" >&6; }
3379
3380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3381 # It thinks the first close brace ends the variable substitution.
3382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3383
3384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3385
3386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3387
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3389 $as_echo_n "checking whether ln -s works... " >&6; }
3390 LN_S=$as_ln_s
3391 if test "$LN_S" = "ln -s"; then
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3393 $as_echo "yes" >&6; }
3394 else
3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3396 $as_echo "no, using $LN_S" >&6; }
3397 fi
3398
3399
3400 # Extract the first word of "install-info", so it can be a program name with args.
3401 set dummy install-info; ac_word=$2
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403 $as_echo_n "checking for $ac_word... " >&6; }
3404 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then :
3405   $as_echo_n "(cached) " >&6
3406 else
3407   case $INSTALL_INFO in
3408   [\\/]* | ?:[\\/]*)
3409   ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
3410   ;;
3411   *)
3412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3414 do
3415   IFS=$as_save_IFS
3416   test -z "$as_dir" && as_dir=.
3417     for ac_exec_ext in '' $ac_executable_extensions; do
3418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419     ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
3420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421     break 2
3422   fi
3423 done
3424   done
3425 IFS=$as_save_IFS
3426
3427   test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=""""
3428   ;;
3429 esac
3430 fi
3431 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
3432 if test -n "$INSTALL_INFO"; then
3433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
3434 $as_echo "$INSTALL_INFO" >&6; }
3435 else
3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3438 fi
3439
3440
3441
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3443 $as_echo_n "checking for ANSI C header files... " >&6; }
3444 if test "${ac_cv_header_stdc+set}" = set; then :
3445   $as_echo_n "(cached) " >&6
3446 else
3447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h.  */
3449 #include <stdlib.h>
3450 #include <stdarg.h>
3451 #include <string.h>
3452 #include <float.h>
3453
3454 int
3455 main ()
3456 {
3457
3458   ;
3459   return 0;
3460 }
3461 _ACEOF
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463   ac_cv_header_stdc=yes
3464 else
3465   ac_cv_header_stdc=no
3466 fi
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468
3469 if test $ac_cv_header_stdc = yes; then
3470   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h.  */
3473 #include <string.h>
3474
3475 _ACEOF
3476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3477   $EGREP "memchr" >/dev/null 2>&1; then :
3478
3479 else
3480   ac_cv_header_stdc=no
3481 fi
3482 rm -f conftest*
3483
3484 fi
3485
3486 if test $ac_cv_header_stdc = yes; then
3487   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h.  */
3490 #include <stdlib.h>
3491
3492 _ACEOF
3493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3494   $EGREP "free" >/dev/null 2>&1; then :
3495
3496 else
3497   ac_cv_header_stdc=no
3498 fi
3499 rm -f conftest*
3500
3501 fi
3502
3503 if test $ac_cv_header_stdc = yes; then
3504   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3505   if test "$cross_compiling" = yes; then :
3506   :
3507 else
3508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h.  */
3510 #include <ctype.h>
3511 #include <stdlib.h>
3512 #if ((' ' & 0x0FF) == 0x020)
3513 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3514 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3515 #else
3516 # define ISLOWER(c) \
3517                    (('a' <= (c) && (c) <= 'i') \
3518                      || ('j' <= (c) && (c) <= 'r') \
3519                      || ('s' <= (c) && (c) <= 'z'))
3520 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3521 #endif
3522
3523 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3524 int
3525 main ()
3526 {
3527   int i;
3528   for (i = 0; i < 256; i++)
3529     if (XOR (islower (i), ISLOWER (i))
3530         || toupper (i) != TOUPPER (i))
3531       return 2;
3532   return 0;
3533 }
3534 _ACEOF
3535 if ac_fn_c_try_run "$LINENO"; then :
3536
3537 else
3538   ac_cv_header_stdc=no
3539 fi
3540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3541   conftest.$ac_objext conftest.beam conftest.$ac_ext
3542 fi
3543
3544 fi
3545 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3547 $as_echo "$ac_cv_header_stdc" >&6; }
3548 if test $ac_cv_header_stdc = yes; then
3549
3550 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3551
3552 fi
3553
3554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3555 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3556                   inttypes.h stdint.h unistd.h
3557 do :
3558   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3559 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3560 "
3561 eval as_val=\$$as_ac_Header
3562    if test "x$as_val" = x""yes; then :
3563   cat >>confdefs.h <<_ACEOF
3564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3565 _ACEOF
3566
3567 fi
3568
3569 done
3570
3571
3572
3573   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3574 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3575   MINIX=yes
3576 else
3577   MINIX=
3578 fi
3579
3580
3581   if test "$MINIX" = yes; then
3582
3583 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3584
3585
3586 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3587
3588
3589 $as_echo "#define _MINIX 1" >>confdefs.h
3590
3591   fi
3592
3593
3594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3595 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3596 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3597   $as_echo_n "(cached) " >&6
3598 else
3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h.  */
3601
3602 #         define __EXTENSIONS__ 1
3603           $ac_includes_default
3604 int
3605 main ()
3606 {
3607
3608   ;
3609   return 0;
3610 }
3611 _ACEOF
3612 if ac_fn_c_try_compile "$LINENO"; then :
3613   ac_cv_safe_to_define___extensions__=yes
3614 else
3615   ac_cv_safe_to_define___extensions__=no
3616 fi
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 fi
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3620 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3621   test $ac_cv_safe_to_define___extensions__ = yes &&
3622     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3623
3624   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3625
3626   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3627
3628   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3629
3630   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3631
3632
3633 # Make sure we can run config.sub.
3634 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3635   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3636
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3638 $as_echo_n "checking build system type... " >&6; }
3639 if test "${ac_cv_build+set}" = set; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   ac_build_alias=$build_alias
3643 test "x$ac_build_alias" = x &&
3644   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3645 test "x$ac_build_alias" = x &&
3646   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3647 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3648   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3649
3650 fi
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3652 $as_echo "$ac_cv_build" >&6; }
3653 case $ac_cv_build in
3654 *-*-*) ;;
3655 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3656 esac
3657 build=$ac_cv_build
3658 ac_save_IFS=$IFS; IFS='-'
3659 set x $ac_cv_build
3660 shift
3661 build_cpu=$1
3662 build_vendor=$2
3663 shift; shift
3664 # Remember, the first character of IFS is used to create $*,
3665 # except with old shells:
3666 build_os=$*
3667 IFS=$ac_save_IFS
3668 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3669
3670
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3672 $as_echo_n "checking host system type... " >&6; }
3673 if test "${ac_cv_host+set}" = set; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   if test "x$host_alias" = x; then
3677   ac_cv_host=$ac_cv_build
3678 else
3679   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3680     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3681 fi
3682
3683 fi
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3685 $as_echo "$ac_cv_host" >&6; }
3686 case $ac_cv_host in
3687 *-*-*) ;;
3688 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3689 esac
3690 host=$ac_cv_host
3691 ac_save_IFS=$IFS; IFS='-'
3692 set x $ac_cv_host
3693 shift
3694 host_cpu=$1
3695 host_vendor=$2
3696 shift; shift
3697 # Remember, the first character of IFS is used to create $*,
3698 # except with old shells:
3699 host_os=$*
3700 IFS=$ac_save_IFS
3701 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3702
3703
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3705 $as_echo_n "checking target system type... " >&6; }
3706 if test "${ac_cv_target+set}" = set; then :
3707   $as_echo_n "(cached) " >&6
3708 else
3709   if test "x$target_alias" = x; then
3710   ac_cv_target=$ac_cv_host
3711 else
3712   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3713     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3714 fi
3715
3716 fi
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3718 $as_echo "$ac_cv_target" >&6; }
3719 case $ac_cv_target in
3720 *-*-*) ;;
3721 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3722 esac
3723 target=$ac_cv_target
3724 ac_save_IFS=$IFS; IFS='-'
3725 set x $ac_cv_target
3726 shift
3727 target_cpu=$1
3728 target_vendor=$2
3729 shift; shift
3730 # Remember, the first character of IFS is used to create $*,
3731 # except with old shells:
3732 target_os=$*
3733 IFS=$ac_save_IFS
3734 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3735
3736
3737 # The aliases save the names the user supplied, while $host etc.
3738 # will get canonicalized.
3739 test -n "$target_alias" &&
3740   test "$program_prefix$program_suffix$program_transform_name" = \
3741     NONENONEs,x,x, &&
3742   program_prefix=${target_alias}-
3743
3744
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3746 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3747 if test "${ac_cv_c_const+set}" = set; then :
3748   $as_echo_n "(cached) " >&6
3749 else
3750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h.  */
3752
3753 int
3754 main ()
3755 {
3756 /* FIXME: Include the comments suggested by Paul. */
3757 #ifndef __cplusplus
3758   /* Ultrix mips cc rejects this.  */
3759   typedef int charset[2];
3760   const charset cs;
3761   /* SunOS 4.1.1 cc rejects this.  */
3762   char const *const *pcpcc;
3763   char **ppc;
3764   /* NEC SVR4.0.2 mips cc rejects this.  */
3765   struct point {int x, y;};
3766   static struct point const zero = {0,0};
3767   /* AIX XL C 1.02.0.0 rejects this.
3768      It does not let you subtract one const X* pointer from another in
3769      an arm of an if-expression whose if-part is not a constant
3770      expression */
3771   const char *g = "string";
3772   pcpcc = &g + (g ? g-g : 0);
3773   /* HPUX 7.0 cc rejects these. */
3774   ++pcpcc;
3775   ppc = (char**) pcpcc;
3776   pcpcc = (char const *const *) ppc;
3777   { /* SCO 3.2v4 cc rejects this.  */
3778     char *t;
3779     char const *s = 0 ? (char *) 0 : (char const *) 0;
3780
3781     *t++ = 0;
3782     if (s) return 0;
3783   }
3784   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3785     int x[] = {25, 17};
3786     const int *foo = &x[0];
3787     ++foo;
3788   }
3789   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3790     typedef const int *iptr;
3791     iptr p = 0;
3792     ++p;
3793   }
3794   { /* AIX XL C 1.02.0.0 rejects this saying
3795        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3796     struct s { int j; const int *ap[3]; };
3797     struct s *b; b->j = 5;
3798   }
3799   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3800     const int foo = 10;
3801     if (!foo) return 0;
3802   }
3803   return !cs[0] && !zero.x;
3804 #endif
3805
3806   ;
3807   return 0;
3808 }
3809 _ACEOF
3810 if ac_fn_c_try_compile "$LINENO"; then :
3811   ac_cv_c_const=yes
3812 else
3813   ac_cv_c_const=no
3814 fi
3815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3816 fi
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3818 $as_echo "$ac_cv_c_const" >&6; }
3819 if test $ac_cv_c_const = no; then
3820
3821 $as_echo "#define const /**/" >>confdefs.h
3822
3823 fi
3824
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3826 $as_echo_n "checking for inline... " >&6; }
3827 if test "${ac_cv_c_inline+set}" = set; then :
3828   $as_echo_n "(cached) " >&6
3829 else
3830   ac_cv_c_inline=no
3831 for ac_kw in inline __inline__ __inline; do
3832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h.  */
3834 #ifndef __cplusplus
3835 typedef int foo_t;
3836 static $ac_kw foo_t static_foo () {return 0; }
3837 $ac_kw foo_t foo () {return 0; }
3838 #endif
3839
3840 _ACEOF
3841 if ac_fn_c_try_compile "$LINENO"; then :
3842   ac_cv_c_inline=$ac_kw
3843 fi
3844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845   test "$ac_cv_c_inline" != no && break
3846 done
3847
3848 fi
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3850 $as_echo "$ac_cv_c_inline" >&6; }
3851
3852 case $ac_cv_c_inline in
3853   inline | yes) ;;
3854   *)
3855     case $ac_cv_c_inline in
3856       no) ac_val=;;
3857       *) ac_val=$ac_cv_c_inline;;
3858     esac
3859     cat >>confdefs.h <<_ACEOF
3860 #ifndef __cplusplus
3861 #define inline $ac_val
3862 #endif
3863 _ACEOF
3864     ;;
3865 esac
3866
3867
3868
3869 # Check whether --enable-xdf was given.
3870 if test "${enable_xdf+set}" = set; then :
3871   enableval=$enable_xdf; if test x$enableval = xyes; then
3872
3873 $as_echo "#define USE_XDF 1" >>confdefs.h
3874
3875 fi
3876 else
3877
3878 $as_echo "#define USE_XDF 1" >>confdefs.h
3879
3880 fi
3881
3882
3883
3884 # Check whether --enable-vold was given.
3885 if test "${enable_vold+set}" = set; then :
3886   enableval=$enable_vold; if test x$enableval = xyes; then
3887
3888 $as_echo "#define USING_VOLD 1" >>confdefs.h
3889
3890 fi
3891 fi
3892
3893
3894
3895 # Check whether --enable-new-vold was given.
3896 if test "${enable_new_vold+set}" = set; then :
3897   enableval=$enable_new_vold; newVold=x$enableval
3898 if test x$enableval = xyes; then
3899
3900 $as_echo "#define USING_NEW_VOLD 1" >>confdefs.h
3901
3902 fi
3903 fi
3904
3905
3906
3907 # Check whether --enable-debug was given.
3908 if test "${enable_debug+set}" = set; then :
3909   enableval=$enable_debug; if test x$enableval = xyes; then
3910
3911 $as_echo "#define DEBUG 1" >>confdefs.h
3912
3913 fi
3914 fi
3915
3916
3917
3918 # Check whether --enable-raw_term was given.
3919 if test "${enable_raw_term+set}" = set; then :
3920   enableval=$enable_raw_term; if test x$enableval = xyes; then
3921
3922 $as_echo "#define USE_RAWTERM 1" >>confdefs.h
3923
3924 fi
3925 else
3926
3927 $as_echo "#define USE_RAWTERM 1" >>confdefs.h
3928
3929 fi
3930
3931
3932
3933
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5
3935 $as_echo_n "checking for getpwnam in -lsun... " >&6; }
3936 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then :
3937   $as_echo_n "(cached) " >&6
3938 else
3939   ac_check_lib_save_LIBS=$LIBS
3940 LIBS="-lsun  $LIBS"
3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h.  */
3943
3944 /* Override any GCC internal prototype to avoid an error.
3945    Use char because int might match the return type of a GCC
3946    builtin and then its argument prototype would still apply.  */
3947 #ifdef __cplusplus
3948 extern "C"
3949 #endif
3950 char getpwnam ();
3951 int
3952 main ()
3953 {
3954 return getpwnam ();
3955   ;
3956   return 0;
3957 }
3958 _ACEOF
3959 if ac_fn_c_try_link "$LINENO"; then :
3960   ac_cv_lib_sun_getpwnam=yes
3961 else
3962   ac_cv_lib_sun_getpwnam=no
3963 fi
3964 rm -f core conftest.err conftest.$ac_objext \
3965     conftest$ac_exeext conftest.$ac_ext
3966 LIBS=$ac_check_lib_save_LIBS
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5
3969 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; }
3970 if test "x$ac_cv_lib_sun_getpwnam" = x""yes; then :
3971   cat >>confdefs.h <<_ACEOF
3972 #define HAVE_LIBSUN 1
3973 _ACEOF
3974
3975   LIBS="-lsun $LIBS"
3976
3977 fi
3978
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cam_open_device in -lcam" >&5
3980 $as_echo_n "checking for cam_open_device in -lcam... " >&6; }
3981 if test "${ac_cv_lib_cam_cam_open_device+set}" = set; then :
3982   $as_echo_n "(cached) " >&6
3983 else
3984   ac_check_lib_save_LIBS=$LIBS
3985 LIBS="-lcam  $LIBS"
3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3987 /* end confdefs.h.  */
3988
3989 /* Override any GCC internal prototype to avoid an error.
3990    Use char because int might match the return type of a GCC
3991    builtin and then its argument prototype would still apply.  */
3992 #ifdef __cplusplus
3993 extern "C"
3994 #endif
3995 char cam_open_device ();
3996 int
3997 main ()
3998 {
3999 return cam_open_device ();
4000   ;
4001   return 0;
4002 }
4003 _ACEOF
4004 if ac_fn_c_try_link "$LINENO"; then :
4005   ac_cv_lib_cam_cam_open_device=yes
4006 else
4007   ac_cv_lib_cam_cam_open_device=no
4008 fi
4009 rm -f core conftest.err conftest.$ac_objext \
4010     conftest$ac_exeext conftest.$ac_ext
4011 LIBS=$ac_check_lib_save_LIBS
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cam_cam_open_device" >&5
4014 $as_echo "$ac_cv_lib_cam_cam_open_device" >&6; }
4015 if test "x$ac_cv_lib_cam_cam_open_device" = x""yes; then :
4016   cat >>confdefs.h <<_ACEOF
4017 #define HAVE_LIBCAM 1
4018 _ACEOF
4019
4020   LIBS="-lcam $LIBS"
4021
4022 fi
4023
4024
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4026 $as_echo_n "checking for ANSI C header files... " >&6; }
4027 if test "${ac_cv_header_stdc+set}" = set; then :
4028   $as_echo_n "(cached) " >&6
4029 else
4030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h.  */
4032 #include <stdlib.h>
4033 #include <stdarg.h>
4034 #include <string.h>
4035 #include <float.h>
4036
4037 int
4038 main ()
4039 {
4040
4041   ;
4042   return 0;
4043 }
4044 _ACEOF
4045 if ac_fn_c_try_compile "$LINENO"; then :
4046   ac_cv_header_stdc=yes
4047 else
4048   ac_cv_header_stdc=no
4049 fi
4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051
4052 if test $ac_cv_header_stdc = yes; then
4053   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h.  */
4056 #include <string.h>
4057
4058 _ACEOF
4059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4060   $EGREP "memchr" >/dev/null 2>&1; then :
4061
4062 else
4063   ac_cv_header_stdc=no
4064 fi
4065 rm -f conftest*
4066
4067 fi
4068
4069 if test $ac_cv_header_stdc = yes; then
4070   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h.  */
4073 #include <stdlib.h>
4074
4075 _ACEOF
4076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4077   $EGREP "free" >/dev/null 2>&1; then :
4078
4079 else
4080   ac_cv_header_stdc=no
4081 fi
4082 rm -f conftest*
4083
4084 fi
4085
4086 if test $ac_cv_header_stdc = yes; then
4087   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4088   if test "$cross_compiling" = yes; then :
4089   :
4090 else
4091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h.  */
4093 #include <ctype.h>
4094 #include <stdlib.h>
4095 #if ((' ' & 0x0FF) == 0x020)
4096 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4097 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4098 #else
4099 # define ISLOWER(c) \
4100                    (('a' <= (c) && (c) <= 'i') \
4101                      || ('j' <= (c) && (c) <= 'r') \
4102                      || ('s' <= (c) && (c) <= 'z'))
4103 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4104 #endif
4105
4106 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4107 int
4108 main ()
4109 {
4110   int i;
4111   for (i = 0; i < 256; i++)
4112     if (XOR (islower (i), ISLOWER (i))
4113         || toupper (i) != TOUPPER (i))
4114       return 2;
4115   return 0;
4116 }
4117 _ACEOF
4118 if ac_fn_c_try_run "$LINENO"; then :
4119
4120 else
4121   ac_cv_header_stdc=no
4122 fi
4123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4124   conftest.$ac_objext conftest.beam conftest.$ac_ext
4125 fi
4126
4127 fi
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4130 $as_echo "$ac_cv_header_stdc" >&6; }
4131 if test $ac_cv_header_stdc = yes; then
4132
4133 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4134
4135 fi
4136
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4138 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4139 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
4140   $as_echo_n "(cached) " >&6
4141 else
4142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h.  */
4144 #include <sys/types.h>
4145 #include <sys/wait.h>
4146 #ifndef WEXITSTATUS
4147 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4148 #endif
4149 #ifndef WIFEXITED
4150 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4151 #endif
4152
4153 int
4154 main ()
4155 {
4156   int s;
4157   wait (&s);
4158   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4159   ;
4160   return 0;
4161 }
4162 _ACEOF
4163 if ac_fn_c_try_compile "$LINENO"; then :
4164   ac_cv_header_sys_wait_h=yes
4165 else
4166   ac_cv_header_sys_wait_h=no
4167 fi
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 fi
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4171 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4172 if test $ac_cv_header_sys_wait_h = yes; then
4173
4174 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4175
4176 fi
4177
4178 for ac_header in getopt.h sys/stat.h stdlib.h unistd.h linux/unistd.h \
4179 libc.h fcntl.h limits.h sys/file.h sys/ioctl.h sys/time.h strings.h string.h \
4180 sys/param.h memory.h malloc.h signal.h sys/signal.h utime.h sgtty.h \
4181 sys/floppy.h mntent.h sys/sysmacros.h netinet/in.h assert.h \
4182 iconv.h wctype.h wchar.h locale.h linux/fs.h
4183 do :
4184   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4185 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4186 eval as_val=\$$as_ac_Header
4187    if test "x$as_val" = x""yes; then :
4188   cat >>confdefs.h <<_ACEOF
4189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4190 _ACEOF
4191
4192 fi
4193
4194 done
4195
4196 for ac_header in termio.h sys/termio.h
4197 do :
4198   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4199 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4200 eval as_val=\$$as_ac_Header
4201    if test "x$as_val" = x""yes; then :
4202   cat >>confdefs.h <<_ACEOF
4203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4204 _ACEOF
4205  break
4206 fi
4207
4208 done
4209
4210 for ac_header in termios.h sys/termios.h
4211 do :
4212   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4213 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4214 eval as_val=\$$as_ac_Header
4215    if test "x$as_val" = x""yes; then :
4216   cat >>confdefs.h <<_ACEOF
4217 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4218 _ACEOF
4219  break
4220 fi
4221
4222 done
4223
4224
4225
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether llseek declared in unistd.h" >&5
4227 $as_echo_n "checking whether llseek declared in unistd.h... " >&6; }
4228 if test "${mtools_cv_have_llseek_prototype+set}" = set; then :
4229   $as_echo_n "(cached) " >&6
4230 else
4231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4232 /* end confdefs.h.  */
4233 #include <unistd.h>
4234 int
4235 main ()
4236 {
4237 extern int llseek(int);
4238   ;
4239   return 0;
4240 }
4241 _ACEOF
4242 if ac_fn_c_try_compile "$LINENO"; then :
4243   mtools_cv_have_llseek_prototype=no
4244 else
4245   mtools_cv_have_llseek_prototype=yes
4246 fi
4247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 fi
4249
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mtools_cv_have_llseek_prototype" >&5
4251 $as_echo "$mtools_cv_have_llseek_prototype" >&6; }
4252 if test "$mtools_cv_have_llseek_prototype" = yes; then
4253
4254 $as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
4255
4256 fi
4257
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek64 declared in unistd.h" >&5
4259 $as_echo_n "checking whether lseek64 declared in unistd.h... " >&6; }
4260 if test "${mtools_cv_have_lseek64_prototype+set}" = set; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h.  */
4265
4266 #include "sysincludes.h"
4267 #include <unistd.h>
4268
4269 int
4270 main ()
4271 {
4272 extern int lseek64(int);
4273   ;
4274   return 0;
4275 }
4276 _ACEOF
4277 if ac_fn_c_try_compile "$LINENO"; then :
4278   mtools_cv_have_lseek64_prototype=no
4279 else
4280   mtools_cv_have_lseek64_prototype=yes
4281 fi
4282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 fi
4284
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mtools_cv_have_lseek64_prototype" >&5
4286 $as_echo "$mtools_cv_have_lseek64_prototype" >&6; }
4287 if test "$mtools_cv_have_lseek64_prototype" = yes; then
4288
4289 $as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
4290
4291 fi
4292
4293
4294 for ac_func in htons
4295 do :
4296   ac_fn_c_check_func "$LINENO" "htons" "ac_cv_func_htons"
4297 if test "x$ac_cv_func_htons" = x""yes; then :
4298   cat >>confdefs.h <<_ACEOF
4299 #define HAVE_HTONS 1
4300 _ACEOF
4301
4302 fi
4303 done
4304
4305
4306
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4308 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4309 if test "${ac_cv_c_const+set}" = set; then :
4310   $as_echo_n "(cached) " >&6
4311 else
4312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4313 /* end confdefs.h.  */
4314
4315 int
4316 main ()
4317 {
4318 /* FIXME: Include the comments suggested by Paul. */
4319 #ifndef __cplusplus
4320   /* Ultrix mips cc rejects this.  */
4321   typedef int charset[2];
4322   const charset cs;
4323   /* SunOS 4.1.1 cc rejects this.  */
4324   char const *const *pcpcc;
4325   char **ppc;
4326   /* NEC SVR4.0.2 mips cc rejects this.  */
4327   struct point {int x, y;};
4328   static struct point const zero = {0,0};
4329   /* AIX XL C 1.02.0.0 rejects this.
4330      It does not let you subtract one const X* pointer from another in
4331      an arm of an if-expression whose if-part is not a constant
4332      expression */
4333   const char *g = "string";
4334   pcpcc = &g + (g ? g-g : 0);
4335   /* HPUX 7.0 cc rejects these. */
4336   ++pcpcc;
4337   ppc = (char**) pcpcc;
4338   pcpcc = (char const *const *) ppc;
4339   { /* SCO 3.2v4 cc rejects this.  */
4340     char *t;
4341     char const *s = 0 ? (char *) 0 : (char const *) 0;
4342
4343     *t++ = 0;
4344     if (s) return 0;
4345   }
4346   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4347     int x[] = {25, 17};
4348     const int *foo = &x[0];
4349     ++foo;
4350   }
4351   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4352     typedef const int *iptr;
4353     iptr p = 0;
4354     ++p;
4355   }
4356   { /* AIX XL C 1.02.0.0 rejects this saying
4357        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4358     struct s { int j; const int *ap[3]; };
4359     struct s *b; b->j = 5;
4360   }
4361   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4362     const int foo = 10;
4363     if (!foo) return 0;
4364   }
4365   return !cs[0] && !zero.x;
4366 #endif
4367
4368   ;
4369   return 0;
4370 }
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373   ac_cv_c_const=yes
4374 else
4375   ac_cv_c_const=no
4376 fi
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 fi
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4380 $as_echo "$ac_cv_c_const" >&6; }
4381 if test $ac_cv_c_const = no; then
4382
4383 $as_echo "#define const /**/" >>confdefs.h
4384
4385 fi
4386
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4388 $as_echo_n "checking for inline... " >&6; }
4389 if test "${ac_cv_c_inline+set}" = set; then :
4390   $as_echo_n "(cached) " >&6
4391 else
4392   ac_cv_c_inline=no
4393 for ac_kw in inline __inline__ __inline; do
4394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h.  */
4396 #ifndef __cplusplus
4397 typedef int foo_t;
4398 static $ac_kw foo_t static_foo () {return 0; }
4399 $ac_kw foo_t foo () {return 0; }
4400 #endif
4401
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404   ac_cv_c_inline=$ac_kw
4405 fi
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407   test "$ac_cv_c_inline" != no && break
4408 done
4409
4410 fi
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4412 $as_echo "$ac_cv_c_inline" >&6; }
4413
4414 case $ac_cv_c_inline in
4415   inline | yes) ;;
4416   *)
4417     case $ac_cv_c_inline in
4418       no) ac_val=;;
4419       *) ac_val=$ac_cv_c_inline;;
4420     esac
4421     cat >>confdefs.h <<_ACEOF
4422 #ifndef __cplusplus
4423 #define inline $ac_val
4424 #endif
4425 _ACEOF
4426     ;;
4427 esac
4428
4429 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4430 if test "x$ac_cv_type_size_t" = x""yes; then :
4431
4432 else
4433
4434 cat >>confdefs.h <<_ACEOF
4435 #define size_t unsigned int
4436 _ACEOF
4437
4438 fi
4439
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4441 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4442 if test "${ac_cv_header_time+set}" = set; then :
4443   $as_echo_n "(cached) " >&6
4444 else
4445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h.  */
4447 #include <sys/types.h>
4448 #include <sys/time.h>
4449 #include <time.h>
4450
4451 int
4452 main ()
4453 {
4454 if ((struct tm *) 0)
4455 return 0;
4456   ;
4457   return 0;
4458 }
4459 _ACEOF
4460 if ac_fn_c_try_compile "$LINENO"; then :
4461   ac_cv_header_time=yes
4462 else
4463   ac_cv_header_time=no
4464 fi
4465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4466 fi
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4468 $as_echo "$ac_cv_header_time" >&6; }
4469 if test $ac_cv_header_time = yes; then
4470
4471 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4472
4473 fi
4474
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4476 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4477 if test "${ac_cv_struct_tm+set}" = set; then :
4478   $as_echo_n "(cached) " >&6
4479 else
4480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h.  */
4482 #include <sys/types.h>
4483 #include <time.h>
4484
4485 int
4486 main ()
4487 {
4488 struct tm tm;
4489                                      int *p = &tm.tm_sec;
4490                                      return !p;
4491   ;
4492   return 0;
4493 }
4494 _ACEOF
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496   ac_cv_struct_tm=time.h
4497 else
4498   ac_cv_struct_tm=sys/time.h
4499 fi
4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4503 $as_echo "$ac_cv_struct_tm" >&6; }
4504 if test $ac_cv_struct_tm = sys/time.h; then
4505
4506 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4507
4508 fi
4509
4510
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4513 $as_echo_n "checking return type of signal handlers... " >&6; }
4514 if test "${ac_cv_type_signal+set}" = set; then :
4515   $as_echo_n "(cached) " >&6
4516 else
4517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h.  */
4519 #include <sys/types.h>
4520 #include <signal.h>
4521
4522 int
4523 main ()
4524 {
4525 return *(signal (0, 0)) (0) == 1;
4526   ;
4527   return 0;
4528 }
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531   ac_cv_type_signal=int
4532 else
4533   ac_cv_type_signal=void
4534 fi
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 fi
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4538 $as_echo "$ac_cv_type_signal" >&6; }
4539
4540 cat >>confdefs.h <<_ACEOF
4541 #define RETSIGTYPE $ac_cv_type_signal
4542 _ACEOF
4543
4544
4545 for ac_func in strerror random srandom strchr strrchr lockf flock \
4546 strcasecmp strncasecmp strnlen atexit on_exit getpass memmove \
4547 strdup strcspn strspn strtoul strtol memcpy strpbrk memset setenv \
4548 seteuid setresuid setpgrp \
4549 tcsetattr tcflush basename fchdir media_oldaliases llseek lseek64 \
4550 snprintf stat64 setlocale \
4551 wcsdup wcscasecmp wcsnlen putwc \
4552 getuserid getgroupid
4553 do :
4554   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4556 eval as_val=\$$as_ac_var
4557    if test "x$as_val" = x""yes; then :
4558   cat >>confdefs.h <<_ACEOF
4559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4560 _ACEOF
4561
4562 fi
4563 done
4564
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setpgrp takes no argument" >&5
4566 $as_echo_n "checking whether setpgrp takes no argument... " >&6; }
4567 if test "${ac_cv_func_setpgrp_void+set}" = set; then :
4568   $as_echo_n "(cached) " >&6
4569 else
4570   if test "$cross_compiling" = yes; then :
4571   as_fn_error "cannot check setpgrp when cross compiling" "$LINENO" 5
4572 else
4573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h.  */
4575 $ac_includes_default
4576 int
4577 main ()
4578 {
4579 /* If this system has a BSD-style setpgrp which takes arguments,
4580   setpgrp(1, 1) will fail with ESRCH and return -1, in that case
4581   exit successfully. */
4582   return setpgrp (1,1) != -1;
4583   ;
4584   return 0;
4585 }
4586 _ACEOF
4587 if ac_fn_c_try_run "$LINENO"; then :
4588   ac_cv_func_setpgrp_void=no
4589 else
4590   ac_cv_func_setpgrp_void=yes
4591 fi
4592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4593   conftest.$ac_objext conftest.beam conftest.$ac_ext
4594 fi
4595
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setpgrp_void" >&5
4598 $as_echo "$ac_cv_func_setpgrp_void" >&6; }
4599 if test $ac_cv_func_setpgrp_void = yes; then
4600
4601 $as_echo "#define SETPGRP_VOID 1" >>confdefs.h
4602
4603 fi
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5
4616 $as_echo_n "checking for 64-bit off_t... " >&6; }
4617 if test "${sfs_cv_off_t_64+set}" = set; then :
4618   $as_echo_n "(cached) " >&6
4619 else
4620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h.  */
4622
4623 #include <unistd.h>
4624 #include <sys/types.h>
4625
4626 int
4627 main ()
4628 {
4629
4630 switch (0) case 0: case (sizeof (off_t) <= 4):;
4631
4632   ;
4633   return 0;
4634 }
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637   sfs_cv_off_t_64=no
4638 else
4639   sfs_cv_off_t_64=yes
4640 fi
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 fi
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sfs_cv_off_t_64" >&5
4644 $as_echo "$sfs_cv_off_t_64" >&6; }
4645 if test $sfs_cv_off_t_64 = yes; then
4646
4647 $as_echo "#define HAVE_OFF_T_64 1" >>confdefs.h
4648
4649 fi
4650
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports loff_t type" >&5
4652 $as_echo_n "checking whether ${CC} supports loff_t type... " >&6; }
4653 if test "${ice_cv_have_loff_t+set}" = set; then :
4654   $as_echo_n "(cached) " >&6
4655 else
4656
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h.  */
4659 #include <sys/types.h>
4660 int
4661 main ()
4662 {
4663 loff_t a;
4664   ;
4665   return 0;
4666 }
4667 _ACEOF
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669   ice_cv_have_loff_t=yes
4670 else
4671   ice_cv_have_loff_t=no
4672 fi
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
4675 fi
4676
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ice_cv_have_loff_t" >&5
4678 $as_echo "$ice_cv_have_loff_t" >&6; }
4679 if test "$ice_cv_have_loff_t" = yes; then
4680
4681 $as_echo "#define HAVE_LOFF_T 1" >>confdefs.h
4682
4683 fi
4684
4685
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports offset_t type" >&5
4687 $as_echo_n "checking whether ${CC} supports offset_t type... " >&6; }
4688 if test "${ice_cv_have_offset_t+set}" = set; then :
4689   $as_echo_n "(cached) " >&6
4690 else
4691
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h.  */
4694 #include <sys/types.h>
4695 int
4696 main ()
4697 {
4698 offset_t a;
4699   ;
4700   return 0;
4701 }
4702 _ACEOF
4703 if ac_fn_c_try_compile "$LINENO"; then :
4704   ice_cv_have_offset_t=yes
4705 else
4706   ice_cv_have_offset_t=no
4707 fi
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709
4710 fi
4711
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ice_cv_have_offset_t" >&5
4713 $as_echo "$ice_cv_have_offset_t" >&6; }
4714 if test "$ice_cv_have_offset_t" = yes; then
4715
4716 $as_echo "#define HAVE_OFFSET_T 1" >>confdefs.h
4717
4718 fi
4719
4720
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports long long type" >&5
4722 $as_echo_n "checking whether ${CC} supports long long type... " >&6; }
4723 if test "${ice_cv_have_long_long+set}" = set; then :
4724   $as_echo_n "(cached) " >&6
4725 else
4726
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h.  */
4729
4730 int
4731 main ()
4732 {
4733 long long a;
4734   ;
4735   return 0;
4736 }
4737 _ACEOF
4738 if ac_fn_c_try_compile "$LINENO"; then :
4739   ice_cv_have_long_long=yes
4740 else
4741   ice_cv_have_long_long=no
4742 fi
4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744
4745 fi
4746
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ice_cv_have_long_long" >&5
4748 $as_echo "$ice_cv_have_long_long" >&6; }
4749 if test "$ice_cv_have_long_long" = yes; then
4750
4751 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
4752
4753 fi
4754
4755
4756
4757 for ac_func in utimes utime
4758 do :
4759   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4761 eval as_val=\$$as_ac_var
4762    if test "x$as_val" = x""yes; then :
4763   cat >>confdefs.h <<_ACEOF
4764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4765 _ACEOF
4766  break
4767 fi
4768 done
4769
4770 for ac_func in tzset gettimeofday
4771 do :
4772   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4774 eval as_val=\$$as_ac_var
4775    if test "x$as_val" = x""yes; then :
4776   cat >>confdefs.h <<_ACEOF
4777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4778 _ACEOF
4779
4780 fi
4781 done
4782
4783
4784
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking declaration of sys_errlist" >&5
4786 $as_echo_n "checking declaration of sys_errlist... " >&6; }
4787 if test "${cf_cv_dcl_sys_errlist+set}" = set; then :
4788   $as_echo_n "(cached) " >&6
4789 else
4790
4791     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h.  */
4793
4794 #include <stdio.h>
4795 #include <sys/types.h>
4796 #include <errno.h>
4797 int
4798 main ()
4799 {
4800 char *c = (char *) *sys_errlist
4801   ;
4802   return 0;
4803 }
4804 _ACEOF
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806   cf_cv_dcl_sys_errlist=yes
4807 else
4808   cf_cv_dcl_sys_errlist=no
4809 fi
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 fi
4812
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_cv_dcl_sys_errlist" >&5
4814 $as_echo "$cf_cv_dcl_sys_errlist" >&6; }
4815 test $cf_cv_dcl_sys_errlist = no ||
4816 $as_echo "#define DECL_SYS_ERRLIST 1" >>confdefs.h
4817
4818
4819
4820
4821 host_os0=`echo $host_os | sed 's/-/_/g'`
4822 host_os1=`echo $host_os0 | sed 's/\./_/g'`
4823 host_os2=`echo $host_os0 | sed 's/^\([^.]*\)\..*$/\1/g'`
4824 host_os3=`echo $host_os2 | sed 's/^\([^0-9]*\)[0-9]*$/\1/g'`
4825 host_cpu1=`echo $host_cpu | sed 's/\./_/g'`
4826 host_vendor1=`echo $host_vendor | sed 's/\./_/g'`
4827 HOST_ID="-DCPU_$host_cpu1 -DVENDOR_$host_vendor1 -DOS_$host_os1"
4828 if [ $host_os1 != $host_os2 ] ; then
4829         HOST_ID="$HOST_ID -DOS_$host_os2"
4830 fi
4831 if [ $host_os1 != $host_os3 ] && [ $host_os2 != $host_os3 ] ; then
4832         HOST_ID="$HOST_ID -DOS_$host_os3"
4833 fi
4834
4835 my_host_os=`echo $host_os1 $host_os2 $host_os3 | sort -u`
4836 objs=`echo $srcdir/*.c | sed 's/\.c$/.o/' `
4837 if [ "X$GCC" = "Xyes" ] ; then
4838     Wall=-Wall
4839     if [ "$host_os3" = sunos ] ; then
4840             Wall=""
4841     fi
4842     if [ "$host_os3" = ultrix ] ; then
4843             Wall=""
4844     fi
4845     if [ "$host_os3" = linux ] ; then
4846             CFLAGS="$CFLAGS -fno-strength-reduce"
4847     fi
4848     if [ "$host_os3" = aux ] ; then
4849             CFLAGS="$CFLAGS -ZP"
4850             MACHDEPLIBS="-lposix -UTIL"
4851     fi
4852     case "${host}" in
4853        arm*-*-linux) CFLAGS="$CFLAGS -mstructure-size-boundary=8";;
4854     esac
4855     CFLAGS="$CFLAGS $Wall"
4856 else
4857     if [ $host_os3 = hpux ] ; then
4858             CPPFLAGS="$CPPFLAGS -Ae"
4859     fi
4860
4861     if [ $host_os3 = xenix ] ; then
4862             CFLAGS="$CFLAGS -M2e"
4863     fi
4864 fi
4865
4866 if [ $host_os3 = hpux ] ; then
4867             LDFLAGS="$LDFLAGS -z"
4868 fi
4869
4870 if [ $host_os3 = xenix ] ; then
4871     LDFLAGS="$LDFLAGS -M2e -i -f 5000"
4872 fi
4873
4874 if [ $host_os2 = sysv4 ] ; then
4875     SHLIB="-lc -L/usr/ucblib -lucb"
4876 else
4877     SHLIB=""
4878 fi
4879
4880 if [ $host_os3 = isc ] ; then
4881     CFLAGS="$CFLAGS -D_SYSV3"
4882     SHLIB="-lc_s"
4883 fi
4884
4885 if [ $host_os3 = solaris -a x$newVold = xxyes ] ; then
4886     SHLIB="$SHLIB -s -lvolmgt"
4887 fi
4888
4889 if [ $host_os3 = nextstep ] ; then
4890     CFLAGS="$CFLAGS -DBSD"
4891     SHLIB=""
4892 fi
4893
4894 if [ -d /usr/5lib ] ; then
4895         extralibdir=-L/usr/5lib
4896 fi
4897
4898
4899
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
4901 $as_echo_n "checking for X... " >&6; }
4902
4903
4904 # Check whether --with-x was given.
4905 if test "${with_x+set}" = set; then :
4906   withval=$with_x;
4907 fi
4908
4909 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4910 if test "x$with_x" = xno; then
4911   # The user explicitly disabled X.
4912   have_x=disabled
4913 else
4914   case $x_includes,$x_libraries in #(
4915     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
4916     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
4917   $as_echo_n "(cached) " >&6
4918 else
4919   # One or both of the vars are not set, and there is no cached value.
4920 ac_x_includes=no ac_x_libraries=no
4921 rm -f -r conftest.dir
4922 if mkdir conftest.dir; then
4923   cd conftest.dir
4924   cat >Imakefile <<'_ACEOF'
4925 incroot:
4926         @echo incroot='${INCROOT}'
4927 usrlibdir:
4928         @echo usrlibdir='${USRLIBDIR}'
4929 libdir:
4930         @echo libdir='${LIBDIR}'
4931 _ACEOF
4932   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
4933     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4934     for ac_var in incroot usrlibdir libdir; do
4935       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4936     done
4937     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4938     for ac_extension in a so sl dylib la dll; do
4939       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4940          test -f "$ac_im_libdir/libX11.$ac_extension"; then
4941         ac_im_usrlibdir=$ac_im_libdir; break
4942       fi
4943     done
4944     # Screen out bogus values from the imake configuration.  They are
4945     # bogus both because they are the default anyway, and because
4946     # using them would break gcc on systems where it needs fixed includes.
4947     case $ac_im_incroot in
4948         /usr/include) ac_x_includes= ;;
4949         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4950     esac
4951     case $ac_im_usrlibdir in
4952         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4953         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4954     esac
4955   fi
4956   cd ..
4957   rm -f -r conftest.dir
4958 fi
4959
4960 # Standard set of common directories for X headers.
4961 # Check X11 before X11Rn because it is often a symlink to the current release.
4962 ac_x_header_dirs='
4963 /usr/X11/include
4964 /usr/X11R7/include
4965 /usr/X11R6/include
4966 /usr/X11R5/include
4967 /usr/X11R4/include
4968
4969 /usr/include/X11
4970 /usr/include/X11R7
4971 /usr/include/X11R6
4972 /usr/include/X11R5
4973 /usr/include/X11R4
4974
4975 /usr/local/X11/include
4976 /usr/local/X11R7/include
4977 /usr/local/X11R6/include
4978 /usr/local/X11R5/include
4979 /usr/local/X11R4/include
4980
4981 /usr/local/include/X11
4982 /usr/local/include/X11R7
4983 /usr/local/include/X11R6
4984 /usr/local/include/X11R5
4985 /usr/local/include/X11R4
4986
4987 /usr/X386/include
4988 /usr/x386/include
4989 /usr/XFree86/include/X11
4990
4991 /usr/include
4992 /usr/local/include
4993 /usr/unsupported/include
4994 /usr/athena/include
4995 /usr/local/x11r5/include
4996 /usr/lpp/Xamples/include
4997
4998 /usr/openwin/include
4999 /usr/openwin/share/include'
5000
5001 if test "$ac_x_includes" = no; then
5002   # Guess where to find include files, by looking for Xlib.h.
5003   # First, try using that file with no special directory specified.
5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5005 /* end confdefs.h.  */
5006 #include <X11/Xlib.h>
5007 _ACEOF
5008 if ac_fn_c_try_cpp "$LINENO"; then :
5009   # We can compile using X headers with no special include directory.
5010 ac_x_includes=
5011 else
5012   for ac_dir in $ac_x_header_dirs; do
5013   if test -r "$ac_dir/X11/Xlib.h"; then
5014     ac_x_includes=$ac_dir
5015     break
5016   fi
5017 done
5018 fi
5019 rm -f conftest.err conftest.$ac_ext
5020 fi # $ac_x_includes = no
5021
5022 if test "$ac_x_libraries" = no; then
5023   # Check for the libraries.
5024   # See if we find them without any special options.
5025   # Don't add to $LIBS permanently.
5026   ac_save_LIBS=$LIBS
5027   LIBS="-lX11 $LIBS"
5028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h.  */
5030 #include <X11/Xlib.h>
5031 int
5032 main ()
5033 {
5034 XrmInitialize ()
5035   ;
5036   return 0;
5037 }
5038 _ACEOF
5039 if ac_fn_c_try_link "$LINENO"; then :
5040   LIBS=$ac_save_LIBS
5041 # We can link X programs with no special library path.
5042 ac_x_libraries=
5043 else
5044   LIBS=$ac_save_LIBS
5045 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5046 do
5047   # Don't even attempt the hair of trying to link an X program!
5048   for ac_extension in a so sl dylib la dll; do
5049     if test -r "$ac_dir/libX11.$ac_extension"; then
5050       ac_x_libraries=$ac_dir
5051       break 2
5052     fi
5053   done
5054 done
5055 fi
5056 rm -f core conftest.err conftest.$ac_objext \
5057     conftest$ac_exeext conftest.$ac_ext
5058 fi # $ac_x_libraries = no
5059
5060 case $ac_x_includes,$ac_x_libraries in #(
5061   no,* | *,no | *\'*)
5062     # Didn't find X, or a directory has "'" in its name.
5063     ac_cv_have_x="have_x=no";; #(
5064   *)
5065     # Record where we found X for the cache.
5066     ac_cv_have_x="have_x=yes\
5067         ac_x_includes='$ac_x_includes'\
5068         ac_x_libraries='$ac_x_libraries'"
5069 esac
5070 fi
5071 ;; #(
5072     *) have_x=yes;;
5073   esac
5074   eval "$ac_cv_have_x"
5075 fi # $with_x != no
5076
5077 if test "$have_x" != yes; then
5078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
5079 $as_echo "$have_x" >&6; }
5080   no_x=yes
5081 else
5082   # If each of the values was on the command line, it overrides each guess.
5083   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5084   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5085   # Update the cache value to reflect the command line values.
5086   ac_cv_have_x="have_x=yes\
5087         ac_x_includes='$x_includes'\
5088         ac_x_libraries='$x_libraries'"
5089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
5090 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5091 fi
5092
5093 if test "$no_x" = yes; then
5094   # Not all programs may use this symbol, but it does not hurt to define it.
5095
5096 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
5097
5098   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
5099 else
5100   if test -n "$x_includes"; then
5101     X_CFLAGS="$X_CFLAGS -I$x_includes"
5102   fi
5103
5104   # It would also be nice to do this for all -L options, not just this one.
5105   if test -n "$x_libraries"; then
5106     X_LIBS="$X_LIBS -L$x_libraries"
5107     # For Solaris; some versions of Sun CC require a space after -R and
5108     # others require no space.  Words are not sufficient . . . .
5109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
5110 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5111     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5112     ac_xsave_c_werror_flag=$ac_c_werror_flag
5113     ac_c_werror_flag=yes
5114     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h.  */
5116
5117 int
5118 main ()
5119 {
5120
5121   ;
5122   return 0;
5123 }
5124 _ACEOF
5125 if ac_fn_c_try_link "$LINENO"; then :
5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128        X_LIBS="$X_LIBS -R$x_libraries"
5129 else
5130   LIBS="$ac_xsave_LIBS -R $x_libraries"
5131        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h.  */
5133
5134 int
5135 main ()
5136 {
5137
5138   ;
5139   return 0;
5140 }
5141 _ACEOF
5142 if ac_fn_c_try_link "$LINENO"; then :
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5144 $as_echo "yes" >&6; }
5145           X_LIBS="$X_LIBS -R $x_libraries"
5146 else
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
5148 $as_echo "neither works" >&6; }
5149 fi
5150 rm -f core conftest.err conftest.$ac_objext \
5151     conftest$ac_exeext conftest.$ac_ext
5152 fi
5153 rm -f core conftest.err conftest.$ac_objext \
5154     conftest$ac_exeext conftest.$ac_ext
5155     ac_c_werror_flag=$ac_xsave_c_werror_flag
5156     LIBS=$ac_xsave_LIBS
5157   fi
5158
5159   # Check for system-dependent libraries X programs must link with.
5160   # Do this before checking for the system-independent R6 libraries
5161   # (-lICE), since we may need -lsocket or whatever for X linking.
5162
5163   if test "$ISC" = yes; then
5164     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
5165   else
5166     # Martyn Johnson says this is needed for Ultrix, if the X
5167     # libraries were built with DECnet support.  And Karl Berry says
5168     # the Alpha needs dnet_stub (dnet does not exist).
5169     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
5170     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h.  */
5172
5173 /* Override any GCC internal prototype to avoid an error.
5174    Use char because int might match the return type of a GCC
5175    builtin and then its argument prototype would still apply.  */
5176 #ifdef __cplusplus
5177 extern "C"
5178 #endif
5179 char XOpenDisplay ();
5180 int
5181 main ()
5182 {
5183 return XOpenDisplay ();
5184   ;
5185   return 0;
5186 }
5187 _ACEOF
5188 if ac_fn_c_try_link "$LINENO"; then :
5189
5190 else
5191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
5192 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5193 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
5194   $as_echo_n "(cached) " >&6
5195 else
5196   ac_check_lib_save_LIBS=$LIBS
5197 LIBS="-ldnet  $LIBS"
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h.  */
5200
5201 /* Override any GCC internal prototype to avoid an error.
5202    Use char because int might match the return type of a GCC
5203    builtin and then its argument prototype would still apply.  */
5204 #ifdef __cplusplus
5205 extern "C"
5206 #endif
5207 char dnet_ntoa ();
5208 int
5209 main ()
5210 {
5211 return dnet_ntoa ();
5212   ;
5213   return 0;
5214 }
5215 _ACEOF
5216 if ac_fn_c_try_link "$LINENO"; then :
5217   ac_cv_lib_dnet_dnet_ntoa=yes
5218 else
5219   ac_cv_lib_dnet_dnet_ntoa=no
5220 fi
5221 rm -f core conftest.err conftest.$ac_objext \
5222     conftest$ac_exeext conftest.$ac_ext
5223 LIBS=$ac_check_lib_save_LIBS
5224 fi
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5226 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5227 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
5228   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5229 fi
5230
5231     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5232       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
5233 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5234 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
5235   $as_echo_n "(cached) " >&6
5236 else
5237   ac_check_lib_save_LIBS=$LIBS
5238 LIBS="-ldnet_stub  $LIBS"
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h.  */
5241
5242 /* Override any GCC internal prototype to avoid an error.
5243    Use char because int might match the return type of a GCC
5244    builtin and then its argument prototype would still apply.  */
5245 #ifdef __cplusplus
5246 extern "C"
5247 #endif
5248 char dnet_ntoa ();
5249 int
5250 main ()
5251 {
5252 return dnet_ntoa ();
5253   ;
5254   return 0;
5255 }
5256 _ACEOF
5257 if ac_fn_c_try_link "$LINENO"; then :
5258   ac_cv_lib_dnet_stub_dnet_ntoa=yes
5259 else
5260   ac_cv_lib_dnet_stub_dnet_ntoa=no
5261 fi
5262 rm -f core conftest.err conftest.$ac_objext \
5263     conftest$ac_exeext conftest.$ac_ext
5264 LIBS=$ac_check_lib_save_LIBS
5265 fi
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5267 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5268 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
5269   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5270 fi
5271
5272     fi
5273 fi
5274 rm -f core conftest.err conftest.$ac_objext \
5275     conftest$ac_exeext conftest.$ac_ext
5276     LIBS="$ac_xsave_LIBS"
5277
5278     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5279     # to get the SysV transport functions.
5280     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5281     # needs -lnsl.
5282     # The nsl library prevents programs from opening the X display
5283     # on Irix 5.2, according to T.E. Dickey.
5284     # The functions gethostbyname, getservbyname, and inet_addr are
5285     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5286     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5287 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
5288
5289 fi
5290
5291     if test $ac_cv_func_gethostbyname = no; then
5292       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5293 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5294 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
5295   $as_echo_n "(cached) " >&6
5296 else
5297   ac_check_lib_save_LIBS=$LIBS
5298 LIBS="-lnsl  $LIBS"
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h.  */
5301
5302 /* Override any GCC internal prototype to avoid an error.
5303    Use char because int might match the return type of a GCC
5304    builtin and then its argument prototype would still apply.  */
5305 #ifdef __cplusplus
5306 extern "C"
5307 #endif
5308 char gethostbyname ();
5309 int
5310 main ()
5311 {
5312 return gethostbyname ();
5313   ;
5314   return 0;
5315 }
5316 _ACEOF
5317 if ac_fn_c_try_link "$LINENO"; then :
5318   ac_cv_lib_nsl_gethostbyname=yes
5319 else
5320   ac_cv_lib_nsl_gethostbyname=no
5321 fi
5322 rm -f core conftest.err conftest.$ac_objext \
5323     conftest$ac_exeext conftest.$ac_ext
5324 LIBS=$ac_check_lib_save_LIBS
5325 fi
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5327 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5328 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
5329   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5330 fi
5331
5332       if test $ac_cv_lib_nsl_gethostbyname = no; then
5333         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
5334 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5335 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
5336   $as_echo_n "(cached) " >&6
5337 else
5338   ac_check_lib_save_LIBS=$LIBS
5339 LIBS="-lbsd  $LIBS"
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h.  */
5342
5343 /* Override any GCC internal prototype to avoid an error.
5344    Use char because int might match the return type of a GCC
5345    builtin and then its argument prototype would still apply.  */
5346 #ifdef __cplusplus
5347 extern "C"
5348 #endif
5349 char gethostbyname ();
5350 int
5351 main ()
5352 {
5353 return gethostbyname ();
5354   ;
5355   return 0;
5356 }
5357 _ACEOF
5358 if ac_fn_c_try_link "$LINENO"; then :
5359   ac_cv_lib_bsd_gethostbyname=yes
5360 else
5361   ac_cv_lib_bsd_gethostbyname=no
5362 fi
5363 rm -f core conftest.err conftest.$ac_objext \
5364     conftest$ac_exeext conftest.$ac_ext
5365 LIBS=$ac_check_lib_save_LIBS
5366 fi
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
5368 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5369 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
5370   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5371 fi
5372
5373       fi
5374     fi
5375
5376     # lieder@skyler.mavd.honeywell.com says without -lsocket,
5377     # socket/setsockopt and other routines are undefined under SCO ODT
5378     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
5379     # on later versions), says Simon Leinen: it contains gethostby*
5380     # variants that don't use the name server (or something).  -lsocket
5381     # must be given before -lnsl if both are needed.  We assume that
5382     # if connect needs -lnsl, so does gethostbyname.
5383     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
5384 if test "x$ac_cv_func_connect" = x""yes; then :
5385
5386 fi
5387
5388     if test $ac_cv_func_connect = no; then
5389       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
5390 $as_echo_n "checking for connect in -lsocket... " >&6; }
5391 if test "${ac_cv_lib_socket_connect+set}" = set; then :
5392   $as_echo_n "(cached) " >&6
5393 else
5394   ac_check_lib_save_LIBS=$LIBS
5395 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h.  */
5398
5399 /* Override any GCC internal prototype to avoid an error.
5400    Use char because int might match the return type of a GCC
5401    builtin and then its argument prototype would still apply.  */
5402 #ifdef __cplusplus
5403 extern "C"
5404 #endif
5405 char connect ();
5406 int
5407 main ()
5408 {
5409 return connect ();
5410   ;
5411   return 0;
5412 }
5413 _ACEOF
5414 if ac_fn_c_try_link "$LINENO"; then :
5415   ac_cv_lib_socket_connect=yes
5416 else
5417   ac_cv_lib_socket_connect=no
5418 fi
5419 rm -f core conftest.err conftest.$ac_objext \
5420     conftest$ac_exeext conftest.$ac_ext
5421 LIBS=$ac_check_lib_save_LIBS
5422 fi
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
5424 $as_echo "$ac_cv_lib_socket_connect" >&6; }
5425 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
5426   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5427 fi
5428
5429     fi
5430
5431     # Guillermo Gomez says -lposix is necessary on A/UX.
5432     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
5433 if test "x$ac_cv_func_remove" = x""yes; then :
5434
5435 fi
5436
5437     if test $ac_cv_func_remove = no; then
5438       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
5439 $as_echo_n "checking for remove in -lposix... " >&6; }
5440 if test "${ac_cv_lib_posix_remove+set}" = set; then :
5441   $as_echo_n "(cached) " >&6
5442 else
5443   ac_check_lib_save_LIBS=$LIBS
5444 LIBS="-lposix  $LIBS"
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h.  */
5447
5448 /* Override any GCC internal prototype to avoid an error.
5449    Use char because int might match the return type of a GCC
5450    builtin and then its argument prototype would still apply.  */
5451 #ifdef __cplusplus
5452 extern "C"
5453 #endif
5454 char remove ();
5455 int
5456 main ()
5457 {
5458 return remove ();
5459   ;
5460   return 0;
5461 }
5462 _ACEOF
5463 if ac_fn_c_try_link "$LINENO"; then :
5464   ac_cv_lib_posix_remove=yes
5465 else
5466   ac_cv_lib_posix_remove=no
5467 fi
5468 rm -f core conftest.err conftest.$ac_objext \
5469     conftest$ac_exeext conftest.$ac_ext
5470 LIBS=$ac_check_lib_save_LIBS
5471 fi
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
5473 $as_echo "$ac_cv_lib_posix_remove" >&6; }
5474 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
5475   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5476 fi
5477
5478     fi
5479
5480     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5481     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
5482 if test "x$ac_cv_func_shmat" = x""yes; then :
5483
5484 fi
5485
5486     if test $ac_cv_func_shmat = no; then
5487       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
5488 $as_echo_n "checking for shmat in -lipc... " >&6; }
5489 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
5490   $as_echo_n "(cached) " >&6
5491 else
5492   ac_check_lib_save_LIBS=$LIBS
5493 LIBS="-lipc  $LIBS"
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h.  */
5496
5497 /* Override any GCC internal prototype to avoid an error.
5498    Use char because int might match the return type of a GCC
5499    builtin and then its argument prototype would still apply.  */
5500 #ifdef __cplusplus
5501 extern "C"
5502 #endif
5503 char shmat ();
5504 int
5505 main ()
5506 {
5507 return shmat ();
5508   ;
5509   return 0;
5510 }
5511 _ACEOF
5512 if ac_fn_c_try_link "$LINENO"; then :
5513   ac_cv_lib_ipc_shmat=yes
5514 else
5515   ac_cv_lib_ipc_shmat=no
5516 fi
5517 rm -f core conftest.err conftest.$ac_objext \
5518     conftest$ac_exeext conftest.$ac_ext
5519 LIBS=$ac_check_lib_save_LIBS
5520 fi
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
5522 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5523 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
5524   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5525 fi
5526
5527     fi
5528   fi
5529
5530   # Check for libraries that X11R6 Xt/Xaw programs need.
5531   ac_save_LDFLAGS=$LDFLAGS
5532   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5533   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5534   # check for ICE first), but we must link in the order -lSM -lICE or
5535   # we get undefined symbols.  So assume we have SM if we have ICE.
5536   # These have to be linked with before -lX11, unlike the other
5537   # libraries we check for below, so use a different variable.
5538   # John Interrante, Karl Berry
5539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
5540 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5541 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
5542   $as_echo_n "(cached) " >&6
5543 else
5544   ac_check_lib_save_LIBS=$LIBS
5545 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h.  */
5548
5549 /* Override any GCC internal prototype to avoid an error.
5550    Use char because int might match the return type of a GCC
5551    builtin and then its argument prototype would still apply.  */
5552 #ifdef __cplusplus
5553 extern "C"
5554 #endif
5555 char IceConnectionNumber ();
5556 int
5557 main ()
5558 {
5559 return IceConnectionNumber ();
5560   ;
5561   return 0;
5562 }
5563 _ACEOF
5564 if ac_fn_c_try_link "$LINENO"; then :
5565   ac_cv_lib_ICE_IceConnectionNumber=yes
5566 else
5567   ac_cv_lib_ICE_IceConnectionNumber=no
5568 fi
5569 rm -f core conftest.err conftest.$ac_objext \
5570     conftest$ac_exeext conftest.$ac_ext
5571 LIBS=$ac_check_lib_save_LIBS
5572 fi
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5574 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5575 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
5576   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5577 fi
5578
5579   LDFLAGS=$ac_save_LDFLAGS
5580
5581 fi
5582
5583
5584 # Check whether --enable-floppyd was given.
5585 if test "${enable_floppyd+set}" = set; then :
5586   enableval=$enable_floppyd; if test x$enableval != x; then
5587   use_floppyd=$enableval
5588 fi
5589 fi
5590
5591
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
5593 $as_echo_n "checking for main in -lsocket... " >&6; }
5594 if test "${ac_cv_lib_socket_main+set}" = set; then :
5595   $as_echo_n "(cached) " >&6
5596 else
5597   ac_check_lib_save_LIBS=$LIBS
5598 LIBS="-lsocket  $LIBS"
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h.  */
5601
5602
5603 int
5604 main ()
5605 {
5606 return main ();
5607   ;
5608   return 0;
5609 }
5610 _ACEOF
5611 if ac_fn_c_try_link "$LINENO"; then :
5612   ac_cv_lib_socket_main=yes
5613 else
5614   ac_cv_lib_socket_main=no
5615 fi
5616 rm -f core conftest.err conftest.$ac_objext \
5617     conftest$ac_exeext conftest.$ac_ext
5618 LIBS=$ac_check_lib_save_LIBS
5619 fi
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
5621 $as_echo "$ac_cv_lib_socket_main" >&6; }
5622 if test "x$ac_cv_lib_socket_main" = x""yes; then :
5623   cat >>confdefs.h <<_ACEOF
5624 #define HAVE_LIBSOCKET 1
5625 _ACEOF
5626
5627   LIBS="-lsocket $LIBS"
5628
5629 fi
5630
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lbsd" >&5
5632 $as_echo_n "checking for main in -lbsd... " >&6; }
5633 if test "${ac_cv_lib_bsd_main+set}" = set; then :
5634   $as_echo_n "(cached) " >&6
5635 else
5636   ac_check_lib_save_LIBS=$LIBS
5637 LIBS="-lbsd  $LIBS"
5638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h.  */
5640
5641
5642 int
5643 main ()
5644 {
5645 return main ();
5646   ;
5647   return 0;
5648 }
5649 _ACEOF
5650 if ac_fn_c_try_link "$LINENO"; then :
5651   ac_cv_lib_bsd_main=yes
5652 else
5653   ac_cv_lib_bsd_main=no
5654 fi
5655 rm -f core conftest.err conftest.$ac_objext \
5656     conftest$ac_exeext conftest.$ac_ext
5657 LIBS=$ac_check_lib_save_LIBS
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_main" >&5
5660 $as_echo "$ac_cv_lib_bsd_main" >&6; }
5661 if test "x$ac_cv_lib_bsd_main" = x""yes; then :
5662   cat >>confdefs.h <<_ACEOF
5663 #define HAVE_LIBBSD 1
5664 _ACEOF
5665
5666   LIBS="-lbsd $LIBS"
5667
5668 fi
5669
5670 for ac_header in sys/socket.h arpa/inet.h netdb.h
5671 do :
5672   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5673 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5674 eval as_val=\$$as_ac_Header
5675    if test "x$as_val" = x""yes; then :
5676   cat >>confdefs.h <<_ACEOF
5677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5678 _ACEOF
5679
5680 fi
5681
5682 done
5683
5684
5685 if test X$use_floppyd = X -a X$no_x = X ; then
5686     use_floppyd="yes"
5687 fi
5688
5689 if test X$use_floppyd = Xyes; then
5690     if test X$no_x = Xyes ; then
5691         echo "Floppyd needs X support" >&2
5692         echo "To compile without floppyd, use ./configure --disable-floppyd" >&2
5693         exit 1
5694     fi
5695     FLOPPYD="floppyd floppyd_installtest"
5696     BINFLOPPYD="\$(DESTDIR)\$(bindir)/floppyd \$(DESTDIR)\$(bindir)/floppyd_installtest"
5697
5698 $as_echo "#define USE_FLOPPYD 1" >>confdefs.h
5699
5700 else
5701     FLOPPYD=
5702     BINFLOPPYD=
5703 fi
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714 ac_config_files="$ac_config_files Makefile"
5715
5716 cat >confcache <<\_ACEOF
5717 # This file is a shell script that caches the results of configure
5718 # tests run on this system so they can be shared between configure
5719 # scripts and configure runs, see configure's option --config-cache.
5720 # It is not useful on other systems.  If it contains results you don't
5721 # want to keep, you may remove or edit it.
5722 #
5723 # config.status only pays attention to the cache file if you give it
5724 # the --recheck option to rerun configure.
5725 #
5726 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5727 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5728 # following values.
5729
5730 _ACEOF
5731
5732 # The following way of writing the cache mishandles newlines in values,
5733 # but we know of no workaround that is simple, portable, and efficient.
5734 # So, we kill variables containing newlines.
5735 # Ultrix sh set writes to stderr and can't be redirected directly,
5736 # and sets the high bit in the cache file unless we assign to the vars.
5737 (
5738   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5739     eval ac_val=\$$ac_var
5740     case $ac_val in #(
5741     *${as_nl}*)
5742       case $ac_var in #(
5743       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5745       esac
5746       case $ac_var in #(
5747       _ | IFS | as_nl) ;; #(
5748       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5749       *) { eval $ac_var=; unset $ac_var;} ;;
5750       esac ;;
5751     esac
5752   done
5753
5754   (set) 2>&1 |
5755     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5756     *${as_nl}ac_space=\ *)
5757       # `set' does not quote correctly, so add quotes: double-quote
5758       # substitution turns \\\\ into \\, and sed turns \\ into \.
5759       sed -n \
5760         "s/'/'\\\\''/g;
5761           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5762       ;; #(
5763     *)
5764       # `set' quotes correctly as required by POSIX, so do not add quotes.
5765       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5766       ;;
5767     esac |
5768     sort
5769 ) |
5770   sed '
5771      /^ac_cv_env_/b end
5772      t clear
5773      :clear
5774      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5775      t end
5776      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5777      :end' >>confcache
5778 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5779   if test -w "$cache_file"; then
5780     test "x$cache_file" != "x/dev/null" &&
5781       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5782 $as_echo "$as_me: updating cache $cache_file" >&6;}
5783     cat confcache >$cache_file
5784   else
5785     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5786 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5787   fi
5788 fi
5789 rm -f confcache
5790
5791 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5792 # Let make expand exec_prefix.
5793 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5794
5795 DEFS=-DHAVE_CONFIG_H
5796
5797 ac_libobjs=
5798 ac_ltlibobjs=
5799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5800   # 1. Remove the extension, and $U if already installed.
5801   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5802   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5803   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5804   #    will be set to the directory where LIBOBJS objects are built.
5805   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5806   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5807 done
5808 LIBOBJS=$ac_libobjs
5809
5810 LTLIBOBJS=$ac_ltlibobjs
5811
5812
5813
5814 : ${CONFIG_STATUS=./config.status}
5815 ac_write_fail=0
5816 ac_clean_files_save=$ac_clean_files
5817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5819 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5820 as_write_fail=0
5821 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5822 #! $SHELL
5823 # Generated by $as_me.
5824 # Run this file to recreate the current configuration.
5825 # Compiler output produced by configure, useful for debugging
5826 # configure, is in config.log if it exists.
5827
5828 debug=false
5829 ac_cs_recheck=false
5830 ac_cs_silent=false
5831
5832 SHELL=\${CONFIG_SHELL-$SHELL}
5833 export SHELL
5834 _ASEOF
5835 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5836 ## -------------------- ##
5837 ## M4sh Initialization. ##
5838 ## -------------------- ##
5839
5840 # Be more Bourne compatible
5841 DUALCASE=1; export DUALCASE # for MKS sh
5842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5843   emulate sh
5844   NULLCMD=:
5845   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5846   # is contrary to our usage.  Disable this feature.
5847   alias -g '${1+"$@"}'='"$@"'
5848   setopt NO_GLOB_SUBST
5849 else
5850   case `(set -o) 2>/dev/null` in #(
5851   *posix*) :
5852     set -o posix ;; #(
5853   *) :
5854      ;;
5855 esac
5856 fi
5857
5858
5859 as_nl='
5860 '
5861 export as_nl
5862 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5863 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5865 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5866 # Prefer a ksh shell builtin over an external printf program on Solaris,
5867 # but without wasting forks for bash or zsh.
5868 if test -z "$BASH_VERSION$ZSH_VERSION" \
5869     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5870   as_echo='print -r --'
5871   as_echo_n='print -rn --'
5872 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5873   as_echo='printf %s\n'
5874   as_echo_n='printf %s'
5875 else
5876   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5877     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5878     as_echo_n='/usr/ucb/echo -n'
5879   else
5880     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5881     as_echo_n_body='eval
5882       arg=$1;
5883       case $arg in #(
5884       *"$as_nl"*)
5885         expr "X$arg" : "X\\(.*\\)$as_nl";
5886         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5887       esac;
5888       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5889     '
5890     export as_echo_n_body
5891     as_echo_n='sh -c $as_echo_n_body as_echo'
5892   fi
5893   export as_echo_body
5894   as_echo='sh -c $as_echo_body as_echo'
5895 fi
5896
5897 # The user is always right.
5898 if test "${PATH_SEPARATOR+set}" != set; then
5899   PATH_SEPARATOR=:
5900   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5901     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5902       PATH_SEPARATOR=';'
5903   }
5904 fi
5905
5906
5907 # IFS
5908 # We need space, tab and new line, in precisely that order.  Quoting is
5909 # there to prevent editors from complaining about space-tab.
5910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5911 # splitting by setting IFS to empty value.)
5912 IFS=" ""        $as_nl"
5913
5914 # Find who we are.  Look in the path if we contain no directory separator.
5915 case $0 in #((
5916   *[\\/]* ) as_myself=$0 ;;
5917   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5919 do
5920   IFS=$as_save_IFS
5921   test -z "$as_dir" && as_dir=.
5922     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5923   done
5924 IFS=$as_save_IFS
5925
5926      ;;
5927 esac
5928 # We did not find ourselves, most probably we were run as `sh COMMAND'
5929 # in which case we are not to be found in the path.
5930 if test "x$as_myself" = x; then
5931   as_myself=$0
5932 fi
5933 if test ! -f "$as_myself"; then
5934   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5935   exit 1
5936 fi
5937
5938 # Unset variables that we do not need and which cause bugs (e.g. in
5939 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5940 # suppresses any "Segmentation fault" message there.  '((' could
5941 # trigger a bug in pdksh 5.2.14.
5942 for as_var in BASH_ENV ENV MAIL MAILPATH
5943 do eval test x\${$as_var+set} = xset \
5944   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5945 done
5946 PS1='$ '
5947 PS2='> '
5948 PS4='+ '
5949
5950 # NLS nuisances.
5951 LC_ALL=C
5952 export LC_ALL
5953 LANGUAGE=C
5954 export LANGUAGE
5955
5956 # CDPATH.
5957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5958
5959
5960 # as_fn_error ERROR [LINENO LOG_FD]
5961 # ---------------------------------
5962 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5963 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5964 # script with status $?, using 1 if that was 0.
5965 as_fn_error ()
5966 {
5967   as_status=$?; test $as_status -eq 0 && as_status=1
5968   if test "$3"; then
5969     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5970     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5971   fi
5972   $as_echo "$as_me: error: $1" >&2
5973   as_fn_exit $as_status
5974 } # as_fn_error
5975
5976
5977 # as_fn_set_status STATUS
5978 # -----------------------
5979 # Set $? to STATUS, without forking.
5980 as_fn_set_status ()
5981 {
5982   return $1
5983 } # as_fn_set_status
5984
5985 # as_fn_exit STATUS
5986 # -----------------
5987 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5988 as_fn_exit ()
5989 {
5990   set +e
5991   as_fn_set_status $1
5992   exit $1
5993 } # as_fn_exit
5994
5995 # as_fn_unset VAR
5996 # ---------------
5997 # Portably unset VAR.
5998 as_fn_unset ()
5999 {
6000   { eval $1=; unset $1;}
6001 }
6002 as_unset=as_fn_unset
6003 # as_fn_append VAR VALUE
6004 # ----------------------
6005 # Append the text in VALUE to the end of the definition contained in VAR. Take
6006 # advantage of any shell optimizations that allow amortized linear growth over
6007 # repeated appends, instead of the typical quadratic growth present in naive
6008 # implementations.
6009 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6010   eval 'as_fn_append ()
6011   {
6012     eval $1+=\$2
6013   }'
6014 else
6015   as_fn_append ()
6016   {
6017     eval $1=\$$1\$2
6018   }
6019 fi # as_fn_append
6020
6021 # as_fn_arith ARG...
6022 # ------------------
6023 # Perform arithmetic evaluation on the ARGs, and store the result in the
6024 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6025 # must be portable across $(()) and expr.
6026 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6027   eval 'as_fn_arith ()
6028   {
6029     as_val=$(( $* ))
6030   }'
6031 else
6032   as_fn_arith ()
6033   {
6034     as_val=`expr "$@" || test $? -eq 1`
6035   }
6036 fi # as_fn_arith
6037
6038
6039 if expr a : '\(a\)' >/dev/null 2>&1 &&
6040    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6041   as_expr=expr
6042 else
6043   as_expr=false
6044 fi
6045
6046 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6047   as_basename=basename
6048 else
6049   as_basename=false
6050 fi
6051
6052 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6053   as_dirname=dirname
6054 else
6055   as_dirname=false
6056 fi
6057
6058 as_me=`$as_basename -- "$0" ||
6059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6060          X"$0" : 'X\(//\)$' \| \
6061          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6062 $as_echo X/"$0" |
6063     sed '/^.*\/\([^/][^/]*\)\/*$/{
6064             s//\1/
6065             q
6066           }
6067           /^X\/\(\/\/\)$/{
6068             s//\1/
6069             q
6070           }
6071           /^X\/\(\/\).*/{
6072             s//\1/
6073             q
6074           }
6075           s/.*/./; q'`
6076
6077 # Avoid depending upon Character Ranges.
6078 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6079 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6080 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6081 as_cr_digits='0123456789'
6082 as_cr_alnum=$as_cr_Letters$as_cr_digits
6083
6084 ECHO_C= ECHO_N= ECHO_T=
6085 case `echo -n x` in #(((((
6086 -n*)
6087   case `echo 'xy\c'` in
6088   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6089   xy)  ECHO_C='\c';;
6090   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6091        ECHO_T=' ';;
6092   esac;;
6093 *)
6094   ECHO_N='-n';;
6095 esac
6096
6097 rm -f conf$$ conf$$.exe conf$$.file
6098 if test -d conf$$.dir; then
6099   rm -f conf$$.dir/conf$$.file
6100 else
6101   rm -f conf$$.dir
6102   mkdir conf$$.dir 2>/dev/null
6103 fi
6104 if (echo >conf$$.file) 2>/dev/null; then
6105   if ln -s conf$$.file conf$$ 2>/dev/null; then
6106     as_ln_s='ln -s'
6107     # ... but there are two gotchas:
6108     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6109     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6110     # In both cases, we have to default to `cp -p'.
6111     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6112       as_ln_s='cp -p'
6113   elif ln conf$$.file conf$$ 2>/dev/null; then
6114     as_ln_s=ln
6115   else
6116     as_ln_s='cp -p'
6117   fi
6118 else
6119   as_ln_s='cp -p'
6120 fi
6121 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6122 rmdir conf$$.dir 2>/dev/null
6123
6124
6125 # as_fn_mkdir_p
6126 # -------------
6127 # Create "$as_dir" as a directory, including parents if necessary.
6128 as_fn_mkdir_p ()
6129 {
6130
6131   case $as_dir in #(
6132   -*) as_dir=./$as_dir;;
6133   esac
6134   test -d "$as_dir" || eval $as_mkdir_p || {
6135     as_dirs=
6136     while :; do
6137       case $as_dir in #(
6138       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6139       *) as_qdir=$as_dir;;
6140       esac
6141       as_dirs="'$as_qdir' $as_dirs"
6142       as_dir=`$as_dirname -- "$as_dir" ||
6143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6144          X"$as_dir" : 'X\(//\)[^/]' \| \
6145          X"$as_dir" : 'X\(//\)$' \| \
6146          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6147 $as_echo X"$as_dir" |
6148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6149             s//\1/
6150             q
6151           }
6152           /^X\(\/\/\)[^/].*/{
6153             s//\1/
6154             q
6155           }
6156           /^X\(\/\/\)$/{
6157             s//\1/
6158             q
6159           }
6160           /^X\(\/\).*/{
6161             s//\1/
6162             q
6163           }
6164           s/.*/./; q'`
6165       test -d "$as_dir" && break
6166     done
6167     test -z "$as_dirs" || eval "mkdir $as_dirs"
6168   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
6169
6170
6171 } # as_fn_mkdir_p
6172 if mkdir -p . 2>/dev/null; then
6173   as_mkdir_p='mkdir -p "$as_dir"'
6174 else
6175   test -d ./-p && rmdir ./-p
6176   as_mkdir_p=false
6177 fi
6178
6179 if test -x / >/dev/null 2>&1; then
6180   as_test_x='test -x'
6181 else
6182   if ls -dL / >/dev/null 2>&1; then
6183     as_ls_L_option=L
6184   else
6185     as_ls_L_option=
6186   fi
6187   as_test_x='
6188     eval sh -c '\''
6189       if test -d "$1"; then
6190         test -d "$1/.";
6191       else
6192         case $1 in #(
6193         -*)set "./$1";;
6194         esac;
6195         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6196         ???[sx]*):;;*)false;;esac;fi
6197     '\'' sh
6198   '
6199 fi
6200 as_executable_p=$as_test_x
6201
6202 # Sed expression to map a string onto a valid CPP name.
6203 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6204
6205 # Sed expression to map a string onto a valid variable name.
6206 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6207
6208
6209 exec 6>&1
6210 ## ----------------------------------- ##
6211 ## Main body of $CONFIG_STATUS script. ##
6212 ## ----------------------------------- ##
6213 _ASEOF
6214 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6215
6216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6217 # Save the log message, to keep $0 and so on meaningful, and to
6218 # report actual input values of CONFIG_FILES etc. instead of their
6219 # values after options handling.
6220 ac_log="
6221 This file was extended by $as_me, which was
6222 generated by GNU Autoconf 2.65.  Invocation command line was
6223
6224   CONFIG_FILES    = $CONFIG_FILES
6225   CONFIG_HEADERS  = $CONFIG_HEADERS
6226   CONFIG_LINKS    = $CONFIG_LINKS
6227   CONFIG_COMMANDS = $CONFIG_COMMANDS
6228   $ $0 $@
6229
6230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6231 "
6232
6233 _ACEOF
6234
6235 case $ac_config_files in *"
6236 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6237 esac
6238
6239 case $ac_config_headers in *"
6240 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6241 esac
6242
6243
6244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6245 # Files that config.status was made for.
6246 config_files="$ac_config_files"
6247 config_headers="$ac_config_headers"
6248
6249 _ACEOF
6250
6251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6252 ac_cs_usage="\
6253 \`$as_me' instantiates files and other configuration actions
6254 from templates according to the current configuration.  Unless the files
6255 and actions are specified as TAGs, all are instantiated by default.
6256
6257 Usage: $0 [OPTION]... [TAG]...
6258
6259   -h, --help       print this help, then exit
6260   -V, --version    print version number and configuration settings, then exit
6261       --config     print configuration, then exit
6262   -q, --quiet, --silent
6263                    do not print progress messages
6264   -d, --debug      don't remove temporary files
6265       --recheck    update $as_me by reconfiguring in the same conditions
6266       --file=FILE[:TEMPLATE]
6267                    instantiate the configuration file FILE
6268       --header=FILE[:TEMPLATE]
6269                    instantiate the configuration header FILE
6270
6271 Configuration files:
6272 $config_files
6273
6274 Configuration headers:
6275 $config_headers
6276
6277 Report bugs to the package provider."
6278
6279 _ACEOF
6280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6281 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6282 ac_cs_version="\\
6283 config.status
6284 configured by $0, generated by GNU Autoconf 2.65,
6285   with options \\"\$ac_cs_config\\"
6286
6287 Copyright (C) 2009 Free Software Foundation, Inc.
6288 This config.status script is free software; the Free Software Foundation
6289 gives unlimited permission to copy, distribute and modify it."
6290
6291 ac_pwd='$ac_pwd'
6292 srcdir='$srcdir'
6293 INSTALL='$INSTALL'
6294 test -n "\$AWK" || AWK=awk
6295 _ACEOF
6296
6297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6298 # The default lists apply if the user does not specify any file.
6299 ac_need_defaults=:
6300 while test $# != 0
6301 do
6302   case $1 in
6303   --*=*)
6304     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6305     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6306     ac_shift=:
6307     ;;
6308   *)
6309     ac_option=$1
6310     ac_optarg=$2
6311     ac_shift=shift
6312     ;;
6313   esac
6314
6315   case $ac_option in
6316   # Handling of the options.
6317   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6318     ac_cs_recheck=: ;;
6319   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6320     $as_echo "$ac_cs_version"; exit ;;
6321   --config | --confi | --conf | --con | --co | --c )
6322     $as_echo "$ac_cs_config"; exit ;;
6323   --debug | --debu | --deb | --de | --d | -d )
6324     debug=: ;;
6325   --file | --fil | --fi | --f )
6326     $ac_shift
6327     case $ac_optarg in
6328     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6329     esac
6330     as_fn_append CONFIG_FILES " '$ac_optarg'"
6331     ac_need_defaults=false;;
6332   --header | --heade | --head | --hea )
6333     $ac_shift
6334     case $ac_optarg in
6335     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6336     esac
6337     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6338     ac_need_defaults=false;;
6339   --he | --h)
6340     # Conflict between --help and --header
6341     as_fn_error "ambiguous option: \`$1'
6342 Try \`$0 --help' for more information.";;
6343   --help | --hel | -h )
6344     $as_echo "$ac_cs_usage"; exit ;;
6345   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6346   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6347     ac_cs_silent=: ;;
6348
6349   # This is an error.
6350   -*) as_fn_error "unrecognized option: \`$1'
6351 Try \`$0 --help' for more information." ;;
6352
6353   *) as_fn_append ac_config_targets " $1"
6354      ac_need_defaults=false ;;
6355
6356   esac
6357   shift
6358 done
6359
6360 ac_configure_extra_args=
6361
6362 if $ac_cs_silent; then
6363   exec 6>/dev/null
6364   ac_configure_extra_args="$ac_configure_extra_args --silent"
6365 fi
6366
6367 _ACEOF
6368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6369 if \$ac_cs_recheck; then
6370   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6371   shift
6372   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6373   CONFIG_SHELL='$SHELL'
6374   export CONFIG_SHELL
6375   exec "\$@"
6376 fi
6377
6378 _ACEOF
6379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6380 exec 5>>config.log
6381 {
6382   echo
6383   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6384 ## Running $as_me. ##
6385 _ASBOX
6386   $as_echo "$ac_log"
6387 } >&5
6388
6389 _ACEOF
6390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6391 _ACEOF
6392
6393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6394
6395 # Handling of arguments.
6396 for ac_config_target in $ac_config_targets
6397 do
6398   case $ac_config_target in
6399     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6400     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6401
6402   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6403   esac
6404 done
6405
6406
6407 # If the user did not use the arguments to specify the items to instantiate,
6408 # then the envvar interface is used.  Set only those that are not.
6409 # We use the long form for the default assignment because of an extremely
6410 # bizarre bug on SunOS 4.1.3.
6411 if $ac_need_defaults; then
6412   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6413   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6414 fi
6415
6416 # Have a temporary directory for convenience.  Make it in the build tree
6417 # simply because there is no reason against having it here, and in addition,
6418 # creating and moving files from /tmp can sometimes cause problems.
6419 # Hook for its removal unless debugging.
6420 # Note that there is a small window in which the directory will not be cleaned:
6421 # after its creation but before its name has been assigned to `$tmp'.
6422 $debug ||
6423 {
6424   tmp=
6425   trap 'exit_status=$?
6426   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6427 ' 0
6428   trap 'as_fn_exit 1' 1 2 13 15
6429 }
6430 # Create a (secure) tmp directory for tmp files.
6431
6432 {
6433   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6434   test -n "$tmp" && test -d "$tmp"
6435 }  ||
6436 {
6437   tmp=./conf$$-$RANDOM
6438   (umask 077 && mkdir "$tmp")
6439 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6440
6441 # Set up the scripts for CONFIG_FILES section.
6442 # No need to generate them if there are no CONFIG_FILES.
6443 # This happens for instance with `./config.status config.h'.
6444 if test -n "$CONFIG_FILES"; then
6445
6446
6447 ac_cr=`echo X | tr X '\015'`
6448 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6449 # But we know of no other shell where ac_cr would be empty at this
6450 # point, so we can use a bashism as a fallback.
6451 if test "x$ac_cr" = x; then
6452   eval ac_cr=\$\'\\r\'
6453 fi
6454 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6455 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6456   ac_cs_awk_cr='\r'
6457 else
6458   ac_cs_awk_cr=$ac_cr
6459 fi
6460
6461 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6462 _ACEOF
6463
6464
6465 {
6466   echo "cat >conf$$subs.awk <<_ACEOF" &&
6467   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6468   echo "_ACEOF"
6469 } >conf$$subs.sh ||
6470   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6471 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6472 ac_delim='%!_!# '
6473 for ac_last_try in false false false false false :; do
6474   . ./conf$$subs.sh ||
6475     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6476
6477   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6478   if test $ac_delim_n = $ac_delim_num; then
6479     break
6480   elif $ac_last_try; then
6481     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6482   else
6483     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6484   fi
6485 done
6486 rm -f conf$$subs.sh
6487
6488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6489 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6490 _ACEOF
6491 sed -n '
6492 h
6493 s/^/S["/; s/!.*/"]=/
6494 p
6495 g
6496 s/^[^!]*!//
6497 :repl
6498 t repl
6499 s/'"$ac_delim"'$//
6500 t delim
6501 :nl
6502 h
6503 s/\(.\{148\}\)..*/\1/
6504 t more1
6505 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6506 p
6507 n
6508 b repl
6509 :more1
6510 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6511 p
6512 g
6513 s/.\{148\}//
6514 t nl
6515 :delim
6516 h
6517 s/\(.\{148\}\)..*/\1/
6518 t more2
6519 s/["\\]/\\&/g; s/^/"/; s/$/"/
6520 p
6521 b
6522 :more2
6523 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6524 p
6525 g
6526 s/.\{148\}//
6527 t delim
6528 ' <conf$$subs.awk | sed '
6529 /^[^""]/{
6530   N
6531   s/\n//
6532 }
6533 ' >>$CONFIG_STATUS || ac_write_fail=1
6534 rm -f conf$$subs.awk
6535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6536 _ACAWK
6537 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6538   for (key in S) S_is_set[key] = 1
6539   FS = "\a"
6540
6541 }
6542 {
6543   line = $ 0
6544   nfields = split(line, field, "@")
6545   substed = 0
6546   len = length(field[1])
6547   for (i = 2; i < nfields; i++) {
6548     key = field[i]
6549     keylen = length(key)
6550     if (S_is_set[key]) {
6551       value = S[key]
6552       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6553       len += length(value) + length(field[++i])
6554       substed = 1
6555     } else
6556       len += 1 + keylen
6557   }
6558
6559   print line
6560 }
6561
6562 _ACAWK
6563 _ACEOF
6564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6565 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6566   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6567 else
6568   cat
6569 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6570   || as_fn_error "could not setup config files machinery" "$LINENO" 5
6571 _ACEOF
6572
6573 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6574 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6575 # trailing colons and then remove the whole line if VPATH becomes empty
6576 # (actually we leave an empty line to preserve line numbers).
6577 if test "x$srcdir" = x.; then
6578   ac_vpsub='/^[  ]*VPATH[        ]*=/{
6579 s/:*\$(srcdir):*/:/
6580 s/:*\${srcdir}:*/:/
6581 s/:*@srcdir@:*/:/
6582 s/^\([^=]*=[     ]*\):*/\1/
6583 s/:*$//
6584 s/^[^=]*=[       ]*$//
6585 }'
6586 fi
6587
6588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6589 fi # test -n "$CONFIG_FILES"
6590
6591 # Set up the scripts for CONFIG_HEADERS section.
6592 # No need to generate them if there are no CONFIG_HEADERS.
6593 # This happens for instance with `./config.status Makefile'.
6594 if test -n "$CONFIG_HEADERS"; then
6595 cat >"$tmp/defines.awk" <<\_ACAWK ||
6596 BEGIN {
6597 _ACEOF
6598
6599 # Transform confdefs.h into an awk script `defines.awk', embedded as
6600 # here-document in config.status, that substitutes the proper values into
6601 # config.h.in to produce config.h.
6602
6603 # Create a delimiter string that does not exist in confdefs.h, to ease
6604 # handling of long lines.
6605 ac_delim='%!_!# '
6606 for ac_last_try in false false :; do
6607   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6608   if test -z "$ac_t"; then
6609     break
6610   elif $ac_last_try; then
6611     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6612   else
6613     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6614   fi
6615 done
6616
6617 # For the awk script, D is an array of macro values keyed by name,
6618 # likewise P contains macro parameters if any.  Preserve backslash
6619 # newline sequences.
6620
6621 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6622 sed -n '
6623 s/.\{148\}/&'"$ac_delim"'/g
6624 t rset
6625 :rset
6626 s/^[     ]*#[    ]*define[       ][      ]*/ /
6627 t def
6628 d
6629 :def
6630 s/\\$//
6631 t bsnl
6632 s/["\\]/\\&/g
6633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6634 D["\1"]=" \3"/p
6635 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6636 d
6637 :bsnl
6638 s/["\\]/\\&/g
6639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6640 D["\1"]=" \3\\\\\\n"\\/p
6641 t cont
6642 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6643 t cont
6644 d
6645 :cont
6646 n
6647 s/.\{148\}/&'"$ac_delim"'/g
6648 t clear
6649 :clear
6650 s/\\$//
6651 t bsnlc
6652 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6653 d
6654 :bsnlc
6655 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6656 b cont
6657 ' <confdefs.h | sed '
6658 s/'"$ac_delim"'/"\\\
6659 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6660
6661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6662   for (key in D) D_is_set[key] = 1
6663   FS = "\a"
6664 }
6665 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6666   line = \$ 0
6667   split(line, arg, " ")
6668   if (arg[1] == "#") {
6669     defundef = arg[2]
6670     mac1 = arg[3]
6671   } else {
6672     defundef = substr(arg[1], 2)
6673     mac1 = arg[2]
6674   }
6675   split(mac1, mac2, "(") #)
6676   macro = mac2[1]
6677   prefix = substr(line, 1, index(line, defundef) - 1)
6678   if (D_is_set[macro]) {
6679     # Preserve the white space surrounding the "#".
6680     print prefix "define", macro P[macro] D[macro]
6681     next
6682   } else {
6683     # Replace #undef with comments.  This is necessary, for example,
6684     # in the case of _POSIX_SOURCE, which is predefined and required
6685     # on some systems where configure will not decide to define it.
6686     if (defundef == "undef") {
6687       print "/*", prefix defundef, macro, "*/"
6688       next
6689     }
6690   }
6691 }
6692 { print }
6693 _ACAWK
6694 _ACEOF
6695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6696   as_fn_error "could not setup config headers machinery" "$LINENO" 5
6697 fi # test -n "$CONFIG_HEADERS"
6698
6699
6700 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
6701 shift
6702 for ac_tag
6703 do
6704   case $ac_tag in
6705   :[FHLC]) ac_mode=$ac_tag; continue;;
6706   esac
6707   case $ac_mode$ac_tag in
6708   :[FHL]*:*);;
6709   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6710   :[FH]-) ac_tag=-:-;;
6711   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6712   esac
6713   ac_save_IFS=$IFS
6714   IFS=:
6715   set x $ac_tag
6716   IFS=$ac_save_IFS
6717   shift
6718   ac_file=$1
6719   shift
6720
6721   case $ac_mode in
6722   :L) ac_source=$1;;
6723   :[FH])
6724     ac_file_inputs=
6725     for ac_f
6726     do
6727       case $ac_f in
6728       -) ac_f="$tmp/stdin";;
6729       *) # Look for the file first in the build tree, then in the source tree
6730          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6731          # because $ac_f cannot contain `:'.
6732          test -f "$ac_f" ||
6733            case $ac_f in
6734            [\\/$]*) false;;
6735            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6736            esac ||
6737            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6738       esac
6739       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6740       as_fn_append ac_file_inputs " '$ac_f'"
6741     done
6742
6743     # Let's still pretend it is `configure' which instantiates (i.e., don't
6744     # use $as_me), people would be surprised to read:
6745     #    /* config.h.  Generated by config.status.  */
6746     configure_input='Generated from '`
6747           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6748         `' by configure.'
6749     if test x"$ac_file" != x-; then
6750       configure_input="$ac_file.  $configure_input"
6751       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6752 $as_echo "$as_me: creating $ac_file" >&6;}
6753     fi
6754     # Neutralize special characters interpreted by sed in replacement strings.
6755     case $configure_input in #(
6756     *\&* | *\|* | *\\* )
6757        ac_sed_conf_input=`$as_echo "$configure_input" |
6758        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6759     *) ac_sed_conf_input=$configure_input;;
6760     esac
6761
6762     case $ac_tag in
6763     *:-:* | *:-) cat >"$tmp/stdin" \
6764       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6765     esac
6766     ;;
6767   esac
6768
6769   ac_dir=`$as_dirname -- "$ac_file" ||
6770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6771          X"$ac_file" : 'X\(//\)[^/]' \| \
6772          X"$ac_file" : 'X\(//\)$' \| \
6773          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6774 $as_echo X"$ac_file" |
6775     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6776             s//\1/
6777             q
6778           }
6779           /^X\(\/\/\)[^/].*/{
6780             s//\1/
6781             q
6782           }
6783           /^X\(\/\/\)$/{
6784             s//\1/
6785             q
6786           }
6787           /^X\(\/\).*/{
6788             s//\1/
6789             q
6790           }
6791           s/.*/./; q'`
6792   as_dir="$ac_dir"; as_fn_mkdir_p
6793   ac_builddir=.
6794
6795 case "$ac_dir" in
6796 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6797 *)
6798   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6799   # A ".." for each directory in $ac_dir_suffix.
6800   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6801   case $ac_top_builddir_sub in
6802   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6803   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6804   esac ;;
6805 esac
6806 ac_abs_top_builddir=$ac_pwd
6807 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6808 # for backward compatibility:
6809 ac_top_builddir=$ac_top_build_prefix
6810
6811 case $srcdir in
6812   .)  # We are building in place.
6813     ac_srcdir=.
6814     ac_top_srcdir=$ac_top_builddir_sub
6815     ac_abs_top_srcdir=$ac_pwd ;;
6816   [\\/]* | ?:[\\/]* )  # Absolute name.
6817     ac_srcdir=$srcdir$ac_dir_suffix;
6818     ac_top_srcdir=$srcdir
6819     ac_abs_top_srcdir=$srcdir ;;
6820   *) # Relative name.
6821     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6822     ac_top_srcdir=$ac_top_build_prefix$srcdir
6823     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6824 esac
6825 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6826
6827
6828   case $ac_mode in
6829   :F)
6830   #
6831   # CONFIG_FILE
6832   #
6833
6834   case $INSTALL in
6835   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6836   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6837   esac
6838 _ACEOF
6839
6840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6841 # If the template does not know about datarootdir, expand it.
6842 # FIXME: This hack should be removed a few years after 2.60.
6843 ac_datarootdir_hack=; ac_datarootdir_seen=
6844 ac_sed_dataroot='
6845 /datarootdir/ {
6846   p
6847   q
6848 }
6849 /@datadir@/p
6850 /@docdir@/p
6851 /@infodir@/p
6852 /@localedir@/p
6853 /@mandir@/p'
6854 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6855 *datarootdir*) ac_datarootdir_seen=yes;;
6856 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6858 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6859 _ACEOF
6860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6861   ac_datarootdir_hack='
6862   s&@datadir@&$datadir&g
6863   s&@docdir@&$docdir&g
6864   s&@infodir@&$infodir&g
6865   s&@localedir@&$localedir&g
6866   s&@mandir@&$mandir&g
6867   s&\\\${datarootdir}&$datarootdir&g' ;;
6868 esac
6869 _ACEOF
6870
6871 # Neutralize VPATH when `$srcdir' = `.'.
6872 # Shell code in configure.ac might set extrasub.
6873 # FIXME: do we really want to maintain this feature?
6874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6875 ac_sed_extra="$ac_vpsub
6876 $extrasub
6877 _ACEOF
6878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6879 :t
6880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6881 s|@configure_input@|$ac_sed_conf_input|;t t
6882 s&@top_builddir@&$ac_top_builddir_sub&;t t
6883 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6884 s&@srcdir@&$ac_srcdir&;t t
6885 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6886 s&@top_srcdir@&$ac_top_srcdir&;t t
6887 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6888 s&@builddir@&$ac_builddir&;t t
6889 s&@abs_builddir@&$ac_abs_builddir&;t t
6890 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6891 s&@INSTALL@&$ac_INSTALL&;t t
6892 $ac_datarootdir_hack
6893 "
6894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6895   || as_fn_error "could not create $ac_file" "$LINENO" 5
6896
6897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6898   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6899   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6900   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6901 which seems to be undefined.  Please make sure it is defined." >&5
6902 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6903 which seems to be undefined.  Please make sure it is defined." >&2;}
6904
6905   rm -f "$tmp/stdin"
6906   case $ac_file in
6907   -) cat "$tmp/out" && rm -f "$tmp/out";;
6908   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6909   esac \
6910   || as_fn_error "could not create $ac_file" "$LINENO" 5
6911  ;;
6912   :H)
6913   #
6914   # CONFIG_HEADER
6915   #
6916   if test x"$ac_file" != x-; then
6917     {
6918       $as_echo "/* $configure_input  */" \
6919       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6920     } >"$tmp/config.h" \
6921       || as_fn_error "could not create $ac_file" "$LINENO" 5
6922     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6923       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6924 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6925     else
6926       rm -f "$ac_file"
6927       mv "$tmp/config.h" "$ac_file" \
6928         || as_fn_error "could not create $ac_file" "$LINENO" 5
6929     fi
6930   else
6931     $as_echo "/* $configure_input  */" \
6932       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6933       || as_fn_error "could not create -" "$LINENO" 5
6934   fi
6935  ;;
6936
6937
6938   esac
6939
6940 done # for ac_tag
6941
6942
6943 as_fn_exit 0
6944 _ACEOF
6945 ac_clean_files=$ac_clean_files_save
6946
6947 test $ac_write_fail = 0 ||
6948   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6949
6950
6951 # configure is writing to config.log, and then calls config.status.
6952 # config.status does its own redirection, appending to config.log.
6953 # Unfortunately, on DOS this fails, as config.log is still kept open
6954 # by configure, so config.status won't be able to write to it; its
6955 # output is simply discarded.  So we exec the FD to /dev/null,
6956 # effectively closing config.log, so it can be properly (re)opened and
6957 # appended to by config.status.  When coming back to configure, we
6958 # need to make the FD available again.
6959 if test "$no_create" != yes; then
6960   ac_cs_success=:
6961   ac_config_status_args=
6962   test "$silent" = yes &&
6963     ac_config_status_args="$ac_config_status_args --quiet"
6964   exec 5>/dev/null
6965   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6966   exec 5>>config.log
6967   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6968   # would make configure fail if this is the last instruction.
6969   $ac_cs_success || as_fn_exit $?
6970 fi
6971 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6972   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6973 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6974 fi
6975