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