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