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