Update to 4.01.
[profile/ivi/quota.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175   if (eval "$as_required") 2>/dev/null; then :
176   as_have_required=yes
177 else
178   as_have_required=no
179 fi
180   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187   IFS=$as_save_IFS
188   test -z "$as_dir" && as_dir=.
189   as_found=:
190   case $as_dir in #(
191          /*)
192            for as_base in sh bash ksh sh5; do
193              # Try only shells that exist, to save several forks.
194              as_shell=$as_dir/$as_base
195              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   CONFIG_SHELL=$as_shell as_have_required=yes
198                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   break 2
200 fi
201 fi
202            done;;
203        esac
204   as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208   CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213       if test "x$CONFIG_SHELL" != x; then :
214   # We cannot yet assume a decent shell, so we have to provide a
215         # neutralization value for shells without unset; and this also
216         # works around shells that cannot unset nonexistent variables.
217         BASH_ENV=/dev/null
218         ENV=/dev/null
219         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220         export CONFIG_SHELL
221         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224     if test x$as_have_required = xno; then :
225   $as_echo "$0: This script requires a shell more modern than all"
226   $as_echo "$0: the shells that I found on your system."
227   if test x${ZSH_VERSION+set} = xset ; then
228     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230   else
231     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235   fi
236   exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254   { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263   return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271   set +e
272   as_fn_set_status $1
273   exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282   case $as_dir in #(
283   -*) as_dir=./$as_dir;;
284   esac
285   test -d "$as_dir" || eval $as_mkdir_p || {
286     as_dirs=
287     while :; do
288       case $as_dir in #(
289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290       *) as_qdir=$as_dir;;
291       esac
292       as_dirs="'$as_qdir' $as_dirs"
293       as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295          X"$as_dir" : 'X\(//\)[^/]' \| \
296          X"$as_dir" : 'X\(//\)$' \| \
297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300             s//\1/
301             q
302           }
303           /^X\(\/\/\)[^/].*/{
304             s//\1/
305             q
306           }
307           /^X\(\/\/\)$/{
308             s//\1/
309             q
310           }
311           /^X\(\/\).*/{
312             s//\1/
313             q
314           }
315           s/.*/./; q'`
316       test -d "$as_dir" && break
317     done
318     test -z "$as_dirs" || eval "mkdir $as_dirs"
319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330   eval 'as_fn_append ()
331   {
332     eval $1+=\$2
333   }'
334 else
335   as_fn_append ()
336   {
337     eval $1=\$$1\$2
338   }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347   eval 'as_fn_arith ()
348   {
349     as_val=$(( $* ))
350   }'
351 else
352   as_fn_arith ()
353   {
354     as_val=`expr "$@" || test $? -eq 1`
355   }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366   as_status=$?; test $as_status -eq 0 && as_status=1
367   if test "$3"; then
368     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370   fi
371   $as_echo "$as_me: error: $1" >&2
372   as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376    test "X`expr 00001 : '.*\(...\)'`" = X001; then
377   as_expr=expr
378 else
379   as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383   as_basename=basename
384 else
385   as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389   as_dirname=dirname
390 else
391   as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396          X"$0" : 'X\(//\)$' \| \
397          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399     sed '/^.*\/\([^/][^/]*\)\/*$/{
400             s//\1/
401             q
402           }
403           /^X\/\(\/\/\)$/{
404             s//\1/
405             q
406           }
407           /^X\/\(\/\).*/{
408             s//\1/
409             q
410           }
411           s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421   as_lineno_1=$LINENO as_lineno_1a=$LINENO
422   as_lineno_2=$LINENO as_lineno_2a=$LINENO
423   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426   sed -n '
427     p
428     /[$]LINENO/=
429   ' <$as_myself |
430     sed '
431       s/[$]LINENO.*/&-/
432       t lineno
433       b
434       :lineno
435       N
436       :loop
437       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438       t loop
439       s/-\n.*//
440     ' >$as_me.lineno &&
441   chmod +x "$as_me.lineno" ||
442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444   # Don't try to exec as it changes $[0], causing all sort of problems
445   # (the dirname of $[0] is not the place where we might find the
446   # original and so on.  Autoconf is especially sensitive to this).
447   . "./$as_me.lineno"
448   # Exit status is that of the last command.
449   exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455   case `echo 'xy\c'` in
456   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457   xy)  ECHO_C='\c';;
458   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459        ECHO_T=' ';;
460   esac;;
461 *)
462   ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467   rm -f conf$$.dir/conf$$.file
468 else
469   rm -f conf$$.dir
470   mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473   if ln -s conf$$.file conf$$ 2>/dev/null; then
474     as_ln_s='ln -s'
475     # ... but there are two gotchas:
476     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478     # In both cases, we have to default to `cp -p'.
479     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480       as_ln_s='cp -p'
481   elif ln conf$$.file conf$$ 2>/dev/null; then
482     as_ln_s=ln
483   else
484     as_ln_s='cp -p'
485   fi
486 else
487   as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493   as_mkdir_p='mkdir -p "$as_dir"'
494 else
495   test -d ./-p && rmdir ./-p
496   as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500   as_test_x='test -x'
501 else
502   if ls -dL / >/dev/null 2>&1; then
503     as_ls_L_option=L
504   else
505     as_ls_L_option=
506   fi
507   as_test_x='
508     eval sh -c '\''
509       if test -d "$1"; then
510         test -d "$1/.";
511       else
512         case $1 in #(
513         -*)set "./$1";;
514         esac;
515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516         ???[sx]*):;;*)false;;esac;fi
517     '\'' sh
518   '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
556
557 ac_unique_file="quota.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 #  include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 #  include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 STRIP
597 ROOTSBIN
598 INSTMO
599 LIBMALLOC
600 NETLINKLIBS
601 QUOTA_NETLINK_PROG
602 DBUS_LIBS
603 DBUS_CFLAGS
604 PKG_CONFIG
605 EXT2LIBS
606 LDAPLIBS
607 INSTALL_DATA
608 INSTALL_SCRIPT
609 INSTALL_PROGRAM
610 EGREP
611 GREP
612 CPP
613 OBJEXT
614 EXEEXT
615 ac_ct_CC
616 CPPFLAGS
617 LDFLAGS
618 CFLAGS
619 CC
620 target_alias
621 host_alias
622 build_alias
623 LIBS
624 ECHO_T
625 ECHO_N
626 ECHO_C
627 DEFS
628 mandir
629 localedir
630 libdir
631 psdir
632 pdfdir
633 dvidir
634 htmldir
635 infodir
636 docdir
637 oldincludedir
638 includedir
639 localstatedir
640 sharedstatedir
641 sysconfdir
642 datadir
643 datarootdir
644 libexecdir
645 sbindir
646 bindir
647 program_transform_name
648 prefix
649 exec_prefix
650 PACKAGE_URL
651 PACKAGE_BUGREPORT
652 PACKAGE_STRING
653 PACKAGE_VERSION
654 PACKAGE_TARNAME
655 PACKAGE_NAME
656 PATH_SEPARATOR
657 SHELL'
658 ac_subst_files=''
659 ac_user_opts='
660 enable_option_checking
661 enable_static_link
662 enable_strip_binaries
663 enable_ldapmail
664 enable_ext2direct
665 enable_netlink
666 enable_rpc
667 enable_rpcsetquota
668 enable_xfs_roothack
669 enable_bsd_behaviour
670 enable_libefence
671 enable_nls
672 enable_rootsbin
673 enable_proc_mounts
674 '
675       ac_precious_vars='build_alias
676 host_alias
677 target_alias
678 CC
679 CFLAGS
680 LDFLAGS
681 LIBS
682 CPPFLAGS
683 CPP
684 PKG_CONFIG
685 DBUS_CFLAGS
686 DBUS_LIBS'
687
688
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
710
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 includedir='${prefix}/include'
726 oldincludedir='/usr/include'
727 docdir='${datarootdir}/doc/${PACKAGE}'
728 infodir='${datarootdir}/info'
729 htmldir='${docdir}'
730 dvidir='${docdir}'
731 pdfdir='${docdir}'
732 psdir='${docdir}'
733 libdir='${exec_prefix}/lib'
734 localedir='${datarootdir}/locale'
735 mandir='${datarootdir}/man'
736
737 ac_prev=
738 ac_dashdash=
739 for ac_option
740 do
741   # If the previous option needs an argument, assign it.
742   if test -n "$ac_prev"; then
743     eval $ac_prev=\$ac_option
744     ac_prev=
745     continue
746   fi
747
748   case $ac_option in
749   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
750   *)    ac_optarg=yes ;;
751   esac
752
753   # Accept the important Cygnus configure options, so we can diagnose typos.
754
755   case $ac_dashdash$ac_option in
756   --)
757     ac_dashdash=yes ;;
758
759   -bindir | --bindir | --bindi | --bind | --bin | --bi)
760     ac_prev=bindir ;;
761   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
762     bindir=$ac_optarg ;;
763
764   -build | --build | --buil | --bui | --bu)
765     ac_prev=build_alias ;;
766   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
767     build_alias=$ac_optarg ;;
768
769   -cache-file | --cache-file | --cache-fil | --cache-fi \
770   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
771     ac_prev=cache_file ;;
772   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
773   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
774     cache_file=$ac_optarg ;;
775
776   --config-cache | -C)
777     cache_file=config.cache ;;
778
779   -datadir | --datadir | --datadi | --datad)
780     ac_prev=datadir ;;
781   -datadir=* | --datadir=* | --datadi=* | --datad=*)
782     datadir=$ac_optarg ;;
783
784   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
785   | --dataroo | --dataro | --datar)
786     ac_prev=datarootdir ;;
787   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
788   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
789     datarootdir=$ac_optarg ;;
790
791   -disable-* | --disable-*)
792     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793     # Reject names that are not valid shell variable names.
794     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795       as_fn_error "invalid feature name: $ac_useropt"
796     ac_useropt_orig=$ac_useropt
797     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798     case $ac_user_opts in
799       *"
800 "enable_$ac_useropt"
801 "*) ;;
802       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
803          ac_unrecognized_sep=', ';;
804     esac
805     eval enable_$ac_useropt=no ;;
806
807   -docdir | --docdir | --docdi | --doc | --do)
808     ac_prev=docdir ;;
809   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810     docdir=$ac_optarg ;;
811
812   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
813     ac_prev=dvidir ;;
814   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815     dvidir=$ac_optarg ;;
816
817   -enable-* | --enable-*)
818     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819     # Reject names that are not valid shell variable names.
820     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
821       as_fn_error "invalid feature name: $ac_useropt"
822     ac_useropt_orig=$ac_useropt
823     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
824     case $ac_user_opts in
825       *"
826 "enable_$ac_useropt"
827 "*) ;;
828       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
829          ac_unrecognized_sep=', ';;
830     esac
831     eval enable_$ac_useropt=\$ac_optarg ;;
832
833   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
834   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
835   | --exec | --exe | --ex)
836     ac_prev=exec_prefix ;;
837   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
838   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
839   | --exec=* | --exe=* | --ex=*)
840     exec_prefix=$ac_optarg ;;
841
842   -gas | --gas | --ga | --g)
843     # Obsolete; use --with-gas.
844     with_gas=yes ;;
845
846   -help | --help | --hel | --he | -h)
847     ac_init_help=long ;;
848   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
849     ac_init_help=recursive ;;
850   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
851     ac_init_help=short ;;
852
853   -host | --host | --hos | --ho)
854     ac_prev=host_alias ;;
855   -host=* | --host=* | --hos=* | --ho=*)
856     host_alias=$ac_optarg ;;
857
858   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
859     ac_prev=htmldir ;;
860   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
861   | --ht=*)
862     htmldir=$ac_optarg ;;
863
864   -includedir | --includedir | --includedi | --included | --include \
865   | --includ | --inclu | --incl | --inc)
866     ac_prev=includedir ;;
867   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
868   | --includ=* | --inclu=* | --incl=* | --inc=*)
869     includedir=$ac_optarg ;;
870
871   -infodir | --infodir | --infodi | --infod | --info | --inf)
872     ac_prev=infodir ;;
873   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
874     infodir=$ac_optarg ;;
875
876   -libdir | --libdir | --libdi | --libd)
877     ac_prev=libdir ;;
878   -libdir=* | --libdir=* | --libdi=* | --libd=*)
879     libdir=$ac_optarg ;;
880
881   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
882   | --libexe | --libex | --libe)
883     ac_prev=libexecdir ;;
884   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
885   | --libexe=* | --libex=* | --libe=*)
886     libexecdir=$ac_optarg ;;
887
888   -localedir | --localedir | --localedi | --localed | --locale)
889     ac_prev=localedir ;;
890   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
891     localedir=$ac_optarg ;;
892
893   -localstatedir | --localstatedir | --localstatedi | --localstated \
894   | --localstate | --localstat | --localsta | --localst | --locals)
895     ac_prev=localstatedir ;;
896   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
897   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
898     localstatedir=$ac_optarg ;;
899
900   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
901     ac_prev=mandir ;;
902   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
903     mandir=$ac_optarg ;;
904
905   -nfp | --nfp | --nf)
906     # Obsolete; use --without-fp.
907     with_fp=no ;;
908
909   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
910   | --no-cr | --no-c | -n)
911     no_create=yes ;;
912
913   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
914   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
915     no_recursion=yes ;;
916
917   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
918   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
919   | --oldin | --oldi | --old | --ol | --o)
920     ac_prev=oldincludedir ;;
921   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
922   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
923   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
924     oldincludedir=$ac_optarg ;;
925
926   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
927     ac_prev=prefix ;;
928   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
929     prefix=$ac_optarg ;;
930
931   -program-prefix | --program-prefix | --program-prefi | --program-pref \
932   | --program-pre | --program-pr | --program-p)
933     ac_prev=program_prefix ;;
934   -program-prefix=* | --program-prefix=* | --program-prefi=* \
935   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
936     program_prefix=$ac_optarg ;;
937
938   -program-suffix | --program-suffix | --program-suffi | --program-suff \
939   | --program-suf | --program-su | --program-s)
940     ac_prev=program_suffix ;;
941   -program-suffix=* | --program-suffix=* | --program-suffi=* \
942   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
943     program_suffix=$ac_optarg ;;
944
945   -program-transform-name | --program-transform-name \
946   | --program-transform-nam | --program-transform-na \
947   | --program-transform-n | --program-transform- \
948   | --program-transform | --program-transfor \
949   | --program-transfo | --program-transf \
950   | --program-trans | --program-tran \
951   | --progr-tra | --program-tr | --program-t)
952     ac_prev=program_transform_name ;;
953   -program-transform-name=* | --program-transform-name=* \
954   | --program-transform-nam=* | --program-transform-na=* \
955   | --program-transform-n=* | --program-transform-=* \
956   | --program-transform=* | --program-transfor=* \
957   | --program-transfo=* | --program-transf=* \
958   | --program-trans=* | --program-tran=* \
959   | --progr-tra=* | --program-tr=* | --program-t=*)
960     program_transform_name=$ac_optarg ;;
961
962   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
963     ac_prev=pdfdir ;;
964   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
965     pdfdir=$ac_optarg ;;
966
967   -psdir | --psdir | --psdi | --psd | --ps)
968     ac_prev=psdir ;;
969   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
970     psdir=$ac_optarg ;;
971
972   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
973   | -silent | --silent | --silen | --sile | --sil)
974     silent=yes ;;
975
976   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
977     ac_prev=sbindir ;;
978   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
979   | --sbi=* | --sb=*)
980     sbindir=$ac_optarg ;;
981
982   -sharedstatedir | --sharedstatedir | --sharedstatedi \
983   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
984   | --sharedst | --shareds | --shared | --share | --shar \
985   | --sha | --sh)
986     ac_prev=sharedstatedir ;;
987   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
988   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
989   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
990   | --sha=* | --sh=*)
991     sharedstatedir=$ac_optarg ;;
992
993   -site | --site | --sit)
994     ac_prev=site ;;
995   -site=* | --site=* | --sit=*)
996     site=$ac_optarg ;;
997
998   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
999     ac_prev=srcdir ;;
1000   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1001     srcdir=$ac_optarg ;;
1002
1003   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1004   | --syscon | --sysco | --sysc | --sys | --sy)
1005     ac_prev=sysconfdir ;;
1006   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1007   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1008     sysconfdir=$ac_optarg ;;
1009
1010   -target | --target | --targe | --targ | --tar | --ta | --t)
1011     ac_prev=target_alias ;;
1012   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1013     target_alias=$ac_optarg ;;
1014
1015   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1016     verbose=yes ;;
1017
1018   -version | --version | --versio | --versi | --vers | -V)
1019     ac_init_version=: ;;
1020
1021   -with-* | --with-*)
1022     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1023     # Reject names that are not valid shell variable names.
1024     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025       as_fn_error "invalid package name: $ac_useropt"
1026     ac_useropt_orig=$ac_useropt
1027     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028     case $ac_user_opts in
1029       *"
1030 "with_$ac_useropt"
1031 "*) ;;
1032       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033          ac_unrecognized_sep=', ';;
1034     esac
1035     eval with_$ac_useropt=\$ac_optarg ;;
1036
1037   -without-* | --without-*)
1038     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039     # Reject names that are not valid shell variable names.
1040     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041       as_fn_error "invalid package name: $ac_useropt"
1042     ac_useropt_orig=$ac_useropt
1043     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044     case $ac_user_opts in
1045       *"
1046 "with_$ac_useropt"
1047 "*) ;;
1048       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1049          ac_unrecognized_sep=', ';;
1050     esac
1051     eval with_$ac_useropt=no ;;
1052
1053   --x)
1054     # Obsolete; use --with-x.
1055     with_x=yes ;;
1056
1057   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1058   | --x-incl | --x-inc | --x-in | --x-i)
1059     ac_prev=x_includes ;;
1060   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1061   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1062     x_includes=$ac_optarg ;;
1063
1064   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1065   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1066     ac_prev=x_libraries ;;
1067   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1068   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069     x_libraries=$ac_optarg ;;
1070
1071   -*) as_fn_error "unrecognized option: \`$ac_option'
1072 Try \`$0 --help' for more information."
1073     ;;
1074
1075   *=*)
1076     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1077     # Reject names that are not valid shell variable names.
1078     case $ac_envvar in #(
1079       '' | [0-9]* | *[!_$as_cr_alnum]* )
1080       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1081     esac
1082     eval $ac_envvar=\$ac_optarg
1083     export $ac_envvar ;;
1084
1085   *)
1086     # FIXME: should be removed in autoconf 3.0.
1087     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091     ;;
1092
1093   esac
1094 done
1095
1096 if test -n "$ac_prev"; then
1097   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098   as_fn_error "missing argument to $ac_option"
1099 fi
1100
1101 if test -n "$ac_unrecognized_opts"; then
1102   case $enable_option_checking in
1103     no) ;;
1104     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1105     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1106   esac
1107 fi
1108
1109 # Check all directory arguments for consistency.
1110 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111                 datadir sysconfdir sharedstatedir localstatedir includedir \
1112                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113                 libdir localedir mandir
1114 do
1115   eval ac_val=\$$ac_var
1116   # Remove trailing slashes.
1117   case $ac_val in
1118     */ )
1119       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1120       eval $ac_var=\$ac_val;;
1121   esac
1122   # Be sure to have absolute directory names.
1123   case $ac_val in
1124     [\\/$]* | ?:[\\/]* )  continue;;
1125     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1126   esac
1127   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1128 done
1129
1130 # There might be people who depend on the old broken behavior: `$host'
1131 # used to hold the argument of --host etc.
1132 # FIXME: To remove some day.
1133 build=$build_alias
1134 host=$host_alias
1135 target=$target_alias
1136
1137 # FIXME: To remove some day.
1138 if test "x$host_alias" != x; then
1139   if test "x$build_alias" = x; then
1140     cross_compiling=maybe
1141     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1142     If a cross compiler is detected then cross compile mode will be used." >&2
1143   elif test "x$build_alias" != "x$host_alias"; then
1144     cross_compiling=yes
1145   fi
1146 fi
1147
1148 ac_tool_prefix=
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150
1151 test "$silent" = yes && exec 6>/dev/null
1152
1153
1154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di=`ls -di .` &&
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157   as_fn_error "working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159   as_fn_error "pwd does not report name of working directory"
1160
1161
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164   ac_srcdir_defaulted=yes
1165   # Try the directory containing this script, then the parent directory.
1166   ac_confdir=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168          X"$as_myself" : 'X\(//\)[^/]' \| \
1169          X"$as_myself" : 'X\(//\)$' \| \
1170          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 $as_echo X"$as_myself" |
1172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173             s//\1/
1174             q
1175           }
1176           /^X\(\/\/\)[^/].*/{
1177             s//\1/
1178             q
1179           }
1180           /^X\(\/\/\)$/{
1181             s//\1/
1182             q
1183           }
1184           /^X\(\/\).*/{
1185             s//\1/
1186             q
1187           }
1188           s/.*/./; q'`
1189   srcdir=$ac_confdir
1190   if test ! -r "$srcdir/$ac_unique_file"; then
1191     srcdir=..
1192   fi
1193 else
1194   ac_srcdir_defaulted=no
1195 fi
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1199 fi
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201 ac_abs_confdir=`(
1202         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1203         pwd)`
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206   srcdir=.
1207 fi
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1211 case $srcdir in
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 esac
1214 for ac_var in $ac_precious_vars; do
1215   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216   eval ac_env_${ac_var}_value=\$${ac_var}
1217   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1219 done
1220
1221 #
1222 # Report the --help message.
1223 #
1224 if test "$ac_init_help" = "long"; then
1225   # Omit some internal or obsolete options to make the list less imposing.
1226   # This message is too long to be a string in the A/UX 3.1 sh.
1227   cat <<_ACEOF
1228 \`configure' configures this package to adapt to many kinds of systems.
1229
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1231
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE.  See below for descriptions of some of the useful variables.
1234
1235 Defaults for the options are specified in brackets.
1236
1237 Configuration:
1238   -h, --help              display this help and exit
1239       --help=short        display options specific to this package
1240       --help=recursive    display the short help of all the included packages
1241   -V, --version           display version information and exit
1242   -q, --quiet, --silent   do not print \`checking...' messages
1243       --cache-file=FILE   cache test results in FILE [disabled]
1244   -C, --config-cache      alias for \`--cache-file=config.cache'
1245   -n, --no-create         do not create output files
1246       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1247
1248 Installation directories:
1249   --prefix=PREFIX         install architecture-independent files in PREFIX
1250                           [$ac_default_prefix]
1251   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1252                           [PREFIX]
1253
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1258
1259 For better control, use the options below.
1260
1261 Fine tuning of the installation directories:
1262   --bindir=DIR            user executables [EPREFIX/bin]
1263   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1264   --libexecdir=DIR        program executables [EPREFIX/libexec]
1265   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1266   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1267   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1268   --libdir=DIR            object code libraries [EPREFIX/lib]
1269   --includedir=DIR        C header files [PREFIX/include]
1270   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1271   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1272   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1273   --infodir=DIR           info documentation [DATAROOTDIR/info]
1274   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1275   --mandir=DIR            man documentation [DATAROOTDIR/man]
1276   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1277   --htmldir=DIR           html documentation [DOCDIR]
1278   --dvidir=DIR            dvi documentation [DOCDIR]
1279   --pdfdir=DIR            pdf documentation [DOCDIR]
1280   --psdir=DIR             ps documentation [DOCDIR]
1281 _ACEOF
1282
1283   cat <<\_ACEOF
1284 _ACEOF
1285 fi
1286
1287 if test -n "$ac_init_help"; then
1288
1289   cat <<\_ACEOF
1290
1291 Optional Features:
1292   --disable-option-checking  ignore unrecognized --enable/--with options
1293   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1294   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1295   --enable-static-link=yes/no        Link all binaries statically default=no.
1296   --enable-strip-binaries=yes/no Strip binaries while installing them default=yes.
1297   --enable-ldapmail=yes/no/try       Enable ldap mail address lookups default=no.
1298   --enable-ext2direct=yes/no/try     Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try.
1299   --enable-netlink=yes/no/try   Compile daemon receiving quota messages via netlink default=no.
1300   --enable-rpc=yes/no           Enable RPC support default=yes.
1301   --enable-rpcsetquota=yes/no   Use RPC for setting quotas default=no.
1302   --enable-xfs_roothack=yes/no  Support old XFS root filesystems default=no.
1303   --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes.
1304   --enable-libefence=yes/no     Use Electric Fence memory checks default=no.
1305   --enable-nls=yes/no           Enable gettext default=yes.
1306   --enable-rootsbin=yes/no      Use /sbin for some important binaries regardless $prefix default=no.
1307   --enable-proc-mounts=path   Use alternate file instead of /etc/mtab default=/proc/mounts.
1308
1309 Some influential environment variables:
1310   CC          C compiler command
1311   CFLAGS      C compiler flags
1312   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1313               nonstandard directory <lib dir>
1314   LIBS        libraries to pass to the linker, e.g. -l<library>
1315   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1316               you have headers in a nonstandard directory <include dir>
1317   CPP         C preprocessor
1318   PKG_CONFIG  path to pkg-config utility
1319   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1320   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1321
1322 Use these variables to override the choices made by `configure' or to help
1323 it to find libraries and programs with nonstandard names/locations.
1324
1325 Report bugs to the package provider.
1326 _ACEOF
1327 ac_status=$?
1328 fi
1329
1330 if test "$ac_init_help" = "recursive"; then
1331   # If there are subdirs, report their specific --help.
1332   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1333     test -d "$ac_dir" ||
1334       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335       continue
1336     ac_builddir=.
1337
1338 case "$ac_dir" in
1339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *)
1341   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342   # A ".." for each directory in $ac_dir_suffix.
1343   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344   case $ac_top_builddir_sub in
1345   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347   esac ;;
1348 esac
1349 ac_abs_top_builddir=$ac_pwd
1350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1351 # for backward compatibility:
1352 ac_top_builddir=$ac_top_build_prefix
1353
1354 case $srcdir in
1355   .)  # We are building in place.
1356     ac_srcdir=.
1357     ac_top_srcdir=$ac_top_builddir_sub
1358     ac_abs_top_srcdir=$ac_pwd ;;
1359   [\\/]* | ?:[\\/]* )  # Absolute name.
1360     ac_srcdir=$srcdir$ac_dir_suffix;
1361     ac_top_srcdir=$srcdir
1362     ac_abs_top_srcdir=$srcdir ;;
1363   *) # Relative name.
1364     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1365     ac_top_srcdir=$ac_top_build_prefix$srcdir
1366     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1367 esac
1368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1369
1370     cd "$ac_dir" || { ac_status=$?; continue; }
1371     # Check for guested configure.
1372     if test -f "$ac_srcdir/configure.gnu"; then
1373       echo &&
1374       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1375     elif test -f "$ac_srcdir/configure"; then
1376       echo &&
1377       $SHELL "$ac_srcdir/configure" --help=recursive
1378     else
1379       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1380     fi || ac_status=$?
1381     cd "$ac_pwd" || { ac_status=$?; break; }
1382   done
1383 fi
1384
1385 test -n "$ac_init_help" && exit $ac_status
1386 if $ac_init_version; then
1387   cat <<\_ACEOF
1388 configure
1389 generated by GNU Autoconf 2.65
1390
1391 Copyright (C) 2009 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1394 _ACEOF
1395   exit
1396 fi
1397
1398 ## ------------------------ ##
1399 ## Autoconf initialization. ##
1400 ## ------------------------ ##
1401
1402 # ac_fn_c_try_compile LINENO
1403 # --------------------------
1404 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1405 ac_fn_c_try_compile ()
1406 {
1407   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408   rm -f conftest.$ac_objext
1409   if { { ac_try="$ac_compile"
1410 case "(($ac_try" in
1411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1412   *) ac_try_echo=$ac_try;;
1413 esac
1414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1415 $as_echo "$ac_try_echo"; } >&5
1416   (eval "$ac_compile") 2>conftest.err
1417   ac_status=$?
1418   if test -s conftest.err; then
1419     grep -v '^ *+' conftest.err >conftest.er1
1420     cat conftest.er1 >&5
1421     mv -f conftest.er1 conftest.err
1422   fi
1423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1424   test $ac_status = 0; } && {
1425          test -z "$ac_c_werror_flag" ||
1426          test ! -s conftest.err
1427        } && test -s conftest.$ac_objext; then :
1428   ac_retval=0
1429 else
1430   $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1432
1433         ac_retval=1
1434 fi
1435   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1436   as_fn_set_status $ac_retval
1437
1438 } # ac_fn_c_try_compile
1439
1440 # ac_fn_c_try_cpp LINENO
1441 # ----------------------
1442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1443 ac_fn_c_try_cpp ()
1444 {
1445   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1446   if { { ac_try="$ac_cpp conftest.$ac_ext"
1447 case "(($ac_try" in
1448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449   *) ac_try_echo=$ac_try;;
1450 esac
1451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452 $as_echo "$ac_try_echo"; } >&5
1453   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1454   ac_status=$?
1455   if test -s conftest.err; then
1456     grep -v '^ *+' conftest.err >conftest.er1
1457     cat conftest.er1 >&5
1458     mv -f conftest.er1 conftest.err
1459   fi
1460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461   test $ac_status = 0; } >/dev/null && {
1462          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1463          test ! -s conftest.err
1464        }; then :
1465   ac_retval=0
1466 else
1467   $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1469
1470     ac_retval=1
1471 fi
1472   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1473   as_fn_set_status $ac_retval
1474
1475 } # ac_fn_c_try_cpp
1476
1477 # ac_fn_c_try_run LINENO
1478 # ----------------------
1479 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1480 # that executables *can* be run.
1481 ac_fn_c_try_run ()
1482 {
1483   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484   if { { ac_try="$ac_link"
1485 case "(($ac_try" in
1486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487   *) ac_try_echo=$ac_try;;
1488 esac
1489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490 $as_echo "$ac_try_echo"; } >&5
1491   (eval "$ac_link") 2>&5
1492   ac_status=$?
1493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1495   { { case "(($ac_try" in
1496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1497   *) ac_try_echo=$ac_try;;
1498 esac
1499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1500 $as_echo "$ac_try_echo"; } >&5
1501   (eval "$ac_try") 2>&5
1502   ac_status=$?
1503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504   test $ac_status = 0; }; }; then :
1505   ac_retval=0
1506 else
1507   $as_echo "$as_me: program exited with status $ac_status" >&5
1508        $as_echo "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1510
1511        ac_retval=$ac_status
1512 fi
1513   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1514   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1515   as_fn_set_status $ac_retval
1516
1517 } # ac_fn_c_try_run
1518
1519 # ac_fn_c_try_link LINENO
1520 # -----------------------
1521 # Try to link conftest.$ac_ext, and return whether this succeeded.
1522 ac_fn_c_try_link ()
1523 {
1524   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525   rm -f conftest.$ac_objext conftest$ac_exeext
1526   if { { ac_try="$ac_link"
1527 case "(($ac_try" in
1528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529   *) ac_try_echo=$ac_try;;
1530 esac
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533   (eval "$ac_link") 2>conftest.err
1534   ac_status=$?
1535   if test -s conftest.err; then
1536     grep -v '^ *+' conftest.err >conftest.er1
1537     cat conftest.er1 >&5
1538     mv -f conftest.er1 conftest.err
1539   fi
1540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541   test $ac_status = 0; } && {
1542          test -z "$ac_c_werror_flag" ||
1543          test ! -s conftest.err
1544        } && test -s conftest$ac_exeext && {
1545          test "$cross_compiling" = yes ||
1546          $as_test_x conftest$ac_exeext
1547        }; then :
1548   ac_retval=0
1549 else
1550   $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1552
1553         ac_retval=1
1554 fi
1555   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1556   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1557   # interfere with the next link command; also delete a directory that is
1558   # left behind by Apple's compiler.  We do this before executing the actions.
1559   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561   as_fn_set_status $ac_retval
1562
1563 } # ac_fn_c_try_link
1564
1565 # ac_fn_c_check_decl LINENO SYMBOL VAR
1566 # ------------------------------------
1567 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1568 ac_fn_c_check_decl ()
1569 {
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1572 $as_echo_n "checking whether $2 is declared... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574   $as_echo_n "(cached) " >&6
1575 else
1576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h.  */
1578 $4
1579 int
1580 main ()
1581 {
1582 #ifndef $2
1583   (void) $2;
1584 #endif
1585
1586   ;
1587   return 0;
1588 }
1589 _ACEOF
1590 if ac_fn_c_try_compile "$LINENO"; then :
1591   eval "$3=yes"
1592 else
1593   eval "$3=no"
1594 fi
1595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1596 fi
1597 eval ac_res=\$$3
1598                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1599 $as_echo "$ac_res" >&6; }
1600   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1601
1602 } # ac_fn_c_check_decl
1603
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1608 # accordingly.
1609 ac_fn_c_check_header_mongrel ()
1610 {
1611   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616   $as_echo_n "(cached) " >&6
1617 fi
1618 eval ac_res=\$$3
1619                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1621 else
1622   # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h.  */
1627 $4
1628 #include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631   ac_header_compiler=yes
1632 else
1633   ac_header_compiler=no
1634 fi
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1638
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h.  */
1644 #include <$2>
1645 _ACEOF
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647   ac_header_preproc=yes
1648 else
1649   ac_header_preproc=no
1650 fi
1651 rm -f conftest.err conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1654
1655 # So?  What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1657   yes:no: )
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662     ;;
1663   no:yes:* )
1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1672     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674     ;;
1675 esac
1676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679   $as_echo_n "(cached) " >&6
1680 else
1681   eval "$3=\$ac_header_compiler"
1682 fi
1683 eval ac_res=\$$3
1684                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 fi
1687   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688
1689 } # ac_fn_c_check_header_mongrel
1690
1691 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1692 # -------------------------------------------------------
1693 # Tests whether HEADER exists and can be compiled using the include files in
1694 # INCLUDES, setting the cache variable VAR accordingly.
1695 ac_fn_c_check_header_compile ()
1696 {
1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1699 $as_echo_n "checking for $2... " >&6; }
1700 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701   $as_echo_n "(cached) " >&6
1702 else
1703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h.  */
1705 $4
1706 #include <$2>
1707 _ACEOF
1708 if ac_fn_c_try_compile "$LINENO"; then :
1709   eval "$3=yes"
1710 else
1711   eval "$3=no"
1712 fi
1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1714 fi
1715 eval ac_res=\$$3
1716                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719
1720 } # ac_fn_c_check_header_compile
1721 cat >config.log <<_ACEOF
1722 This file contains any messages produced by compilers while
1723 running configure, to aid debugging if configure makes a mistake.
1724
1725 It was created by $as_me, which was
1726 generated by GNU Autoconf 2.65.  Invocation command line was
1727
1728   $ $0 $@
1729
1730 _ACEOF
1731 exec 5>>config.log
1732 {
1733 cat <<_ASUNAME
1734 ## --------- ##
1735 ## Platform. ##
1736 ## --------- ##
1737
1738 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1739 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1740 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1741 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1742 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1743
1744 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1745 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1746
1747 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1748 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1749 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1750 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1751 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1752 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1753 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1754
1755 _ASUNAME
1756
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760   IFS=$as_save_IFS
1761   test -z "$as_dir" && as_dir=.
1762     $as_echo "PATH: $as_dir"
1763   done
1764 IFS=$as_save_IFS
1765
1766 } >&5
1767
1768 cat >&5 <<_ACEOF
1769
1770
1771 ## ----------- ##
1772 ## Core tests. ##
1773 ## ----------- ##
1774
1775 _ACEOF
1776
1777
1778 # Keep a trace of the command line.
1779 # Strip out --no-create and --no-recursion so they do not pile up.
1780 # Strip out --silent because we don't want to record it for future runs.
1781 # Also quote any args containing shell meta-characters.
1782 # Make two passes to allow for proper duplicate-argument suppression.
1783 ac_configure_args=
1784 ac_configure_args0=
1785 ac_configure_args1=
1786 ac_must_keep_next=false
1787 for ac_pass in 1 2
1788 do
1789   for ac_arg
1790   do
1791     case $ac_arg in
1792     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1793     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1794     | -silent | --silent | --silen | --sile | --sil)
1795       continue ;;
1796     *\'*)
1797       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1798     esac
1799     case $ac_pass in
1800     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1801     2)
1802       as_fn_append ac_configure_args1 " '$ac_arg'"
1803       if test $ac_must_keep_next = true; then
1804         ac_must_keep_next=false # Got value, back to normal.
1805       else
1806         case $ac_arg in
1807           *=* | --config-cache | -C | -disable-* | --disable-* \
1808           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1809           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1810           | -with-* | --with-* | -without-* | --without-* | --x)
1811             case "$ac_configure_args0 " in
1812               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1813             esac
1814             ;;
1815           -* ) ac_must_keep_next=true ;;
1816         esac
1817       fi
1818       as_fn_append ac_configure_args " '$ac_arg'"
1819       ;;
1820     esac
1821   done
1822 done
1823 { ac_configure_args0=; unset ac_configure_args0;}
1824 { ac_configure_args1=; unset ac_configure_args1;}
1825
1826 # When interrupted or exit'd, cleanup temporary files, and complete
1827 # config.log.  We remove comments because anyway the quotes in there
1828 # would cause problems or look ugly.
1829 # WARNING: Use '\'' to represent an apostrophe within the trap.
1830 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1831 trap 'exit_status=$?
1832   # Save into config.log some information that might help in debugging.
1833   {
1834     echo
1835
1836     cat <<\_ASBOX
1837 ## ---------------- ##
1838 ## Cache variables. ##
1839 ## ---------------- ##
1840 _ASBOX
1841     echo
1842     # The following way of writing the cache mishandles newlines in values,
1843 (
1844   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1845     eval ac_val=\$$ac_var
1846     case $ac_val in #(
1847     *${as_nl}*)
1848       case $ac_var in #(
1849       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1851       esac
1852       case $ac_var in #(
1853       _ | IFS | as_nl) ;; #(
1854       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1855       *) { eval $ac_var=; unset $ac_var;} ;;
1856       esac ;;
1857     esac
1858   done
1859   (set) 2>&1 |
1860     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1861     *${as_nl}ac_space=\ *)
1862       sed -n \
1863         "s/'\''/'\''\\\\'\'''\''/g;
1864           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1865       ;; #(
1866     *)
1867       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1868       ;;
1869     esac |
1870     sort
1871 )
1872     echo
1873
1874     cat <<\_ASBOX
1875 ## ----------------- ##
1876 ## Output variables. ##
1877 ## ----------------- ##
1878 _ASBOX
1879     echo
1880     for ac_var in $ac_subst_vars
1881     do
1882       eval ac_val=\$$ac_var
1883       case $ac_val in
1884       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885       esac
1886       $as_echo "$ac_var='\''$ac_val'\''"
1887     done | sort
1888     echo
1889
1890     if test -n "$ac_subst_files"; then
1891       cat <<\_ASBOX
1892 ## ------------------- ##
1893 ## File substitutions. ##
1894 ## ------------------- ##
1895 _ASBOX
1896       echo
1897       for ac_var in $ac_subst_files
1898       do
1899         eval ac_val=\$$ac_var
1900         case $ac_val in
1901         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1902         esac
1903         $as_echo "$ac_var='\''$ac_val'\''"
1904       done | sort
1905       echo
1906     fi
1907
1908     if test -s confdefs.h; then
1909       cat <<\_ASBOX
1910 ## ----------- ##
1911 ## confdefs.h. ##
1912 ## ----------- ##
1913 _ASBOX
1914       echo
1915       cat confdefs.h
1916       echo
1917     fi
1918     test "$ac_signal" != 0 &&
1919       $as_echo "$as_me: caught signal $ac_signal"
1920     $as_echo "$as_me: exit $exit_status"
1921   } >&5
1922   rm -f core *.core core.conftest.* &&
1923     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1924     exit $exit_status
1925 ' 0
1926 for ac_signal in 1 2 13 15; do
1927   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1928 done
1929 ac_signal=0
1930
1931 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1932 rm -f -r conftest* confdefs.h
1933
1934 $as_echo "/* confdefs.h */" > confdefs.h
1935
1936 # Predefined preprocessor variables.
1937
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_NAME "$PACKAGE_NAME"
1940 _ACEOF
1941
1942 cat >>confdefs.h <<_ACEOF
1943 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1944 _ACEOF
1945
1946 cat >>confdefs.h <<_ACEOF
1947 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1948 _ACEOF
1949
1950 cat >>confdefs.h <<_ACEOF
1951 #define PACKAGE_STRING "$PACKAGE_STRING"
1952 _ACEOF
1953
1954 cat >>confdefs.h <<_ACEOF
1955 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1956 _ACEOF
1957
1958 cat >>confdefs.h <<_ACEOF
1959 #define PACKAGE_URL "$PACKAGE_URL"
1960 _ACEOF
1961
1962
1963 # Let the site file select an alternate cache file if it wants to.
1964 # Prefer an explicitly selected file to automatically selected ones.
1965 ac_site_file1=NONE
1966 ac_site_file2=NONE
1967 if test -n "$CONFIG_SITE"; then
1968   ac_site_file1=$CONFIG_SITE
1969 elif test "x$prefix" != xNONE; then
1970   ac_site_file1=$prefix/share/config.site
1971   ac_site_file2=$prefix/etc/config.site
1972 else
1973   ac_site_file1=$ac_default_prefix/share/config.site
1974   ac_site_file2=$ac_default_prefix/etc/config.site
1975 fi
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1977 do
1978   test "x$ac_site_file" = xNONE && continue
1979   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982     sed 's/^/| /' "$ac_site_file" >&5
1983     . "$ac_site_file"
1984   fi
1985 done
1986
1987 if test -r "$cache_file"; then
1988   # Some versions of bash will fail to source /dev/null (special files
1989   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1990   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1991     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1992 $as_echo "$as_me: loading cache $cache_file" >&6;}
1993     case $cache_file in
1994       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1995       *)                      . "./$cache_file";;
1996     esac
1997   fi
1998 else
1999   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2000 $as_echo "$as_me: creating cache $cache_file" >&6;}
2001   >$cache_file
2002 fi
2003
2004 # Check that the precious variables saved in the cache have kept the same
2005 # value.
2006 ac_cache_corrupted=false
2007 for ac_var in $ac_precious_vars; do
2008   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2009   eval ac_new_set=\$ac_env_${ac_var}_set
2010   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2011   eval ac_new_val=\$ac_env_${ac_var}_value
2012   case $ac_old_set,$ac_new_set in
2013     set,)
2014       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2015 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2016       ac_cache_corrupted=: ;;
2017     ,set)
2018       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2019 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2020       ac_cache_corrupted=: ;;
2021     ,);;
2022     *)
2023       if test "x$ac_old_val" != "x$ac_new_val"; then
2024         # differences in whitespace do not lead to failure.
2025         ac_old_val_w=`echo x $ac_old_val`
2026         ac_new_val_w=`echo x $ac_new_val`
2027         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2028           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2029 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2030           ac_cache_corrupted=:
2031         else
2032           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2033 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2034           eval $ac_var=\$ac_old_val
2035         fi
2036         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2037 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2038         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2039 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2040       fi;;
2041   esac
2042   # Pass precious variables to config.status.
2043   if test "$ac_new_set" = set; then
2044     case $ac_new_val in
2045     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2046     *) ac_arg=$ac_var=$ac_new_val ;;
2047     esac
2048     case " $ac_configure_args " in
2049       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2050       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2051     esac
2052   fi
2053 done
2054 if $ac_cache_corrupted; then
2055   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2057   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2058 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2059   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2060 fi
2061 ## -------------------- ##
2062 ## Main body of script. ##
2063 ## -------------------- ##
2064
2065 ac_ext=c
2066 ac_cpp='$CPP $CPPFLAGS'
2067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2070
2071
2072 ac_config_headers="$ac_config_headers config.h"
2073
2074
2075 ac_ext=c
2076 ac_cpp='$CPP $CPPFLAGS'
2077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2080 if test -n "$ac_tool_prefix"; then
2081   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if test "${ac_cv_prog_CC+set}" = set; then :
2086   $as_echo_n "(cached) " >&6
2087 else
2088   if test -n "$CC"; then
2089   ac_cv_prog_CC="$CC" # Let the user override the test.
2090 else
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 for as_dir in $PATH
2093 do
2094   IFS=$as_save_IFS
2095   test -z "$as_dir" && as_dir=.
2096     for ac_exec_ext in '' $ac_executable_extensions; do
2097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100     break 2
2101   fi
2102 done
2103   done
2104 IFS=$as_save_IFS
2105
2106 fi
2107 fi
2108 CC=$ac_cv_prog_CC
2109 if test -n "$CC"; then
2110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2111 $as_echo "$CC" >&6; }
2112 else
2113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 $as_echo "no" >&6; }
2115 fi
2116
2117
2118 fi
2119 if test -z "$ac_cv_prog_CC"; then
2120   ac_ct_CC=$CC
2121   # Extract the first word of "gcc", so it can be a program name with args.
2122 set dummy gcc; ac_word=$2
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 $as_echo_n "checking for $ac_word... " >&6; }
2125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2126   $as_echo_n "(cached) " >&6
2127 else
2128   if test -n "$ac_ct_CC"; then
2129   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2130 else
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 for as_dir in $PATH
2133 do
2134   IFS=$as_save_IFS
2135   test -z "$as_dir" && as_dir=.
2136     for ac_exec_ext in '' $ac_executable_extensions; do
2137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2138     ac_cv_prog_ac_ct_CC="gcc"
2139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140     break 2
2141   fi
2142 done
2143   done
2144 IFS=$as_save_IFS
2145
2146 fi
2147 fi
2148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2149 if test -n "$ac_ct_CC"; then
2150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2151 $as_echo "$ac_ct_CC" >&6; }
2152 else
2153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2154 $as_echo "no" >&6; }
2155 fi
2156
2157   if test "x$ac_ct_CC" = x; then
2158     CC=""
2159   else
2160     case $cross_compiling:$ac_tool_warned in
2161 yes:)
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2164 ac_tool_warned=yes ;;
2165 esac
2166     CC=$ac_ct_CC
2167   fi
2168 else
2169   CC="$ac_cv_prog_CC"
2170 fi
2171
2172 if test -z "$CC"; then
2173           if test -n "$ac_tool_prefix"; then
2174     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2175 set dummy ${ac_tool_prefix}cc; ac_word=$2
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2177 $as_echo_n "checking for $ac_word... " >&6; }
2178 if test "${ac_cv_prog_CC+set}" = set; then :
2179   $as_echo_n "(cached) " >&6
2180 else
2181   if test -n "$CC"; then
2182   ac_cv_prog_CC="$CC" # Let the user override the test.
2183 else
2184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2185 for as_dir in $PATH
2186 do
2187   IFS=$as_save_IFS
2188   test -z "$as_dir" && as_dir=.
2189     for ac_exec_ext in '' $ac_executable_extensions; do
2190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191     ac_cv_prog_CC="${ac_tool_prefix}cc"
2192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2193     break 2
2194   fi
2195 done
2196   done
2197 IFS=$as_save_IFS
2198
2199 fi
2200 fi
2201 CC=$ac_cv_prog_CC
2202 if test -n "$CC"; then
2203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2204 $as_echo "$CC" >&6; }
2205 else
2206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2207 $as_echo "no" >&6; }
2208 fi
2209
2210
2211   fi
2212 fi
2213 if test -z "$CC"; then
2214   # Extract the first word of "cc", so it can be a program name with args.
2215 set dummy cc; ac_word=$2
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2217 $as_echo_n "checking for $ac_word... " >&6; }
2218 if test "${ac_cv_prog_CC+set}" = set; then :
2219   $as_echo_n "(cached) " >&6
2220 else
2221   if test -n "$CC"; then
2222   ac_cv_prog_CC="$CC" # Let the user override the test.
2223 else
2224   ac_prog_rejected=no
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 for as_dir in $PATH
2227 do
2228   IFS=$as_save_IFS
2229   test -z "$as_dir" && as_dir=.
2230     for ac_exec_ext in '' $ac_executable_extensions; do
2231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2232     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2233        ac_prog_rejected=yes
2234        continue
2235      fi
2236     ac_cv_prog_CC="cc"
2237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2238     break 2
2239   fi
2240 done
2241   done
2242 IFS=$as_save_IFS
2243
2244 if test $ac_prog_rejected = yes; then
2245   # We found a bogon in the path, so make sure we never use it.
2246   set dummy $ac_cv_prog_CC
2247   shift
2248   if test $# != 0; then
2249     # We chose a different compiler from the bogus one.
2250     # However, it has the same basename, so the bogon will be chosen
2251     # first if we set CC to just the basename; use the full file name.
2252     shift
2253     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2254   fi
2255 fi
2256 fi
2257 fi
2258 CC=$ac_cv_prog_CC
2259 if test -n "$CC"; then
2260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2262 else
2263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2265 fi
2266
2267
2268 fi
2269 if test -z "$CC"; then
2270   if test -n "$ac_tool_prefix"; then
2271   for ac_prog in cl.exe
2272   do
2273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2276 $as_echo_n "checking for $ac_word... " >&6; }
2277 if test "${ac_cv_prog_CC+set}" = set; then :
2278   $as_echo_n "(cached) " >&6
2279 else
2280   if test -n "$CC"; then
2281   ac_cv_prog_CC="$CC" # Let the user override the test.
2282 else
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 for as_dir in $PATH
2285 do
2286   IFS=$as_save_IFS
2287   test -z "$as_dir" && as_dir=.
2288     for ac_exec_ext in '' $ac_executable_extensions; do
2289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292     break 2
2293   fi
2294 done
2295   done
2296 IFS=$as_save_IFS
2297
2298 fi
2299 fi
2300 CC=$ac_cv_prog_CC
2301 if test -n "$CC"; then
2302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2303 $as_echo "$CC" >&6; }
2304 else
2305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306 $as_echo "no" >&6; }
2307 fi
2308
2309
2310     test -n "$CC" && break
2311   done
2312 fi
2313 if test -z "$CC"; then
2314   ac_ct_CC=$CC
2315   for ac_prog in cl.exe
2316 do
2317   # Extract the first word of "$ac_prog", so it can be a program name with args.
2318 set dummy $ac_prog; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2322   $as_echo_n "(cached) " >&6
2323 else
2324   if test -n "$ac_ct_CC"; then
2325   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2326 else
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 for as_dir in $PATH
2329 do
2330   IFS=$as_save_IFS
2331   test -z "$as_dir" && as_dir=.
2332     for ac_exec_ext in '' $ac_executable_extensions; do
2333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334     ac_cv_prog_ac_ct_CC="$ac_prog"
2335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336     break 2
2337   fi
2338 done
2339   done
2340 IFS=$as_save_IFS
2341
2342 fi
2343 fi
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2347 $as_echo "$ac_ct_CC" >&6; }
2348 else
2349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2351 fi
2352
2353
2354   test -n "$ac_ct_CC" && break
2355 done
2356
2357   if test "x$ac_ct_CC" = x; then
2358     CC=""
2359   else
2360     case $cross_compiling:$ac_tool_warned in
2361 yes:)
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2364 ac_tool_warned=yes ;;
2365 esac
2366     CC=$ac_ct_CC
2367   fi
2368 fi
2369
2370 fi
2371
2372
2373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2375 as_fn_error "no acceptable C compiler found in \$PATH
2376 See \`config.log' for more details." "$LINENO" 5; }
2377
2378 # Provide some information about the compiler.
2379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2380 set X $ac_compile
2381 ac_compiler=$2
2382 for ac_option in --version -v -V -qversion; do
2383   { { ac_try="$ac_compiler $ac_option >&5"
2384 case "(($ac_try" in
2385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386   *) ac_try_echo=$ac_try;;
2387 esac
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2391   ac_status=$?
2392   if test -s conftest.err; then
2393     sed '10a\
2394 ... rest of stderr output deleted ...
2395          10q' conftest.err >conftest.er1
2396     cat conftest.er1 >&5
2397   fi
2398   rm -f conftest.er1 conftest.err
2399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2400   test $ac_status = 0; }
2401 done
2402
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h.  */
2405
2406 int
2407 main ()
2408 {
2409
2410   ;
2411   return 0;
2412 }
2413 _ACEOF
2414 ac_clean_files_save=$ac_clean_files
2415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2416 # Try to create an executable without -o first, disregard a.out.
2417 # It will help us diagnose broken compilers, and finding out an intuition
2418 # of exeext.
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2420 $as_echo_n "checking whether the C compiler works... " >&6; }
2421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2422
2423 # The possible output files:
2424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2425
2426 ac_rmfiles=
2427 for ac_file in $ac_files
2428 do
2429   case $ac_file in
2430     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2432   esac
2433 done
2434 rm -f $ac_rmfiles
2435
2436 if { { ac_try="$ac_link_default"
2437 case "(($ac_try" in
2438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439   *) ac_try_echo=$ac_try;;
2440 esac
2441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2442 $as_echo "$ac_try_echo"; } >&5
2443   (eval "$ac_link_default") 2>&5
2444   ac_status=$?
2445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2446   test $ac_status = 0; }; then :
2447   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2449 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2450 # so that the user can short-circuit this test for compilers unknown to
2451 # Autoconf.
2452 for ac_file in $ac_files ''
2453 do
2454   test -f "$ac_file" || continue
2455   case $ac_file in
2456     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2457         ;;
2458     [ab].out )
2459         # We found the default executable, but exeext='' is most
2460         # certainly right.
2461         break;;
2462     *.* )
2463         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2464         then :; else
2465            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2466         fi
2467         # We set ac_cv_exeext here because the later test for it is not
2468         # safe: cross compilers may not add the suffix if given an `-o'
2469         # argument, so we may need to know it at that point already.
2470         # Even if this section looks crufty: it has the advantage of
2471         # actually working.
2472         break;;
2473     * )
2474         break;;
2475   esac
2476 done
2477 test "$ac_cv_exeext" = no && ac_cv_exeext=
2478
2479 else
2480   ac_file=''
2481 fi
2482 if test -z "$ac_file"; then :
2483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2485 $as_echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2487
2488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { as_fn_set_status 77
2491 as_fn_error "C compiler cannot create executables
2492 See \`config.log' for more details." "$LINENO" 5; }; }
2493 else
2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2495 $as_echo "yes" >&6; }
2496 fi
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2498 $as_echo_n "checking for C compiler default output file name... " >&6; }
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2500 $as_echo "$ac_file" >&6; }
2501 ac_exeext=$ac_cv_exeext
2502
2503 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2506 $as_echo_n "checking for suffix of executables... " >&6; }
2507 if { { ac_try="$ac_link"
2508 case "(($ac_try" in
2509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2510   *) ac_try_echo=$ac_try;;
2511 esac
2512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2513 $as_echo "$ac_try_echo"; } >&5
2514   (eval "$ac_link") 2>&5
2515   ac_status=$?
2516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517   test $ac_status = 0; }; then :
2518   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2519 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2520 # work properly (i.e., refer to `conftest.exe'), while it won't with
2521 # `rm'.
2522 for ac_file in conftest.exe conftest conftest.*; do
2523   test -f "$ac_file" || continue
2524   case $ac_file in
2525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2526     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2527           break;;
2528     * ) break;;
2529   esac
2530 done
2531 else
2532   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 as_fn_error "cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." "$LINENO" 5; }
2536 fi
2537 rm -f conftest conftest$ac_cv_exeext
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2539 $as_echo "$ac_cv_exeext" >&6; }
2540
2541 rm -f conftest.$ac_ext
2542 EXEEXT=$ac_cv_exeext
2543 ac_exeext=$EXEEXT
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h.  */
2546 #include <stdio.h>
2547 int
2548 main ()
2549 {
2550 FILE *f = fopen ("conftest.out", "w");
2551  return ferror (f) || fclose (f) != 0;
2552
2553   ;
2554   return 0;
2555 }
2556 _ACEOF
2557 ac_clean_files="$ac_clean_files conftest.out"
2558 # Check that the compiler produces executables we can run.  If not, either
2559 # the compiler is broken, or we cross compile.
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2561 $as_echo_n "checking whether we are cross compiling... " >&6; }
2562 if test "$cross_compiling" != yes; then
2563   { { ac_try="$ac_link"
2564 case "(($ac_try" in
2565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566   *) ac_try_echo=$ac_try;;
2567 esac
2568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2569 $as_echo "$ac_try_echo"; } >&5
2570   (eval "$ac_link") 2>&5
2571   ac_status=$?
2572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573   test $ac_status = 0; }
2574   if { ac_try='./conftest$ac_cv_exeext'
2575   { { case "(($ac_try" in
2576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577   *) ac_try_echo=$ac_try;;
2578 esac
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581   (eval "$ac_try") 2>&5
2582   ac_status=$?
2583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584   test $ac_status = 0; }; }; then
2585     cross_compiling=no
2586   else
2587     if test "$cross_compiling" = maybe; then
2588         cross_compiling=yes
2589     else
2590         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error "cannot run C compiled programs.
2593 If you meant to cross compile, use \`--host'.
2594 See \`config.log' for more details." "$LINENO" 5; }
2595     fi
2596   fi
2597 fi
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2599 $as_echo "$cross_compiling" >&6; }
2600
2601 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2602 ac_clean_files=$ac_clean_files_save
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2604 $as_echo_n "checking for suffix of object files... " >&6; }
2605 if test "${ac_cv_objext+set}" = set; then :
2606   $as_echo_n "(cached) " >&6
2607 else
2608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2609 /* end confdefs.h.  */
2610
2611 int
2612 main ()
2613 {
2614
2615   ;
2616   return 0;
2617 }
2618 _ACEOF
2619 rm -f conftest.o conftest.obj
2620 if { { ac_try="$ac_compile"
2621 case "(($ac_try" in
2622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623   *) ac_try_echo=$ac_try;;
2624 esac
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627   (eval "$ac_compile") 2>&5
2628   ac_status=$?
2629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630   test $ac_status = 0; }; then :
2631   for ac_file in conftest.o conftest.obj conftest.*; do
2632   test -f "$ac_file" || continue;
2633   case $ac_file in
2634     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2635     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2636        break;;
2637   esac
2638 done
2639 else
2640   $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2642
2643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645 as_fn_error "cannot compute suffix of object files: cannot compile
2646 See \`config.log' for more details." "$LINENO" 5; }
2647 fi
2648 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2649 fi
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2651 $as_echo "$ac_cv_objext" >&6; }
2652 OBJEXT=$ac_cv_objext
2653 ac_objext=$OBJEXT
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2655 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2656 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2657   $as_echo_n "(cached) " >&6
2658 else
2659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h.  */
2661
2662 int
2663 main ()
2664 {
2665 #ifndef __GNUC__
2666        choke me
2667 #endif
2668
2669   ;
2670   return 0;
2671 }
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2674   ac_compiler_gnu=yes
2675 else
2676   ac_compiler_gnu=no
2677 fi
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680
2681 fi
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2683 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2684 if test $ac_compiler_gnu = yes; then
2685   GCC=yes
2686 else
2687   GCC=
2688 fi
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2692 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2693 if test "${ac_cv_prog_cc_g+set}" = set; then :
2694   $as_echo_n "(cached) " >&6
2695 else
2696   ac_save_c_werror_flag=$ac_c_werror_flag
2697    ac_c_werror_flag=yes
2698    ac_cv_prog_cc_g=no
2699    CFLAGS="-g"
2700    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2701 /* end confdefs.h.  */
2702
2703 int
2704 main ()
2705 {
2706
2707   ;
2708   return 0;
2709 }
2710 _ACEOF
2711 if ac_fn_c_try_compile "$LINENO"; then :
2712   ac_cv_prog_cc_g=yes
2713 else
2714   CFLAGS=""
2715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h.  */
2717
2718 int
2719 main ()
2720 {
2721
2722   ;
2723   return 0;
2724 }
2725 _ACEOF
2726 if ac_fn_c_try_compile "$LINENO"; then :
2727
2728 else
2729   ac_c_werror_flag=$ac_save_c_werror_flag
2730          CFLAGS="-g"
2731          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h.  */
2733
2734 int
2735 main ()
2736 {
2737
2738   ;
2739   return 0;
2740 }
2741 _ACEOF
2742 if ac_fn_c_try_compile "$LINENO"; then :
2743   ac_cv_prog_cc_g=yes
2744 fi
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 fi
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 fi
2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2750    ac_c_werror_flag=$ac_save_c_werror_flag
2751 fi
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2753 $as_echo "$ac_cv_prog_cc_g" >&6; }
2754 if test "$ac_test_CFLAGS" = set; then
2755   CFLAGS=$ac_save_CFLAGS
2756 elif test $ac_cv_prog_cc_g = yes; then
2757   if test "$GCC" = yes; then
2758     CFLAGS="-g -O2"
2759   else
2760     CFLAGS="-g"
2761   fi
2762 else
2763   if test "$GCC" = yes; then
2764     CFLAGS="-O2"
2765   else
2766     CFLAGS=
2767   fi
2768 fi
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2770 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2771 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2772   $as_echo_n "(cached) " >&6
2773 else
2774   ac_cv_prog_cc_c89=no
2775 ac_save_CC=$CC
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h.  */
2778 #include <stdarg.h>
2779 #include <stdio.h>
2780 #include <sys/types.h>
2781 #include <sys/stat.h>
2782 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2783 struct buf { int x; };
2784 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2785 static char *e (p, i)
2786      char **p;
2787      int i;
2788 {
2789   return p[i];
2790 }
2791 static char *f (char * (*g) (char **, int), char **p, ...)
2792 {
2793   char *s;
2794   va_list v;
2795   va_start (v,p);
2796   s = g (p, va_arg (v,int));
2797   va_end (v);
2798   return s;
2799 }
2800
2801 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2802    function prototypes and stuff, but not '\xHH' hex character constants.
2803    These don't provoke an error unfortunately, instead are silently treated
2804    as 'x'.  The following induces an error, until -std is added to get
2805    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2806    array size at least.  It's necessary to write '\x00'==0 to get something
2807    that's true only with -std.  */
2808 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2809
2810 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2811    inside strings and character constants.  */
2812 #define FOO(x) 'x'
2813 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2814
2815 int test (int i, double x);
2816 struct s1 {int (*f) (int a);};
2817 struct s2 {int (*f) (double a);};
2818 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2819 int argc;
2820 char **argv;
2821 int
2822 main ()
2823 {
2824 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2825   ;
2826   return 0;
2827 }
2828 _ACEOF
2829 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2830         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2831 do
2832   CC="$ac_save_CC $ac_arg"
2833   if ac_fn_c_try_compile "$LINENO"; then :
2834   ac_cv_prog_cc_c89=$ac_arg
2835 fi
2836 rm -f core conftest.err conftest.$ac_objext
2837   test "x$ac_cv_prog_cc_c89" != "xno" && break
2838 done
2839 rm -f conftest.$ac_ext
2840 CC=$ac_save_CC
2841
2842 fi
2843 # AC_CACHE_VAL
2844 case "x$ac_cv_prog_cc_c89" in
2845   x)
2846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2847 $as_echo "none needed" >&6; } ;;
2848   xno)
2849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2850 $as_echo "unsupported" >&6; } ;;
2851   *)
2852     CC="$CC $ac_cv_prog_cc_c89"
2853     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2854 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2855 esac
2856 if test "x$ac_cv_prog_cc_c89" != xno; then :
2857
2858 fi
2859
2860 ac_ext=c
2861 ac_cpp='$CPP $CPPFLAGS'
2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2865
2866
2867 ac_ext=c
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2873 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2874 # On Suns, sometimes $CPP names a directory.
2875 if test -n "$CPP" && test -d "$CPP"; then
2876   CPP=
2877 fi
2878 if test -z "$CPP"; then
2879   if test "${ac_cv_prog_CPP+set}" = set; then :
2880   $as_echo_n "(cached) " >&6
2881 else
2882       # Double quotes because CPP needs to be expanded
2883     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2884     do
2885       ac_preproc_ok=false
2886 for ac_c_preproc_warn_flag in '' yes
2887 do
2888   # Use a header file that comes with gcc, so configuring glibc
2889   # with a fresh cross-compiler works.
2890   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2891   # <limits.h> exists even on freestanding compilers.
2892   # On the NeXT, cc -E runs the code through the compiler's parser,
2893   # not just through cpp. "Syntax error" is here to catch this case.
2894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h.  */
2896 #ifdef __STDC__
2897 # include <limits.h>
2898 #else
2899 # include <assert.h>
2900 #endif
2901                      Syntax error
2902 _ACEOF
2903 if ac_fn_c_try_cpp "$LINENO"; then :
2904
2905 else
2906   # Broken: fails on valid input.
2907 continue
2908 fi
2909 rm -f conftest.err conftest.$ac_ext
2910
2911   # OK, works on sane cases.  Now check whether nonexistent headers
2912   # can be detected and how.
2913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2914 /* end confdefs.h.  */
2915 #include <ac_nonexistent.h>
2916 _ACEOF
2917 if ac_fn_c_try_cpp "$LINENO"; then :
2918   # Broken: success on invalid input.
2919 continue
2920 else
2921   # Passes both tests.
2922 ac_preproc_ok=:
2923 break
2924 fi
2925 rm -f conftest.err conftest.$ac_ext
2926
2927 done
2928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2929 rm -f conftest.err conftest.$ac_ext
2930 if $ac_preproc_ok; then :
2931   break
2932 fi
2933
2934     done
2935     ac_cv_prog_CPP=$CPP
2936
2937 fi
2938   CPP=$ac_cv_prog_CPP
2939 else
2940   ac_cv_prog_CPP=$CPP
2941 fi
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2943 $as_echo "$CPP" >&6; }
2944 ac_preproc_ok=false
2945 for ac_c_preproc_warn_flag in '' yes
2946 do
2947   # Use a header file that comes with gcc, so configuring glibc
2948   # with a fresh cross-compiler works.
2949   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950   # <limits.h> exists even on freestanding compilers.
2951   # On the NeXT, cc -E runs the code through the compiler's parser,
2952   # not just through cpp. "Syntax error" is here to catch this case.
2953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h.  */
2955 #ifdef __STDC__
2956 # include <limits.h>
2957 #else
2958 # include <assert.h>
2959 #endif
2960                      Syntax error
2961 _ACEOF
2962 if ac_fn_c_try_cpp "$LINENO"; then :
2963
2964 else
2965   # Broken: fails on valid input.
2966 continue
2967 fi
2968 rm -f conftest.err conftest.$ac_ext
2969
2970   # OK, works on sane cases.  Now check whether nonexistent headers
2971   # can be detected and how.
2972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 /* end confdefs.h.  */
2974 #include <ac_nonexistent.h>
2975 _ACEOF
2976 if ac_fn_c_try_cpp "$LINENO"; then :
2977   # Broken: success on invalid input.
2978 continue
2979 else
2980   # Passes both tests.
2981 ac_preproc_ok=:
2982 break
2983 fi
2984 rm -f conftest.err conftest.$ac_ext
2985
2986 done
2987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2988 rm -f conftest.err conftest.$ac_ext
2989 if $ac_preproc_ok; then :
2990
2991 else
2992   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error "C preprocessor \"$CPP\" fails sanity check
2995 See \`config.log' for more details." "$LINENO" 5; }
2996 fi
2997
2998 ac_ext=c
2999 ac_cpp='$CPP $CPPFLAGS'
3000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3003
3004
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3006 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3007 if test "${ac_cv_path_GREP+set}" = set; then :
3008   $as_echo_n "(cached) " >&6
3009 else
3010   if test -z "$GREP"; then
3011   ac_path_GREP_found=false
3012   # Loop through the user's path and test for each of PROGNAME-LIST
3013   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3015 do
3016   IFS=$as_save_IFS
3017   test -z "$as_dir" && as_dir=.
3018     for ac_prog in grep ggrep; do
3019     for ac_exec_ext in '' $ac_executable_extensions; do
3020       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3021       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3022 # Check for GNU ac_path_GREP and select it if it is found.
3023   # Check for GNU $ac_path_GREP
3024 case `"$ac_path_GREP" --version 2>&1` in
3025 *GNU*)
3026   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3027 *)
3028   ac_count=0
3029   $as_echo_n 0123456789 >"conftest.in"
3030   while :
3031   do
3032     cat "conftest.in" "conftest.in" >"conftest.tmp"
3033     mv "conftest.tmp" "conftest.in"
3034     cp "conftest.in" "conftest.nl"
3035     $as_echo 'GREP' >> "conftest.nl"
3036     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3037     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3038     as_fn_arith $ac_count + 1 && ac_count=$as_val
3039     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3040       # Best one so far, save it but keep looking for a better one
3041       ac_cv_path_GREP="$ac_path_GREP"
3042       ac_path_GREP_max=$ac_count
3043     fi
3044     # 10*(2^10) chars as input seems more than enough
3045     test $ac_count -gt 10 && break
3046   done
3047   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3048 esac
3049
3050       $ac_path_GREP_found && break 3
3051     done
3052   done
3053   done
3054 IFS=$as_save_IFS
3055   if test -z "$ac_cv_path_GREP"; then
3056     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3057   fi
3058 else
3059   ac_cv_path_GREP=$GREP
3060 fi
3061
3062 fi
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3064 $as_echo "$ac_cv_path_GREP" >&6; }
3065  GREP="$ac_cv_path_GREP"
3066
3067
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3069 $as_echo_n "checking for egrep... " >&6; }
3070 if test "${ac_cv_path_EGREP+set}" = set; then :
3071   $as_echo_n "(cached) " >&6
3072 else
3073   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3074    then ac_cv_path_EGREP="$GREP -E"
3075    else
3076      if test -z "$EGREP"; then
3077   ac_path_EGREP_found=false
3078   # Loop through the user's path and test for each of PROGNAME-LIST
3079   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084     for ac_prog in egrep; do
3085     for ac_exec_ext in '' $ac_executable_extensions; do
3086       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3087       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3088 # Check for GNU ac_path_EGREP and select it if it is found.
3089   # Check for GNU $ac_path_EGREP
3090 case `"$ac_path_EGREP" --version 2>&1` in
3091 *GNU*)
3092   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3093 *)
3094   ac_count=0
3095   $as_echo_n 0123456789 >"conftest.in"
3096   while :
3097   do
3098     cat "conftest.in" "conftest.in" >"conftest.tmp"
3099     mv "conftest.tmp" "conftest.in"
3100     cp "conftest.in" "conftest.nl"
3101     $as_echo 'EGREP' >> "conftest.nl"
3102     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3103     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3104     as_fn_arith $ac_count + 1 && ac_count=$as_val
3105     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3106       # Best one so far, save it but keep looking for a better one
3107       ac_cv_path_EGREP="$ac_path_EGREP"
3108       ac_path_EGREP_max=$ac_count
3109     fi
3110     # 10*(2^10) chars as input seems more than enough
3111     test $ac_count -gt 10 && break
3112   done
3113   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3114 esac
3115
3116       $ac_path_EGREP_found && break 3
3117     done
3118   done
3119   done
3120 IFS=$as_save_IFS
3121   if test -z "$ac_cv_path_EGREP"; then
3122     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3123   fi
3124 else
3125   ac_cv_path_EGREP=$EGREP
3126 fi
3127
3128    fi
3129 fi
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3131 $as_echo "$ac_cv_path_EGREP" >&6; }
3132  EGREP="$ac_cv_path_EGREP"
3133
3134
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3136 $as_echo_n "checking for ANSI C header files... " >&6; }
3137 if test "${ac_cv_header_stdc+set}" = set; then :
3138   $as_echo_n "(cached) " >&6
3139 else
3140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h.  */
3142 #include <stdlib.h>
3143 #include <stdarg.h>
3144 #include <string.h>
3145 #include <float.h>
3146
3147 int
3148 main ()
3149 {
3150
3151   ;
3152   return 0;
3153 }
3154 _ACEOF
3155 if ac_fn_c_try_compile "$LINENO"; then :
3156   ac_cv_header_stdc=yes
3157 else
3158   ac_cv_header_stdc=no
3159 fi
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161
3162 if test $ac_cv_header_stdc = yes; then
3163   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h.  */
3166 #include <string.h>
3167
3168 _ACEOF
3169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3170   $EGREP "memchr" >/dev/null 2>&1; then :
3171
3172 else
3173   ac_cv_header_stdc=no
3174 fi
3175 rm -f conftest*
3176
3177 fi
3178
3179 if test $ac_cv_header_stdc = yes; then
3180   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182 /* end confdefs.h.  */
3183 #include <stdlib.h>
3184
3185 _ACEOF
3186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3187   $EGREP "free" >/dev/null 2>&1; then :
3188
3189 else
3190   ac_cv_header_stdc=no
3191 fi
3192 rm -f conftest*
3193
3194 fi
3195
3196 if test $ac_cv_header_stdc = yes; then
3197   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3198   if test "$cross_compiling" = yes; then :
3199   :
3200 else
3201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h.  */
3203 #include <ctype.h>
3204 #include <stdlib.h>
3205 #if ((' ' & 0x0FF) == 0x020)
3206 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3207 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3208 #else
3209 # define ISLOWER(c) \
3210                    (('a' <= (c) && (c) <= 'i') \
3211                      || ('j' <= (c) && (c) <= 'r') \
3212                      || ('s' <= (c) && (c) <= 'z'))
3213 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3214 #endif
3215
3216 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3217 int
3218 main ()
3219 {
3220   int i;
3221   for (i = 0; i < 256; i++)
3222     if (XOR (islower (i), ISLOWER (i))
3223         || toupper (i) != TOUPPER (i))
3224       return 2;
3225   return 0;
3226 }
3227 _ACEOF
3228 if ac_fn_c_try_run "$LINENO"; then :
3229
3230 else
3231   ac_cv_header_stdc=no
3232 fi
3233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3234   conftest.$ac_objext conftest.beam conftest.$ac_ext
3235 fi
3236
3237 fi
3238 fi
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3240 $as_echo "$ac_cv_header_stdc" >&6; }
3241 if test $ac_cv_header_stdc = yes; then
3242
3243 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3244
3245 fi
3246
3247 ac_aux_dir=
3248 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3249   for ac_t in install-sh install.sh shtool; do
3250     if test -f "$ac_dir/$ac_t"; then
3251       ac_aux_dir=$ac_dir
3252       ac_install_sh="$ac_aux_dir/$ac_t -c"
3253       break 2
3254     fi
3255   done
3256 done
3257 if test -z "$ac_aux_dir"; then
3258   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3259 fi
3260
3261 # These three variables are undocumented and unsupported,
3262 # and are intended to be withdrawn in a future Autoconf release.
3263 # They can cause serious problems if a builder's source tree is in a directory
3264 # whose full name contains unusual characters.
3265 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3266 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3267 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3268
3269
3270 # Find a good install program.  We prefer a C program (faster),
3271 # so one script is as good as another.  But avoid the broken or
3272 # incompatible versions:
3273 # SysV /etc/install, /usr/sbin/install
3274 # SunOS /usr/etc/install
3275 # IRIX /sbin/install
3276 # AIX /bin/install
3277 # AmigaOS /C/install, which installs bootblocks on floppy discs
3278 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3279 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3280 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3281 # OS/2's system install, which has a completely different semantic
3282 # ./install, which can be erroneously created by make from ./install.sh.
3283 # Reject install programs that cannot install multiple files.
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3285 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3286 if test -z "$INSTALL"; then
3287 if test "${ac_cv_path_install+set}" = set; then :
3288   $as_echo_n "(cached) " >&6
3289 else
3290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 for as_dir in $PATH
3292 do
3293   IFS=$as_save_IFS
3294   test -z "$as_dir" && as_dir=.
3295     # Account for people who put trailing slashes in PATH elements.
3296 case $as_dir/ in #((
3297   ./ | .// | /[cC]/* | \
3298   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3299   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3300   /usr/ucb/* ) ;;
3301   *)
3302     # OSF1 and SCO ODT 3.0 have their own names for install.
3303     # Don't use installbsd from OSF since it installs stuff as root
3304     # by default.
3305     for ac_prog in ginstall scoinst install; do
3306       for ac_exec_ext in '' $ac_executable_extensions; do
3307         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3308           if test $ac_prog = install &&
3309             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3310             # AIX install.  It has an incompatible calling convention.
3311             :
3312           elif test $ac_prog = install &&
3313             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3314             # program-specific install script used by HP pwplus--don't use.
3315             :
3316           else
3317             rm -rf conftest.one conftest.two conftest.dir
3318             echo one > conftest.one
3319             echo two > conftest.two
3320             mkdir conftest.dir
3321             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3322               test -s conftest.one && test -s conftest.two &&
3323               test -s conftest.dir/conftest.one &&
3324               test -s conftest.dir/conftest.two
3325             then
3326               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3327               break 3
3328             fi
3329           fi
3330         fi
3331       done
3332     done
3333     ;;
3334 esac
3335
3336   done
3337 IFS=$as_save_IFS
3338
3339 rm -rf conftest.one conftest.two conftest.dir
3340
3341 fi
3342   if test "${ac_cv_path_install+set}" = set; then
3343     INSTALL=$ac_cv_path_install
3344   else
3345     # As a last resort, use the slow shell script.  Don't cache a
3346     # value for INSTALL within a source directory, because that will
3347     # break other packages using the cache if that directory is
3348     # removed, or if the value is a relative name.
3349     INSTALL=$ac_install_sh
3350   fi
3351 fi
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3353 $as_echo "$INSTALL" >&6; }
3354
3355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3356 # It thinks the first close brace ends the variable substitution.
3357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3358
3359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3360
3361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3362
3363
3364 # Check whether --enable-static-link was given.
3365 if test "${enable_static_link+set}" = set; then :
3366   enableval=$enable_static_link;
3367 else
3368   enable_static_link="no"
3369 fi
3370
3371 if test "x$enable_static_link" != "xyes"; then
3372         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports PIE" >&5
3373 $as_echo_n "checking whether compiler supports PIE... " >&6; }
3374         oldCFLAGS="$CFLAGS"
3375         CFLAGS="$CFLAGS -fPIE"
3376         oldLDFLAGS="$LDFLAGS"
3377         LDFLAGS="$LDFLAGS -pie"
3378         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h.  */
3380
3381 int
3382 main ()
3383 {
3384
3385   ;
3386   return 0;
3387 }
3388 _ACEOF
3389 if ac_fn_c_try_link "$LINENO"; then :
3390   compilepie="yes"
3391 fi
3392 rm -f core conftest.err conftest.$ac_objext \
3393     conftest$ac_exeext conftest.$ac_ext
3394         if test "x$compilepie" != "xyes"; then
3395                 CFLAGS="$oldCFLAGS"
3396                 LDFLAGS="$oldLDFLAGS"
3397                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3399         else
3400                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 $as_echo "yes" >&6; }
3402         fi
3403 else
3404         CFLAGS="$CFLAGS -static"
3405         LDFLAGS="$LDFLAGS -static"
3406 fi
3407
3408 # Check whether --enable-strip-binaries was given.
3409 if test "${enable_strip_binaries+set}" = set; then :
3410   enableval=$enable_strip_binaries;
3411 else
3412   enable_strip="yes"
3413 fi
3414
3415 if test "x$enable_strip" = "xyes"; then
3416         STRIP="-s"
3417 else
3418         STRIP=""
3419 fi
3420
3421 # Check whether --enable-ldapmail was given.
3422 if test "${enable_ldapmail+set}" = set; then :
3423   enableval=$enable_ldapmail;
3424 else
3425   enable_ldapmail="no"
3426 fi
3427
3428 if test "x$enable_ldapmail" != "xno"; then
3429         have_new_ldap="no"
3430         have_old_ldap="no"
3431         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
3432 $as_echo_n "checking for ldap_initialize in -lldap... " >&6; }
3433 if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then :
3434   $as_echo_n "(cached) " >&6
3435 else
3436   ac_check_lib_save_LIBS=$LIBS
3437 LIBS="-lldap  $LIBS"
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h.  */
3440
3441 /* Override any GCC internal prototype to avoid an error.
3442    Use char because int might match the return type of a GCC
3443    builtin and then its argument prototype would still apply.  */
3444 #ifdef __cplusplus
3445 extern "C"
3446 #endif
3447 char ldap_initialize ();
3448 int
3449 main ()
3450 {
3451 return ldap_initialize ();
3452   ;
3453   return 0;
3454 }
3455 _ACEOF
3456 if ac_fn_c_try_link "$LINENO"; then :
3457   ac_cv_lib_ldap_ldap_initialize=yes
3458 else
3459   ac_cv_lib_ldap_ldap_initialize=no
3460 fi
3461 rm -f core conftest.err conftest.$ac_objext \
3462     conftest$ac_exeext conftest.$ac_ext
3463 LIBS=$ac_check_lib_save_LIBS
3464 fi
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
3466 $as_echo "$ac_cv_lib_ldap_ldap_initialize" >&6; }
3467 if test "x$ac_cv_lib_ldap_ldap_initialize" = x""yes; then :
3468   have_new_ldap="yes"
3469 else
3470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
3471 $as_echo_n "checking for ldap_init in -lldap... " >&6; }
3472 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then :
3473   $as_echo_n "(cached) " >&6
3474 else
3475   ac_check_lib_save_LIBS=$LIBS
3476 LIBS="-lldap  $LIBS"
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h.  */
3479
3480 /* Override any GCC internal prototype to avoid an error.
3481    Use char because int might match the return type of a GCC
3482    builtin and then its argument prototype would still apply.  */
3483 #ifdef __cplusplus
3484 extern "C"
3485 #endif
3486 char ldap_init ();
3487 int
3488 main ()
3489 {
3490 return ldap_init ();
3491   ;
3492   return 0;
3493 }
3494 _ACEOF
3495 if ac_fn_c_try_link "$LINENO"; then :
3496   ac_cv_lib_ldap_ldap_init=yes
3497 else
3498   ac_cv_lib_ldap_ldap_init=no
3499 fi
3500 rm -f core conftest.err conftest.$ac_objext \
3501     conftest$ac_exeext conftest.$ac_ext
3502 LIBS=$ac_check_lib_save_LIBS
3503 fi
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
3505 $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
3506 if test "x$ac_cv_lib_ldap_ldap_init" = x""yes; then :
3507   have_old_ldap="yes"
3508 fi
3509
3510 fi
3511
3512         if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then
3513                 LDAPLIBS="-L/usr/lib -lldap -llber"
3514
3515 $as_echo "#define USE_LDAP_MAIL_LOOKUP 1" >>confdefs.h
3516
3517                 COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP"
3518                 if test "x$have_new_ldap" = "xyes"; then
3519
3520 $as_echo "#define USE_LDAP_23 1" >>confdefs.h
3521
3522                         ac_fn_c_check_decl "$LINENO" "ldap_perror" "ac_cv_have_decl_ldap_perror" "#include <ldap.h>
3523 "
3524 if test "x$ac_cv_have_decl_ldap_perror" = x""yes; then :
3525
3526 else
3527
3528 $as_echo "#define NEED_LDAP_PERROR 1" >>confdefs.h
3529
3530 fi
3531
3532                 fi
3533         else
3534                 if test "x$enable_ldapmail" = "xyes"; then
3535                         as_fn_error "LDAP support required but library not found." "$LINENO" 5;
3536                 fi
3537         fi
3538 fi
3539
3540
3541
3542 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3543 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3544                   inttypes.h stdint.h unistd.h
3545 do :
3546   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3547 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3548 "
3549 eval as_val=\$$as_ac_Header
3550    if test "x$as_val" = x""yes; then :
3551   cat >>confdefs.h <<_ACEOF
3552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3553 _ACEOF
3554
3555 fi
3556
3557 done
3558
3559
3560 ac_fn_c_check_header_mongrel "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h" "$ac_includes_default"
3561 if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then :
3562   ext2fshead="yes"
3563 fi
3564
3565
3566 if test "x$ext2fshead" = "xyes"; then
3567
3568 $as_echo "#define HAVE_EXT2_INCLUDE 1" >>confdefs.h
3569
3570         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t" >&5
3571 $as_echo_n "checking for ext2_ino_t... " >&6; }
3572         have_ext2_ino_t="no"
3573         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h.  */
3575 #include <ext2fs/ext2fs.h>
3576
3577 _ACEOF
3578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3579   $EGREP "ext2_ino_t" >/dev/null 2>&1; then :
3580   have_ext2_ino_t="yes"
3581 fi
3582 rm -f conftest*
3583
3584         if test "x$have_ext2_ino_t" != "xyes"; then
3585                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3586 $as_echo "not found" >&6; }
3587         else
3588                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
3589 $as_echo "found" >&6; }
3590
3591 $as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h
3592
3593         fi
3594 fi
3595
3596 # Check whether --enable-ext2direct was given.
3597 if test "${enable_ext2direct+set}" = set; then :
3598   enableval=$enable_ext2direct;
3599 else
3600   enable_ext2direct="try"
3601 fi
3602
3603 if test "x$enable_ext2direct" != "xno"; then
3604         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
3605 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
3606 if test "${ac_cv_lib_com_err_com_err+set}" = set; then :
3607   $as_echo_n "(cached) " >&6
3608 else
3609   ac_check_lib_save_LIBS=$LIBS
3610 LIBS="-lcom_err  $LIBS"
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h.  */
3613
3614 /* Override any GCC internal prototype to avoid an error.
3615    Use char because int might match the return type of a GCC
3616    builtin and then its argument prototype would still apply.  */
3617 #ifdef __cplusplus
3618 extern "C"
3619 #endif
3620 char com_err ();
3621 int
3622 main ()
3623 {
3624 return com_err ();
3625   ;
3626   return 0;
3627 }
3628 _ACEOF
3629 if ac_fn_c_try_link "$LINENO"; then :
3630   ac_cv_lib_com_err_com_err=yes
3631 else
3632   ac_cv_lib_com_err_com_err=no
3633 fi
3634 rm -f core conftest.err conftest.$ac_objext \
3635     conftest$ac_exeext conftest.$ac_ext
3636 LIBS=$ac_check_lib_save_LIBS
3637 fi
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
3639 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
3640 if test "x$ac_cv_lib_com_err_com_err" = x""yes; then :
3641   EXT2LIBS="-lcom_err $EXT2LIBS"
3642 fi
3643
3644         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_initialize in -lext2fs" >&5
3645 $as_echo_n "checking for ext2fs_initialize in -lext2fs... " >&6; }
3646 if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then :
3647   $as_echo_n "(cached) " >&6
3648 else
3649   ac_check_lib_save_LIBS=$LIBS
3650 LIBS="-lext2fs "-lcom_err" $LIBS"
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h.  */
3653
3654 /* Override any GCC internal prototype to avoid an error.
3655    Use char because int might match the return type of a GCC
3656    builtin and then its argument prototype would still apply.  */
3657 #ifdef __cplusplus
3658 extern "C"
3659 #endif
3660 char ext2fs_initialize ();
3661 int
3662 main ()
3663 {
3664 return ext2fs_initialize ();
3665   ;
3666   return 0;
3667 }
3668 _ACEOF
3669 if ac_fn_c_try_link "$LINENO"; then :
3670   ac_cv_lib_ext2fs_ext2fs_initialize=yes
3671 else
3672   ac_cv_lib_ext2fs_ext2fs_initialize=no
3673 fi
3674 rm -f core conftest.err conftest.$ac_objext \
3675     conftest$ac_exeext conftest.$ac_ext
3676 LIBS=$ac_check_lib_save_LIBS
3677 fi
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5
3679 $as_echo "$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; }
3680 if test "x$ac_cv_lib_ext2fs_ext2fs_initialize" = x""yes; then :
3681   EXT2LIBS="-lext2fs $EXT2LIBS"
3682 fi
3683
3684         if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then
3685                 if test "x$enable_ext2direct" = "xyes"; then
3686                         as_fn_error "Ext2 direct support required but libraries not found." "$LINENO" 5
3687                 else
3688                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5
3689 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;}
3690                 fi
3691                 enable_ext2direct="no"
3692                 EXT2LIBS=""
3693         else
3694                 if test "x$ext2fshead" != "xyes"; then
3695                         if test "x$enable_ext2direct" = "xyes"; then
3696                                 as_fn_error "Ext2 direct support required but header files not found." "$LINENO" 5
3697                         else
3698                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5
3699 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;}
3700                         fi
3701                         enable_ext2direct="no"
3702                         EXT2LIBS=""
3703                 else
3704                         enable_ext2direct="yes"
3705                 fi
3706         fi
3707         if test "x$enable_ext2direct" = "xyes"; then
3708
3709 $as_echo "#define EXT2_DIRECT 1" >>confdefs.h
3710
3711                 COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT"
3712         fi
3713 fi
3714
3715
3716 # Check whether --enable-netlink was given.
3717 if test "${enable_netlink+set}" = set; then :
3718   enableval=$enable_netlink;
3719 else
3720   enable_netlink="no"
3721 fi
3722
3723 if test "x$enable_netlink" != "xno"; then
3724
3725
3726 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3727         if test -n "$ac_tool_prefix"; then
3728   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3733   $as_echo_n "(cached) " >&6
3734 else
3735   case $PKG_CONFIG in
3736   [\\/]* | ?:[\\/]*)
3737   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3738   ;;
3739   *)
3740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3742 do
3743   IFS=$as_save_IFS
3744   test -z "$as_dir" && as_dir=.
3745     for ac_exec_ext in '' $ac_executable_extensions; do
3746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749     break 2
3750   fi
3751 done
3752   done
3753 IFS=$as_save_IFS
3754
3755   ;;
3756 esac
3757 fi
3758 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3759 if test -n "$PKG_CONFIG"; then
3760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3761 $as_echo "$PKG_CONFIG" >&6; }
3762 else
3763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3765 fi
3766
3767
3768 fi
3769 if test -z "$ac_cv_path_PKG_CONFIG"; then
3770   ac_pt_PKG_CONFIG=$PKG_CONFIG
3771   # Extract the first word of "pkg-config", so it can be a program name with args.
3772 set dummy pkg-config; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3776   $as_echo_n "(cached) " >&6
3777 else
3778   case $ac_pt_PKG_CONFIG in
3779   [\\/]* | ?:[\\/]*)
3780   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3781   ;;
3782   *)
3783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3785 do
3786   IFS=$as_save_IFS
3787   test -z "$as_dir" && as_dir=.
3788     for ac_exec_ext in '' $ac_executable_extensions; do
3789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792     break 2
3793   fi
3794 done
3795   done
3796 IFS=$as_save_IFS
3797
3798   ;;
3799 esac
3800 fi
3801 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3802 if test -n "$ac_pt_PKG_CONFIG"; then
3803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3804 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3805 else
3806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3807 $as_echo "no" >&6; }
3808 fi
3809
3810   if test "x$ac_pt_PKG_CONFIG" = x; then
3811     PKG_CONFIG=""
3812   else
3813     case $cross_compiling:$ac_tool_warned in
3814 yes:)
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3818 esac
3819     PKG_CONFIG=$ac_pt_PKG_CONFIG
3820   fi
3821 else
3822   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3823 fi
3824
3825 fi
3826 if test -n "$PKG_CONFIG"; then
3827         _pkg_min_version=0.9.0
3828         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3829 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3830         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3831                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3832 $as_echo "yes" >&6; }
3833         else
3834                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835 $as_echo "no" >&6; }
3836                 PKG_CONFIG=""
3837         fi
3838
3839 fi
3840
3841 pkg_failed=no
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
3843 $as_echo_n "checking for DBUS... " >&6; }
3844
3845 if test -n "$DBUS_CFLAGS"; then
3846     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
3847  elif test -n "$PKG_CONFIG"; then
3848     if test -n "$PKG_CONFIG" && \
3849     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
3850   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
3851   ac_status=$?
3852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853   test $ac_status = 0; }; then
3854   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
3855 else
3856   pkg_failed=yes
3857 fi
3858  else
3859     pkg_failed=untried
3860 fi
3861 if test -n "$DBUS_LIBS"; then
3862     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
3863  elif test -n "$PKG_CONFIG"; then
3864     if test -n "$PKG_CONFIG" && \
3865     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
3866   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
3867   ac_status=$?
3868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869   test $ac_status = 0; }; then
3870   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
3871 else
3872   pkg_failed=yes
3873 fi
3874  else
3875     pkg_failed=untried
3876 fi
3877
3878
3879
3880 if test $pkg_failed = yes; then
3881
3882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3883         _pkg_short_errors_supported=yes
3884 else
3885         _pkg_short_errors_supported=no
3886 fi
3887         if test $_pkg_short_errors_supported = yes; then
3888                 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1`
3889         else
3890                 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1`
3891         fi
3892         # Put the nasty error message in config.log where it belongs
3893         echo "$DBUS_PKG_ERRORS" >&5
3894
3895         as_fn_error "Package requirements (dbus-1) were not met:
3896
3897 $DBUS_PKG_ERRORS
3898
3899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3900 installed software in a non-standard prefix.
3901
3902 Alternatively, you may set the environment variables DBUS_CFLAGS
3903 and DBUS_LIBS to avoid the need to call pkg-config.
3904 See the pkg-config man page for more details.
3905 " "$LINENO" 5
3906 elif test $pkg_failed = untried; then
3907         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3909 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
3910 is in your PATH or set the PKG_CONFIG environment variable to the full
3911 path to pkg-config.
3912
3913 Alternatively, you may set the environment variables DBUS_CFLAGS
3914 and DBUS_LIBS to avoid the need to call pkg-config.
3915 See the pkg-config man page for more details.
3916
3917 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3918 See \`config.log' for more details." "$LINENO" 5; }
3919 else
3920         DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
3921         DBUS_LIBS=$pkg_cv_DBUS_LIBS
3922         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3923 $as_echo "yes" >&6; }
3924         :
3925 fi
3926
3927         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genl_register in -lnl" >&5
3928 $as_echo_n "checking for genl_register in -lnl... " >&6; }
3929 if test "${ac_cv_lib_nl_genl_register+set}" = set; then :
3930   $as_echo_n "(cached) " >&6
3931 else
3932   ac_check_lib_save_LIBS=$LIBS
3933 LIBS="-lnl  $LIBS"
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h.  */
3936
3937 /* Override any GCC internal prototype to avoid an error.
3938    Use char because int might match the return type of a GCC
3939    builtin and then its argument prototype would still apply.  */
3940 #ifdef __cplusplus
3941 extern "C"
3942 #endif
3943 char genl_register ();
3944 int
3945 main ()
3946 {
3947 return genl_register ();
3948   ;
3949   return 0;
3950 }
3951 _ACEOF
3952 if ac_fn_c_try_link "$LINENO"; then :
3953   ac_cv_lib_nl_genl_register=yes
3954 else
3955   ac_cv_lib_nl_genl_register=no
3956 fi
3957 rm -f core conftest.err conftest.$ac_objext \
3958     conftest$ac_exeext conftest.$ac_ext
3959 LIBS=$ac_check_lib_save_LIBS
3960 fi
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_genl_register" >&5
3962 $as_echo "$ac_cv_lib_nl_genl_register" >&6; }
3963 if test "x$ac_cv_lib_nl_genl_register" = x""yes; then :
3964   NETLINKLIBS="-lnl $DBUS_LIBS"
3965 fi
3966
3967         if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then
3968                 if test "x$enable_netlink" = "xyes"; then
3969                         as_fn_error "Required libraries for quota netlink daemon not found." "$LINENO" 5
3970                 else
3971                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5
3972 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;}
3973                 fi
3974                 enable_netlink="no"
3975                 NETLINKLIBS=""
3976         else
3977                 CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS"
3978                 if test -z "$DBUS_LIBS"; then
3979                         if test "x$enable_netlink" = "xyes"; then
3980                                 as_fn_error "Required headers for quota netlink daemon not found." "$LINENO" 5
3981                         else
3982                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5
3983 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;}
3984                         fi
3985                         NETLINKLIBS=""
3986                         enable_netlink="no"
3987                 else
3988                         QUOTA_NETLINK_PROG=quota_nld
3989                 fi
3990         fi
3991 fi
3992
3993
3994
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3996 $as_echo_n "checking for library containing gethostbyname... " >&6; }
3997 if test "${ac_cv_search_gethostbyname+set}" = set; then :
3998   $as_echo_n "(cached) " >&6
3999 else
4000   ac_func_search_save_LIBS=$LIBS
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h.  */
4003
4004 /* Override any GCC internal prototype to avoid an error.
4005    Use char because int might match the return type of a GCC
4006    builtin and then its argument prototype would still apply.  */
4007 #ifdef __cplusplus
4008 extern "C"
4009 #endif
4010 char gethostbyname ();
4011 int
4012 main ()
4013 {
4014 return gethostbyname ();
4015   ;
4016   return 0;
4017 }
4018 _ACEOF
4019 for ac_lib in '' nsl; do
4020   if test -z "$ac_lib"; then
4021     ac_res="none required"
4022   else
4023     ac_res=-l$ac_lib
4024     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4025   fi
4026   if ac_fn_c_try_link "$LINENO"; then :
4027   ac_cv_search_gethostbyname=$ac_res
4028 fi
4029 rm -f core conftest.err conftest.$ac_objext \
4030     conftest$ac_exeext
4031   if test "${ac_cv_search_gethostbyname+set}" = set; then :
4032   break
4033 fi
4034 done
4035 if test "${ac_cv_search_gethostbyname+set}" = set; then :
4036
4037 else
4038   ac_cv_search_gethostbyname=no
4039 fi
4040 rm conftest.$ac_ext
4041 LIBS=$ac_func_search_save_LIBS
4042 fi
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
4044 $as_echo "$ac_cv_search_gethostbyname" >&6; }
4045 ac_res=$ac_cv_search_gethostbyname
4046 if test "$ac_res" != no; then :
4047   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4048
4049 fi
4050
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host_access in -lwrap" >&5
4052 $as_echo_n "checking for host_access in -lwrap... " >&6; }
4053 if test "${ac_cv_lib_wrap_main+set}" = set; then :
4054   $as_echo_n "(cached) " >&6
4055 else
4056   saved_LIBS="$LIBS"
4057         LIBS="$LIBS -lwrap"
4058         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h.  */
4060
4061         #include <stdio.h>
4062         #include <sys/types.h>
4063         #include <sys/socket.h>
4064         #include <netinet/in.h>
4065         #include <tcpd.h>
4066         struct request_info request;
4067         int deny_severity, allow_severity;
4068 int
4069 main ()
4070 {
4071 hosts_access(&request);
4072   ;
4073   return 0;
4074 }
4075 _ACEOF
4076 if ac_fn_c_try_link "$LINENO"; then :
4077         ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4078 $as_echo "yes" >&6; }
4079 else
4080   ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4082 fi
4083 rm -f core conftest.err conftest.$ac_objext \
4084     conftest$ac_exeext conftest.$ac_ext
4085
4086 fi
4087
4088
4089 if test ${ac_cv_lib_wrap_main} = yes; then
4090         ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default"
4091 if test "x$ac_cv_header_tcpd_h" = x""yes; then :
4092
4093 else
4094
4095                 echo 'ERROR: could not find tcpd.h - missing TCP wrappers package'
4096                 exit 1
4097
4098 fi
4099
4100
4101         LIBS="$LIBS -lwrap"
4102
4103 $as_echo "#define HOSTS_ACCESS 1" >>confdefs.h
4104
4105         COMPILE_OPTS="$COMPILE_OPTS HOSTS_ACCESS"
4106 fi
4107
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4109 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4110 if test "${ac_cv_c_const+set}" = set; then :
4111   $as_echo_n "(cached) " >&6
4112 else
4113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h.  */
4115
4116 int
4117 main ()
4118 {
4119 /* FIXME: Include the comments suggested by Paul. */
4120 #ifndef __cplusplus
4121   /* Ultrix mips cc rejects this.  */
4122   typedef int charset[2];
4123   const charset cs;
4124   /* SunOS 4.1.1 cc rejects this.  */
4125   char const *const *pcpcc;
4126   char **ppc;
4127   /* NEC SVR4.0.2 mips cc rejects this.  */
4128   struct point {int x, y;};
4129   static struct point const zero = {0,0};
4130   /* AIX XL C 1.02.0.0 rejects this.
4131      It does not let you subtract one const X* pointer from another in
4132      an arm of an if-expression whose if-part is not a constant
4133      expression */
4134   const char *g = "string";
4135   pcpcc = &g + (g ? g-g : 0);
4136   /* HPUX 7.0 cc rejects these. */
4137   ++pcpcc;
4138   ppc = (char**) pcpcc;
4139   pcpcc = (char const *const *) ppc;
4140   { /* SCO 3.2v4 cc rejects this.  */
4141     char *t;
4142     char const *s = 0 ? (char *) 0 : (char const *) 0;
4143
4144     *t++ = 0;
4145     if (s) return 0;
4146   }
4147   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4148     int x[] = {25, 17};
4149     const int *foo = &x[0];
4150     ++foo;
4151   }
4152   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4153     typedef const int *iptr;
4154     iptr p = 0;
4155     ++p;
4156   }
4157   { /* AIX XL C 1.02.0.0 rejects this saying
4158        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4159     struct s { int j; const int *ap[3]; };
4160     struct s *b; b->j = 5;
4161   }
4162   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4163     const int foo = 10;
4164     if (!foo) return 0;
4165   }
4166   return !cs[0] && !zero.x;
4167 #endif
4168
4169   ;
4170   return 0;
4171 }
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174   ac_cv_c_const=yes
4175 else
4176   ac_cv_c_const=no
4177 fi
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4181 $as_echo "$ac_cv_c_const" >&6; }
4182 if test $ac_cv_c_const = no; then
4183
4184 $as_echo "#define const /**/" >>confdefs.h
4185
4186 fi
4187
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4189 $as_echo_n "checking for inline... " >&6; }
4190 if test "${ac_cv_c_inline+set}" = set; then :
4191   $as_echo_n "(cached) " >&6
4192 else
4193   ac_cv_c_inline=no
4194 for ac_kw in inline __inline__ __inline; do
4195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h.  */
4197 #ifndef __cplusplus
4198 typedef int foo_t;
4199 static $ac_kw foo_t static_foo () {return 0; }
4200 $ac_kw foo_t foo () {return 0; }
4201 #endif
4202
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205   ac_cv_c_inline=$ac_kw
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208   test "$ac_cv_c_inline" != no && break
4209 done
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4213 $as_echo "$ac_cv_c_inline" >&6; }
4214
4215 case $ac_cv_c_inline in
4216   inline | yes) ;;
4217   *)
4218     case $ac_cv_c_inline in
4219       no) ac_val=;;
4220       *) ac_val=$ac_cv_c_inline;;
4221     esac
4222     cat >>confdefs.h <<_ACEOF
4223 #ifndef __cplusplus
4224 #define inline $ac_val
4225 #endif
4226 _ACEOF
4227     ;;
4228 esac
4229
4230
4231 # Check whether --enable-rpc was given.
4232 if test "${enable_rpc+set}" = set; then :
4233   enableval=$enable_rpc;
4234 else
4235   enable_rpc="yes"
4236 fi
4237
4238 # Check whether --enable-rpcsetquota was given.
4239 if test "${enable_rpcsetquota+set}" = set; then :
4240   enableval=$enable_rpcsetquota;
4241 else
4242   enable_rpcsetquota="no"
4243 fi
4244
4245 # Check whether --enable-xfs_roothack was given.
4246 if test "${enable_xfs_roothack+set}" = set; then :
4247   enableval=$enable_xfs_roothack;
4248 else
4249   enable_xfs_roothack="no"
4250 fi
4251
4252 # Check whether --enable-bsd_behaviour was given.
4253 if test "${enable_bsd_behaviour+set}" = set; then :
4254   enableval=$enable_bsd_behaviour;
4255 else
4256   enable_bsd_behaviour="yes"
4257 fi
4258
4259 # Check whether --enable-libefence was given.
4260 if test "${enable_libefence+set}" = set; then :
4261   enableval=$enable_libefence;
4262 else
4263   enable_libefence="no"
4264 fi
4265
4266
4267 # Check whether --enable-nls was given.
4268 if test "${enable_nls+set}" = set; then :
4269   enableval=$enable_nls;
4270 else
4271   enable_nls="yes"
4272 fi
4273
4274 # Check whether --enable-rootsbin was given.
4275 if test "${enable_rootsbin+set}" = set; then :
4276   enableval=$enable_rootsbin;
4277 else
4278   enable_rootsbin="no"
4279 fi
4280
4281 # Check whether --enable-proc-mounts was given.
4282 if test "${enable_proc_mounts+set}" = set; then :
4283   enableval=$enable_proc_mounts;
4284 else
4285   enable_proc_mounts="/proc/mounts"
4286 fi
4287
4288
4289 if test "$enable_rpc" = "yes" ; then
4290
4291 $as_echo "#define RPC 1" >>confdefs.h
4292
4293         COMPILE_OPTS="$COMPILE_OPTS RPC"
4294 fi
4295 if test "$enable_rpcsetquota" = "yes" ; then
4296
4297 $as_echo "#define RPC_SETQUOTA 1" >>confdefs.h
4298
4299         COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA"
4300 fi
4301 if test "$enable_xfs_roothack" = "yes" ; then
4302
4303 $as_echo "#define XFS_ROOTHACK 1" >>confdefs.h
4304
4305         COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK"
4306 fi
4307 if test "$enable_bsd_behaviour" = "yes" ; then
4308
4309 $as_echo "#define BSD_BEHAVIOUR 1" >>confdefs.h
4310
4311         COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR"
4312 fi
4313 if test "$enable_libefence" = "yes" ; then
4314         LIBMALLOC="/usr/lib/libefence.a"
4315 fi
4316 if test "$enable_nls" = "yes" ; then
4317
4318 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
4319
4320         INSTMO="inst_mo"
4321 fi
4322 if test "$enable_proc_mounts" != "no"; then
4323
4324 cat >>confdefs.h <<_ACEOF
4325 #define ALT_MTAB "$enable_proc_mounts"
4326 _ACEOF
4327
4328 fi
4329 if test "$enable_rootsbin" = "yes" ; then
4330         ROOTSBIN="/sbin"
4331 else
4332         ROOTSBIN='$(prefix)/sbin'
4333 fi
4334
4335
4336 cat >>confdefs.h <<_ACEOF
4337 #define COMPILE_OPTS "$COMPILE_OPTS"
4338 _ACEOF
4339
4340
4341 $as_echo "#define PACKAGE_VERSION \"4.01\"" >>confdefs.h
4342
4343
4344
4345
4346
4347
4348
4349
4350 ac_config_files="$ac_config_files Makefile"
4351
4352 cat >confcache <<\_ACEOF
4353 # This file is a shell script that caches the results of configure
4354 # tests run on this system so they can be shared between configure
4355 # scripts and configure runs, see configure's option --config-cache.
4356 # It is not useful on other systems.  If it contains results you don't
4357 # want to keep, you may remove or edit it.
4358 #
4359 # config.status only pays attention to the cache file if you give it
4360 # the --recheck option to rerun configure.
4361 #
4362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4364 # following values.
4365
4366 _ACEOF
4367
4368 # The following way of writing the cache mishandles newlines in values,
4369 # but we know of no workaround that is simple, portable, and efficient.
4370 # So, we kill variables containing newlines.
4371 # Ultrix sh set writes to stderr and can't be redirected directly,
4372 # and sets the high bit in the cache file unless we assign to the vars.
4373 (
4374   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4375     eval ac_val=\$$ac_var
4376     case $ac_val in #(
4377     *${as_nl}*)
4378       case $ac_var in #(
4379       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4381       esac
4382       case $ac_var in #(
4383       _ | IFS | as_nl) ;; #(
4384       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4385       *) { eval $ac_var=; unset $ac_var;} ;;
4386       esac ;;
4387     esac
4388   done
4389
4390   (set) 2>&1 |
4391     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4392     *${as_nl}ac_space=\ *)
4393       # `set' does not quote correctly, so add quotes: double-quote
4394       # substitution turns \\\\ into \\, and sed turns \\ into \.
4395       sed -n \
4396         "s/'/'\\\\''/g;
4397           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4398       ;; #(
4399     *)
4400       # `set' quotes correctly as required by POSIX, so do not add quotes.
4401       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4402       ;;
4403     esac |
4404     sort
4405 ) |
4406   sed '
4407      /^ac_cv_env_/b end
4408      t clear
4409      :clear
4410      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4411      t end
4412      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4413      :end' >>confcache
4414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4415   if test -w "$cache_file"; then
4416     test "x$cache_file" != "x/dev/null" &&
4417       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4418 $as_echo "$as_me: updating cache $cache_file" >&6;}
4419     cat confcache >$cache_file
4420   else
4421     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4422 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4423   fi
4424 fi
4425 rm -f confcache
4426
4427 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4428 # Let make expand exec_prefix.
4429 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4430
4431 DEFS=-DHAVE_CONFIG_H
4432
4433 ac_libobjs=
4434 ac_ltlibobjs=
4435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4436   # 1. Remove the extension, and $U if already installed.
4437   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4438   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4439   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4440   #    will be set to the directory where LIBOBJS objects are built.
4441   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4442   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4443 done
4444 LIBOBJS=$ac_libobjs
4445
4446 LTLIBOBJS=$ac_ltlibobjs
4447
4448
4449
4450 : ${CONFIG_STATUS=./config.status}
4451 ac_write_fail=0
4452 ac_clean_files_save=$ac_clean_files
4453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4455 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4456 as_write_fail=0
4457 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4458 #! $SHELL
4459 # Generated by $as_me.
4460 # Run this file to recreate the current configuration.
4461 # Compiler output produced by configure, useful for debugging
4462 # configure, is in config.log if it exists.
4463
4464 debug=false
4465 ac_cs_recheck=false
4466 ac_cs_silent=false
4467
4468 SHELL=\${CONFIG_SHELL-$SHELL}
4469 export SHELL
4470 _ASEOF
4471 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4472 ## -------------------- ##
4473 ## M4sh Initialization. ##
4474 ## -------------------- ##
4475
4476 # Be more Bourne compatible
4477 DUALCASE=1; export DUALCASE # for MKS sh
4478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4479   emulate sh
4480   NULLCMD=:
4481   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4482   # is contrary to our usage.  Disable this feature.
4483   alias -g '${1+"$@"}'='"$@"'
4484   setopt NO_GLOB_SUBST
4485 else
4486   case `(set -o) 2>/dev/null` in #(
4487   *posix*) :
4488     set -o posix ;; #(
4489   *) :
4490      ;;
4491 esac
4492 fi
4493
4494
4495 as_nl='
4496 '
4497 export as_nl
4498 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4499 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4500 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4501 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4502 # Prefer a ksh shell builtin over an external printf program on Solaris,
4503 # but without wasting forks for bash or zsh.
4504 if test -z "$BASH_VERSION$ZSH_VERSION" \
4505     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4506   as_echo='print -r --'
4507   as_echo_n='print -rn --'
4508 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4509   as_echo='printf %s\n'
4510   as_echo_n='printf %s'
4511 else
4512   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4513     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4514     as_echo_n='/usr/ucb/echo -n'
4515   else
4516     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4517     as_echo_n_body='eval
4518       arg=$1;
4519       case $arg in #(
4520       *"$as_nl"*)
4521         expr "X$arg" : "X\\(.*\\)$as_nl";
4522         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4523       esac;
4524       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4525     '
4526     export as_echo_n_body
4527     as_echo_n='sh -c $as_echo_n_body as_echo'
4528   fi
4529   export as_echo_body
4530   as_echo='sh -c $as_echo_body as_echo'
4531 fi
4532
4533 # The user is always right.
4534 if test "${PATH_SEPARATOR+set}" != set; then
4535   PATH_SEPARATOR=:
4536   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4537     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4538       PATH_SEPARATOR=';'
4539   }
4540 fi
4541
4542
4543 # IFS
4544 # We need space, tab and new line, in precisely that order.  Quoting is
4545 # there to prevent editors from complaining about space-tab.
4546 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4547 # splitting by setting IFS to empty value.)
4548 IFS=" ""        $as_nl"
4549
4550 # Find who we are.  Look in the path if we contain no directory separator.
4551 case $0 in #((
4552   *[\\/]* ) as_myself=$0 ;;
4553   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4555 do
4556   IFS=$as_save_IFS
4557   test -z "$as_dir" && as_dir=.
4558     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4559   done
4560 IFS=$as_save_IFS
4561
4562      ;;
4563 esac
4564 # We did not find ourselves, most probably we were run as `sh COMMAND'
4565 # in which case we are not to be found in the path.
4566 if test "x$as_myself" = x; then
4567   as_myself=$0
4568 fi
4569 if test ! -f "$as_myself"; then
4570   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4571   exit 1
4572 fi
4573
4574 # Unset variables that we do not need and which cause bugs (e.g. in
4575 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4576 # suppresses any "Segmentation fault" message there.  '((' could
4577 # trigger a bug in pdksh 5.2.14.
4578 for as_var in BASH_ENV ENV MAIL MAILPATH
4579 do eval test x\${$as_var+set} = xset \
4580   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4581 done
4582 PS1='$ '
4583 PS2='> '
4584 PS4='+ '
4585
4586 # NLS nuisances.
4587 LC_ALL=C
4588 export LC_ALL
4589 LANGUAGE=C
4590 export LANGUAGE
4591
4592 # CDPATH.
4593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4594
4595
4596 # as_fn_error ERROR [LINENO LOG_FD]
4597 # ---------------------------------
4598 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4599 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4600 # script with status $?, using 1 if that was 0.
4601 as_fn_error ()
4602 {
4603   as_status=$?; test $as_status -eq 0 && as_status=1
4604   if test "$3"; then
4605     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4606     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4607   fi
4608   $as_echo "$as_me: error: $1" >&2
4609   as_fn_exit $as_status
4610 } # as_fn_error
4611
4612
4613 # as_fn_set_status STATUS
4614 # -----------------------
4615 # Set $? to STATUS, without forking.
4616 as_fn_set_status ()
4617 {
4618   return $1
4619 } # as_fn_set_status
4620
4621 # as_fn_exit STATUS
4622 # -----------------
4623 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4624 as_fn_exit ()
4625 {
4626   set +e
4627   as_fn_set_status $1
4628   exit $1
4629 } # as_fn_exit
4630
4631 # as_fn_unset VAR
4632 # ---------------
4633 # Portably unset VAR.
4634 as_fn_unset ()
4635 {
4636   { eval $1=; unset $1;}
4637 }
4638 as_unset=as_fn_unset
4639 # as_fn_append VAR VALUE
4640 # ----------------------
4641 # Append the text in VALUE to the end of the definition contained in VAR. Take
4642 # advantage of any shell optimizations that allow amortized linear growth over
4643 # repeated appends, instead of the typical quadratic growth present in naive
4644 # implementations.
4645 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4646   eval 'as_fn_append ()
4647   {
4648     eval $1+=\$2
4649   }'
4650 else
4651   as_fn_append ()
4652   {
4653     eval $1=\$$1\$2
4654   }
4655 fi # as_fn_append
4656
4657 # as_fn_arith ARG...
4658 # ------------------
4659 # Perform arithmetic evaluation on the ARGs, and store the result in the
4660 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4661 # must be portable across $(()) and expr.
4662 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4663   eval 'as_fn_arith ()
4664   {
4665     as_val=$(( $* ))
4666   }'
4667 else
4668   as_fn_arith ()
4669   {
4670     as_val=`expr "$@" || test $? -eq 1`
4671   }
4672 fi # as_fn_arith
4673
4674
4675 if expr a : '\(a\)' >/dev/null 2>&1 &&
4676    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4677   as_expr=expr
4678 else
4679   as_expr=false
4680 fi
4681
4682 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4683   as_basename=basename
4684 else
4685   as_basename=false
4686 fi
4687
4688 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4689   as_dirname=dirname
4690 else
4691   as_dirname=false
4692 fi
4693
4694 as_me=`$as_basename -- "$0" ||
4695 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4696          X"$0" : 'X\(//\)$' \| \
4697          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4698 $as_echo X/"$0" |
4699     sed '/^.*\/\([^/][^/]*\)\/*$/{
4700             s//\1/
4701             q
4702           }
4703           /^X\/\(\/\/\)$/{
4704             s//\1/
4705             q
4706           }
4707           /^X\/\(\/\).*/{
4708             s//\1/
4709             q
4710           }
4711           s/.*/./; q'`
4712
4713 # Avoid depending upon Character Ranges.
4714 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4715 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4716 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4717 as_cr_digits='0123456789'
4718 as_cr_alnum=$as_cr_Letters$as_cr_digits
4719
4720 ECHO_C= ECHO_N= ECHO_T=
4721 case `echo -n x` in #(((((
4722 -n*)
4723   case `echo 'xy\c'` in
4724   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4725   xy)  ECHO_C='\c';;
4726   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4727        ECHO_T=' ';;
4728   esac;;
4729 *)
4730   ECHO_N='-n';;
4731 esac
4732
4733 rm -f conf$$ conf$$.exe conf$$.file
4734 if test -d conf$$.dir; then
4735   rm -f conf$$.dir/conf$$.file
4736 else
4737   rm -f conf$$.dir
4738   mkdir conf$$.dir 2>/dev/null
4739 fi
4740 if (echo >conf$$.file) 2>/dev/null; then
4741   if ln -s conf$$.file conf$$ 2>/dev/null; then
4742     as_ln_s='ln -s'
4743     # ... but there are two gotchas:
4744     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4745     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4746     # In both cases, we have to default to `cp -p'.
4747     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4748       as_ln_s='cp -p'
4749   elif ln conf$$.file conf$$ 2>/dev/null; then
4750     as_ln_s=ln
4751   else
4752     as_ln_s='cp -p'
4753   fi
4754 else
4755   as_ln_s='cp -p'
4756 fi
4757 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4758 rmdir conf$$.dir 2>/dev/null
4759
4760
4761 # as_fn_mkdir_p
4762 # -------------
4763 # Create "$as_dir" as a directory, including parents if necessary.
4764 as_fn_mkdir_p ()
4765 {
4766
4767   case $as_dir in #(
4768   -*) as_dir=./$as_dir;;
4769   esac
4770   test -d "$as_dir" || eval $as_mkdir_p || {
4771     as_dirs=
4772     while :; do
4773       case $as_dir in #(
4774       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4775       *) as_qdir=$as_dir;;
4776       esac
4777       as_dirs="'$as_qdir' $as_dirs"
4778       as_dir=`$as_dirname -- "$as_dir" ||
4779 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4780          X"$as_dir" : 'X\(//\)[^/]' \| \
4781          X"$as_dir" : 'X\(//\)$' \| \
4782          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4783 $as_echo X"$as_dir" |
4784     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4785             s//\1/
4786             q
4787           }
4788           /^X\(\/\/\)[^/].*/{
4789             s//\1/
4790             q
4791           }
4792           /^X\(\/\/\)$/{
4793             s//\1/
4794             q
4795           }
4796           /^X\(\/\).*/{
4797             s//\1/
4798             q
4799           }
4800           s/.*/./; q'`
4801       test -d "$as_dir" && break
4802     done
4803     test -z "$as_dirs" || eval "mkdir $as_dirs"
4804   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4805
4806
4807 } # as_fn_mkdir_p
4808 if mkdir -p . 2>/dev/null; then
4809   as_mkdir_p='mkdir -p "$as_dir"'
4810 else
4811   test -d ./-p && rmdir ./-p
4812   as_mkdir_p=false
4813 fi
4814
4815 if test -x / >/dev/null 2>&1; then
4816   as_test_x='test -x'
4817 else
4818   if ls -dL / >/dev/null 2>&1; then
4819     as_ls_L_option=L
4820   else
4821     as_ls_L_option=
4822   fi
4823   as_test_x='
4824     eval sh -c '\''
4825       if test -d "$1"; then
4826         test -d "$1/.";
4827       else
4828         case $1 in #(
4829         -*)set "./$1";;
4830         esac;
4831         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4832         ???[sx]*):;;*)false;;esac;fi
4833     '\'' sh
4834   '
4835 fi
4836 as_executable_p=$as_test_x
4837
4838 # Sed expression to map a string onto a valid CPP name.
4839 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4840
4841 # Sed expression to map a string onto a valid variable name.
4842 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4843
4844
4845 exec 6>&1
4846 ## ----------------------------------- ##
4847 ## Main body of $CONFIG_STATUS script. ##
4848 ## ----------------------------------- ##
4849 _ASEOF
4850 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4851
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4853 # Save the log message, to keep $0 and so on meaningful, and to
4854 # report actual input values of CONFIG_FILES etc. instead of their
4855 # values after options handling.
4856 ac_log="
4857 This file was extended by $as_me, which was
4858 generated by GNU Autoconf 2.65.  Invocation command line was
4859
4860   CONFIG_FILES    = $CONFIG_FILES
4861   CONFIG_HEADERS  = $CONFIG_HEADERS
4862   CONFIG_LINKS    = $CONFIG_LINKS
4863   CONFIG_COMMANDS = $CONFIG_COMMANDS
4864   $ $0 $@
4865
4866 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4867 "
4868
4869 _ACEOF
4870
4871 case $ac_config_files in *"
4872 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4873 esac
4874
4875 case $ac_config_headers in *"
4876 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4877 esac
4878
4879
4880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4881 # Files that config.status was made for.
4882 config_files="$ac_config_files"
4883 config_headers="$ac_config_headers"
4884
4885 _ACEOF
4886
4887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4888 ac_cs_usage="\
4889 \`$as_me' instantiates files and other configuration actions
4890 from templates according to the current configuration.  Unless the files
4891 and actions are specified as TAGs, all are instantiated by default.
4892
4893 Usage: $0 [OPTION]... [TAG]...
4894
4895   -h, --help       print this help, then exit
4896   -V, --version    print version number and configuration settings, then exit
4897       --config     print configuration, then exit
4898   -q, --quiet, --silent
4899                    do not print progress messages
4900   -d, --debug      don't remove temporary files
4901       --recheck    update $as_me by reconfiguring in the same conditions
4902       --file=FILE[:TEMPLATE]
4903                    instantiate the configuration file FILE
4904       --header=FILE[:TEMPLATE]
4905                    instantiate the configuration header FILE
4906
4907 Configuration files:
4908 $config_files
4909
4910 Configuration headers:
4911 $config_headers
4912
4913 Report bugs to the package provider."
4914
4915 _ACEOF
4916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4918 ac_cs_version="\\
4919 config.status
4920 configured by $0, generated by GNU Autoconf 2.65,
4921   with options \\"\$ac_cs_config\\"
4922
4923 Copyright (C) 2009 Free Software Foundation, Inc.
4924 This config.status script is free software; the Free Software Foundation
4925 gives unlimited permission to copy, distribute and modify it."
4926
4927 ac_pwd='$ac_pwd'
4928 srcdir='$srcdir'
4929 INSTALL='$INSTALL'
4930 test -n "\$AWK" || AWK=awk
4931 _ACEOF
4932
4933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4934 # The default lists apply if the user does not specify any file.
4935 ac_need_defaults=:
4936 while test $# != 0
4937 do
4938   case $1 in
4939   --*=*)
4940     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4941     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4942     ac_shift=:
4943     ;;
4944   *)
4945     ac_option=$1
4946     ac_optarg=$2
4947     ac_shift=shift
4948     ;;
4949   esac
4950
4951   case $ac_option in
4952   # Handling of the options.
4953   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4954     ac_cs_recheck=: ;;
4955   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4956     $as_echo "$ac_cs_version"; exit ;;
4957   --config | --confi | --conf | --con | --co | --c )
4958     $as_echo "$ac_cs_config"; exit ;;
4959   --debug | --debu | --deb | --de | --d | -d )
4960     debug=: ;;
4961   --file | --fil | --fi | --f )
4962     $ac_shift
4963     case $ac_optarg in
4964     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4965     esac
4966     as_fn_append CONFIG_FILES " '$ac_optarg'"
4967     ac_need_defaults=false;;
4968   --header | --heade | --head | --hea )
4969     $ac_shift
4970     case $ac_optarg in
4971     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4972     esac
4973     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4974     ac_need_defaults=false;;
4975   --he | --h)
4976     # Conflict between --help and --header
4977     as_fn_error "ambiguous option: \`$1'
4978 Try \`$0 --help' for more information.";;
4979   --help | --hel | -h )
4980     $as_echo "$ac_cs_usage"; exit ;;
4981   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4982   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4983     ac_cs_silent=: ;;
4984
4985   # This is an error.
4986   -*) as_fn_error "unrecognized option: \`$1'
4987 Try \`$0 --help' for more information." ;;
4988
4989   *) as_fn_append ac_config_targets " $1"
4990      ac_need_defaults=false ;;
4991
4992   esac
4993   shift
4994 done
4995
4996 ac_configure_extra_args=
4997
4998 if $ac_cs_silent; then
4999   exec 6>/dev/null
5000   ac_configure_extra_args="$ac_configure_extra_args --silent"
5001 fi
5002
5003 _ACEOF
5004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5005 if \$ac_cs_recheck; then
5006   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5007   shift
5008   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5009   CONFIG_SHELL='$SHELL'
5010   export CONFIG_SHELL
5011   exec "\$@"
5012 fi
5013
5014 _ACEOF
5015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5016 exec 5>>config.log
5017 {
5018   echo
5019   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5020 ## Running $as_me. ##
5021 _ASBOX
5022   $as_echo "$ac_log"
5023 } >&5
5024
5025 _ACEOF
5026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5027 _ACEOF
5028
5029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5030
5031 # Handling of arguments.
5032 for ac_config_target in $ac_config_targets
5033 do
5034   case $ac_config_target in
5035     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5036     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5037
5038   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5039   esac
5040 done
5041
5042
5043 # If the user did not use the arguments to specify the items to instantiate,
5044 # then the envvar interface is used.  Set only those that are not.
5045 # We use the long form for the default assignment because of an extremely
5046 # bizarre bug on SunOS 4.1.3.
5047 if $ac_need_defaults; then
5048   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5049   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5050 fi
5051
5052 # Have a temporary directory for convenience.  Make it in the build tree
5053 # simply because there is no reason against having it here, and in addition,
5054 # creating and moving files from /tmp can sometimes cause problems.
5055 # Hook for its removal unless debugging.
5056 # Note that there is a small window in which the directory will not be cleaned:
5057 # after its creation but before its name has been assigned to `$tmp'.
5058 $debug ||
5059 {
5060   tmp=
5061   trap 'exit_status=$?
5062   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5063 ' 0
5064   trap 'as_fn_exit 1' 1 2 13 15
5065 }
5066 # Create a (secure) tmp directory for tmp files.
5067
5068 {
5069   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5070   test -n "$tmp" && test -d "$tmp"
5071 }  ||
5072 {
5073   tmp=./conf$$-$RANDOM
5074   (umask 077 && mkdir "$tmp")
5075 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5076
5077 # Set up the scripts for CONFIG_FILES section.
5078 # No need to generate them if there are no CONFIG_FILES.
5079 # This happens for instance with `./config.status config.h'.
5080 if test -n "$CONFIG_FILES"; then
5081
5082
5083 ac_cr=`echo X | tr X '\015'`
5084 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5085 # But we know of no other shell where ac_cr would be empty at this
5086 # point, so we can use a bashism as a fallback.
5087 if test "x$ac_cr" = x; then
5088   eval ac_cr=\$\'\\r\'
5089 fi
5090 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5091 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5092   ac_cs_awk_cr='\r'
5093 else
5094   ac_cs_awk_cr=$ac_cr
5095 fi
5096
5097 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5098 _ACEOF
5099
5100
5101 {
5102   echo "cat >conf$$subs.awk <<_ACEOF" &&
5103   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5104   echo "_ACEOF"
5105 } >conf$$subs.sh ||
5106   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5107 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5108 ac_delim='%!_!# '
5109 for ac_last_try in false false false false false :; do
5110   . ./conf$$subs.sh ||
5111     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5112
5113   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5114   if test $ac_delim_n = $ac_delim_num; then
5115     break
5116   elif $ac_last_try; then
5117     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5118   else
5119     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5120   fi
5121 done
5122 rm -f conf$$subs.sh
5123
5124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5125 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5126 _ACEOF
5127 sed -n '
5128 h
5129 s/^/S["/; s/!.*/"]=/
5130 p
5131 g
5132 s/^[^!]*!//
5133 :repl
5134 t repl
5135 s/'"$ac_delim"'$//
5136 t delim
5137 :nl
5138 h
5139 s/\(.\{148\}\)..*/\1/
5140 t more1
5141 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5142 p
5143 n
5144 b repl
5145 :more1
5146 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5147 p
5148 g
5149 s/.\{148\}//
5150 t nl
5151 :delim
5152 h
5153 s/\(.\{148\}\)..*/\1/
5154 t more2
5155 s/["\\]/\\&/g; s/^/"/; s/$/"/
5156 p
5157 b
5158 :more2
5159 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5160 p
5161 g
5162 s/.\{148\}//
5163 t delim
5164 ' <conf$$subs.awk | sed '
5165 /^[^""]/{
5166   N
5167   s/\n//
5168 }
5169 ' >>$CONFIG_STATUS || ac_write_fail=1
5170 rm -f conf$$subs.awk
5171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5172 _ACAWK
5173 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5174   for (key in S) S_is_set[key] = 1
5175   FS = "\a"
5176
5177 }
5178 {
5179   line = $ 0
5180   nfields = split(line, field, "@")
5181   substed = 0
5182   len = length(field[1])
5183   for (i = 2; i < nfields; i++) {
5184     key = field[i]
5185     keylen = length(key)
5186     if (S_is_set[key]) {
5187       value = S[key]
5188       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5189       len += length(value) + length(field[++i])
5190       substed = 1
5191     } else
5192       len += 1 + keylen
5193   }
5194
5195   print line
5196 }
5197
5198 _ACAWK
5199 _ACEOF
5200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5201 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5202   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5203 else
5204   cat
5205 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5206   || as_fn_error "could not setup config files machinery" "$LINENO" 5
5207 _ACEOF
5208
5209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5211 # trailing colons and then remove the whole line if VPATH becomes empty
5212 # (actually we leave an empty line to preserve line numbers).
5213 if test "x$srcdir" = x.; then
5214   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5215 s/:*\$(srcdir):*/:/
5216 s/:*\${srcdir}:*/:/
5217 s/:*@srcdir@:*/:/
5218 s/^\([^=]*=[     ]*\):*/\1/
5219 s/:*$//
5220 s/^[^=]*=[       ]*$//
5221 }'
5222 fi
5223
5224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5225 fi # test -n "$CONFIG_FILES"
5226
5227 # Set up the scripts for CONFIG_HEADERS section.
5228 # No need to generate them if there are no CONFIG_HEADERS.
5229 # This happens for instance with `./config.status Makefile'.
5230 if test -n "$CONFIG_HEADERS"; then
5231 cat >"$tmp/defines.awk" <<\_ACAWK ||
5232 BEGIN {
5233 _ACEOF
5234
5235 # Transform confdefs.h into an awk script `defines.awk', embedded as
5236 # here-document in config.status, that substitutes the proper values into
5237 # config.h.in to produce config.h.
5238
5239 # Create a delimiter string that does not exist in confdefs.h, to ease
5240 # handling of long lines.
5241 ac_delim='%!_!# '
5242 for ac_last_try in false false :; do
5243   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5244   if test -z "$ac_t"; then
5245     break
5246   elif $ac_last_try; then
5247     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5248   else
5249     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5250   fi
5251 done
5252
5253 # For the awk script, D is an array of macro values keyed by name,
5254 # likewise P contains macro parameters if any.  Preserve backslash
5255 # newline sequences.
5256
5257 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5258 sed -n '
5259 s/.\{148\}/&'"$ac_delim"'/g
5260 t rset
5261 :rset
5262 s/^[     ]*#[    ]*define[       ][      ]*/ /
5263 t def
5264 d
5265 :def
5266 s/\\$//
5267 t bsnl
5268 s/["\\]/\\&/g
5269 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5270 D["\1"]=" \3"/p
5271 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5272 d
5273 :bsnl
5274 s/["\\]/\\&/g
5275 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5276 D["\1"]=" \3\\\\\\n"\\/p
5277 t cont
5278 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5279 t cont
5280 d
5281 :cont
5282 n
5283 s/.\{148\}/&'"$ac_delim"'/g
5284 t clear
5285 :clear
5286 s/\\$//
5287 t bsnlc
5288 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5289 d
5290 :bsnlc
5291 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5292 b cont
5293 ' <confdefs.h | sed '
5294 s/'"$ac_delim"'/"\\\
5295 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5296
5297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5298   for (key in D) D_is_set[key] = 1
5299   FS = "\a"
5300 }
5301 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5302   line = \$ 0
5303   split(line, arg, " ")
5304   if (arg[1] == "#") {
5305     defundef = arg[2]
5306     mac1 = arg[3]
5307   } else {
5308     defundef = substr(arg[1], 2)
5309     mac1 = arg[2]
5310   }
5311   split(mac1, mac2, "(") #)
5312   macro = mac2[1]
5313   prefix = substr(line, 1, index(line, defundef) - 1)
5314   if (D_is_set[macro]) {
5315     # Preserve the white space surrounding the "#".
5316     print prefix "define", macro P[macro] D[macro]
5317     next
5318   } else {
5319     # Replace #undef with comments.  This is necessary, for example,
5320     # in the case of _POSIX_SOURCE, which is predefined and required
5321     # on some systems where configure will not decide to define it.
5322     if (defundef == "undef") {
5323       print "/*", prefix defundef, macro, "*/"
5324       next
5325     }
5326   }
5327 }
5328 { print }
5329 _ACAWK
5330 _ACEOF
5331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5332   as_fn_error "could not setup config headers machinery" "$LINENO" 5
5333 fi # test -n "$CONFIG_HEADERS"
5334
5335
5336 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
5337 shift
5338 for ac_tag
5339 do
5340   case $ac_tag in
5341   :[FHLC]) ac_mode=$ac_tag; continue;;
5342   esac
5343   case $ac_mode$ac_tag in
5344   :[FHL]*:*);;
5345   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5346   :[FH]-) ac_tag=-:-;;
5347   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5348   esac
5349   ac_save_IFS=$IFS
5350   IFS=:
5351   set x $ac_tag
5352   IFS=$ac_save_IFS
5353   shift
5354   ac_file=$1
5355   shift
5356
5357   case $ac_mode in
5358   :L) ac_source=$1;;
5359   :[FH])
5360     ac_file_inputs=
5361     for ac_f
5362     do
5363       case $ac_f in
5364       -) ac_f="$tmp/stdin";;
5365       *) # Look for the file first in the build tree, then in the source tree
5366          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5367          # because $ac_f cannot contain `:'.
5368          test -f "$ac_f" ||
5369            case $ac_f in
5370            [\\/$]*) false;;
5371            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5372            esac ||
5373            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5374       esac
5375       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5376       as_fn_append ac_file_inputs " '$ac_f'"
5377     done
5378
5379     # Let's still pretend it is `configure' which instantiates (i.e., don't
5380     # use $as_me), people would be surprised to read:
5381     #    /* config.h.  Generated by config.status.  */
5382     configure_input='Generated from '`
5383           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5384         `' by configure.'
5385     if test x"$ac_file" != x-; then
5386       configure_input="$ac_file.  $configure_input"
5387       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5388 $as_echo "$as_me: creating $ac_file" >&6;}
5389     fi
5390     # Neutralize special characters interpreted by sed in replacement strings.
5391     case $configure_input in #(
5392     *\&* | *\|* | *\\* )
5393        ac_sed_conf_input=`$as_echo "$configure_input" |
5394        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5395     *) ac_sed_conf_input=$configure_input;;
5396     esac
5397
5398     case $ac_tag in
5399     *:-:* | *:-) cat >"$tmp/stdin" \
5400       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5401     esac
5402     ;;
5403   esac
5404
5405   ac_dir=`$as_dirname -- "$ac_file" ||
5406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5407          X"$ac_file" : 'X\(//\)[^/]' \| \
5408          X"$ac_file" : 'X\(//\)$' \| \
5409          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5410 $as_echo X"$ac_file" |
5411     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5412             s//\1/
5413             q
5414           }
5415           /^X\(\/\/\)[^/].*/{
5416             s//\1/
5417             q
5418           }
5419           /^X\(\/\/\)$/{
5420             s//\1/
5421             q
5422           }
5423           /^X\(\/\).*/{
5424             s//\1/
5425             q
5426           }
5427           s/.*/./; q'`
5428   as_dir="$ac_dir"; as_fn_mkdir_p
5429   ac_builddir=.
5430
5431 case "$ac_dir" in
5432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5433 *)
5434   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5435   # A ".." for each directory in $ac_dir_suffix.
5436   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5437   case $ac_top_builddir_sub in
5438   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5439   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5440   esac ;;
5441 esac
5442 ac_abs_top_builddir=$ac_pwd
5443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5444 # for backward compatibility:
5445 ac_top_builddir=$ac_top_build_prefix
5446
5447 case $srcdir in
5448   .)  # We are building in place.
5449     ac_srcdir=.
5450     ac_top_srcdir=$ac_top_builddir_sub
5451     ac_abs_top_srcdir=$ac_pwd ;;
5452   [\\/]* | ?:[\\/]* )  # Absolute name.
5453     ac_srcdir=$srcdir$ac_dir_suffix;
5454     ac_top_srcdir=$srcdir
5455     ac_abs_top_srcdir=$srcdir ;;
5456   *) # Relative name.
5457     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5458     ac_top_srcdir=$ac_top_build_prefix$srcdir
5459     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5460 esac
5461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5462
5463
5464   case $ac_mode in
5465   :F)
5466   #
5467   # CONFIG_FILE
5468   #
5469
5470   case $INSTALL in
5471   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5472   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5473   esac
5474 _ACEOF
5475
5476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5477 # If the template does not know about datarootdir, expand it.
5478 # FIXME: This hack should be removed a few years after 2.60.
5479 ac_datarootdir_hack=; ac_datarootdir_seen=
5480 ac_sed_dataroot='
5481 /datarootdir/ {
5482   p
5483   q
5484 }
5485 /@datadir@/p
5486 /@docdir@/p
5487 /@infodir@/p
5488 /@localedir@/p
5489 /@mandir@/p'
5490 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5491 *datarootdir*) ac_datarootdir_seen=yes;;
5492 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5493   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5494 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5495 _ACEOF
5496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5497   ac_datarootdir_hack='
5498   s&@datadir@&$datadir&g
5499   s&@docdir@&$docdir&g
5500   s&@infodir@&$infodir&g
5501   s&@localedir@&$localedir&g
5502   s&@mandir@&$mandir&g
5503   s&\\\${datarootdir}&$datarootdir&g' ;;
5504 esac
5505 _ACEOF
5506
5507 # Neutralize VPATH when `$srcdir' = `.'.
5508 # Shell code in configure.ac might set extrasub.
5509 # FIXME: do we really want to maintain this feature?
5510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5511 ac_sed_extra="$ac_vpsub
5512 $extrasub
5513 _ACEOF
5514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5515 :t
5516 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5517 s|@configure_input@|$ac_sed_conf_input|;t t
5518 s&@top_builddir@&$ac_top_builddir_sub&;t t
5519 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5520 s&@srcdir@&$ac_srcdir&;t t
5521 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5522 s&@top_srcdir@&$ac_top_srcdir&;t t
5523 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5524 s&@builddir@&$ac_builddir&;t t
5525 s&@abs_builddir@&$ac_abs_builddir&;t t
5526 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5527 s&@INSTALL@&$ac_INSTALL&;t t
5528 $ac_datarootdir_hack
5529 "
5530 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5531   || as_fn_error "could not create $ac_file" "$LINENO" 5
5532
5533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5534   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5535   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5536   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5537 which seems to be undefined.  Please make sure it is defined." >&5
5538 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5539 which seems to be undefined.  Please make sure it is defined." >&2;}
5540
5541   rm -f "$tmp/stdin"
5542   case $ac_file in
5543   -) cat "$tmp/out" && rm -f "$tmp/out";;
5544   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5545   esac \
5546   || as_fn_error "could not create $ac_file" "$LINENO" 5
5547  ;;
5548   :H)
5549   #
5550   # CONFIG_HEADER
5551   #
5552   if test x"$ac_file" != x-; then
5553     {
5554       $as_echo "/* $configure_input  */" \
5555       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5556     } >"$tmp/config.h" \
5557       || as_fn_error "could not create $ac_file" "$LINENO" 5
5558     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5559       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5560 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5561     else
5562       rm -f "$ac_file"
5563       mv "$tmp/config.h" "$ac_file" \
5564         || as_fn_error "could not create $ac_file" "$LINENO" 5
5565     fi
5566   else
5567     $as_echo "/* $configure_input  */" \
5568       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5569       || as_fn_error "could not create -" "$LINENO" 5
5570   fi
5571  ;;
5572
5573
5574   esac
5575
5576 done # for ac_tag
5577
5578
5579 as_fn_exit 0
5580 _ACEOF
5581 ac_clean_files=$ac_clean_files_save
5582
5583 test $ac_write_fail = 0 ||
5584   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5585
5586
5587 # configure is writing to config.log, and then calls config.status.
5588 # config.status does its own redirection, appending to config.log.
5589 # Unfortunately, on DOS this fails, as config.log is still kept open
5590 # by configure, so config.status won't be able to write to it; its
5591 # output is simply discarded.  So we exec the FD to /dev/null,
5592 # effectively closing config.log, so it can be properly (re)opened and
5593 # appended to by config.status.  When coming back to configure, we
5594 # need to make the FD available again.
5595 if test "$no_create" != yes; then
5596   ac_cs_success=:
5597   ac_config_status_args=
5598   test "$silent" = yes &&
5599     ac_config_status_args="$ac_config_status_args --quiet"
5600   exec 5>/dev/null
5601   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5602   exec 5>>config.log
5603   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5604   # would make configure fail if this is the last instruction.
5605   $ac_cs_success || as_fn_exit $?
5606 fi
5607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5608   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5610 fi
5611