]> git.donarmstrong.com Git - xournal.git/blob - configure
minor fixes, increase version to 0.4.5, remove install-binary, add configure
[xournal.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83   as_unset=unset
84 else
85   as_unset=false
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 case $0 in
98   *[\\/]* ) as_myself=$0 ;;
99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
107
108      ;;
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113   as_myself=$0
114 fi
115 if test ! -f "$as_myself"; then
116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117   { (exit 1); exit 1; }
118 fi
119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
137   as_expr=expr
138 else
139   as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143   as_basename=basename
144 else
145   as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152          X"$0" : 'X\(//\)$' \| \
153          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155     sed '/^.*\/\([^/][^/]*\)\/*$/{
156             s//\1/
157             q
158           }
159           /^X\/\(\/\/\)$/{
160             s//\1/
161             q
162           }
163           /^X\/\(\/\).*/{
164             s//\1/
165             q
166           }
167           s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174   if (eval ":") 2>/dev/null; then
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179
180   if test $as_have_required = yes &&     (eval ":
181 (as_func_return () {
182   (exit \$1)
183 }
184 as_func_success () {
185   as_func_return 0
186 }
187 as_func_failure () {
188   as_func_return 1
189 }
190 as_func_ret_success () {
191   return 0
192 }
193 as_func_ret_failure () {
194   return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199   :
200 else
201   exitcode=1
202   echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206   exitcode=1
207   echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211   :
212 else
213   exitcode=1
214   echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218   exitcode=1
219   echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223   :
224 else
225   exitcode=1
226   echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232   as_lineno_1=\$LINENO
233   as_lineno_2=\$LINENO
234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237   :
238 else
239   as_candidate_shells=
240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 do
243   IFS=$as_save_IFS
244   test -z "$as_dir" && as_dir=.
245   case $as_dir in
246          /*)
247            for as_base in sh bash ksh sh5; do
248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249            done;;
250        esac
251 done
252 IFS=$as_save_IFS
253
254
255       for as_shell in $as_candidate_shells $SHELL; do
256          # Try only shells that exist, to save several forks.
257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260   emulate sh
261   NULLCMD=:
262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263   # is contrary to our usage.  Disable this feature.
264   alias -g '${1+"$@"}'='"$@"'
265   setopt NO_GLOB_SUBST
266 else
267   case `(set -o) 2>/dev/null` in
268   *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277   CONFIG_SHELL=$as_shell
278                as_have_required=yes
279                if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281   emulate sh
282   NULLCMD=:
283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284   # is contrary to our usage.  Disable this feature.
285   alias -g '${1+"$@"}'='"$@"'
286   setopt NO_GLOB_SUBST
287 else
288   case `(set -o) 2>/dev/null` in
289   *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297   (exit $1)
298 }
299 as_func_success () {
300   as_func_return 0
301 }
302 as_func_failure () {
303   as_func_return 1
304 }
305 as_func_ret_success () {
306   return 0
307 }
308 as_func_ret_failure () {
309   return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314   :
315 else
316   exitcode=1
317   echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321   exitcode=1
322   echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326   :
327 else
328   exitcode=1
329   echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333   exitcode=1
334   echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338   :
339 else
340   exitcode=1
341   echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
347   as_lineno_1=$LINENO
348   as_lineno_2=$LINENO
349   test "x$as_lineno_1" != "x$as_lineno_2" &&
350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352 _ASEOF
353 }; then
354   break
355 fi
356
357 fi
358
359       done
360
361       if test "x$CONFIG_SHELL" != x; then
362   for as_var in BASH_ENV ENV
363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364         done
365         export CONFIG_SHELL
366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370     if test $as_have_required = no; then
371   echo This script requires a shell more modern than all the
372       echo shells that I found on your system.  Please install a
373       echo modern shell, or manually run the script under such a
374       echo shell if you do have one.
375       { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386   (exit \$1)
387 }
388 as_func_success () {
389   as_func_return 0
390 }
391 as_func_failure () {
392   as_func_return 1
393 }
394 as_func_ret_success () {
395   return 0
396 }
397 as_func_ret_failure () {
398   return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403   :
404 else
405   exitcode=1
406   echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410   exitcode=1
411   echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415   :
416 else
417   exitcode=1
418   echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422   exitcode=1
423   echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427   :
428 else
429   exitcode=1
430   echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434   echo No shell found that supports shell functions.
435   echo Please tell bug-autoconf@gnu.org about your system,
436   echo including any error possibly output before this message.
437   echo This can help us improve future autoconf versions.
438   echo Configuration will now proceed without shell functions.
439 }
440
441
442
443   as_lineno_1=$LINENO
444   as_lineno_2=$LINENO
445   test "x$as_lineno_1" != "x$as_lineno_2" &&
446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449   # uniformly replaced by the line number.  The first 'sed' inserts a
450   # line-number line after each line using $LINENO; the second 'sed'
451   # does the real work.  The second script uses 'N' to pair each
452   # line-number line with the line containing $LINENO, and appends
453   # trailing '-' during substitution so that $LINENO is not a special
454   # case at line end.
455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
457   # E. McMahon (1931-1989) for sed's syntax.  :-)
458   sed -n '
459     p
460     /[$]LINENO/=
461   ' <$as_myself |
462     sed '
463       s/[$]LINENO.*/&-/
464       t lineno
465       b
466       :lineno
467       N
468       :loop
469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470       t loop
471       s/-\n.*//
472     ' >$as_me.lineno &&
473   chmod +x "$as_me.lineno" ||
474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475    { (exit 1); exit 1; }; }
476
477   # Don't try to exec as it changes $[0], causing all sort of problems
478   # (the dirname of $[0] is not the place where we might find the
479   # original and so on.  Autoconf is especially sensitive to this).
480   . "./$as_me.lineno"
481   # Exit status is that of the last command.
482   exit
483 }
484
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487   as_dirname=dirname
488 else
489   as_dirname=false
490 fi
491
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495   case `echo 'x\c'` in
496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497   *)   ECHO_C='\c';;
498   esac;;
499 *)
500   ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
504   as_expr=expr
505 else
506   as_expr=false
507 fi
508
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511   rm -f conf$$.dir/conf$$.file
512 else
513   rm -f conf$$.dir
514   mkdir conf$$.dir 2>/dev/null
515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517   if ln -s conf$$.file conf$$ 2>/dev/null; then
518     as_ln_s='ln -s'
519     # ... but there are two gotchas:
520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522     # In both cases, we have to default to `cp -p'.
523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524       as_ln_s='cp -p'
525   elif ln conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s=ln
527   else
528     as_ln_s='cp -p'
529   fi
530 else
531   as_ln_s='cp -p'
532 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
535
536 if mkdir -p . 2>/dev/null; then
537   as_mkdir_p=:
538 else
539   test -d ./-p && rmdir ./-p
540   as_mkdir_p=false
541 fi
542
543 if test -x / >/dev/null 2>&1; then
544   as_test_x='test -x'
545 else
546   if ls -dL / >/dev/null 2>&1; then
547     as_ls_L_option=L
548   else
549     as_ls_L_option=
550   fi
551   as_test_x='
552     eval sh -c '\''
553       if test -d "$1"; then
554         test -d "$1/.";
555       else
556         case $1 in
557         -*)set "./$1";;
558         esac;
559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560         ???[sx]*):;;*)false;;esac;fi
561     '\'' sh
562   '
563 fi
564 as_executable_p=$as_test_x
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574 exec 7<&0 </dev/null 6>&1
575
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581 #
582 # Initializations.
583 #
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
593
594 # Identity of this package.
595 PACKAGE_NAME=
596 PACKAGE_TARNAME=
597 PACKAGE_VERSION=
598 PACKAGE_STRING=
599 PACKAGE_BUGREPORT=
600
601 ac_unique_file="configure.in"
602 # Factoring default headers for most tests.
603 ac_includes_default="\
604 #include <stdio.h>
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
607 #endif
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
610 #endif
611 #ifdef STDC_HEADERS
612 # include <stdlib.h>
613 # include <stddef.h>
614 #else
615 # ifdef HAVE_STDLIB_H
616 #  include <stdlib.h>
617 # endif
618 #endif
619 #ifdef HAVE_STRING_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #  include <memory.h>
622 # endif
623 # include <string.h>
624 #endif
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
627 #endif
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
630 #endif
631 #ifdef HAVE_STDINT_H
632 # include <stdint.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
635 # include <unistd.h>
636 #endif"
637
638 ac_subst_vars='am__EXEEXT_FALSE
639 am__EXEEXT_TRUE
640 LTLIBOBJS
641 LIBOBJS
642 MKINSTALLDIRS
643 POSUB
644 POFILES
645 PO_IN_DATADIR_FALSE
646 PO_IN_DATADIR_TRUE
647 INTLLIBS
648 INSTOBJEXT
649 GMOFILES
650 DATADIRNAME
651 CATOBJEXT
652 CATALOGS
653 XGETTEXT
654 GMSGFMT
655 MSGFMT_OPTS
656 MSGFMT
657 USE_NLS
658 GETTEXT_PACKAGE
659 PACKAGE_LIBS
660 PACKAGE_CFLAGS
661 PKG_CONFIG
662 EGREP
663 GREP
664 CPP
665 RANLIB
666 am__fastdepCC_FALSE
667 am__fastdepCC_TRUE
668 CCDEPMODE
669 AMDEPBACKSLASH
670 AMDEP_FALSE
671 AMDEP_TRUE
672 am__quote
673 am__include
674 DEPDIR
675 OBJEXT
676 EXEEXT
677 ac_ct_CC
678 CPPFLAGS
679 LDFLAGS
680 CFLAGS
681 CC
682 MAINT
683 MAINTAINER_MODE_FALSE
684 MAINTAINER_MODE_TRUE
685 am__untar
686 am__tar
687 AMTAR
688 am__leading_dot
689 SET_MAKE
690 AWK
691 mkdir_p
692 MKDIR_P
693 INSTALL_STRIP_PROGRAM
694 STRIP
695 install_sh
696 MAKEINFO
697 AUTOHEADER
698 AUTOMAKE
699 AUTOCONF
700 ACLOCAL
701 VERSION
702 PACKAGE
703 CYGPATH_W
704 am__isrc
705 INSTALL_DATA
706 INSTALL_SCRIPT
707 INSTALL_PROGRAM
708 target_alias
709 host_alias
710 build_alias
711 LIBS
712 ECHO_T
713 ECHO_N
714 ECHO_C
715 DEFS
716 mandir
717 localedir
718 libdir
719 psdir
720 pdfdir
721 dvidir
722 htmldir
723 infodir
724 docdir
725 oldincludedir
726 includedir
727 localstatedir
728 sharedstatedir
729 sysconfdir
730 datadir
731 datarootdir
732 libexecdir
733 sbindir
734 bindir
735 program_transform_name
736 prefix
737 exec_prefix
738 PACKAGE_BUGREPORT
739 PACKAGE_STRING
740 PACKAGE_VERSION
741 PACKAGE_TARNAME
742 PACKAGE_NAME
743 PATH_SEPARATOR
744 SHELL'
745 ac_subst_files=''
746 ac_user_opts='
747 enable_option_checking
748 enable_maintainer_mode
749 enable_dependency_tracking
750 '
751       ac_precious_vars='build_alias
752 host_alias
753 target_alias
754 CC
755 CFLAGS
756 LDFLAGS
757 LIBS
758 CPPFLAGS
759 CPP
760 PKG_CONFIG
761 PACKAGE_CFLAGS
762 PACKAGE_LIBS'
763
764
765 # Initialize some variables set by options.
766 ac_init_help=
767 ac_init_version=false
768 ac_unrecognized_opts=
769 ac_unrecognized_sep=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
772 cache_file=/dev/null
773 exec_prefix=NONE
774 no_create=
775 no_recursion=
776 prefix=NONE
777 program_prefix=NONE
778 program_suffix=NONE
779 program_transform_name=s,x,x,
780 silent=
781 site=
782 srcdir=
783 verbose=
784 x_includes=NONE
785 x_libraries=NONE
786
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE}'
804 infodir='${datarootdir}/info'
805 htmldir='${docdir}'
806 dvidir='${docdir}'
807 pdfdir='${docdir}'
808 psdir='${docdir}'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
812
813 ac_prev=
814 ac_dashdash=
815 for ac_option
816 do
817   # If the previous option needs an argument, assign it.
818   if test -n "$ac_prev"; then
819     eval $ac_prev=\$ac_option
820     ac_prev=
821     continue
822   fi
823
824   case $ac_option in
825   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826   *)    ac_optarg=yes ;;
827   esac
828
829   # Accept the important Cygnus configure options, so we can diagnose typos.
830
831   case $ac_dashdash$ac_option in
832   --)
833     ac_dashdash=yes ;;
834
835   -bindir | --bindir | --bindi | --bind | --bin | --bi)
836     ac_prev=bindir ;;
837   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838     bindir=$ac_optarg ;;
839
840   -build | --build | --buil | --bui | --bu)
841     ac_prev=build_alias ;;
842   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
843     build_alias=$ac_optarg ;;
844
845   -cache-file | --cache-file | --cache-fil | --cache-fi \
846   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
847     ac_prev=cache_file ;;
848   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
849   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
850     cache_file=$ac_optarg ;;
851
852   --config-cache | -C)
853     cache_file=config.cache ;;
854
855   -datadir | --datadir | --datadi | --datad)
856     ac_prev=datadir ;;
857   -datadir=* | --datadir=* | --datadi=* | --datad=*)
858     datadir=$ac_optarg ;;
859
860   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
861   | --dataroo | --dataro | --datar)
862     ac_prev=datarootdir ;;
863   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
864   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
865     datarootdir=$ac_optarg ;;
866
867   -disable-* | --disable-*)
868     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869     # Reject names that are not valid shell variable names.
870     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
872    { (exit 1); exit 1; }; }
873     ac_useropt_orig=$ac_useropt
874     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875     case $ac_user_opts in
876       *"
877 "enable_$ac_useropt"
878 "*) ;;
879       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880          ac_unrecognized_sep=', ';;
881     esac
882     eval enable_$ac_useropt=no ;;
883
884   -docdir | --docdir | --docdi | --doc | --do)
885     ac_prev=docdir ;;
886   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887     docdir=$ac_optarg ;;
888
889   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
890     ac_prev=dvidir ;;
891   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892     dvidir=$ac_optarg ;;
893
894   -enable-* | --enable-*)
895     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896     # Reject names that are not valid shell variable names.
897     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
899    { (exit 1); exit 1; }; }
900     ac_useropt_orig=$ac_useropt
901     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902     case $ac_user_opts in
903       *"
904 "enable_$ac_useropt"
905 "*) ;;
906       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907          ac_unrecognized_sep=', ';;
908     esac
909     eval enable_$ac_useropt=\$ac_optarg ;;
910
911   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913   | --exec | --exe | --ex)
914     ac_prev=exec_prefix ;;
915   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917   | --exec=* | --exe=* | --ex=*)
918     exec_prefix=$ac_optarg ;;
919
920   -gas | --gas | --ga | --g)
921     # Obsolete; use --with-gas.
922     with_gas=yes ;;
923
924   -help | --help | --hel | --he | -h)
925     ac_init_help=long ;;
926   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927     ac_init_help=recursive ;;
928   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929     ac_init_help=short ;;
930
931   -host | --host | --hos | --ho)
932     ac_prev=host_alias ;;
933   -host=* | --host=* | --hos=* | --ho=*)
934     host_alias=$ac_optarg ;;
935
936   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937     ac_prev=htmldir ;;
938   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939   | --ht=*)
940     htmldir=$ac_optarg ;;
941
942   -includedir | --includedir | --includedi | --included | --include \
943   | --includ | --inclu | --incl | --inc)
944     ac_prev=includedir ;;
945   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946   | --includ=* | --inclu=* | --incl=* | --inc=*)
947     includedir=$ac_optarg ;;
948
949   -infodir | --infodir | --infodi | --infod | --info | --inf)
950     ac_prev=infodir ;;
951   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952     infodir=$ac_optarg ;;
953
954   -libdir | --libdir | --libdi | --libd)
955     ac_prev=libdir ;;
956   -libdir=* | --libdir=* | --libdi=* | --libd=*)
957     libdir=$ac_optarg ;;
958
959   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960   | --libexe | --libex | --libe)
961     ac_prev=libexecdir ;;
962   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963   | --libexe=* | --libex=* | --libe=*)
964     libexecdir=$ac_optarg ;;
965
966   -localedir | --localedir | --localedi | --localed | --locale)
967     ac_prev=localedir ;;
968   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969     localedir=$ac_optarg ;;
970
971   -localstatedir | --localstatedir | --localstatedi | --localstated \
972   | --localstate | --localstat | --localsta | --localst | --locals)
973     ac_prev=localstatedir ;;
974   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976     localstatedir=$ac_optarg ;;
977
978   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979     ac_prev=mandir ;;
980   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981     mandir=$ac_optarg ;;
982
983   -nfp | --nfp | --nf)
984     # Obsolete; use --without-fp.
985     with_fp=no ;;
986
987   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988   | --no-cr | --no-c | -n)
989     no_create=yes ;;
990
991   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993     no_recursion=yes ;;
994
995   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997   | --oldin | --oldi | --old | --ol | --o)
998     ac_prev=oldincludedir ;;
999   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002     oldincludedir=$ac_optarg ;;
1003
1004   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005     ac_prev=prefix ;;
1006   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007     prefix=$ac_optarg ;;
1008
1009   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010   | --program-pre | --program-pr | --program-p)
1011     ac_prev=program_prefix ;;
1012   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014     program_prefix=$ac_optarg ;;
1015
1016   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017   | --program-suf | --program-su | --program-s)
1018     ac_prev=program_suffix ;;
1019   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021     program_suffix=$ac_optarg ;;
1022
1023   -program-transform-name | --program-transform-name \
1024   | --program-transform-nam | --program-transform-na \
1025   | --program-transform-n | --program-transform- \
1026   | --program-transform | --program-transfor \
1027   | --program-transfo | --program-transf \
1028   | --program-trans | --program-tran \
1029   | --progr-tra | --program-tr | --program-t)
1030     ac_prev=program_transform_name ;;
1031   -program-transform-name=* | --program-transform-name=* \
1032   | --program-transform-nam=* | --program-transform-na=* \
1033   | --program-transform-n=* | --program-transform-=* \
1034   | --program-transform=* | --program-transfor=* \
1035   | --program-transfo=* | --program-transf=* \
1036   | --program-trans=* | --program-tran=* \
1037   | --progr-tra=* | --program-tr=* | --program-t=*)
1038     program_transform_name=$ac_optarg ;;
1039
1040   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041     ac_prev=pdfdir ;;
1042   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043     pdfdir=$ac_optarg ;;
1044
1045   -psdir | --psdir | --psdi | --psd | --ps)
1046     ac_prev=psdir ;;
1047   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048     psdir=$ac_optarg ;;
1049
1050   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051   | -silent | --silent | --silen | --sile | --sil)
1052     silent=yes ;;
1053
1054   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055     ac_prev=sbindir ;;
1056   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057   | --sbi=* | --sb=*)
1058     sbindir=$ac_optarg ;;
1059
1060   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062   | --sharedst | --shareds | --shared | --share | --shar \
1063   | --sha | --sh)
1064     ac_prev=sharedstatedir ;;
1065   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068   | --sha=* | --sh=*)
1069     sharedstatedir=$ac_optarg ;;
1070
1071   -site | --site | --sit)
1072     ac_prev=site ;;
1073   -site=* | --site=* | --sit=*)
1074     site=$ac_optarg ;;
1075
1076   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077     ac_prev=srcdir ;;
1078   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079     srcdir=$ac_optarg ;;
1080
1081   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082   | --syscon | --sysco | --sysc | --sys | --sy)
1083     ac_prev=sysconfdir ;;
1084   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086     sysconfdir=$ac_optarg ;;
1087
1088   -target | --target | --targe | --targ | --tar | --ta | --t)
1089     ac_prev=target_alias ;;
1090   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091     target_alias=$ac_optarg ;;
1092
1093   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094     verbose=yes ;;
1095
1096   -version | --version | --versio | --versi | --vers | -V)
1097     ac_init_version=: ;;
1098
1099   -with-* | --with-*)
1100     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101     # Reject names that are not valid shell variable names.
1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1104    { (exit 1); exit 1; }; }
1105     ac_useropt_orig=$ac_useropt
1106     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107     case $ac_user_opts in
1108       *"
1109 "with_$ac_useropt"
1110 "*) ;;
1111       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112          ac_unrecognized_sep=', ';;
1113     esac
1114     eval with_$ac_useropt=\$ac_optarg ;;
1115
1116   -without-* | --without-*)
1117     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118     # Reject names that are not valid shell variable names.
1119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1121    { (exit 1); exit 1; }; }
1122     ac_useropt_orig=$ac_useropt
1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124     case $ac_user_opts in
1125       *"
1126 "with_$ac_useropt"
1127 "*) ;;
1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129          ac_unrecognized_sep=', ';;
1130     esac
1131     eval with_$ac_useropt=no ;;
1132
1133   --x)
1134     # Obsolete; use --with-x.
1135     with_x=yes ;;
1136
1137   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1138   | --x-incl | --x-inc | --x-in | --x-i)
1139     ac_prev=x_includes ;;
1140   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1141   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1142     x_includes=$ac_optarg ;;
1143
1144   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1145   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1146     ac_prev=x_libraries ;;
1147   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1148   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1149     x_libraries=$ac_optarg ;;
1150
1151   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1152 Try \`$0 --help' for more information." >&2
1153    { (exit 1); exit 1; }; }
1154     ;;
1155
1156   *=*)
1157     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158     # Reject names that are not valid shell variable names.
1159     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1160       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1161    { (exit 1); exit 1; }; }
1162     eval $ac_envvar=\$ac_optarg
1163     export $ac_envvar ;;
1164
1165   *)
1166     # FIXME: should be removed in autoconf 3.0.
1167     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1169       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171     ;;
1172
1173   esac
1174 done
1175
1176 if test -n "$ac_prev"; then
1177   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1178   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1179    { (exit 1); exit 1; }; }
1180 fi
1181
1182 if test -n "$ac_unrecognized_opts"; then
1183   case $enable_option_checking in
1184     no) ;;
1185     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1186    { (exit 1); exit 1; }; } ;;
1187     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188   esac
1189 fi
1190
1191 # Check all directory arguments for consistency.
1192 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193                 datadir sysconfdir sharedstatedir localstatedir includedir \
1194                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195                 libdir localedir mandir
1196 do
1197   eval ac_val=\$$ac_var
1198   # Remove trailing slashes.
1199   case $ac_val in
1200     */ )
1201       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202       eval $ac_var=\$ac_val;;
1203   esac
1204   # Be sure to have absolute directory names.
1205   case $ac_val in
1206     [\\/$]* | ?:[\\/]* )  continue;;
1207     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208   esac
1209   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1210    { (exit 1); exit 1; }; }
1211 done
1212
1213 # There might be people who depend on the old broken behavior: `$host'
1214 # used to hold the argument of --host etc.
1215 # FIXME: To remove some day.
1216 build=$build_alias
1217 host=$host_alias
1218 target=$target_alias
1219
1220 # FIXME: To remove some day.
1221 if test "x$host_alias" != x; then
1222   if test "x$build_alias" = x; then
1223     cross_compiling=maybe
1224     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1225     If a cross compiler is detected then cross compile mode will be used." >&2
1226   elif test "x$build_alias" != "x$host_alias"; then
1227     cross_compiling=yes
1228   fi
1229 fi
1230
1231 ac_tool_prefix=
1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1233
1234 test "$silent" = yes && exec 6>/dev/null
1235
1236
1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di=`ls -di .` &&
1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1241    { (exit 1); exit 1; }; }
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1244    { (exit 1); exit 1; }; }
1245
1246
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249   ac_srcdir_defaulted=yes
1250   # Try the directory containing this script, then the parent directory.
1251   ac_confdir=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253          X"$as_myself" : 'X\(//\)[^/]' \| \
1254          X"$as_myself" : 'X\(//\)$' \| \
1255          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258             s//\1/
1259             q
1260           }
1261           /^X\(\/\/\)[^/].*/{
1262             s//\1/
1263             q
1264           }
1265           /^X\(\/\/\)$/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\).*/{
1270             s//\1/
1271             q
1272           }
1273           s/.*/./; q'`
1274   srcdir=$ac_confdir
1275   if test ! -r "$srcdir/$ac_unique_file"; then
1276     srcdir=..
1277   fi
1278 else
1279   ac_srcdir_defaulted=no
1280 fi
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1283   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1284    { (exit 1); exit 1; }; }
1285 fi
1286 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1287 ac_abs_confdir=`(
1288         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1289    { (exit 1); exit 1; }; }
1290         pwd)`
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293   srcdir=.
1294 fi
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1298 case $srcdir in
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 esac
1301 for ac_var in $ac_precious_vars; do
1302   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303   eval ac_env_${ac_var}_value=\$${ac_var}
1304   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1306 done
1307
1308 #
1309 # Report the --help message.
1310 #
1311 if test "$ac_init_help" = "long"; then
1312   # Omit some internal or obsolete options to make the list less imposing.
1313   # This message is too long to be a string in the A/UX 3.1 sh.
1314   cat <<_ACEOF
1315 \`configure' configures this package to adapt to many kinds of systems.
1316
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1318
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE.  See below for descriptions of some of the useful variables.
1321
1322 Defaults for the options are specified in brackets.
1323
1324 Configuration:
1325   -h, --help              display this help and exit
1326       --help=short        display options specific to this package
1327       --help=recursive    display the short help of all the included packages
1328   -V, --version           display version information and exit
1329   -q, --quiet, --silent   do not print \`checking...' messages
1330       --cache-file=FILE   cache test results in FILE [disabled]
1331   -C, --config-cache      alias for \`--cache-file=config.cache'
1332   -n, --no-create         do not create output files
1333       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1334
1335 Installation directories:
1336   --prefix=PREFIX         install architecture-independent files in PREFIX
1337                           [$ac_default_prefix]
1338   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1339                           [PREFIX]
1340
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1345
1346 For better control, use the options below.
1347
1348 Fine tuning of the installation directories:
1349   --bindir=DIR            user executables [EPREFIX/bin]
1350   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1351   --libexecdir=DIR        program executables [EPREFIX/libexec]
1352   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1353   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1354   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1355   --libdir=DIR            object code libraries [EPREFIX/lib]
1356   --includedir=DIR        C header files [PREFIX/include]
1357   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1358   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1359   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1360   --infodir=DIR           info documentation [DATAROOTDIR/info]
1361   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1362   --mandir=DIR            man documentation [DATAROOTDIR/man]
1363   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1364   --htmldir=DIR           html documentation [DOCDIR]
1365   --dvidir=DIR            dvi documentation [DOCDIR]
1366   --pdfdir=DIR            pdf documentation [DOCDIR]
1367   --psdir=DIR             ps documentation [DOCDIR]
1368 _ACEOF
1369
1370   cat <<\_ACEOF
1371
1372 Program names:
1373   --program-prefix=PREFIX            prepend PREFIX to installed program names
1374   --program-suffix=SUFFIX            append SUFFIX to installed program names
1375   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1376 _ACEOF
1377 fi
1378
1379 if test -n "$ac_init_help"; then
1380
1381   cat <<\_ACEOF
1382
1383 Optional Features:
1384   --disable-option-checking  ignore unrecognized --enable/--with options
1385   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1386   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1387   --enable-maintainer-mode  enable make rules and dependencies not useful
1388                           (and sometimes confusing) to the casual installer
1389   --disable-dependency-tracking  speeds up one-time build
1390   --enable-dependency-tracking   do not reject slow dependency extractors
1391
1392 Some influential environment variables:
1393   CC          C compiler command
1394   CFLAGS      C compiler flags
1395   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1396               nonstandard directory <lib dir>
1397   LIBS        libraries to pass to the linker, e.g. -l<library>
1398   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1399               you have headers in a nonstandard directory <include dir>
1400   CPP         C preprocessor
1401   PKG_CONFIG  path to pkg-config utility
1402   PACKAGE_CFLAGS
1403               C compiler flags for PACKAGE, overriding pkg-config
1404   PACKAGE_LIBS
1405               linker flags for PACKAGE, overriding pkg-config
1406
1407 Use these variables to override the choices made by `configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1409
1410 _ACEOF
1411 ac_status=$?
1412 fi
1413
1414 if test "$ac_init_help" = "recursive"; then
1415   # If there are subdirs, report their specific --help.
1416   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1417     test -d "$ac_dir" ||
1418       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1419       continue
1420     ac_builddir=.
1421
1422 case "$ac_dir" in
1423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1424 *)
1425   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1426   # A ".." for each directory in $ac_dir_suffix.
1427   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1428   case $ac_top_builddir_sub in
1429   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1431   esac ;;
1432 esac
1433 ac_abs_top_builddir=$ac_pwd
1434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1435 # for backward compatibility:
1436 ac_top_builddir=$ac_top_build_prefix
1437
1438 case $srcdir in
1439   .)  # We are building in place.
1440     ac_srcdir=.
1441     ac_top_srcdir=$ac_top_builddir_sub
1442     ac_abs_top_srcdir=$ac_pwd ;;
1443   [\\/]* | ?:[\\/]* )  # Absolute name.
1444     ac_srcdir=$srcdir$ac_dir_suffix;
1445     ac_top_srcdir=$srcdir
1446     ac_abs_top_srcdir=$srcdir ;;
1447   *) # Relative name.
1448     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1449     ac_top_srcdir=$ac_top_build_prefix$srcdir
1450     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1451 esac
1452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1453
1454     cd "$ac_dir" || { ac_status=$?; continue; }
1455     # Check for guested configure.
1456     if test -f "$ac_srcdir/configure.gnu"; then
1457       echo &&
1458       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1459     elif test -f "$ac_srcdir/configure"; then
1460       echo &&
1461       $SHELL "$ac_srcdir/configure" --help=recursive
1462     else
1463       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1464     fi || ac_status=$?
1465     cd "$ac_pwd" || { ac_status=$?; break; }
1466   done
1467 fi
1468
1469 test -n "$ac_init_help" && exit $ac_status
1470 if $ac_init_version; then
1471   cat <<\_ACEOF
1472 configure
1473 generated by GNU Autoconf 2.63
1474
1475 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1476 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1477 This configure script is free software; the Free Software Foundation
1478 gives unlimited permission to copy, distribute and modify it.
1479 _ACEOF
1480   exit
1481 fi
1482 cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1485
1486 It was created by $as_me, which was
1487 generated by GNU Autoconf 2.63.  Invocation command line was
1488
1489   $ $0 $@
1490
1491 _ACEOF
1492 exec 5>>config.log
1493 {
1494 cat <<_ASUNAME
1495 ## --------- ##
1496 ## Platform. ##
1497 ## --------- ##
1498
1499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1504
1505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1506 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1507
1508 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1509 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1511 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1512 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1513 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1514 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1515
1516 _ASUNAME
1517
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 for as_dir in $PATH
1520 do
1521   IFS=$as_save_IFS
1522   test -z "$as_dir" && as_dir=.
1523   $as_echo "PATH: $as_dir"
1524 done
1525 IFS=$as_save_IFS
1526
1527 } >&5
1528
1529 cat >&5 <<_ACEOF
1530
1531
1532 ## ----------- ##
1533 ## Core tests. ##
1534 ## ----------- ##
1535
1536 _ACEOF
1537
1538
1539 # Keep a trace of the command line.
1540 # Strip out --no-create and --no-recursion so they do not pile up.
1541 # Strip out --silent because we don't want to record it for future runs.
1542 # Also quote any args containing shell meta-characters.
1543 # Make two passes to allow for proper duplicate-argument suppression.
1544 ac_configure_args=
1545 ac_configure_args0=
1546 ac_configure_args1=
1547 ac_must_keep_next=false
1548 for ac_pass in 1 2
1549 do
1550   for ac_arg
1551   do
1552     case $ac_arg in
1553     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1554     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1555     | -silent | --silent | --silen | --sile | --sil)
1556       continue ;;
1557     *\'*)
1558       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1559     esac
1560     case $ac_pass in
1561     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1562     2)
1563       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1564       if test $ac_must_keep_next = true; then
1565         ac_must_keep_next=false # Got value, back to normal.
1566       else
1567         case $ac_arg in
1568           *=* | --config-cache | -C | -disable-* | --disable-* \
1569           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1570           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1571           | -with-* | --with-* | -without-* | --without-* | --x)
1572             case "$ac_configure_args0 " in
1573               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1574             esac
1575             ;;
1576           -* ) ac_must_keep_next=true ;;
1577         esac
1578       fi
1579       ac_configure_args="$ac_configure_args '$ac_arg'"
1580       ;;
1581     esac
1582   done
1583 done
1584 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1585 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1586
1587 # When interrupted or exit'd, cleanup temporary files, and complete
1588 # config.log.  We remove comments because anyway the quotes in there
1589 # would cause problems or look ugly.
1590 # WARNING: Use '\'' to represent an apostrophe within the trap.
1591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1592 trap 'exit_status=$?
1593   # Save into config.log some information that might help in debugging.
1594   {
1595     echo
1596
1597     cat <<\_ASBOX
1598 ## ---------------- ##
1599 ## Cache variables. ##
1600 ## ---------------- ##
1601 _ASBOX
1602     echo
1603     # The following way of writing the cache mishandles newlines in values,
1604 (
1605   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1606     eval ac_val=\$$ac_var
1607     case $ac_val in #(
1608     *${as_nl}*)
1609       case $ac_var in #(
1610       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1612       esac
1613       case $ac_var in #(
1614       _ | IFS | as_nl) ;; #(
1615       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1616       *) $as_unset $ac_var ;;
1617       esac ;;
1618     esac
1619   done
1620   (set) 2>&1 |
1621     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1622     *${as_nl}ac_space=\ *)
1623       sed -n \
1624         "s/'\''/'\''\\\\'\'''\''/g;
1625           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1626       ;; #(
1627     *)
1628       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1629       ;;
1630     esac |
1631     sort
1632 )
1633     echo
1634
1635     cat <<\_ASBOX
1636 ## ----------------- ##
1637 ## Output variables. ##
1638 ## ----------------- ##
1639 _ASBOX
1640     echo
1641     for ac_var in $ac_subst_vars
1642     do
1643       eval ac_val=\$$ac_var
1644       case $ac_val in
1645       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646       esac
1647       $as_echo "$ac_var='\''$ac_val'\''"
1648     done | sort
1649     echo
1650
1651     if test -n "$ac_subst_files"; then
1652       cat <<\_ASBOX
1653 ## ------------------- ##
1654 ## File substitutions. ##
1655 ## ------------------- ##
1656 _ASBOX
1657       echo
1658       for ac_var in $ac_subst_files
1659       do
1660         eval ac_val=\$$ac_var
1661         case $ac_val in
1662         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1663         esac
1664         $as_echo "$ac_var='\''$ac_val'\''"
1665       done | sort
1666       echo
1667     fi
1668
1669     if test -s confdefs.h; then
1670       cat <<\_ASBOX
1671 ## ----------- ##
1672 ## confdefs.h. ##
1673 ## ----------- ##
1674 _ASBOX
1675       echo
1676       cat confdefs.h
1677       echo
1678     fi
1679     test "$ac_signal" != 0 &&
1680       $as_echo "$as_me: caught signal $ac_signal"
1681     $as_echo "$as_me: exit $exit_status"
1682   } >&5
1683   rm -f core *.core core.conftest.* &&
1684     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1685     exit $exit_status
1686 ' 0
1687 for ac_signal in 1 2 13 15; do
1688   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1689 done
1690 ac_signal=0
1691
1692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1693 rm -f -r conftest* confdefs.h
1694
1695 # Predefined preprocessor variables.
1696
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_NAME "$PACKAGE_NAME"
1699 _ACEOF
1700
1701
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1704 _ACEOF
1705
1706
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1709 _ACEOF
1710
1711
1712 cat >>confdefs.h <<_ACEOF
1713 #define PACKAGE_STRING "$PACKAGE_STRING"
1714 _ACEOF
1715
1716
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1719 _ACEOF
1720
1721
1722 # Let the site file select an alternate cache file if it wants to.
1723 # Prefer an explicitly selected file to automatically selected ones.
1724 ac_site_file1=NONE
1725 ac_site_file2=NONE
1726 if test -n "$CONFIG_SITE"; then
1727   ac_site_file1=$CONFIG_SITE
1728 elif test "x$prefix" != xNONE; then
1729   ac_site_file1=$prefix/share/config.site
1730   ac_site_file2=$prefix/etc/config.site
1731 else
1732   ac_site_file1=$ac_default_prefix/share/config.site
1733   ac_site_file2=$ac_default_prefix/etc/config.site
1734 fi
1735 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1736 do
1737   test "x$ac_site_file" = xNONE && continue
1738   if test -r "$ac_site_file"; then
1739     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1740 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1741     sed 's/^/| /' "$ac_site_file" >&5
1742     . "$ac_site_file"
1743   fi
1744 done
1745
1746 if test -r "$cache_file"; then
1747   # Some versions of bash will fail to source /dev/null (special
1748   # files actually), so we avoid doing that.
1749   if test -f "$cache_file"; then
1750     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1751 $as_echo "$as_me: loading cache $cache_file" >&6;}
1752     case $cache_file in
1753       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1754       *)                      . "./$cache_file";;
1755     esac
1756   fi
1757 else
1758   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1759 $as_echo "$as_me: creating cache $cache_file" >&6;}
1760   >$cache_file
1761 fi
1762
1763 # Check that the precious variables saved in the cache have kept the same
1764 # value.
1765 ac_cache_corrupted=false
1766 for ac_var in $ac_precious_vars; do
1767   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1768   eval ac_new_set=\$ac_env_${ac_var}_set
1769   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1770   eval ac_new_val=\$ac_env_${ac_var}_value
1771   case $ac_old_set,$ac_new_set in
1772     set,)
1773       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1774 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1775       ac_cache_corrupted=: ;;
1776     ,set)
1777       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1779       ac_cache_corrupted=: ;;
1780     ,);;
1781     *)
1782       if test "x$ac_old_val" != "x$ac_new_val"; then
1783         # differences in whitespace do not lead to failure.
1784         ac_old_val_w=`echo x $ac_old_val`
1785         ac_new_val_w=`echo x $ac_new_val`
1786         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1787           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1789           ac_cache_corrupted=:
1790         else
1791           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1793           eval $ac_var=\$ac_old_val
1794         fi
1795         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1796 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1797         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1798 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1799       fi;;
1800   esac
1801   # Pass precious variables to config.status.
1802   if test "$ac_new_set" = set; then
1803     case $ac_new_val in
1804     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1805     *) ac_arg=$ac_var=$ac_new_val ;;
1806     esac
1807     case " $ac_configure_args " in
1808       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1809       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1810     esac
1811   fi
1812 done
1813 if $ac_cache_corrupted; then
1814   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1816   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1818   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1819 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1820    { (exit 1); exit 1; }; }
1821 fi
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839 ac_ext=c
1840 ac_cpp='$CPP $CPPFLAGS'
1841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1844
1845
1846 am__api_version='1.11'
1847
1848 ac_aux_dir=
1849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1850   if test -f "$ac_dir/install-sh"; then
1851     ac_aux_dir=$ac_dir
1852     ac_install_sh="$ac_aux_dir/install-sh -c"
1853     break
1854   elif test -f "$ac_dir/install.sh"; then
1855     ac_aux_dir=$ac_dir
1856     ac_install_sh="$ac_aux_dir/install.sh -c"
1857     break
1858   elif test -f "$ac_dir/shtool"; then
1859     ac_aux_dir=$ac_dir
1860     ac_install_sh="$ac_aux_dir/shtool install -c"
1861     break
1862   fi
1863 done
1864 if test -z "$ac_aux_dir"; then
1865   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1866 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1867    { (exit 1); exit 1; }; }
1868 fi
1869
1870 # These three variables are undocumented and unsupported,
1871 # and are intended to be withdrawn in a future Autoconf release.
1872 # They can cause serious problems if a builder's source tree is in a directory
1873 # whose full name contains unusual characters.
1874 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1875 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1876 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1877
1878
1879 # Find a good install program.  We prefer a C program (faster),
1880 # so one script is as good as another.  But avoid the broken or
1881 # incompatible versions:
1882 # SysV /etc/install, /usr/sbin/install
1883 # SunOS /usr/etc/install
1884 # IRIX /sbin/install
1885 # AIX /bin/install
1886 # AmigaOS /C/install, which installs bootblocks on floppy discs
1887 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1888 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1889 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1890 # OS/2's system install, which has a completely different semantic
1891 # ./install, which can be erroneously created by make from ./install.sh.
1892 # Reject install programs that cannot install multiple files.
1893 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1894 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1895 if test -z "$INSTALL"; then
1896 if test "${ac_cv_path_install+set}" = set; then
1897   $as_echo_n "(cached) " >&6
1898 else
1899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902   IFS=$as_save_IFS
1903   test -z "$as_dir" && as_dir=.
1904   # Account for people who put trailing slashes in PATH elements.
1905 case $as_dir/ in
1906   ./ | .// | /cC/* | \
1907   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1908   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1909   /usr/ucb/* ) ;;
1910   *)
1911     # OSF1 and SCO ODT 3.0 have their own names for install.
1912     # Don't use installbsd from OSF since it installs stuff as root
1913     # by default.
1914     for ac_prog in ginstall scoinst install; do
1915       for ac_exec_ext in '' $ac_executable_extensions; do
1916         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1917           if test $ac_prog = install &&
1918             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1919             # AIX install.  It has an incompatible calling convention.
1920             :
1921           elif test $ac_prog = install &&
1922             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1923             # program-specific install script used by HP pwplus--don't use.
1924             :
1925           else
1926             rm -rf conftest.one conftest.two conftest.dir
1927             echo one > conftest.one
1928             echo two > conftest.two
1929             mkdir conftest.dir
1930             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1931               test -s conftest.one && test -s conftest.two &&
1932               test -s conftest.dir/conftest.one &&
1933               test -s conftest.dir/conftest.two
1934             then
1935               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1936               break 3
1937             fi
1938           fi
1939         fi
1940       done
1941     done
1942     ;;
1943 esac
1944
1945 done
1946 IFS=$as_save_IFS
1947
1948 rm -rf conftest.one conftest.two conftest.dir
1949
1950 fi
1951   if test "${ac_cv_path_install+set}" = set; then
1952     INSTALL=$ac_cv_path_install
1953   else
1954     # As a last resort, use the slow shell script.  Don't cache a
1955     # value for INSTALL within a source directory, because that will
1956     # break other packages using the cache if that directory is
1957     # removed, or if the value is a relative name.
1958     INSTALL=$ac_install_sh
1959   fi
1960 fi
1961 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1962 $as_echo "$INSTALL" >&6; }
1963
1964 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1965 # It thinks the first close brace ends the variable substitution.
1966 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1967
1968 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1969
1970 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1971
1972 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1973 $as_echo_n "checking whether build environment is sane... " >&6; }
1974 # Just in case
1975 sleep 1
1976 echo timestamp > conftest.file
1977 # Reject unsafe characters in $srcdir or the absolute working directory
1978 # name.  Accept space and tab only in the latter.
1979 am_lf='
1980 '
1981 case `pwd` in
1982   *[\\\"\#\$\&\'\`$am_lf]*)
1983     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1984 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1985    { (exit 1); exit 1; }; };;
1986 esac
1987 case $srcdir in
1988   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1989     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1990 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1991    { (exit 1); exit 1; }; };;
1992 esac
1993
1994 # Do `set' in a subshell so we don't clobber the current shell's
1995 # arguments.  Must try -L first in case configure is actually a
1996 # symlink; some systems play weird games with the mod time of symlinks
1997 # (eg FreeBSD returns the mod time of the symlink's containing
1998 # directory).
1999 if (
2000    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2001    if test "$*" = "X"; then
2002       # -L didn't work.
2003       set X `ls -t "$srcdir/configure" conftest.file`
2004    fi
2005    rm -f conftest.file
2006    if test "$*" != "X $srcdir/configure conftest.file" \
2007       && test "$*" != "X conftest.file $srcdir/configure"; then
2008
2009       # If neither matched, then we have a broken ls.  This can happen
2010       # if, for instance, CONFIG_SHELL is bash and it inherits a
2011       # broken ls alias from the environment.  This has actually
2012       # happened.  Such a system could not be considered "sane".
2013       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2014 alias in your environment" >&5
2015 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2016 alias in your environment" >&2;}
2017    { (exit 1); exit 1; }; }
2018    fi
2019
2020    test "$2" = conftest.file
2021    )
2022 then
2023    # Ok.
2024    :
2025 else
2026    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2027 Check your system clock" >&5
2028 $as_echo "$as_me: error: newly created file is older than distributed files!
2029 Check your system clock" >&2;}
2030    { (exit 1); exit 1; }; }
2031 fi
2032 { $as_echo "$as_me:$LINENO: result: yes" >&5
2033 $as_echo "yes" >&6; }
2034 test "$program_prefix" != NONE &&
2035   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2036 # Use a double $ so make ignores it.
2037 test "$program_suffix" != NONE &&
2038   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2039 # Double any \ or $.
2040 # By default was `s,x,x', remove it if useless.
2041 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2042 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2043
2044 # expand $ac_aux_dir to an absolute path
2045 am_aux_dir=`cd $ac_aux_dir && pwd`
2046
2047 if test x"${MISSING+set}" != xset; then
2048   case $am_aux_dir in
2049   *\ * | *\     *)
2050     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2051   *)
2052     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2053   esac
2054 fi
2055 # Use eval to expand $SHELL
2056 if eval "$MISSING --run true"; then
2057   am_missing_run="$MISSING --run "
2058 else
2059   am_missing_run=
2060   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2061 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2062 fi
2063
2064 if test x"${install_sh}" != xset; then
2065   case $am_aux_dir in
2066   *\ * | *\     *)
2067     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2068   *)
2069     install_sh="\${SHELL} $am_aux_dir/install-sh"
2070   esac
2071 fi
2072
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'.  However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078   if test -n "$ac_tool_prefix"; then
2079   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 $as_echo_n "checking for $ac_word... " >&6; }
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084   $as_echo_n "(cached) " >&6
2085 else
2086   if test -n "$STRIP"; then
2087   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094   for ac_exec_ext in '' $ac_executable_extensions; do
2095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098     break 2
2099   fi
2100 done
2101 done
2102 IFS=$as_save_IFS
2103
2104 fi
2105 fi
2106 STRIP=$ac_cv_prog_STRIP
2107 if test -n "$STRIP"; then
2108   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2109 $as_echo "$STRIP" >&6; }
2110 else
2111   { $as_echo "$as_me:$LINENO: result: no" >&5
2112 $as_echo "no" >&6; }
2113 fi
2114
2115
2116 fi
2117 if test -z "$ac_cv_prog_STRIP"; then
2118   ac_ct_STRIP=$STRIP
2119   # Extract the first word of "strip", so it can be a program name with args.
2120 set dummy strip; ac_word=$2
2121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 $as_echo_n "checking for $ac_word... " >&6; }
2123 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2124   $as_echo_n "(cached) " >&6
2125 else
2126   if test -n "$ac_ct_STRIP"; then
2127   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2128 else
2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130 for as_dir in $PATH
2131 do
2132   IFS=$as_save_IFS
2133   test -z "$as_dir" && as_dir=.
2134   for ac_exec_ext in '' $ac_executable_extensions; do
2135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136     ac_cv_prog_ac_ct_STRIP="strip"
2137     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138     break 2
2139   fi
2140 done
2141 done
2142 IFS=$as_save_IFS
2143
2144 fi
2145 fi
2146 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2147 if test -n "$ac_ct_STRIP"; then
2148   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2149 $as_echo "$ac_ct_STRIP" >&6; }
2150 else
2151   { $as_echo "$as_me:$LINENO: result: no" >&5
2152 $as_echo "no" >&6; }
2153 fi
2154
2155   if test "x$ac_ct_STRIP" = x; then
2156     STRIP=":"
2157   else
2158     case $cross_compiling:$ac_tool_warned in
2159 yes:)
2160 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2162 ac_tool_warned=yes ;;
2163 esac
2164     STRIP=$ac_ct_STRIP
2165   fi
2166 else
2167   STRIP="$ac_cv_prog_STRIP"
2168 fi
2169
2170 fi
2171 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2172
2173 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2174 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2175 if test -z "$MKDIR_P"; then
2176   if test "${ac_cv_path_mkdir+set}" = set; then
2177   $as_echo_n "(cached) " >&6
2178 else
2179   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2181 do
2182   IFS=$as_save_IFS
2183   test -z "$as_dir" && as_dir=.
2184   for ac_prog in mkdir gmkdir; do
2185          for ac_exec_ext in '' $ac_executable_extensions; do
2186            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2187            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2188              'mkdir (GNU coreutils) '* | \
2189              'mkdir (coreutils) '* | \
2190              'mkdir (fileutils) '4.1*)
2191                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2192                break 3;;
2193            esac
2194          done
2195        done
2196 done
2197 IFS=$as_save_IFS
2198
2199 fi
2200
2201   if test "${ac_cv_path_mkdir+set}" = set; then
2202     MKDIR_P="$ac_cv_path_mkdir -p"
2203   else
2204     # As a last resort, use the slow shell script.  Don't cache a
2205     # value for MKDIR_P within a source directory, because that will
2206     # break other packages using the cache if that directory is
2207     # removed, or if the value is a relative name.
2208     test -d ./--version && rmdir ./--version
2209     MKDIR_P="$ac_install_sh -d"
2210   fi
2211 fi
2212 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2213 $as_echo "$MKDIR_P" >&6; }
2214
2215 mkdir_p="$MKDIR_P"
2216 case $mkdir_p in
2217   [\\/$]* | ?:[\\/]*) ;;
2218   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2219 esac
2220
2221 for ac_prog in gawk mawk nawk awk
2222 do
2223   # Extract the first word of "$ac_prog", so it can be a program name with args.
2224 set dummy $ac_prog; ac_word=$2
2225 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if test "${ac_cv_prog_AWK+set}" = set; then
2228   $as_echo_n "(cached) " >&6
2229 else
2230   if test -n "$AWK"; then
2231   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2232 else
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH
2235 do
2236   IFS=$as_save_IFS
2237   test -z "$as_dir" && as_dir=.
2238   for ac_exec_ext in '' $ac_executable_extensions; do
2239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240     ac_cv_prog_AWK="$ac_prog"
2241     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242     break 2
2243   fi
2244 done
2245 done
2246 IFS=$as_save_IFS
2247
2248 fi
2249 fi
2250 AWK=$ac_cv_prog_AWK
2251 if test -n "$AWK"; then
2252   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2253 $as_echo "$AWK" >&6; }
2254 else
2255   { $as_echo "$as_me:$LINENO: result: no" >&5
2256 $as_echo "no" >&6; }
2257 fi
2258
2259
2260   test -n "$AWK" && break
2261 done
2262
2263 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2264 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2265 set x ${MAKE-make}
2266 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2267 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2268   $as_echo_n "(cached) " >&6
2269 else
2270   cat >conftest.make <<\_ACEOF
2271 SHELL = /bin/sh
2272 all:
2273         @echo '@@@%%%=$(MAKE)=@@@%%%'
2274 _ACEOF
2275 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2276 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2277   *@@@%%%=?*=@@@%%%*)
2278     eval ac_cv_prog_make_${ac_make}_set=yes;;
2279   *)
2280     eval ac_cv_prog_make_${ac_make}_set=no;;
2281 esac
2282 rm -f conftest.make
2283 fi
2284 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2285   { $as_echo "$as_me:$LINENO: result: yes" >&5
2286 $as_echo "yes" >&6; }
2287   SET_MAKE=
2288 else
2289   { $as_echo "$as_me:$LINENO: result: no" >&5
2290 $as_echo "no" >&6; }
2291   SET_MAKE="MAKE=${MAKE-make}"
2292 fi
2293
2294 rm -rf .tst 2>/dev/null
2295 mkdir .tst 2>/dev/null
2296 if test -d .tst; then
2297   am__leading_dot=.
2298 else
2299   am__leading_dot=_
2300 fi
2301 rmdir .tst 2>/dev/null
2302
2303 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2304   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2305   # is not polluted with repeated "-I."
2306   am__isrc=' -I$(srcdir)'
2307   # test to see if srcdir already configured
2308   if test -f $srcdir/config.status; then
2309     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2310 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2311    { (exit 1); exit 1; }; }
2312   fi
2313 fi
2314
2315 # test whether we have cygpath
2316 if test -z "$CYGPATH_W"; then
2317   if (cygpath --version) >/dev/null 2>/dev/null; then
2318     CYGPATH_W='cygpath -w'
2319   else
2320     CYGPATH_W=echo
2321   fi
2322 fi
2323
2324
2325 # Define the identity of the package.
2326  PACKAGE=xournal
2327  VERSION=0.4.5
2328
2329
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE "$PACKAGE"
2332 _ACEOF
2333
2334
2335 cat >>confdefs.h <<_ACEOF
2336 #define VERSION "$VERSION"
2337 _ACEOF
2338
2339 # Some tools Automake needs.
2340
2341 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2342
2343
2344 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2345
2346
2347 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2348
2349
2350 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2351
2352
2353 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2354
2355 # We need awk for the "check" target.  The system "awk" is bad on
2356 # some platforms.
2357 # Always define AMTAR for backward compatibility.
2358
2359 AMTAR=${AMTAR-"${am_missing_run}tar"}
2360
2361 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2362
2363
2364
2365
2366
2367 ac_config_headers="$ac_config_headers config.h"
2368
2369
2370 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2371 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2372     # Check whether --enable-maintainer-mode was given.
2373 if test "${enable_maintainer_mode+set}" = set; then
2374   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2375 else
2376   USE_MAINTAINER_MODE=no
2377 fi
2378
2379   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2380 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2381    if test $USE_MAINTAINER_MODE = yes; then
2382   MAINTAINER_MODE_TRUE=
2383   MAINTAINER_MODE_FALSE='#'
2384 else
2385   MAINTAINER_MODE_TRUE='#'
2386   MAINTAINER_MODE_FALSE=
2387 fi
2388
2389   MAINT=$MAINTAINER_MODE_TRUE
2390
2391
2392
2393 DEPDIR="${am__leading_dot}deps"
2394
2395 ac_config_commands="$ac_config_commands depfiles"
2396
2397
2398 am_make=${MAKE-make}
2399 cat > confinc << 'END'
2400 am__doit:
2401         @echo this is the am__doit target
2402 .PHONY: am__doit
2403 END
2404 # If we don't find an include directive, just comment out the code.
2405 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2406 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2407 am__include="#"
2408 am__quote=
2409 _am_result=none
2410 # First try GNU make style include.
2411 echo "include confinc" > confmf
2412 # Ignore all kinds of additional output from `make'.
2413 case `$am_make -s -f confmf 2> /dev/null` in #(
2414 *the\ am__doit\ target*)
2415   am__include=include
2416   am__quote=
2417   _am_result=GNU
2418   ;;
2419 esac
2420 # Now try BSD make style include.
2421 if test "$am__include" = "#"; then
2422    echo '.include "confinc"' > confmf
2423    case `$am_make -s -f confmf 2> /dev/null` in #(
2424    *the\ am__doit\ target*)
2425      am__include=.include
2426      am__quote="\""
2427      _am_result=BSD
2428      ;;
2429    esac
2430 fi
2431
2432
2433 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2434 $as_echo "$_am_result" >&6; }
2435 rm -f confinc confmf
2436
2437 # Check whether --enable-dependency-tracking was given.
2438 if test "${enable_dependency_tracking+set}" = set; then
2439   enableval=$enable_dependency_tracking;
2440 fi
2441
2442 if test "x$enable_dependency_tracking" != xno; then
2443   am_depcomp="$ac_aux_dir/depcomp"
2444   AMDEPBACKSLASH='\'
2445 fi
2446  if test "x$enable_dependency_tracking" != xno; then
2447   AMDEP_TRUE=
2448   AMDEP_FALSE='#'
2449 else
2450   AMDEP_TRUE='#'
2451   AMDEP_FALSE=
2452 fi
2453
2454
2455 ac_ext=c
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460 if test -n "$ac_tool_prefix"; then
2461   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_CC+set}" = set; then
2466   $as_echo_n "(cached) " >&6
2467 else
2468   if test -n "$CC"; then
2469   ac_cv_prog_CC="$CC" # Let the user override the test.
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474   IFS=$as_save_IFS
2475   test -z "$as_dir" && as_dir=.
2476   for ac_exec_ext in '' $ac_executable_extensions; do
2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2479     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480     break 2
2481   fi
2482 done
2483 done
2484 IFS=$as_save_IFS
2485
2486 fi
2487 fi
2488 CC=$ac_cv_prog_CC
2489 if test -n "$CC"; then
2490   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2491 $as_echo "$CC" >&6; }
2492 else
2493   { $as_echo "$as_me:$LINENO: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496
2497
2498 fi
2499 if test -z "$ac_cv_prog_CC"; then
2500   ac_ct_CC=$CC
2501   # Extract the first word of "gcc", so it can be a program name with args.
2502 set dummy gcc; ac_word=$2
2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2506   $as_echo_n "(cached) " >&6
2507 else
2508   if test -n "$ac_ct_CC"; then
2509   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2510 else
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 for as_dir in $PATH
2513 do
2514   IFS=$as_save_IFS
2515   test -z "$as_dir" && as_dir=.
2516   for ac_exec_ext in '' $ac_executable_extensions; do
2517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2518     ac_cv_prog_ac_ct_CC="gcc"
2519     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2520     break 2
2521   fi
2522 done
2523 done
2524 IFS=$as_save_IFS
2525
2526 fi
2527 fi
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2531 $as_echo "$ac_ct_CC" >&6; }
2532 else
2533   { $as_echo "$as_me:$LINENO: result: no" >&5
2534 $as_echo "no" >&6; }
2535 fi
2536
2537   if test "x$ac_ct_CC" = x; then
2538     CC=""
2539   else
2540     case $cross_compiling:$ac_tool_warned in
2541 yes:)
2542 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2544 ac_tool_warned=yes ;;
2545 esac
2546     CC=$ac_ct_CC
2547   fi
2548 else
2549   CC="$ac_cv_prog_CC"
2550 fi
2551
2552 if test -z "$CC"; then
2553           if test -n "$ac_tool_prefix"; then
2554     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}cc; ac_word=$2
2556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559   $as_echo_n "(cached) " >&6
2560 else
2561   if test -n "$CC"; then
2562   ac_cv_prog_CC="$CC" # Let the user override the test.
2563 else
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH
2566 do
2567   IFS=$as_save_IFS
2568   test -z "$as_dir" && as_dir=.
2569   for ac_exec_ext in '' $ac_executable_extensions; do
2570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571     ac_cv_prog_CC="${ac_tool_prefix}cc"
2572     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2573     break 2
2574   fi
2575 done
2576 done
2577 IFS=$as_save_IFS
2578
2579 fi
2580 fi
2581 CC=$ac_cv_prog_CC
2582 if test -n "$CC"; then
2583   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2584 $as_echo "$CC" >&6; }
2585 else
2586   { $as_echo "$as_me:$LINENO: result: no" >&5
2587 $as_echo "no" >&6; }
2588 fi
2589
2590
2591   fi
2592 fi
2593 if test -z "$CC"; then
2594   # Extract the first word of "cc", so it can be a program name with args.
2595 set dummy cc; ac_word=$2
2596 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if test "${ac_cv_prog_CC+set}" = set; then
2599   $as_echo_n "(cached) " >&6
2600 else
2601   if test -n "$CC"; then
2602   ac_cv_prog_CC="$CC" # Let the user override the test.
2603 else
2604   ac_prog_rejected=no
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 for as_dir in $PATH
2607 do
2608   IFS=$as_save_IFS
2609   test -z "$as_dir" && as_dir=.
2610   for ac_exec_ext in '' $ac_executable_extensions; do
2611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2613        ac_prog_rejected=yes
2614        continue
2615      fi
2616     ac_cv_prog_CC="cc"
2617     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618     break 2
2619   fi
2620 done
2621 done
2622 IFS=$as_save_IFS
2623
2624 if test $ac_prog_rejected = yes; then
2625   # We found a bogon in the path, so make sure we never use it.
2626   set dummy $ac_cv_prog_CC
2627   shift
2628   if test $# != 0; then
2629     # We chose a different compiler from the bogus one.
2630     # However, it has the same basename, so the bogon will be chosen
2631     # first if we set CC to just the basename; use the full file name.
2632     shift
2633     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2634   fi
2635 fi
2636 fi
2637 fi
2638 CC=$ac_cv_prog_CC
2639 if test -n "$CC"; then
2640   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2641 $as_echo "$CC" >&6; }
2642 else
2643   { $as_echo "$as_me:$LINENO: result: no" >&5
2644 $as_echo "no" >&6; }
2645 fi
2646
2647
2648 fi
2649 if test -z "$CC"; then
2650   if test -n "$ac_tool_prefix"; then
2651   for ac_prog in cl.exe
2652   do
2653     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 $as_echo_n "checking for $ac_word... " >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then
2658   $as_echo_n "(cached) " >&6
2659 else
2660   if test -n "$CC"; then
2661   ac_cv_prog_CC="$CC" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668   for ac_exec_ext in '' $ac_executable_extensions; do
2669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2671     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675 done
2676 IFS=$as_save_IFS
2677
2678 fi
2679 fi
2680 CC=$ac_cv_prog_CC
2681 if test -n "$CC"; then
2682   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2683 $as_echo "$CC" >&6; }
2684 else
2685   { $as_echo "$as_me:$LINENO: result: no" >&5
2686 $as_echo "no" >&6; }
2687 fi
2688
2689
2690     test -n "$CC" && break
2691   done
2692 fi
2693 if test -z "$CC"; then
2694   ac_ct_CC=$CC
2695   for ac_prog in cl.exe
2696 do
2697   # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy $ac_prog; ac_word=$2
2699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 $as_echo_n "checking for $ac_word... " >&6; }
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702   $as_echo_n "(cached) " >&6
2703 else
2704   if test -n "$ac_ct_CC"; then
2705   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2706 else
2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 for as_dir in $PATH
2709 do
2710   IFS=$as_save_IFS
2711   test -z "$as_dir" && as_dir=.
2712   for ac_exec_ext in '' $ac_executable_extensions; do
2713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714     ac_cv_prog_ac_ct_CC="$ac_prog"
2715     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716     break 2
2717   fi
2718 done
2719 done
2720 IFS=$as_save_IFS
2721
2722 fi
2723 fi
2724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727 $as_echo "$ac_ct_CC" >&6; }
2728 else
2729   { $as_echo "$as_me:$LINENO: result: no" >&5
2730 $as_echo "no" >&6; }
2731 fi
2732
2733
2734   test -n "$ac_ct_CC" && break
2735 done
2736
2737   if test "x$ac_ct_CC" = x; then
2738     CC=""
2739   else
2740     case $cross_compiling:$ac_tool_warned in
2741 yes:)
2742 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2744 ac_tool_warned=yes ;;
2745 esac
2746     CC=$ac_ct_CC
2747   fi
2748 fi
2749
2750 fi
2751
2752
2753 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2756 See \`config.log' for more details." >&5
2757 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2758 See \`config.log' for more details." >&2;}
2759    { (exit 1); exit 1; }; }; }
2760
2761 # Provide some information about the compiler.
2762 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2763 set X $ac_compile
2764 ac_compiler=$2
2765 { (ac_try="$ac_compiler --version >&5"
2766 case "(($ac_try" in
2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768   *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771 $as_echo "$ac_try_echo") >&5
2772   (eval "$ac_compiler --version >&5") 2>&5
2773   ac_status=$?
2774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775   (exit $ac_status); }
2776 { (ac_try="$ac_compiler -v >&5"
2777 case "(($ac_try" in
2778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779   *) ac_try_echo=$ac_try;;
2780 esac
2781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2782 $as_echo "$ac_try_echo") >&5
2783   (eval "$ac_compiler -v >&5") 2>&5
2784   ac_status=$?
2785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786   (exit $ac_status); }
2787 { (ac_try="$ac_compiler -V >&5"
2788 case "(($ac_try" in
2789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790   *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2793 $as_echo "$ac_try_echo") >&5
2794   (eval "$ac_compiler -V >&5") 2>&5
2795   ac_status=$?
2796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797   (exit $ac_status); }
2798
2799 cat >conftest.$ac_ext <<_ACEOF
2800 /* confdefs.h.  */
2801 _ACEOF
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h.  */
2805
2806 int
2807 main ()
2808 {
2809
2810   ;
2811   return 0;
2812 }
2813 _ACEOF
2814 ac_clean_files_save=$ac_clean_files
2815 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2816 # Try to create an executable without -o first, disregard a.out.
2817 # It will help us diagnose broken compilers, and finding out an intuition
2818 # of exeext.
2819 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2820 $as_echo_n "checking for C compiler default output file name... " >&6; }
2821 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2822
2823 # The possible output files:
2824 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2825
2826 ac_rmfiles=
2827 for ac_file in $ac_files
2828 do
2829   case $ac_file in
2830     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2831     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2832   esac
2833 done
2834 rm -f $ac_rmfiles
2835
2836 if { (ac_try="$ac_link_default"
2837 case "(($ac_try" in
2838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839   *) ac_try_echo=$ac_try;;
2840 esac
2841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2842 $as_echo "$ac_try_echo") >&5
2843   (eval "$ac_link_default") 2>&5
2844   ac_status=$?
2845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846   (exit $ac_status); }; then
2847   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2848 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2849 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2850 # so that the user can short-circuit this test for compilers unknown to
2851 # Autoconf.
2852 for ac_file in $ac_files ''
2853 do
2854   test -f "$ac_file" || continue
2855   case $ac_file in
2856     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2857         ;;
2858     [ab].out )
2859         # We found the default executable, but exeext='' is most
2860         # certainly right.
2861         break;;
2862     *.* )
2863         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2864         then :; else
2865            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2866         fi
2867         # We set ac_cv_exeext here because the later test for it is not
2868         # safe: cross compilers may not add the suffix if given an `-o'
2869         # argument, so we may need to know it at that point already.
2870         # Even if this section looks crufty: it has the advantage of
2871         # actually working.
2872         break;;
2873     * )
2874         break;;
2875   esac
2876 done
2877 test "$ac_cv_exeext" = no && ac_cv_exeext=
2878
2879 else
2880   ac_file=''
2881 fi
2882
2883 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2884 $as_echo "$ac_file" >&6; }
2885 if test -z "$ac_file"; then
2886   $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2888
2889 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2892 See \`config.log' for more details." >&5
2893 $as_echo "$as_me: error: C compiler cannot create executables
2894 See \`config.log' for more details." >&2;}
2895    { (exit 77); exit 77; }; }; }
2896 fi
2897
2898 ac_exeext=$ac_cv_exeext
2899
2900 # Check that the compiler produces executables we can run.  If not, either
2901 # the compiler is broken, or we cross compile.
2902 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2903 $as_echo_n "checking whether the C compiler works... " >&6; }
2904 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2905 # If not cross compiling, check that we can run a simple program.
2906 if test "$cross_compiling" != yes; then
2907   if { ac_try='./$ac_file'
2908   { (case "(($ac_try" in
2909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910   *) ac_try_echo=$ac_try;;
2911 esac
2912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2913 $as_echo "$ac_try_echo") >&5
2914   (eval "$ac_try") 2>&5
2915   ac_status=$?
2916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917   (exit $ac_status); }; }; then
2918     cross_compiling=no
2919   else
2920     if test "$cross_compiling" = maybe; then
2921         cross_compiling=yes
2922     else
2923         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2925 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2926 If you meant to cross compile, use \`--host'.
2927 See \`config.log' for more details." >&5
2928 $as_echo "$as_me: error: cannot run C compiled programs.
2929 If you meant to cross compile, use \`--host'.
2930 See \`config.log' for more details." >&2;}
2931    { (exit 1); exit 1; }; }; }
2932     fi
2933   fi
2934 fi
2935 { $as_echo "$as_me:$LINENO: result: yes" >&5
2936 $as_echo "yes" >&6; }
2937
2938 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2939 ac_clean_files=$ac_clean_files_save
2940 # Check that the compiler produces executables we can run.  If not, either
2941 # the compiler is broken, or we cross compile.
2942 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2943 $as_echo_n "checking whether we are cross compiling... " >&6; }
2944 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2945 $as_echo "$cross_compiling" >&6; }
2946
2947 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2948 $as_echo_n "checking for suffix of executables... " >&6; }
2949 if { (ac_try="$ac_link"
2950 case "(($ac_try" in
2951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952   *) ac_try_echo=$ac_try;;
2953 esac
2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2955 $as_echo "$ac_try_echo") >&5
2956   (eval "$ac_link") 2>&5
2957   ac_status=$?
2958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959   (exit $ac_status); }; then
2960   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2961 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2962 # work properly (i.e., refer to `conftest.exe'), while it won't with
2963 # `rm'.
2964 for ac_file in conftest.exe conftest conftest.*; do
2965   test -f "$ac_file" || continue
2966   case $ac_file in
2967     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2969           break;;
2970     * ) break;;
2971   esac
2972 done
2973 else
2974   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2977 See \`config.log' for more details." >&5
2978 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2979 See \`config.log' for more details." >&2;}
2980    { (exit 1); exit 1; }; }; }
2981 fi
2982
2983 rm -f conftest$ac_cv_exeext
2984 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2985 $as_echo "$ac_cv_exeext" >&6; }
2986
2987 rm -f conftest.$ac_ext
2988 EXEEXT=$ac_cv_exeext
2989 ac_exeext=$EXEEXT
2990 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2991 $as_echo_n "checking for suffix of object files... " >&6; }
2992 if test "${ac_cv_objext+set}" = set; then
2993   $as_echo_n "(cached) " >&6
2994 else
2995   cat >conftest.$ac_ext <<_ACEOF
2996 /* confdefs.h.  */
2997 _ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h.  */
3001
3002 int
3003 main ()
3004 {
3005
3006   ;
3007   return 0;
3008 }
3009 _ACEOF
3010 rm -f conftest.o conftest.obj
3011 if { (ac_try="$ac_compile"
3012 case "(($ac_try" in
3013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014   *) ac_try_echo=$ac_try;;
3015 esac
3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3017 $as_echo "$ac_try_echo") >&5
3018   (eval "$ac_compile") 2>&5
3019   ac_status=$?
3020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021   (exit $ac_status); }; then
3022   for ac_file in conftest.o conftest.obj conftest.*; do
3023   test -f "$ac_file" || continue;
3024   case $ac_file in
3025     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3026     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3027        break;;
3028   esac
3029 done
3030 else
3031   $as_echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3033
3034 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3036 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3037 See \`config.log' for more details." >&5
3038 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3039 See \`config.log' for more details." >&2;}
3040    { (exit 1); exit 1; }; }; }
3041 fi
3042
3043 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3044 fi
3045 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3046 $as_echo "$ac_cv_objext" >&6; }
3047 OBJEXT=$ac_cv_objext
3048 ac_objext=$OBJEXT
3049 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3050 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3051 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3052   $as_echo_n "(cached) " >&6
3053 else
3054   cat >conftest.$ac_ext <<_ACEOF
3055 /* confdefs.h.  */
3056 _ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h.  */
3060
3061 int
3062 main ()
3063 {
3064 #ifndef __GNUC__
3065        choke me
3066 #endif
3067
3068   ;
3069   return 0;
3070 }
3071 _ACEOF
3072 rm -f conftest.$ac_objext
3073 if { (ac_try="$ac_compile"
3074 case "(($ac_try" in
3075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076   *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079 $as_echo "$ac_try_echo") >&5
3080   (eval "$ac_compile") 2>conftest.er1
3081   ac_status=$?
3082   grep -v '^ *+' conftest.er1 >conftest.err
3083   rm -f conftest.er1
3084   cat conftest.err >&5
3085   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086   (exit $ac_status); } && {
3087          test -z "$ac_c_werror_flag" ||
3088          test ! -s conftest.err
3089        } && test -s conftest.$ac_objext; then
3090   ac_compiler_gnu=yes
3091 else
3092   $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3094
3095         ac_compiler_gnu=no
3096 fi
3097
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3100
3101 fi
3102 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3103 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3104 if test $ac_compiler_gnu = yes; then
3105   GCC=yes
3106 else
3107   GCC=
3108 fi
3109 ac_test_CFLAGS=${CFLAGS+set}
3110 ac_save_CFLAGS=$CFLAGS
3111 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3112 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3113 if test "${ac_cv_prog_cc_g+set}" = set; then
3114   $as_echo_n "(cached) " >&6
3115 else
3116   ac_save_c_werror_flag=$ac_c_werror_flag
3117    ac_c_werror_flag=yes
3118    ac_cv_prog_cc_g=no
3119    CFLAGS="-g"
3120    cat >conftest.$ac_ext <<_ACEOF
3121 /* confdefs.h.  */
3122 _ACEOF
3123 cat confdefs.h >>conftest.$ac_ext
3124 cat >>conftest.$ac_ext <<_ACEOF
3125 /* end confdefs.h.  */
3126
3127 int
3128 main ()
3129 {
3130
3131   ;
3132   return 0;
3133 }
3134 _ACEOF
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3137 case "(($ac_try" in
3138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139   *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3142 $as_echo "$ac_try_echo") >&5
3143   (eval "$ac_compile") 2>conftest.er1
3144   ac_status=$?
3145   grep -v '^ *+' conftest.er1 >conftest.err
3146   rm -f conftest.er1
3147   cat conftest.err >&5
3148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149   (exit $ac_status); } && {
3150          test -z "$ac_c_werror_flag" ||
3151          test ! -s conftest.err
3152        } && test -s conftest.$ac_objext; then
3153   ac_cv_prog_cc_g=yes
3154 else
3155   $as_echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3157
3158         CFLAGS=""
3159       cat >conftest.$ac_ext <<_ACEOF
3160 /* confdefs.h.  */
3161 _ACEOF
3162 cat confdefs.h >>conftest.$ac_ext
3163 cat >>conftest.$ac_ext <<_ACEOF
3164 /* end confdefs.h.  */
3165
3166 int
3167 main ()
3168 {
3169
3170   ;
3171   return 0;
3172 }
3173 _ACEOF
3174 rm -f conftest.$ac_objext
3175 if { (ac_try="$ac_compile"
3176 case "(($ac_try" in
3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178   *) ac_try_echo=$ac_try;;
3179 esac
3180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181 $as_echo "$ac_try_echo") >&5
3182   (eval "$ac_compile") 2>conftest.er1
3183   ac_status=$?
3184   grep -v '^ *+' conftest.er1 >conftest.err
3185   rm -f conftest.er1
3186   cat conftest.err >&5
3187   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188   (exit $ac_status); } && {
3189          test -z "$ac_c_werror_flag" ||
3190          test ! -s conftest.err
3191        } && test -s conftest.$ac_objext; then
3192   :
3193 else
3194   $as_echo "$as_me: failed program was:" >&5
3195 sed 's/^/| /' conftest.$ac_ext >&5
3196
3197         ac_c_werror_flag=$ac_save_c_werror_flag
3198          CFLAGS="-g"
3199          cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h.  */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h.  */
3205
3206 int
3207 main ()
3208 {
3209
3210   ;
3211   return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3216 case "(($ac_try" in
3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218   *) ac_try_echo=$ac_try;;
3219 esac
3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221 $as_echo "$ac_try_echo") >&5
3222   (eval "$ac_compile") 2>conftest.er1
3223   ac_status=$?
3224   grep -v '^ *+' conftest.er1 >conftest.err
3225   rm -f conftest.er1
3226   cat conftest.err >&5
3227   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228   (exit $ac_status); } && {
3229          test -z "$ac_c_werror_flag" ||
3230          test ! -s conftest.err
3231        } && test -s conftest.$ac_objext; then
3232   ac_cv_prog_cc_g=yes
3233 else
3234   $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3236
3237
3238 fi
3239
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 fi
3242
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247    ac_c_werror_flag=$ac_save_c_werror_flag
3248 fi
3249 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3250 $as_echo "$ac_cv_prog_cc_g" >&6; }
3251 if test "$ac_test_CFLAGS" = set; then
3252   CFLAGS=$ac_save_CFLAGS
3253 elif test $ac_cv_prog_cc_g = yes; then
3254   if test "$GCC" = yes; then
3255     CFLAGS="-g -O2"
3256   else
3257     CFLAGS="-g"
3258   fi
3259 else
3260   if test "$GCC" = yes; then
3261     CFLAGS="-O2"
3262   else
3263     CFLAGS=
3264   fi
3265 fi
3266 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3268 if test "${ac_cv_prog_cc_c89+set}" = set; then
3269   $as_echo_n "(cached) " >&6
3270 else
3271   ac_cv_prog_cc_c89=no
3272 ac_save_CC=$CC
3273 cat >conftest.$ac_ext <<_ACEOF
3274 /* confdefs.h.  */
3275 _ACEOF
3276 cat confdefs.h >>conftest.$ac_ext
3277 cat >>conftest.$ac_ext <<_ACEOF
3278 /* end confdefs.h.  */
3279 #include <stdarg.h>
3280 #include <stdio.h>
3281 #include <sys/types.h>
3282 #include <sys/stat.h>
3283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3284 struct buf { int x; };
3285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3286 static char *e (p, i)
3287      char **p;
3288      int i;
3289 {
3290   return p[i];
3291 }
3292 static char *f (char * (*g) (char **, int), char **p, ...)
3293 {
3294   char *s;
3295   va_list v;
3296   va_start (v,p);
3297   s = g (p, va_arg (v,int));
3298   va_end (v);
3299   return s;
3300 }
3301
3302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3303    function prototypes and stuff, but not '\xHH' hex character constants.
3304    These don't provoke an error unfortunately, instead are silently treated
3305    as 'x'.  The following induces an error, until -std is added to get
3306    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3307    array size at least.  It's necessary to write '\x00'==0 to get something
3308    that's true only with -std.  */
3309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3310
3311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3312    inside strings and character constants.  */
3313 #define FOO(x) 'x'
3314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3315
3316 int test (int i, double x);
3317 struct s1 {int (*f) (int a);};
3318 struct s2 {int (*f) (double a);};
3319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3320 int argc;
3321 char **argv;
3322 int
3323 main ()
3324 {
3325 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3326   ;
3327   return 0;
3328 }
3329 _ACEOF
3330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3331         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 do
3333   CC="$ac_save_CC $ac_arg"
3334   rm -f conftest.$ac_objext
3335 if { (ac_try="$ac_compile"
3336 case "(($ac_try" in
3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338   *) ac_try_echo=$ac_try;;
3339 esac
3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3341 $as_echo "$ac_try_echo") >&5
3342   (eval "$ac_compile") 2>conftest.er1
3343   ac_status=$?
3344   grep -v '^ *+' conftest.er1 >conftest.err
3345   rm -f conftest.er1
3346   cat conftest.err >&5
3347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348   (exit $ac_status); } && {
3349          test -z "$ac_c_werror_flag" ||
3350          test ! -s conftest.err
3351        } && test -s conftest.$ac_objext; then
3352   ac_cv_prog_cc_c89=$ac_arg
3353 else
3354   $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3356
3357
3358 fi
3359
3360 rm -f core conftest.err conftest.$ac_objext
3361   test "x$ac_cv_prog_cc_c89" != "xno" && break
3362 done
3363 rm -f conftest.$ac_ext
3364 CC=$ac_save_CC
3365
3366 fi
3367 # AC_CACHE_VAL
3368 case "x$ac_cv_prog_cc_c89" in
3369   x)
3370     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3371 $as_echo "none needed" >&6; } ;;
3372   xno)
3373     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3374 $as_echo "unsupported" >&6; } ;;
3375   *)
3376     CC="$CC $ac_cv_prog_cc_c89"
3377     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3378 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3379 esac
3380
3381
3382 ac_ext=c
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3387
3388 depcc="$CC"   am_compiler_list=
3389
3390 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3391 $as_echo_n "checking dependency style of $depcc... " >&6; }
3392 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3393   $as_echo_n "(cached) " >&6
3394 else
3395   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3396   # We make a subdir and do the tests there.  Otherwise we can end up
3397   # making bogus files that we don't know about and never remove.  For
3398   # instance it was reported that on HP-UX the gcc test will end up
3399   # making a dummy file named `D' -- because `-MD' means `put the output
3400   # in D'.
3401   mkdir conftest.dir
3402   # Copy depcomp to subdir because otherwise we won't find it if we're
3403   # using a relative directory.
3404   cp "$am_depcomp" conftest.dir
3405   cd conftest.dir
3406   # We will build objects and dependencies in a subdirectory because
3407   # it helps to detect inapplicable dependency modes.  For instance
3408   # both Tru64's cc and ICC support -MD to output dependencies as a
3409   # side effect of compilation, but ICC will put the dependencies in
3410   # the current directory while Tru64 will put them in the object
3411   # directory.
3412   mkdir sub
3413
3414   am_cv_CC_dependencies_compiler_type=none
3415   if test "$am_compiler_list" = ""; then
3416      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3417   fi
3418   am__universal=false
3419   case " $depcc " in #(
3420      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3421      esac
3422
3423   for depmode in $am_compiler_list; do
3424     # Setup a source with many dependencies, because some compilers
3425     # like to wrap large dependency lists on column 80 (with \), and
3426     # we should not choose a depcomp mode which is confused by this.
3427     #
3428     # We need to recreate these files for each test, as the compiler may
3429     # overwrite some of them when testing with obscure command lines.
3430     # This happens at least with the AIX C compiler.
3431     : > sub/conftest.c
3432     for i in 1 2 3 4 5 6; do
3433       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3434       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3435       # Solaris 8's {/usr,}/bin/sh.
3436       touch sub/conftst$i.h
3437     done
3438     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3439
3440     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3441     # mode.  It turns out that the SunPro C++ compiler does not properly
3442     # handle `-M -o', and we need to detect this.  Also, some Intel
3443     # versions had trouble with output in subdirs
3444     am__obj=sub/conftest.${OBJEXT-o}
3445     am__minus_obj="-o $am__obj"
3446     case $depmode in
3447     gcc)
3448       # This depmode causes a compiler race in universal mode.
3449       test "$am__universal" = false || continue
3450       ;;
3451     nosideeffect)
3452       # after this tag, mechanisms are not by side-effect, so they'll
3453       # only be used when explicitly requested
3454       if test "x$enable_dependency_tracking" = xyes; then
3455         continue
3456       else
3457         break
3458       fi
3459       ;;
3460     msvisualcpp | msvcmsys)
3461       # This compiler won't grok `-c -o', but also, the minuso test has
3462       # not run yet.  These depmodes are late enough in the game, and
3463       # so weak that their functioning should not be impacted.
3464       am__obj=conftest.${OBJEXT-o}
3465       am__minus_obj=
3466       ;;
3467     none) break ;;
3468     esac
3469     if depmode=$depmode \
3470        source=sub/conftest.c object=$am__obj \
3471        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3472        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3473          >/dev/null 2>conftest.err &&
3474        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3475        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3476        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3477        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3478       # icc doesn't choke on unknown options, it will just issue warnings
3479       # or remarks (even with -Werror).  So we grep stderr for any message
3480       # that says an option was ignored or not supported.
3481       # When given -MP, icc 7.0 and 7.1 complain thusly:
3482       #   icc: Command line warning: ignoring option '-M'; no argument required
3483       # The diagnosis changed in icc 8.0:
3484       #   icc: Command line remark: option '-MP' not supported
3485       if (grep 'ignoring option' conftest.err ||
3486           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3487         am_cv_CC_dependencies_compiler_type=$depmode
3488         break
3489       fi
3490     fi
3491   done
3492
3493   cd ..
3494   rm -rf conftest.dir
3495 else
3496   am_cv_CC_dependencies_compiler_type=none
3497 fi
3498
3499 fi
3500 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3501 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3502 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3503
3504  if
3505   test "x$enable_dependency_tracking" != xno \
3506   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3507   am__fastdepCC_TRUE=
3508   am__fastdepCC_FALSE='#'
3509 else
3510   am__fastdepCC_TRUE='#'
3511   am__fastdepCC_FALSE=
3512 fi
3513
3514
3515
3516 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3517 $as_echo_n "checking for library containing strerror... " >&6; }
3518 if test "${ac_cv_search_strerror+set}" = set; then
3519   $as_echo_n "(cached) " >&6
3520 else
3521   ac_func_search_save_LIBS=$LIBS
3522 cat >conftest.$ac_ext <<_ACEOF
3523 /* confdefs.h.  */
3524 _ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h.  */
3528
3529 /* Override any GCC internal prototype to avoid an error.
3530    Use char because int might match the return type of a GCC
3531    builtin and then its argument prototype would still apply.  */
3532 #ifdef __cplusplus
3533 extern "C"
3534 #endif
3535 char strerror ();
3536 int
3537 main ()
3538 {
3539 return strerror ();
3540   ;
3541   return 0;
3542 }
3543 _ACEOF
3544 for ac_lib in '' cposix; do
3545   if test -z "$ac_lib"; then
3546     ac_res="none required"
3547   else
3548     ac_res=-l$ac_lib
3549     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3550   fi
3551   rm -f conftest.$ac_objext conftest$ac_exeext
3552 if { (ac_try="$ac_link"
3553 case "(($ac_try" in
3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3555   *) ac_try_echo=$ac_try;;
3556 esac
3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3558 $as_echo "$ac_try_echo") >&5
3559   (eval "$ac_link") 2>conftest.er1
3560   ac_status=$?
3561   grep -v '^ *+' conftest.er1 >conftest.err
3562   rm -f conftest.er1
3563   cat conftest.err >&5
3564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565   (exit $ac_status); } && {
3566          test -z "$ac_c_werror_flag" ||
3567          test ! -s conftest.err
3568        } && test -s conftest$ac_exeext && {
3569          test "$cross_compiling" = yes ||
3570          $as_test_x conftest$ac_exeext
3571        }; then
3572   ac_cv_search_strerror=$ac_res
3573 else
3574   $as_echo "$as_me: failed program was:" >&5
3575 sed 's/^/| /' conftest.$ac_ext >&5
3576
3577
3578 fi
3579
3580 rm -rf conftest.dSYM
3581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3582       conftest$ac_exeext
3583   if test "${ac_cv_search_strerror+set}" = set; then
3584   break
3585 fi
3586 done
3587 if test "${ac_cv_search_strerror+set}" = set; then
3588   :
3589 else
3590   ac_cv_search_strerror=no
3591 fi
3592 rm conftest.$ac_ext
3593 LIBS=$ac_func_search_save_LIBS
3594 fi
3595 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3596 $as_echo "$ac_cv_search_strerror" >&6; }
3597 ac_res=$ac_cv_search_strerror
3598 if test "$ac_res" != no; then
3599   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3600
3601 fi
3602
3603 ac_ext=c
3604 ac_cpp='$CPP $CPPFLAGS'
3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 if test -n "$ac_tool_prefix"; then
3609   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then
3614   $as_echo_n "(cached) " >&6
3615 else
3616   if test -n "$CC"; then
3617   ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3621 do
3622   IFS=$as_save_IFS
3623   test -z "$as_dir" && as_dir=.
3624   for ac_exec_ext in '' $ac_executable_extensions; do
3625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3627     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628     break 2
3629   fi
3630 done
3631 done
3632 IFS=$as_save_IFS
3633
3634 fi
3635 fi
3636 CC=$ac_cv_prog_CC
3637 if test -n "$CC"; then
3638   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3640 else
3641   { $as_echo "$as_me:$LINENO: result: no" >&5
3642 $as_echo "no" >&6; }
3643 fi
3644
3645
3646 fi
3647 if test -z "$ac_cv_prog_CC"; then
3648   ac_ct_CC=$CC
3649   # Extract the first word of "gcc", so it can be a program name with args.
3650 set dummy gcc; ac_word=$2
3651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3654   $as_echo_n "(cached) " >&6
3655 else
3656   if test -n "$ac_ct_CC"; then
3657   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3661 do
3662   IFS=$as_save_IFS
3663   test -z "$as_dir" && as_dir=.
3664   for ac_exec_ext in '' $ac_executable_extensions; do
3665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666     ac_cv_prog_ac_ct_CC="gcc"
3667     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3668     break 2
3669   fi
3670 done
3671 done
3672 IFS=$as_save_IFS
3673
3674 fi
3675 fi
3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3680 else
3681   { $as_echo "$as_me:$LINENO: result: no" >&5
3682 $as_echo "no" >&6; }
3683 fi
3684
3685   if test "x$ac_ct_CC" = x; then
3686     CC=""
3687   else
3688     case $cross_compiling:$ac_tool_warned in
3689 yes:)
3690 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3692 ac_tool_warned=yes ;;
3693 esac
3694     CC=$ac_ct_CC
3695   fi
3696 else
3697   CC="$ac_cv_prog_CC"
3698 fi
3699
3700 if test -z "$CC"; then
3701           if test -n "$ac_tool_prefix"; then
3702     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3703 set dummy ${ac_tool_prefix}cc; ac_word=$2
3704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then
3707   $as_echo_n "(cached) " >&6
3708 else
3709   if test -n "$CC"; then
3710   ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3714 do
3715   IFS=$as_save_IFS
3716   test -z "$as_dir" && as_dir=.
3717   for ac_exec_ext in '' $ac_executable_extensions; do
3718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3719     ac_cv_prog_CC="${ac_tool_prefix}cc"
3720     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3721     break 2
3722   fi
3723 done
3724 done
3725 IFS=$as_save_IFS
3726
3727 fi
3728 fi
3729 CC=$ac_cv_prog_CC
3730 if test -n "$CC"; then
3731   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3733 else
3734   { $as_echo "$as_me:$LINENO: result: no" >&5
3735 $as_echo "no" >&6; }
3736 fi
3737
3738
3739   fi
3740 fi
3741 if test -z "$CC"; then
3742   # Extract the first word of "cc", so it can be a program name with args.
3743 set dummy cc; ac_word=$2
3744 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then
3747   $as_echo_n "(cached) " >&6
3748 else
3749   if test -n "$CC"; then
3750   ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752   ac_prog_rejected=no
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3755 do
3756   IFS=$as_save_IFS
3757   test -z "$as_dir" && as_dir=.
3758   for ac_exec_ext in '' $ac_executable_extensions; do
3759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3761        ac_prog_rejected=yes
3762        continue
3763      fi
3764     ac_cv_prog_CC="cc"
3765     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3766     break 2
3767   fi
3768 done
3769 done
3770 IFS=$as_save_IFS
3771
3772 if test $ac_prog_rejected = yes; then
3773   # We found a bogon in the path, so make sure we never use it.
3774   set dummy $ac_cv_prog_CC
3775   shift
3776   if test $# != 0; then
3777     # We chose a different compiler from the bogus one.
3778     # However, it has the same basename, so the bogon will be chosen
3779     # first if we set CC to just the basename; use the full file name.
3780     shift
3781     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3782   fi
3783 fi
3784 fi
3785 fi
3786 CC=$ac_cv_prog_CC
3787 if test -n "$CC"; then
3788   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3789 $as_echo "$CC" >&6; }
3790 else
3791   { $as_echo "$as_me:$LINENO: result: no" >&5
3792 $as_echo "no" >&6; }
3793 fi
3794
3795
3796 fi
3797 if test -z "$CC"; then
3798   if test -n "$ac_tool_prefix"; then
3799   for ac_prog in cl.exe
3800   do
3801     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if test "${ac_cv_prog_CC+set}" = set; then
3806   $as_echo_n "(cached) " >&6
3807 else
3808   if test -n "$CC"; then
3809   ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3813 do
3814   IFS=$as_save_IFS
3815   test -z "$as_dir" && as_dir=.
3816   for ac_exec_ext in '' $ac_executable_extensions; do
3817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3818     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3819     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820     break 2
3821   fi
3822 done
3823 done
3824 IFS=$as_save_IFS
3825
3826 fi
3827 fi
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830   { $as_echo "$as_me:$LINENO: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833   { $as_echo "$as_me:$LINENO: result: no" >&5
3834 $as_echo "no" >&6; }
3835 fi
3836
3837
3838     test -n "$CC" && break
3839   done
3840 fi
3841 if test -z "$CC"; then
3842   ac_ct_CC=$CC
3843   for ac_prog in cl.exe
3844 do
3845   # Extract the first word of "$ac_prog", so it can be a program name with args.
3846 set dummy $ac_prog; ac_word=$2
3847 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3850   $as_echo_n "(cached) " >&6
3851 else
3852   if test -n "$ac_ct_CC"; then
3853   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3857 do
3858   IFS=$as_save_IFS
3859   test -z "$as_dir" && as_dir=.
3860   for ac_exec_ext in '' $ac_executable_extensions; do
3861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3862     ac_cv_prog_ac_ct_CC="$ac_prog"
3863     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864     break 2
3865   fi
3866 done
3867 done
3868 IFS=$as_save_IFS
3869
3870 fi
3871 fi
3872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3873 if test -n "$ac_ct_CC"; then
3874   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3875 $as_echo "$ac_ct_CC" >&6; }
3876 else
3877   { $as_echo "$as_me:$LINENO: result: no" >&5
3878 $as_echo "no" >&6; }
3879 fi
3880
3881
3882   test -n "$ac_ct_CC" && break
3883 done
3884
3885   if test "x$ac_ct_CC" = x; then
3886     CC=""
3887   else
3888     case $cross_compiling:$ac_tool_warned in
3889 yes:)
3890 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892 ac_tool_warned=yes ;;
3893 esac
3894     CC=$ac_ct_CC
3895   fi
3896 fi
3897
3898 fi
3899
3900
3901 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3904 See \`config.log' for more details." >&5
3905 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3906 See \`config.log' for more details." >&2;}
3907    { (exit 1); exit 1; }; }; }
3908
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3911 set X $ac_compile
3912 ac_compiler=$2
3913 { (ac_try="$ac_compiler --version >&5"
3914 case "(($ac_try" in
3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916   *) ac_try_echo=$ac_try;;
3917 esac
3918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3919 $as_echo "$ac_try_echo") >&5
3920   (eval "$ac_compiler --version >&5") 2>&5
3921   ac_status=$?
3922   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923   (exit $ac_status); }
3924 { (ac_try="$ac_compiler -v >&5"
3925 case "(($ac_try" in
3926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927   *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3930 $as_echo "$ac_try_echo") >&5
3931   (eval "$ac_compiler -v >&5") 2>&5
3932   ac_status=$?
3933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934   (exit $ac_status); }
3935 { (ac_try="$ac_compiler -V >&5"
3936 case "(($ac_try" in
3937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938   *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3941 $as_echo "$ac_try_echo") >&5
3942   (eval "$ac_compiler -V >&5") 2>&5
3943   ac_status=$?
3944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945   (exit $ac_status); }
3946
3947 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3948 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3949 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3950   $as_echo_n "(cached) " >&6
3951 else
3952   cat >conftest.$ac_ext <<_ACEOF
3953 /* confdefs.h.  */
3954 _ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h.  */
3958
3959 int
3960 main ()
3961 {
3962 #ifndef __GNUC__
3963        choke me
3964 #endif
3965
3966   ;
3967   return 0;
3968 }
3969 _ACEOF
3970 rm -f conftest.$ac_objext
3971 if { (ac_try="$ac_compile"
3972 case "(($ac_try" in
3973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3974   *) ac_try_echo=$ac_try;;
3975 esac
3976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3977 $as_echo "$ac_try_echo") >&5
3978   (eval "$ac_compile") 2>conftest.er1
3979   ac_status=$?
3980   grep -v '^ *+' conftest.er1 >conftest.err
3981   rm -f conftest.er1
3982   cat conftest.err >&5
3983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984   (exit $ac_status); } && {
3985          test -z "$ac_c_werror_flag" ||
3986          test ! -s conftest.err
3987        } && test -s conftest.$ac_objext; then
3988   ac_compiler_gnu=yes
3989 else
3990   $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3992
3993         ac_compiler_gnu=no
3994 fi
3995
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3997 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3998
3999 fi
4000 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4001 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4002 if test $ac_compiler_gnu = yes; then
4003   GCC=yes
4004 else
4005   GCC=
4006 fi
4007 ac_test_CFLAGS=${CFLAGS+set}
4008 ac_save_CFLAGS=$CFLAGS
4009 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4010 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4011 if test "${ac_cv_prog_cc_g+set}" = set; then
4012   $as_echo_n "(cached) " >&6
4013 else
4014   ac_save_c_werror_flag=$ac_c_werror_flag
4015    ac_c_werror_flag=yes
4016    ac_cv_prog_cc_g=no
4017    CFLAGS="-g"
4018    cat >conftest.$ac_ext <<_ACEOF
4019 /* confdefs.h.  */
4020 _ACEOF
4021 cat confdefs.h >>conftest.$ac_ext
4022 cat >>conftest.$ac_ext <<_ACEOF
4023 /* end confdefs.h.  */
4024
4025 int
4026 main ()
4027 {
4028
4029   ;
4030   return 0;
4031 }
4032 _ACEOF
4033 rm -f conftest.$ac_objext
4034 if { (ac_try="$ac_compile"
4035 case "(($ac_try" in
4036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037   *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4040 $as_echo "$ac_try_echo") >&5
4041   (eval "$ac_compile") 2>conftest.er1
4042   ac_status=$?
4043   grep -v '^ *+' conftest.er1 >conftest.err
4044   rm -f conftest.er1
4045   cat conftest.err >&5
4046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047   (exit $ac_status); } && {
4048          test -z "$ac_c_werror_flag" ||
4049          test ! -s conftest.err
4050        } && test -s conftest.$ac_objext; then
4051   ac_cv_prog_cc_g=yes
4052 else
4053   $as_echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4055
4056         CFLAGS=""
4057       cat >conftest.$ac_ext <<_ACEOF
4058 /* confdefs.h.  */
4059 _ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h.  */
4063
4064 int
4065 main ()
4066 {
4067
4068   ;
4069   return 0;
4070 }
4071 _ACEOF
4072 rm -f conftest.$ac_objext
4073 if { (ac_try="$ac_compile"
4074 case "(($ac_try" in
4075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076   *) ac_try_echo=$ac_try;;
4077 esac
4078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4079 $as_echo "$ac_try_echo") >&5
4080   (eval "$ac_compile") 2>conftest.er1
4081   ac_status=$?
4082   grep -v '^ *+' conftest.er1 >conftest.err
4083   rm -f conftest.er1
4084   cat conftest.err >&5
4085   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086   (exit $ac_status); } && {
4087          test -z "$ac_c_werror_flag" ||
4088          test ! -s conftest.err
4089        } && test -s conftest.$ac_objext; then
4090   :
4091 else
4092   $as_echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4094
4095         ac_c_werror_flag=$ac_save_c_werror_flag
4096          CFLAGS="-g"
4097          cat >conftest.$ac_ext <<_ACEOF
4098 /* confdefs.h.  */
4099 _ACEOF
4100 cat confdefs.h >>conftest.$ac_ext
4101 cat >>conftest.$ac_ext <<_ACEOF
4102 /* end confdefs.h.  */
4103
4104 int
4105 main ()
4106 {
4107
4108   ;
4109   return 0;
4110 }
4111 _ACEOF
4112 rm -f conftest.$ac_objext
4113 if { (ac_try="$ac_compile"
4114 case "(($ac_try" in
4115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116   *) ac_try_echo=$ac_try;;
4117 esac
4118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4119 $as_echo "$ac_try_echo") >&5
4120   (eval "$ac_compile") 2>conftest.er1
4121   ac_status=$?
4122   grep -v '^ *+' conftest.er1 >conftest.err
4123   rm -f conftest.er1
4124   cat conftest.err >&5
4125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126   (exit $ac_status); } && {
4127          test -z "$ac_c_werror_flag" ||
4128          test ! -s conftest.err
4129        } && test -s conftest.$ac_objext; then
4130   ac_cv_prog_cc_g=yes
4131 else
4132   $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4134
4135
4136 fi
4137
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 fi
4140
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 fi
4143
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145    ac_c_werror_flag=$ac_save_c_werror_flag
4146 fi
4147 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4148 $as_echo "$ac_cv_prog_cc_g" >&6; }
4149 if test "$ac_test_CFLAGS" = set; then
4150   CFLAGS=$ac_save_CFLAGS
4151 elif test $ac_cv_prog_cc_g = yes; then
4152   if test "$GCC" = yes; then
4153     CFLAGS="-g -O2"
4154   else
4155     CFLAGS="-g"
4156   fi
4157 else
4158   if test "$GCC" = yes; then
4159     CFLAGS="-O2"
4160   else
4161     CFLAGS=
4162   fi
4163 fi
4164 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4165 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4166 if test "${ac_cv_prog_cc_c89+set}" = set; then
4167   $as_echo_n "(cached) " >&6
4168 else
4169   ac_cv_prog_cc_c89=no
4170 ac_save_CC=$CC
4171 cat >conftest.$ac_ext <<_ACEOF
4172 /* confdefs.h.  */
4173 _ACEOF
4174 cat confdefs.h >>conftest.$ac_ext
4175 cat >>conftest.$ac_ext <<_ACEOF
4176 /* end confdefs.h.  */
4177 #include <stdarg.h>
4178 #include <stdio.h>
4179 #include <sys/types.h>
4180 #include <sys/stat.h>
4181 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4182 struct buf { int x; };
4183 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4184 static char *e (p, i)
4185      char **p;
4186      int i;
4187 {
4188   return p[i];
4189 }
4190 static char *f (char * (*g) (char **, int), char **p, ...)
4191 {
4192   char *s;
4193   va_list v;
4194   va_start (v,p);
4195   s = g (p, va_arg (v,int));
4196   va_end (v);
4197   return s;
4198 }
4199
4200 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4201    function prototypes and stuff, but not '\xHH' hex character constants.
4202    These don't provoke an error unfortunately, instead are silently treated
4203    as 'x'.  The following induces an error, until -std is added to get
4204    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4205    array size at least.  It's necessary to write '\x00'==0 to get something
4206    that's true only with -std.  */
4207 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4208
4209 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4210    inside strings and character constants.  */
4211 #define FOO(x) 'x'
4212 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4213
4214 int test (int i, double x);
4215 struct s1 {int (*f) (int a);};
4216 struct s2 {int (*f) (double a);};
4217 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4218 int argc;
4219 char **argv;
4220 int
4221 main ()
4222 {
4223 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4224   ;
4225   return 0;
4226 }
4227 _ACEOF
4228 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4229         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4230 do
4231   CC="$ac_save_CC $ac_arg"
4232   rm -f conftest.$ac_objext
4233 if { (ac_try="$ac_compile"
4234 case "(($ac_try" in
4235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236   *) ac_try_echo=$ac_try;;
4237 esac
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240   (eval "$ac_compile") 2>conftest.er1
4241   ac_status=$?
4242   grep -v '^ *+' conftest.er1 >conftest.err
4243   rm -f conftest.er1
4244   cat conftest.err >&5
4245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246   (exit $ac_status); } && {
4247          test -z "$ac_c_werror_flag" ||
4248          test ! -s conftest.err
4249        } && test -s conftest.$ac_objext; then
4250   ac_cv_prog_cc_c89=$ac_arg
4251 else
4252   $as_echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.$ac_ext >&5
4254
4255
4256 fi
4257
4258 rm -f core conftest.err conftest.$ac_objext
4259   test "x$ac_cv_prog_cc_c89" != "xno" && break
4260 done
4261 rm -f conftest.$ac_ext
4262 CC=$ac_save_CC
4263
4264 fi
4265 # AC_CACHE_VAL
4266 case "x$ac_cv_prog_cc_c89" in
4267   x)
4268     { $as_echo "$as_me:$LINENO: result: none needed" >&5
4269 $as_echo "none needed" >&6; } ;;
4270   xno)
4271     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4272 $as_echo "unsupported" >&6; } ;;
4273   *)
4274     CC="$CC $ac_cv_prog_cc_c89"
4275     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4276 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4277 esac
4278
4279
4280 ac_ext=c
4281 ac_cpp='$CPP $CPPFLAGS'
4282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4285
4286 depcc="$CC"   am_compiler_list=
4287
4288 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4291   $as_echo_n "(cached) " >&6
4292 else
4293   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294   # We make a subdir and do the tests there.  Otherwise we can end up
4295   # making bogus files that we don't know about and never remove.  For
4296   # instance it was reported that on HP-UX the gcc test will end up
4297   # making a dummy file named `D' -- because `-MD' means `put the output
4298   # in D'.
4299   mkdir conftest.dir
4300   # Copy depcomp to subdir because otherwise we won't find it if we're
4301   # using a relative directory.
4302   cp "$am_depcomp" conftest.dir
4303   cd conftest.dir
4304   # We will build objects and dependencies in a subdirectory because
4305   # it helps to detect inapplicable dependency modes.  For instance
4306   # both Tru64's cc and ICC support -MD to output dependencies as a
4307   # side effect of compilation, but ICC will put the dependencies in
4308   # the current directory while Tru64 will put them in the object
4309   # directory.
4310   mkdir sub
4311
4312   am_cv_CC_dependencies_compiler_type=none
4313   if test "$am_compiler_list" = ""; then
4314      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4315   fi
4316   am__universal=false
4317   case " $depcc " in #(
4318      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4319      esac
4320
4321   for depmode in $am_compiler_list; do
4322     # Setup a source with many dependencies, because some compilers
4323     # like to wrap large dependency lists on column 80 (with \), and
4324     # we should not choose a depcomp mode which is confused by this.
4325     #
4326     # We need to recreate these files for each test, as the compiler may
4327     # overwrite some of them when testing with obscure command lines.
4328     # This happens at least with the AIX C compiler.
4329     : > sub/conftest.c
4330     for i in 1 2 3 4 5 6; do
4331       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333       # Solaris 8's {/usr,}/bin/sh.
4334       touch sub/conftst$i.h
4335     done
4336     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4337
4338     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339     # mode.  It turns out that the SunPro C++ compiler does not properly
4340     # handle `-M -o', and we need to detect this.  Also, some Intel
4341     # versions had trouble with output in subdirs
4342     am__obj=sub/conftest.${OBJEXT-o}
4343     am__minus_obj="-o $am__obj"
4344     case $depmode in
4345     gcc)
4346       # This depmode causes a compiler race in universal mode.
4347       test "$am__universal" = false || continue
4348       ;;
4349     nosideeffect)
4350       # after this tag, mechanisms are not by side-effect, so they'll
4351       # only be used when explicitly requested
4352       if test "x$enable_dependency_tracking" = xyes; then
4353         continue
4354       else
4355         break
4356       fi
4357       ;;
4358     msvisualcpp | msvcmsys)
4359       # This compiler won't grok `-c -o', but also, the minuso test has
4360       # not run yet.  These depmodes are late enough in the game, and
4361       # so weak that their functioning should not be impacted.
4362       am__obj=conftest.${OBJEXT-o}
4363       am__minus_obj=
4364       ;;
4365     none) break ;;
4366     esac
4367     if depmode=$depmode \
4368        source=sub/conftest.c object=$am__obj \
4369        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371          >/dev/null 2>conftest.err &&
4372        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376       # icc doesn't choke on unknown options, it will just issue warnings
4377       # or remarks (even with -Werror).  So we grep stderr for any message
4378       # that says an option was ignored or not supported.
4379       # When given -MP, icc 7.0 and 7.1 complain thusly:
4380       #   icc: Command line warning: ignoring option '-M'; no argument required
4381       # The diagnosis changed in icc 8.0:
4382       #   icc: Command line remark: option '-MP' not supported
4383       if (grep 'ignoring option' conftest.err ||
4384           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385         am_cv_CC_dependencies_compiler_type=$depmode
4386         break
4387       fi
4388     fi
4389   done
4390
4391   cd ..
4392   rm -rf conftest.dir
4393 else
4394   am_cv_CC_dependencies_compiler_type=none
4395 fi
4396
4397 fi
4398 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4401
4402  if
4403   test "x$enable_dependency_tracking" != xno \
4404   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4405   am__fastdepCC_TRUE=
4406   am__fastdepCC_FALSE='#'
4407 else
4408   am__fastdepCC_TRUE='#'
4409   am__fastdepCC_FALSE=
4410 fi
4411
4412
4413 ac_ext=c
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418 if test -n "$ac_tool_prefix"; then
4419   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4420 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if test "${ac_cv_prog_CC+set}" = set; then
4424   $as_echo_n "(cached) " >&6
4425 else
4426   if test -n "$CC"; then
4427   ac_cv_prog_CC="$CC" # Let the user override the test.
4428 else
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH
4431 do
4432   IFS=$as_save_IFS
4433   test -z "$as_dir" && as_dir=.
4434   for ac_exec_ext in '' $ac_executable_extensions; do
4435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4437     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4438     break 2
4439   fi
4440 done
4441 done
4442 IFS=$as_save_IFS
4443
4444 fi
4445 fi
4446 CC=$ac_cv_prog_CC
4447 if test -n "$CC"; then
4448   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4449 $as_echo "$CC" >&6; }
4450 else
4451   { $as_echo "$as_me:$LINENO: result: no" >&5
4452 $as_echo "no" >&6; }
4453 fi
4454
4455
4456 fi
4457 if test -z "$ac_cv_prog_CC"; then
4458   ac_ct_CC=$CC
4459   # Extract the first word of "gcc", so it can be a program name with args.
4460 set dummy gcc; ac_word=$2
4461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4462 $as_echo_n "checking for $ac_word... " >&6; }
4463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4464   $as_echo_n "(cached) " >&6
4465 else
4466   if test -n "$ac_ct_CC"; then
4467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4468 else
4469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 for as_dir in $PATH
4471 do
4472   IFS=$as_save_IFS
4473   test -z "$as_dir" && as_dir=.
4474   for ac_exec_ext in '' $ac_executable_extensions; do
4475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4476     ac_cv_prog_ac_ct_CC="gcc"
4477     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478     break 2
4479   fi
4480 done
4481 done
4482 IFS=$as_save_IFS
4483
4484 fi
4485 fi
4486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4487 if test -n "$ac_ct_CC"; then
4488   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4489 $as_echo "$ac_ct_CC" >&6; }
4490 else
4491   { $as_echo "$as_me:$LINENO: result: no" >&5
4492 $as_echo "no" >&6; }
4493 fi
4494
4495   if test "x$ac_ct_CC" = x; then
4496     CC=""
4497   else
4498     case $cross_compiling:$ac_tool_warned in
4499 yes:)
4500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned=yes ;;
4503 esac
4504     CC=$ac_ct_CC
4505   fi
4506 else
4507   CC="$ac_cv_prog_CC"
4508 fi
4509
4510 if test -z "$CC"; then
4511           if test -n "$ac_tool_prefix"; then
4512     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4513 set dummy ${ac_tool_prefix}cc; ac_word=$2
4514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if test "${ac_cv_prog_CC+set}" = set; then
4517   $as_echo_n "(cached) " >&6
4518 else
4519   if test -n "$CC"; then
4520   ac_cv_prog_CC="$CC" # Let the user override the test.
4521 else
4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 for as_dir in $PATH
4524 do
4525   IFS=$as_save_IFS
4526   test -z "$as_dir" && as_dir=.
4527   for ac_exec_ext in '' $ac_executable_extensions; do
4528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4529     ac_cv_prog_CC="${ac_tool_prefix}cc"
4530     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531     break 2
4532   fi
4533 done
4534 done
4535 IFS=$as_save_IFS
4536
4537 fi
4538 fi
4539 CC=$ac_cv_prog_CC
4540 if test -n "$CC"; then
4541   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4542 $as_echo "$CC" >&6; }
4543 else
4544   { $as_echo "$as_me:$LINENO: result: no" >&5
4545 $as_echo "no" >&6; }
4546 fi
4547
4548
4549   fi
4550 fi
4551 if test -z "$CC"; then
4552   # Extract the first word of "cc", so it can be a program name with args.
4553 set dummy cc; ac_word=$2
4554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if test "${ac_cv_prog_CC+set}" = set; then
4557   $as_echo_n "(cached) " >&6
4558 else
4559   if test -n "$CC"; then
4560   ac_cv_prog_CC="$CC" # Let the user override the test.
4561 else
4562   ac_prog_rejected=no
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 for as_dir in $PATH
4565 do
4566   IFS=$as_save_IFS
4567   test -z "$as_dir" && as_dir=.
4568   for ac_exec_ext in '' $ac_executable_extensions; do
4569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4571        ac_prog_rejected=yes
4572        continue
4573      fi
4574     ac_cv_prog_CC="cc"
4575     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576     break 2
4577   fi
4578 done
4579 done
4580 IFS=$as_save_IFS
4581
4582 if test $ac_prog_rejected = yes; then
4583   # We found a bogon in the path, so make sure we never use it.
4584   set dummy $ac_cv_prog_CC
4585   shift
4586   if test $# != 0; then
4587     # We chose a different compiler from the bogus one.
4588     # However, it has the same basename, so the bogon will be chosen
4589     # first if we set CC to just the basename; use the full file name.
4590     shift
4591     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4592   fi
4593 fi
4594 fi
4595 fi
4596 CC=$ac_cv_prog_CC
4597 if test -n "$CC"; then
4598   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4599 $as_echo "$CC" >&6; }
4600 else
4601   { $as_echo "$as_me:$LINENO: result: no" >&5
4602 $as_echo "no" >&6; }
4603 fi
4604
4605
4606 fi
4607 if test -z "$CC"; then
4608   if test -n "$ac_tool_prefix"; then
4609   for ac_prog in cl.exe
4610   do
4611     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 $as_echo_n "checking for $ac_word... " >&6; }
4615 if test "${ac_cv_prog_CC+set}" = set; then
4616   $as_echo_n "(cached) " >&6
4617 else
4618   if test -n "$CC"; then
4619   ac_cv_prog_CC="$CC" # Let the user override the test.
4620 else
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH
4623 do
4624   IFS=$as_save_IFS
4625   test -z "$as_dir" && as_dir=.
4626   for ac_exec_ext in '' $ac_executable_extensions; do
4627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4628     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4629     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4630     break 2
4631   fi
4632 done
4633 done
4634 IFS=$as_save_IFS
4635
4636 fi
4637 fi
4638 CC=$ac_cv_prog_CC
4639 if test -n "$CC"; then
4640   { $as_echo "$as_me:$LINENO: result: $CC" >&5
4641 $as_echo "$CC" >&6; }
4642 else
4643   { $as_echo "$as_me:$LINENO: result: no" >&5
4644 $as_echo "no" >&6; }
4645 fi
4646
4647
4648     test -n "$CC" && break
4649   done
4650 fi
4651 if test -z "$CC"; then
4652   ac_ct_CC=$CC
4653   for ac_prog in cl.exe
4654 do
4655   # Extract the first word of "$ac_prog", so it can be a program name with args.
4656 set dummy $ac_prog; ac_word=$2
4657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4660   $as_echo_n "(cached) " >&6
4661 else
4662   if test -n "$ac_ct_CC"; then
4663   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4664 else
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 for as_dir in $PATH
4667 do
4668   IFS=$as_save_IFS
4669   test -z "$as_dir" && as_dir=.
4670   for ac_exec_ext in '' $ac_executable_extensions; do
4671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672     ac_cv_prog_ac_ct_CC="$ac_prog"
4673     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674     break 2
4675   fi
4676 done
4677 done
4678 IFS=$as_save_IFS
4679
4680 fi
4681 fi
4682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4683 if test -n "$ac_ct_CC"; then
4684   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4685 $as_echo "$ac_ct_CC" >&6; }
4686 else
4687   { $as_echo "$as_me:$LINENO: result: no" >&5
4688 $as_echo "no" >&6; }
4689 fi
4690
4691
4692   test -n "$ac_ct_CC" && break
4693 done
4694
4695   if test "x$ac_ct_CC" = x; then
4696     CC=""
4697   else
4698     case $cross_compiling:$ac_tool_warned in
4699 yes:)
4700 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned=yes ;;
4703 esac
4704     CC=$ac_ct_CC
4705   fi
4706 fi
4707
4708 fi
4709
4710
4711 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4713 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4714 See \`config.log' for more details." >&5
4715 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4716 See \`config.log' for more details." >&2;}
4717    { (exit 1); exit 1; }; }; }
4718
4719 # Provide some information about the compiler.
4720 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4721 set X $ac_compile
4722 ac_compiler=$2
4723 { (ac_try="$ac_compiler --version >&5"
4724 case "(($ac_try" in
4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726   *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4729 $as_echo "$ac_try_echo") >&5
4730   (eval "$ac_compiler --version >&5") 2>&5
4731   ac_status=$?
4732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733   (exit $ac_status); }
4734 { (ac_try="$ac_compiler -v >&5"
4735 case "(($ac_try" in
4736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4737   *) ac_try_echo=$ac_try;;
4738 esac
4739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4740 $as_echo "$ac_try_echo") >&5
4741   (eval "$ac_compiler -v >&5") 2>&5
4742   ac_status=$?
4743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744   (exit $ac_status); }
4745 { (ac_try="$ac_compiler -V >&5"
4746 case "(($ac_try" in
4747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748   *) ac_try_echo=$ac_try;;
4749 esac
4750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4751 $as_echo "$ac_try_echo") >&5
4752   (eval "$ac_compiler -V >&5") 2>&5
4753   ac_status=$?
4754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755   (exit $ac_status); }
4756
4757 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4758 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4759 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4760   $as_echo_n "(cached) " >&6
4761 else
4762   cat >conftest.$ac_ext <<_ACEOF
4763 /* confdefs.h.  */
4764 _ACEOF
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h.  */
4768
4769 int
4770 main ()
4771 {
4772 #ifndef __GNUC__
4773        choke me
4774 #endif
4775
4776   ;
4777   return 0;
4778 }
4779 _ACEOF
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4782 case "(($ac_try" in
4783   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784   *) ac_try_echo=$ac_try;;
4785 esac
4786 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4787 $as_echo "$ac_try_echo") >&5
4788   (eval "$ac_compile") 2>conftest.er1
4789   ac_status=$?
4790   grep -v '^ *+' conftest.er1 >conftest.err
4791   rm -f conftest.er1
4792   cat conftest.err >&5
4793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794   (exit $ac_status); } && {
4795          test -z "$ac_c_werror_flag" ||
4796          test ! -s conftest.err
4797        } && test -s conftest.$ac_objext; then
4798   ac_compiler_gnu=yes
4799 else
4800   $as_echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4802
4803         ac_compiler_gnu=no
4804 fi
4805
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4808
4809 fi
4810 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4811 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4812 if test $ac_compiler_gnu = yes; then
4813   GCC=yes
4814 else
4815   GCC=
4816 fi
4817 ac_test_CFLAGS=${CFLAGS+set}
4818 ac_save_CFLAGS=$CFLAGS
4819 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4820 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4821 if test "${ac_cv_prog_cc_g+set}" = set; then
4822   $as_echo_n "(cached) " >&6
4823 else
4824   ac_save_c_werror_flag=$ac_c_werror_flag
4825    ac_c_werror_flag=yes
4826    ac_cv_prog_cc_g=no
4827    CFLAGS="-g"
4828    cat >conftest.$ac_ext <<_ACEOF
4829 /* confdefs.h.  */
4830 _ACEOF
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h.  */
4834
4835 int
4836 main ()
4837 {
4838
4839   ;
4840   return 0;
4841 }
4842 _ACEOF
4843 rm -f conftest.$ac_objext
4844 if { (ac_try="$ac_compile"
4845 case "(($ac_try" in
4846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847   *) ac_try_echo=$ac_try;;
4848 esac
4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4850 $as_echo "$ac_try_echo") >&5
4851   (eval "$ac_compile") 2>conftest.er1
4852   ac_status=$?
4853   grep -v '^ *+' conftest.er1 >conftest.err
4854   rm -f conftest.er1
4855   cat conftest.err >&5
4856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857   (exit $ac_status); } && {
4858          test -z "$ac_c_werror_flag" ||
4859          test ! -s conftest.err
4860        } && test -s conftest.$ac_objext; then
4861   ac_cv_prog_cc_g=yes
4862 else
4863   $as_echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4865
4866         CFLAGS=""
4867       cat >conftest.$ac_ext <<_ACEOF
4868 /* confdefs.h.  */
4869 _ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h.  */
4873
4874 int
4875 main ()
4876 {
4877
4878   ;
4879   return 0;
4880 }
4881 _ACEOF
4882 rm -f conftest.$ac_objext
4883 if { (ac_try="$ac_compile"
4884 case "(($ac_try" in
4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886   *) ac_try_echo=$ac_try;;
4887 esac
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890   (eval "$ac_compile") 2>conftest.er1
4891   ac_status=$?
4892   grep -v '^ *+' conftest.er1 >conftest.err
4893   rm -f conftest.er1
4894   cat conftest.err >&5
4895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896   (exit $ac_status); } && {
4897          test -z "$ac_c_werror_flag" ||
4898          test ! -s conftest.err
4899        } && test -s conftest.$ac_objext; then
4900   :
4901 else
4902   $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4904
4905         ac_c_werror_flag=$ac_save_c_werror_flag
4906          CFLAGS="-g"
4907          cat >conftest.$ac_ext <<_ACEOF
4908 /* confdefs.h.  */
4909 _ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h.  */
4913
4914 int
4915 main ()
4916 {
4917
4918   ;
4919   return 0;
4920 }
4921 _ACEOF
4922 rm -f conftest.$ac_objext
4923 if { (ac_try="$ac_compile"
4924 case "(($ac_try" in
4925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926   *) ac_try_echo=$ac_try;;
4927 esac
4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930   (eval "$ac_compile") 2>conftest.er1
4931   ac_status=$?
4932   grep -v '^ *+' conftest.er1 >conftest.err
4933   rm -f conftest.er1
4934   cat conftest.err >&5
4935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936   (exit $ac_status); } && {
4937          test -z "$ac_c_werror_flag" ||
4938          test ! -s conftest.err
4939        } && test -s conftest.$ac_objext; then
4940   ac_cv_prog_cc_g=yes
4941 else
4942   $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4944
4945
4946 fi
4947
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 fi
4950
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952 fi
4953
4954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4955    ac_c_werror_flag=$ac_save_c_werror_flag
4956 fi
4957 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4958 $as_echo "$ac_cv_prog_cc_g" >&6; }
4959 if test "$ac_test_CFLAGS" = set; then
4960   CFLAGS=$ac_save_CFLAGS
4961 elif test $ac_cv_prog_cc_g = yes; then
4962   if test "$GCC" = yes; then
4963     CFLAGS="-g -O2"
4964   else
4965     CFLAGS="-g"
4966   fi
4967 else
4968   if test "$GCC" = yes; then
4969     CFLAGS="-O2"
4970   else
4971     CFLAGS=
4972   fi
4973 fi
4974 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4975 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4976 if test "${ac_cv_prog_cc_c89+set}" = set; then
4977   $as_echo_n "(cached) " >&6
4978 else
4979   ac_cv_prog_cc_c89=no
4980 ac_save_CC=$CC
4981 cat >conftest.$ac_ext <<_ACEOF
4982 /* confdefs.h.  */
4983 _ACEOF
4984 cat confdefs.h >>conftest.$ac_ext
4985 cat >>conftest.$ac_ext <<_ACEOF
4986 /* end confdefs.h.  */
4987 #include <stdarg.h>
4988 #include <stdio.h>
4989 #include <sys/types.h>
4990 #include <sys/stat.h>
4991 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4992 struct buf { int x; };
4993 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4994 static char *e (p, i)
4995      char **p;
4996      int i;
4997 {
4998   return p[i];
4999 }
5000 static char *f (char * (*g) (char **, int), char **p, ...)
5001 {
5002   char *s;
5003   va_list v;
5004   va_start (v,p);
5005   s = g (p, va_arg (v,int));
5006   va_end (v);
5007   return s;
5008 }
5009
5010 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5011    function prototypes and stuff, but not '\xHH' hex character constants.
5012    These don't provoke an error unfortunately, instead are silently treated
5013    as 'x'.  The following induces an error, until -std is added to get
5014    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5015    array size at least.  It's necessary to write '\x00'==0 to get something
5016    that's true only with -std.  */
5017 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5018
5019 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5020    inside strings and character constants.  */
5021 #define FOO(x) 'x'
5022 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5023
5024 int test (int i, double x);
5025 struct s1 {int (*f) (int a);};
5026 struct s2 {int (*f) (double a);};
5027 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5028 int argc;
5029 char **argv;
5030 int
5031 main ()
5032 {
5033 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5034   ;
5035   return 0;
5036 }
5037 _ACEOF
5038 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5039         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5040 do
5041   CC="$ac_save_CC $ac_arg"
5042   rm -f conftest.$ac_objext
5043 if { (ac_try="$ac_compile"
5044 case "(($ac_try" in
5045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046   *) ac_try_echo=$ac_try;;
5047 esac
5048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5049 $as_echo "$ac_try_echo") >&5
5050   (eval "$ac_compile") 2>conftest.er1
5051   ac_status=$?
5052   grep -v '^ *+' conftest.er1 >conftest.err
5053   rm -f conftest.er1
5054   cat conftest.err >&5
5055   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056   (exit $ac_status); } && {
5057          test -z "$ac_c_werror_flag" ||
5058          test ! -s conftest.err
5059        } && test -s conftest.$ac_objext; then
5060   ac_cv_prog_cc_c89=$ac_arg
5061 else
5062   $as_echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.$ac_ext >&5
5064
5065
5066 fi
5067
5068 rm -f core conftest.err conftest.$ac_objext
5069   test "x$ac_cv_prog_cc_c89" != "xno" && break
5070 done
5071 rm -f conftest.$ac_ext
5072 CC=$ac_save_CC
5073
5074 fi
5075 # AC_CACHE_VAL
5076 case "x$ac_cv_prog_cc_c89" in
5077   x)
5078     { $as_echo "$as_me:$LINENO: result: none needed" >&5
5079 $as_echo "none needed" >&6; } ;;
5080   xno)
5081     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5082 $as_echo "unsupported" >&6; } ;;
5083   *)
5084     CC="$CC $ac_cv_prog_cc_c89"
5085     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5086 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5087 esac
5088
5089
5090 ac_ext=c
5091 ac_cpp='$CPP $CPPFLAGS'
5092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5095
5096 depcc="$CC"   am_compiler_list=
5097
5098 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5099 $as_echo_n "checking dependency style of $depcc... " >&6; }
5100 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5101   $as_echo_n "(cached) " >&6
5102 else
5103   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5104   # We make a subdir and do the tests there.  Otherwise we can end up
5105   # making bogus files that we don't know about and never remove.  For
5106   # instance it was reported that on HP-UX the gcc test will end up
5107   # making a dummy file named `D' -- because `-MD' means `put the output
5108   # in D'.
5109   mkdir conftest.dir
5110   # Copy depcomp to subdir because otherwise we won't find it if we're
5111   # using a relative directory.
5112   cp "$am_depcomp" conftest.dir
5113   cd conftest.dir
5114   # We will build objects and dependencies in a subdirectory because
5115   # it helps to detect inapplicable dependency modes.  For instance
5116   # both Tru64's cc and ICC support -MD to output dependencies as a
5117   # side effect of compilation, but ICC will put the dependencies in
5118   # the current directory while Tru64 will put them in the object
5119   # directory.
5120   mkdir sub
5121
5122   am_cv_CC_dependencies_compiler_type=none
5123   if test "$am_compiler_list" = ""; then
5124      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5125   fi
5126   am__universal=false
5127   case " $depcc " in #(
5128      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5129      esac
5130
5131   for depmode in $am_compiler_list; do
5132     # Setup a source with many dependencies, because some compilers
5133     # like to wrap large dependency lists on column 80 (with \), and
5134     # we should not choose a depcomp mode which is confused by this.
5135     #
5136     # We need to recreate these files for each test, as the compiler may
5137     # overwrite some of them when testing with obscure command lines.
5138     # This happens at least with the AIX C compiler.
5139     : > sub/conftest.c
5140     for i in 1 2 3 4 5 6; do
5141       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5142       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5143       # Solaris 8's {/usr,}/bin/sh.
5144       touch sub/conftst$i.h
5145     done
5146     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5147
5148     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5149     # mode.  It turns out that the SunPro C++ compiler does not properly
5150     # handle `-M -o', and we need to detect this.  Also, some Intel
5151     # versions had trouble with output in subdirs
5152     am__obj=sub/conftest.${OBJEXT-o}
5153     am__minus_obj="-o $am__obj"
5154     case $depmode in
5155     gcc)
5156       # This depmode causes a compiler race in universal mode.
5157       test "$am__universal" = false || continue
5158       ;;
5159     nosideeffect)
5160       # after this tag, mechanisms are not by side-effect, so they'll
5161       # only be used when explicitly requested
5162       if test "x$enable_dependency_tracking" = xyes; then
5163         continue
5164       else
5165         break
5166       fi
5167       ;;
5168     msvisualcpp | msvcmsys)
5169       # This compiler won't grok `-c -o', but also, the minuso test has
5170       # not run yet.  These depmodes are late enough in the game, and
5171       # so weak that their functioning should not be impacted.
5172       am__obj=conftest.${OBJEXT-o}
5173       am__minus_obj=
5174       ;;
5175     none) break ;;
5176     esac
5177     if depmode=$depmode \
5178        source=sub/conftest.c object=$am__obj \
5179        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5180        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5181          >/dev/null 2>conftest.err &&
5182        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5183        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5184        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5185        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5186       # icc doesn't choke on unknown options, it will just issue warnings
5187       # or remarks (even with -Werror).  So we grep stderr for any message
5188       # that says an option was ignored or not supported.
5189       # When given -MP, icc 7.0 and 7.1 complain thusly:
5190       #   icc: Command line warning: ignoring option '-M'; no argument required
5191       # The diagnosis changed in icc 8.0:
5192       #   icc: Command line remark: option '-MP' not supported
5193       if (grep 'ignoring option' conftest.err ||
5194           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5195         am_cv_CC_dependencies_compiler_type=$depmode
5196         break
5197       fi
5198     fi
5199   done
5200
5201   cd ..
5202   rm -rf conftest.dir
5203 else
5204   am_cv_CC_dependencies_compiler_type=none
5205 fi
5206
5207 fi
5208 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5209 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5210 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5211
5212  if
5213   test "x$enable_dependency_tracking" != xno \
5214   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5215   am__fastdepCC_TRUE=
5216   am__fastdepCC_FALSE='#'
5217 else
5218   am__fastdepCC_TRUE='#'
5219   am__fastdepCC_FALSE=
5220 fi
5221
5222
5223
5224 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5225
5226 if test -n "$ac_tool_prefix"; then
5227   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_RANLIB+set}" = set; then
5232   $as_echo_n "(cached) " >&6
5233 else
5234   if test -n "$RANLIB"; then
5235   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5239 do
5240   IFS=$as_save_IFS
5241   test -z "$as_dir" && as_dir=.
5242   for ac_exec_ext in '' $ac_executable_extensions; do
5243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5245     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246     break 2
5247   fi
5248 done
5249 done
5250 IFS=$as_save_IFS
5251
5252 fi
5253 fi
5254 RANLIB=$ac_cv_prog_RANLIB
5255 if test -n "$RANLIB"; then
5256   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5257 $as_echo "$RANLIB" >&6; }
5258 else
5259   { $as_echo "$as_me:$LINENO: result: no" >&5
5260 $as_echo "no" >&6; }
5261 fi
5262
5263
5264 fi
5265 if test -z "$ac_cv_prog_RANLIB"; then
5266   ac_ct_RANLIB=$RANLIB
5267   # Extract the first word of "ranlib", so it can be a program name with args.
5268 set dummy ranlib; ac_word=$2
5269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5272   $as_echo_n "(cached) " >&6
5273 else
5274   if test -n "$ac_ct_RANLIB"; then
5275   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5279 do
5280   IFS=$as_save_IFS
5281   test -z "$as_dir" && as_dir=.
5282   for ac_exec_ext in '' $ac_executable_extensions; do
5283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284     ac_cv_prog_ac_ct_RANLIB="ranlib"
5285     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5286     break 2
5287   fi
5288 done
5289 done
5290 IFS=$as_save_IFS
5291
5292 fi
5293 fi
5294 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5295 if test -n "$ac_ct_RANLIB"; then
5296   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5297 $as_echo "$ac_ct_RANLIB" >&6; }
5298 else
5299   { $as_echo "$as_me:$LINENO: result: no" >&5
5300 $as_echo "no" >&6; }
5301 fi
5302
5303   if test "x$ac_ct_RANLIB" = x; then
5304     RANLIB=":"
5305   else
5306     case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312     RANLIB=$ac_ct_RANLIB
5313   fi
5314 else
5315   RANLIB="$ac_cv_prog_RANLIB"
5316 fi
5317
5318 ac_ext=c
5319 ac_cpp='$CPP $CPPFLAGS'
5320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5323 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5325 # On Suns, sometimes $CPP names a directory.
5326 if test -n "$CPP" && test -d "$CPP"; then
5327   CPP=
5328 fi
5329 if test -z "$CPP"; then
5330   if test "${ac_cv_prog_CPP+set}" = set; then
5331   $as_echo_n "(cached) " >&6
5332 else
5333       # Double quotes because CPP needs to be expanded
5334     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5335     do
5336       ac_preproc_ok=false
5337 for ac_c_preproc_warn_flag in '' yes
5338 do
5339   # Use a header file that comes with gcc, so configuring glibc
5340   # with a fresh cross-compiler works.
5341   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5342   # <limits.h> exists even on freestanding compilers.
5343   # On the NeXT, cc -E runs the code through the compiler's parser,
5344   # not just through cpp. "Syntax error" is here to catch this case.
5345   cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h.  */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h.  */
5351 #ifdef __STDC__
5352 # include <limits.h>
5353 #else
5354 # include <assert.h>
5355 #endif
5356                      Syntax error
5357 _ACEOF
5358 if { (ac_try="$ac_cpp conftest.$ac_ext"
5359 case "(($ac_try" in
5360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361   *) ac_try_echo=$ac_try;;
5362 esac
5363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5364 $as_echo "$ac_try_echo") >&5
5365   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5366   ac_status=$?
5367   grep -v '^ *+' conftest.er1 >conftest.err
5368   rm -f conftest.er1
5369   cat conftest.err >&5
5370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371   (exit $ac_status); } >/dev/null && {
5372          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5373          test ! -s conftest.err
5374        }; then
5375   :
5376 else
5377   $as_echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5379
5380   # Broken: fails on valid input.
5381 continue
5382 fi
5383
5384 rm -f conftest.err conftest.$ac_ext
5385
5386   # OK, works on sane cases.  Now check whether nonexistent headers
5387   # can be detected and how.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <ac_nonexistent.h>
5395 _ACEOF
5396 if { (ac_try="$ac_cpp conftest.$ac_ext"
5397 case "(($ac_try" in
5398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5399   *) ac_try_echo=$ac_try;;
5400 esac
5401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5402 $as_echo "$ac_try_echo") >&5
5403   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5404   ac_status=$?
5405   grep -v '^ *+' conftest.er1 >conftest.err
5406   rm -f conftest.er1
5407   cat conftest.err >&5
5408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409   (exit $ac_status); } >/dev/null && {
5410          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5411          test ! -s conftest.err
5412        }; then
5413   # Broken: success on invalid input.
5414 continue
5415 else
5416   $as_echo "$as_me: failed program was:" >&5
5417 sed 's/^/| /' conftest.$ac_ext >&5
5418
5419   # Passes both tests.
5420 ac_preproc_ok=:
5421 break
5422 fi
5423
5424 rm -f conftest.err conftest.$ac_ext
5425
5426 done
5427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5428 rm -f conftest.err conftest.$ac_ext
5429 if $ac_preproc_ok; then
5430   break
5431 fi
5432
5433     done
5434     ac_cv_prog_CPP=$CPP
5435
5436 fi
5437   CPP=$ac_cv_prog_CPP
5438 else
5439   ac_cv_prog_CPP=$CPP
5440 fi
5441 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5442 $as_echo "$CPP" >&6; }
5443 ac_preproc_ok=false
5444 for ac_c_preproc_warn_flag in '' yes
5445 do
5446   # Use a header file that comes with gcc, so configuring glibc
5447   # with a fresh cross-compiler works.
5448   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5449   # <limits.h> exists even on freestanding compilers.
5450   # On the NeXT, cc -E runs the code through the compiler's parser,
5451   # not just through cpp. "Syntax error" is here to catch this case.
5452   cat >conftest.$ac_ext <<_ACEOF
5453 /* confdefs.h.  */
5454 _ACEOF
5455 cat confdefs.h >>conftest.$ac_ext
5456 cat >>conftest.$ac_ext <<_ACEOF
5457 /* end confdefs.h.  */
5458 #ifdef __STDC__
5459 # include <limits.h>
5460 #else
5461 # include <assert.h>
5462 #endif
5463                      Syntax error
5464 _ACEOF
5465 if { (ac_try="$ac_cpp conftest.$ac_ext"
5466 case "(($ac_try" in
5467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5468   *) ac_try_echo=$ac_try;;
5469 esac
5470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5471 $as_echo "$ac_try_echo") >&5
5472   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5473   ac_status=$?
5474   grep -v '^ *+' conftest.er1 >conftest.err
5475   rm -f conftest.er1
5476   cat conftest.err >&5
5477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478   (exit $ac_status); } >/dev/null && {
5479          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5480          test ! -s conftest.err
5481        }; then
5482   :
5483 else
5484   $as_echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5486
5487   # Broken: fails on valid input.
5488 continue
5489 fi
5490
5491 rm -f conftest.err conftest.$ac_ext
5492
5493   # OK, works on sane cases.  Now check whether nonexistent headers
5494   # can be detected and how.
5495   cat >conftest.$ac_ext <<_ACEOF
5496 /* confdefs.h.  */
5497 _ACEOF
5498 cat confdefs.h >>conftest.$ac_ext
5499 cat >>conftest.$ac_ext <<_ACEOF
5500 /* end confdefs.h.  */
5501 #include <ac_nonexistent.h>
5502 _ACEOF
5503 if { (ac_try="$ac_cpp conftest.$ac_ext"
5504 case "(($ac_try" in
5505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5506   *) ac_try_echo=$ac_try;;
5507 esac
5508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5509 $as_echo "$ac_try_echo") >&5
5510   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5511   ac_status=$?
5512   grep -v '^ *+' conftest.er1 >conftest.err
5513   rm -f conftest.er1
5514   cat conftest.err >&5
5515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516   (exit $ac_status); } >/dev/null && {
5517          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5518          test ! -s conftest.err
5519        }; then
5520   # Broken: success on invalid input.
5521 continue
5522 else
5523   $as_echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5525
5526   # Passes both tests.
5527 ac_preproc_ok=:
5528 break
5529 fi
5530
5531 rm -f conftest.err conftest.$ac_ext
5532
5533 done
5534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5535 rm -f conftest.err conftest.$ac_ext
5536 if $ac_preproc_ok; then
5537   :
5538 else
5539   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5541 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5542 See \`config.log' for more details." >&5
5543 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5544 See \`config.log' for more details." >&2;}
5545    { (exit 1); exit 1; }; }; }
5546 fi
5547
5548 ac_ext=c
5549 ac_cpp='$CPP $CPPFLAGS'
5550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5553
5554
5555 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5556 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5557 if test "${ac_cv_path_GREP+set}" = set; then
5558   $as_echo_n "(cached) " >&6
5559 else
5560   if test -z "$GREP"; then
5561   ac_path_GREP_found=false
5562   # Loop through the user's path and test for each of PROGNAME-LIST
5563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 do
5566   IFS=$as_save_IFS
5567   test -z "$as_dir" && as_dir=.
5568   for ac_prog in grep ggrep; do
5569     for ac_exec_ext in '' $ac_executable_extensions; do
5570       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5571       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5572 # Check for GNU ac_path_GREP and select it if it is found.
5573   # Check for GNU $ac_path_GREP
5574 case `"$ac_path_GREP" --version 2>&1` in
5575 *GNU*)
5576   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 *)
5578   ac_count=0
5579   $as_echo_n 0123456789 >"conftest.in"
5580   while :
5581   do
5582     cat "conftest.in" "conftest.in" >"conftest.tmp"
5583     mv "conftest.tmp" "conftest.in"
5584     cp "conftest.in" "conftest.nl"
5585     $as_echo 'GREP' >> "conftest.nl"
5586     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5587     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5588     ac_count=`expr $ac_count + 1`
5589     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5590       # Best one so far, save it but keep looking for a better one
5591       ac_cv_path_GREP="$ac_path_GREP"
5592       ac_path_GREP_max=$ac_count
5593     fi
5594     # 10*(2^10) chars as input seems more than enough
5595     test $ac_count -gt 10 && break
5596   done
5597   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5598 esac
5599
5600       $ac_path_GREP_found && break 3
5601     done
5602   done
5603 done
5604 IFS=$as_save_IFS
5605   if test -z "$ac_cv_path_GREP"; then
5606     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5607 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5608    { (exit 1); exit 1; }; }
5609   fi
5610 else
5611   ac_cv_path_GREP=$GREP
5612 fi
5613
5614 fi
5615 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5616 $as_echo "$ac_cv_path_GREP" >&6; }
5617  GREP="$ac_cv_path_GREP"
5618
5619
5620 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5621 $as_echo_n "checking for egrep... " >&6; }
5622 if test "${ac_cv_path_EGREP+set}" = set; then
5623   $as_echo_n "(cached) " >&6
5624 else
5625   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5626    then ac_cv_path_EGREP="$GREP -E"
5627    else
5628      if test -z "$EGREP"; then
5629   ac_path_EGREP_found=false
5630   # Loop through the user's path and test for each of PROGNAME-LIST
5631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 do
5634   IFS=$as_save_IFS
5635   test -z "$as_dir" && as_dir=.
5636   for ac_prog in egrep; do
5637     for ac_exec_ext in '' $ac_executable_extensions; do
5638       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5639       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5640 # Check for GNU ac_path_EGREP and select it if it is found.
5641   # Check for GNU $ac_path_EGREP
5642 case `"$ac_path_EGREP" --version 2>&1` in
5643 *GNU*)
5644   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 *)
5646   ac_count=0
5647   $as_echo_n 0123456789 >"conftest.in"
5648   while :
5649   do
5650     cat "conftest.in" "conftest.in" >"conftest.tmp"
5651     mv "conftest.tmp" "conftest.in"
5652     cp "conftest.in" "conftest.nl"
5653     $as_echo 'EGREP' >> "conftest.nl"
5654     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656     ac_count=`expr $ac_count + 1`
5657     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5658       # Best one so far, save it but keep looking for a better one
5659       ac_cv_path_EGREP="$ac_path_EGREP"
5660       ac_path_EGREP_max=$ac_count
5661     fi
5662     # 10*(2^10) chars as input seems more than enough
5663     test $ac_count -gt 10 && break
5664   done
5665   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666 esac
5667
5668       $ac_path_EGREP_found && break 3
5669     done
5670   done
5671 done
5672 IFS=$as_save_IFS
5673   if test -z "$ac_cv_path_EGREP"; then
5674     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5675 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5676    { (exit 1); exit 1; }; }
5677   fi
5678 else
5679   ac_cv_path_EGREP=$EGREP
5680 fi
5681
5682    fi
5683 fi
5684 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5685 $as_echo "$ac_cv_path_EGREP" >&6; }
5686  EGREP="$ac_cv_path_EGREP"
5687
5688
5689 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5690 $as_echo_n "checking for ANSI C header files... " >&6; }
5691 if test "${ac_cv_header_stdc+set}" = set; then
5692   $as_echo_n "(cached) " >&6
5693 else
5694   cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h.  */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h.  */
5700 #include <stdlib.h>
5701 #include <stdarg.h>
5702 #include <string.h>
5703 #include <float.h>
5704
5705 int
5706 main ()
5707 {
5708
5709   ;
5710   return 0;
5711 }
5712 _ACEOF
5713 rm -f conftest.$ac_objext
5714 if { (ac_try="$ac_compile"
5715 case "(($ac_try" in
5716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717   *) ac_try_echo=$ac_try;;
5718 esac
5719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5720 $as_echo "$ac_try_echo") >&5
5721   (eval "$ac_compile") 2>conftest.er1
5722   ac_status=$?
5723   grep -v '^ *+' conftest.er1 >conftest.err
5724   rm -f conftest.er1
5725   cat conftest.err >&5
5726   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727   (exit $ac_status); } && {
5728          test -z "$ac_c_werror_flag" ||
5729          test ! -s conftest.err
5730        } && test -s conftest.$ac_objext; then
5731   ac_cv_header_stdc=yes
5732 else
5733   $as_echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.$ac_ext >&5
5735
5736         ac_cv_header_stdc=no
5737 fi
5738
5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740
5741 if test $ac_cv_header_stdc = yes; then
5742   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5743   cat >conftest.$ac_ext <<_ACEOF
5744 /* confdefs.h.  */
5745 _ACEOF
5746 cat confdefs.h >>conftest.$ac_ext
5747 cat >>conftest.$ac_ext <<_ACEOF
5748 /* end confdefs.h.  */
5749 #include <string.h>
5750
5751 _ACEOF
5752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5753   $EGREP "memchr" >/dev/null 2>&1; then
5754   :
5755 else
5756   ac_cv_header_stdc=no
5757 fi
5758 rm -f conftest*
5759
5760 fi
5761
5762 if test $ac_cv_header_stdc = yes; then
5763   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5764   cat >conftest.$ac_ext <<_ACEOF
5765 /* confdefs.h.  */
5766 _ACEOF
5767 cat confdefs.h >>conftest.$ac_ext
5768 cat >>conftest.$ac_ext <<_ACEOF
5769 /* end confdefs.h.  */
5770 #include <stdlib.h>
5771
5772 _ACEOF
5773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5774   $EGREP "free" >/dev/null 2>&1; then
5775   :
5776 else
5777   ac_cv_header_stdc=no
5778 fi
5779 rm -f conftest*
5780
5781 fi
5782
5783 if test $ac_cv_header_stdc = yes; then
5784   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5785   if test "$cross_compiling" = yes; then
5786   :
5787 else
5788   cat >conftest.$ac_ext <<_ACEOF
5789 /* confdefs.h.  */
5790 _ACEOF
5791 cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h.  */
5794 #include <ctype.h>
5795 #include <stdlib.h>
5796 #if ((' ' & 0x0FF) == 0x020)
5797 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5798 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5799 #else
5800 # define ISLOWER(c) \
5801                    (('a' <= (c) && (c) <= 'i') \
5802                      || ('j' <= (c) && (c) <= 'r') \
5803                      || ('s' <= (c) && (c) <= 'z'))
5804 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5805 #endif
5806
5807 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5808 int
5809 main ()
5810 {
5811   int i;
5812   for (i = 0; i < 256; i++)
5813     if (XOR (islower (i), ISLOWER (i))
5814         || toupper (i) != TOUPPER (i))
5815       return 2;
5816   return 0;
5817 }
5818 _ACEOF
5819 rm -f conftest$ac_exeext
5820 if { (ac_try="$ac_link"
5821 case "(($ac_try" in
5822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823   *) ac_try_echo=$ac_try;;
5824 esac
5825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5826 $as_echo "$ac_try_echo") >&5
5827   (eval "$ac_link") 2>&5
5828   ac_status=$?
5829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5831   { (case "(($ac_try" in
5832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5833   *) ac_try_echo=$ac_try;;
5834 esac
5835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5836 $as_echo "$ac_try_echo") >&5
5837   (eval "$ac_try") 2>&5
5838   ac_status=$?
5839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840   (exit $ac_status); }; }; then
5841   :
5842 else
5843   $as_echo "$as_me: program exited with status $ac_status" >&5
5844 $as_echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.$ac_ext >&5
5846
5847 ( exit $ac_status )
5848 ac_cv_header_stdc=no
5849 fi
5850 rm -rf conftest.dSYM
5851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5852 fi
5853
5854
5855 fi
5856 fi
5857 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5858 $as_echo "$ac_cv_header_stdc" >&6; }
5859 if test $ac_cv_header_stdc = yes; then
5860
5861 cat >>confdefs.h <<\_ACEOF
5862 #define STDC_HEADERS 1
5863 _ACEOF
5864
5865 fi
5866
5867
5868 pkg_modules="gtk+-2.0 >= 2.10.0 libgnomecanvas-2.0 >= 2.4.0 poppler-glib >= 0.5.4"
5869
5870
5871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5872         if test -n "$ac_tool_prefix"; then
5873   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5875 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5878   $as_echo_n "(cached) " >&6
5879 else
5880   case $PKG_CONFIG in
5881   [\\/]* | ?:[\\/]*)
5882   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5883   ;;
5884   *)
5885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH
5887 do
5888   IFS=$as_save_IFS
5889   test -z "$as_dir" && as_dir=.
5890   for ac_exec_ext in '' $ac_executable_extensions; do
5891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5892     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5893     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5894     break 2
5895   fi
5896 done
5897 done
5898 IFS=$as_save_IFS
5899
5900   ;;
5901 esac
5902 fi
5903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5904 if test -n "$PKG_CONFIG"; then
5905   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5906 $as_echo "$PKG_CONFIG" >&6; }
5907 else
5908   { $as_echo "$as_me:$LINENO: result: no" >&5
5909 $as_echo "no" >&6; }
5910 fi
5911
5912
5913 fi
5914 if test -z "$ac_cv_path_PKG_CONFIG"; then
5915   ac_pt_PKG_CONFIG=$PKG_CONFIG
5916   # Extract the first word of "pkg-config", so it can be a program name with args.
5917 set dummy pkg-config; ac_word=$2
5918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5921   $as_echo_n "(cached) " >&6
5922 else
5923   case $ac_pt_PKG_CONFIG in
5924   [\\/]* | ?:[\\/]*)
5925   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5926   ;;
5927   *)
5928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931   IFS=$as_save_IFS
5932   test -z "$as_dir" && as_dir=.
5933   for ac_exec_ext in '' $ac_executable_extensions; do
5934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5936     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5937     break 2
5938   fi
5939 done
5940 done
5941 IFS=$as_save_IFS
5942
5943   ;;
5944 esac
5945 fi
5946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5947 if test -n "$ac_pt_PKG_CONFIG"; then
5948   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5950 else
5951   { $as_echo "$as_me:$LINENO: result: no" >&5
5952 $as_echo "no" >&6; }
5953 fi
5954
5955   if test "x$ac_pt_PKG_CONFIG" = x; then
5956     PKG_CONFIG=""
5957   else
5958     case $cross_compiling:$ac_tool_warned in
5959 yes:)
5960 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5962 ac_tool_warned=yes ;;
5963 esac
5964     PKG_CONFIG=$ac_pt_PKG_CONFIG
5965   fi
5966 else
5967   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5968 fi
5969
5970 fi
5971 if test -n "$PKG_CONFIG"; then
5972         _pkg_min_version=0.9.0
5973         { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5975         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5976                 { $as_echo "$as_me:$LINENO: result: yes" >&5
5977 $as_echo "yes" >&6; }
5978         else
5979                 { $as_echo "$as_me:$LINENO: result: no" >&5
5980 $as_echo "no" >&6; }
5981                 PKG_CONFIG=""
5982         fi
5983
5984 fi
5985
5986 pkg_failed=no
5987 { $as_echo "$as_me:$LINENO: checking for PACKAGE" >&5
5988 $as_echo_n "checking for PACKAGE... " >&6; }
5989
5990 if test -n "$PACKAGE_CFLAGS"; then
5991     pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5992  elif test -n "$PKG_CONFIG"; then
5993     if test -n "$PKG_CONFIG" && \
5994     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5995   ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5996   ac_status=$?
5997   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998   (exit $ac_status); }; then
5999   pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
6000 else
6001   pkg_failed=yes
6002 fi
6003  else
6004     pkg_failed=untried
6005 fi
6006 if test -n "$PACKAGE_LIBS"; then
6007     pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
6008  elif test -n "$PKG_CONFIG"; then
6009     if test -n "$PKG_CONFIG" && \
6010     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
6011   ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
6012   ac_status=$?
6013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014   (exit $ac_status); }; then
6015   pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
6016 else
6017   pkg_failed=yes
6018 fi
6019  else
6020     pkg_failed=untried
6021 fi
6022
6023
6024
6025 if test $pkg_failed = yes; then
6026
6027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6028         _pkg_short_errors_supported=yes
6029 else
6030         _pkg_short_errors_supported=no
6031 fi
6032         if test $_pkg_short_errors_supported = yes; then
6033                 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
6034         else
6035                 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
6036         fi
6037         # Put the nasty error message in config.log where it belongs
6038         echo "$PACKAGE_PKG_ERRORS" >&5
6039
6040         { { $as_echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
6041
6042 $PACKAGE_PKG_ERRORS
6043
6044 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6045 installed software in a non-standard prefix.
6046
6047 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6048 and PACKAGE_LIBS to avoid the need to call pkg-config.
6049 See the pkg-config man page for more details.
6050 " >&5
6051 $as_echo "$as_me: error: Package requirements ($pkg_modules) were not met:
6052
6053 $PACKAGE_PKG_ERRORS
6054
6055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6056 installed software in a non-standard prefix.
6057
6058 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6059 and PACKAGE_LIBS to avoid the need to call pkg-config.
6060 See the pkg-config man page for more details.
6061 " >&2;}
6062    { (exit 1); exit 1; }; }
6063 elif test $pkg_failed = untried; then
6064         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6066 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
6067 is in your PATH or set the PKG_CONFIG environment variable to the full
6068 path to pkg-config.
6069
6070 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6071 and PACKAGE_LIBS to avoid the need to call pkg-config.
6072 See the pkg-config man page for more details.
6073
6074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6075 See \`config.log' for more details." >&5
6076 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
6077 is in your PATH or set the PKG_CONFIG environment variable to the full
6078 path to pkg-config.
6079
6080 Alternatively, you may set the environment variables PACKAGE_CFLAGS
6081 and PACKAGE_LIBS to avoid the need to call pkg-config.
6082 See the pkg-config man page for more details.
6083
6084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6085 See \`config.log' for more details." >&2;}
6086    { (exit 1); exit 1; }; }; }
6087 else
6088         PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
6089         PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
6090         { $as_echo "$as_me:$LINENO: result: yes" >&5
6091 $as_echo "yes" >&6; }
6092         :
6093 fi
6094
6095
6096
6097 GETTEXT_PACKAGE=xournal
6098
6099
6100 cat >>confdefs.h <<_ACEOF
6101 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6102 _ACEOF
6103
6104
6105 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
6106 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6117                   inttypes.h stdint.h unistd.h
6118 do
6119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6120 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6121 $as_echo_n "checking for $ac_header... " >&6; }
6122 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6123   $as_echo_n "(cached) " >&6
6124 else
6125   cat >conftest.$ac_ext <<_ACEOF
6126 /* confdefs.h.  */
6127 _ACEOF
6128 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h.  */
6131 $ac_includes_default
6132
6133 #include <$ac_header>
6134 _ACEOF
6135 rm -f conftest.$ac_objext
6136 if { (ac_try="$ac_compile"
6137 case "(($ac_try" in
6138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6139   *) ac_try_echo=$ac_try;;
6140 esac
6141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6142 $as_echo "$ac_try_echo") >&5
6143   (eval "$ac_compile") 2>conftest.er1
6144   ac_status=$?
6145   grep -v '^ *+' conftest.er1 >conftest.err
6146   rm -f conftest.er1
6147   cat conftest.err >&5
6148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149   (exit $ac_status); } && {
6150          test -z "$ac_c_werror_flag" ||
6151          test ! -s conftest.err
6152        } && test -s conftest.$ac_objext; then
6153   eval "$as_ac_Header=yes"
6154 else
6155   $as_echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6157
6158         eval "$as_ac_Header=no"
6159 fi
6160
6161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6162 fi
6163 ac_res=`eval 'as_val=${'$as_ac_Header'}
6164                  $as_echo "$as_val"'`
6165                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6166 $as_echo "$ac_res" >&6; }
6167 as_val=`eval 'as_val=${'$as_ac_Header'}
6168                  $as_echo "$as_val"'`
6169    if test "x$as_val" = x""yes; then
6170   cat >>confdefs.h <<_ACEOF
6171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6172 _ACEOF
6173
6174 fi
6175
6176 done
6177
6178
6179
6180
6181 for ac_header in locale.h
6182 do
6183 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6185   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6186 $as_echo_n "checking for $ac_header... " >&6; }
6187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6188   $as_echo_n "(cached) " >&6
6189 fi
6190 ac_res=`eval 'as_val=${'$as_ac_Header'}
6191                  $as_echo "$as_val"'`
6192                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6193 $as_echo "$ac_res" >&6; }
6194 else
6195   # Is the header compilable?
6196 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6197 $as_echo_n "checking $ac_header usability... " >&6; }
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h.  */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
6203 /* end confdefs.h.  */
6204 $ac_includes_default
6205 #include <$ac_header>
6206 _ACEOF
6207 rm -f conftest.$ac_objext
6208 if { (ac_try="$ac_compile"
6209 case "(($ac_try" in
6210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211   *) ac_try_echo=$ac_try;;
6212 esac
6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6214 $as_echo "$ac_try_echo") >&5
6215   (eval "$ac_compile") 2>conftest.er1
6216   ac_status=$?
6217   grep -v '^ *+' conftest.er1 >conftest.err
6218   rm -f conftest.er1
6219   cat conftest.err >&5
6220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221   (exit $ac_status); } && {
6222          test -z "$ac_c_werror_flag" ||
6223          test ! -s conftest.err
6224        } && test -s conftest.$ac_objext; then
6225   ac_header_compiler=yes
6226 else
6227   $as_echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6229
6230         ac_header_compiler=no
6231 fi
6232
6233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6234 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6235 $as_echo "$ac_header_compiler" >&6; }
6236
6237 # Is the header present?
6238 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6239 $as_echo_n "checking $ac_header presence... " >&6; }
6240 cat >conftest.$ac_ext <<_ACEOF
6241 /* confdefs.h.  */
6242 _ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h.  */
6246 #include <$ac_header>
6247 _ACEOF
6248 if { (ac_try="$ac_cpp conftest.$ac_ext"
6249 case "(($ac_try" in
6250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251   *) ac_try_echo=$ac_try;;
6252 esac
6253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6254 $as_echo "$ac_try_echo") >&5
6255   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6256   ac_status=$?
6257   grep -v '^ *+' conftest.er1 >conftest.err
6258   rm -f conftest.er1
6259   cat conftest.err >&5
6260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); } >/dev/null && {
6262          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6263          test ! -s conftest.err
6264        }; then
6265   ac_header_preproc=yes
6266 else
6267   $as_echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6269
6270   ac_header_preproc=no
6271 fi
6272
6273 rm -f conftest.err conftest.$ac_ext
6274 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6275 $as_echo "$ac_header_preproc" >&6; }
6276
6277 # So?  What about this header?
6278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6279   yes:no: )
6280     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6281 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6282     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6283 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6284     ac_header_preproc=yes
6285     ;;
6286   no:yes:* )
6287     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6288 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6289     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6290 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6291     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6292 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6293     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6294 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6295     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6296 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6297     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6298 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6299
6300     ;;
6301 esac
6302 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6303 $as_echo_n "checking for $ac_header... " >&6; }
6304 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6305   $as_echo_n "(cached) " >&6
6306 else
6307   eval "$as_ac_Header=\$ac_header_preproc"
6308 fi
6309 ac_res=`eval 'as_val=${'$as_ac_Header'}
6310                  $as_echo "$as_val"'`
6311                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6312 $as_echo "$ac_res" >&6; }
6313
6314 fi
6315 as_val=`eval 'as_val=${'$as_ac_Header'}
6316                  $as_echo "$as_val"'`
6317    if test "x$as_val" = x""yes; then
6318   cat >>confdefs.h <<_ACEOF
6319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6320 _ACEOF
6321
6322 fi
6323
6324 done
6325
6326     if test $ac_cv_header_locale_h = yes; then
6327     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6328 $as_echo_n "checking for LC_MESSAGES... " >&6; }
6329 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6330   $as_echo_n "(cached) " >&6
6331 else
6332   cat >conftest.$ac_ext <<_ACEOF
6333 /* confdefs.h.  */
6334 _ACEOF
6335 cat confdefs.h >>conftest.$ac_ext
6336 cat >>conftest.$ac_ext <<_ACEOF
6337 /* end confdefs.h.  */
6338 #include <locale.h>
6339 int
6340 main ()
6341 {
6342 return LC_MESSAGES
6343   ;
6344   return 0;
6345 }
6346 _ACEOF
6347 rm -f conftest.$ac_objext conftest$ac_exeext
6348 if { (ac_try="$ac_link"
6349 case "(($ac_try" in
6350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351   *) ac_try_echo=$ac_try;;
6352 esac
6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6354 $as_echo "$ac_try_echo") >&5
6355   (eval "$ac_link") 2>conftest.er1
6356   ac_status=$?
6357   grep -v '^ *+' conftest.er1 >conftest.err
6358   rm -f conftest.er1
6359   cat conftest.err >&5
6360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361   (exit $ac_status); } && {
6362          test -z "$ac_c_werror_flag" ||
6363          test ! -s conftest.err
6364        } && test -s conftest$ac_exeext && {
6365          test "$cross_compiling" = yes ||
6366          $as_test_x conftest$ac_exeext
6367        }; then
6368   am_cv_val_LC_MESSAGES=yes
6369 else
6370   $as_echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.$ac_ext >&5
6372
6373         am_cv_val_LC_MESSAGES=no
6374 fi
6375
6376 rm -rf conftest.dSYM
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378       conftest$ac_exeext conftest.$ac_ext
6379 fi
6380 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6381 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6382     if test $am_cv_val_LC_MESSAGES = yes; then
6383
6384 cat >>confdefs.h <<\_ACEOF
6385 #define HAVE_LC_MESSAGES 1
6386 _ACEOF
6387
6388     fi
6389   fi
6390      USE_NLS=yes
6391
6392
6393     gt_cv_have_gettext=no
6394
6395     CATOBJEXT=NONE
6396     XGETTEXT=:
6397     INTLLIBS=
6398
6399     if test "${ac_cv_header_libintl_h+set}" = set; then
6400   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6401 $as_echo_n "checking for libintl.h... " >&6; }
6402 if test "${ac_cv_header_libintl_h+set}" = set; then
6403   $as_echo_n "(cached) " >&6
6404 fi
6405 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6406 $as_echo "$ac_cv_header_libintl_h" >&6; }
6407 else
6408   # Is the header compilable?
6409 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
6410 $as_echo_n "checking libintl.h usability... " >&6; }
6411 cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h.  */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h.  */
6417 $ac_includes_default
6418 #include <libintl.h>
6419 _ACEOF
6420 rm -f conftest.$ac_objext
6421 if { (ac_try="$ac_compile"
6422 case "(($ac_try" in
6423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424   *) ac_try_echo=$ac_try;;
6425 esac
6426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6427 $as_echo "$ac_try_echo") >&5
6428   (eval "$ac_compile") 2>conftest.er1
6429   ac_status=$?
6430   grep -v '^ *+' conftest.er1 >conftest.err
6431   rm -f conftest.er1
6432   cat conftest.err >&5
6433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434   (exit $ac_status); } && {
6435          test -z "$ac_c_werror_flag" ||
6436          test ! -s conftest.err
6437        } && test -s conftest.$ac_objext; then
6438   ac_header_compiler=yes
6439 else
6440   $as_echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6442
6443         ac_header_compiler=no
6444 fi
6445
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6448 $as_echo "$ac_header_compiler" >&6; }
6449
6450 # Is the header present?
6451 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
6452 $as_echo_n "checking libintl.h presence... " >&6; }
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h.  */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h.  */
6459 #include <libintl.h>
6460 _ACEOF
6461 if { (ac_try="$ac_cpp conftest.$ac_ext"
6462 case "(($ac_try" in
6463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464   *) ac_try_echo=$ac_try;;
6465 esac
6466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6467 $as_echo "$ac_try_echo") >&5
6468   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6469   ac_status=$?
6470   grep -v '^ *+' conftest.er1 >conftest.err
6471   rm -f conftest.er1
6472   cat conftest.err >&5
6473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474   (exit $ac_status); } >/dev/null && {
6475          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6476          test ! -s conftest.err
6477        }; then
6478   ac_header_preproc=yes
6479 else
6480   $as_echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6482
6483   ac_header_preproc=no
6484 fi
6485
6486 rm -f conftest.err conftest.$ac_ext
6487 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6488 $as_echo "$ac_header_preproc" >&6; }
6489
6490 # So?  What about this header?
6491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6492   yes:no: )
6493     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6494 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6495     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
6496 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
6497     ac_header_preproc=yes
6498     ;;
6499   no:yes:* )
6500     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6501 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6502     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
6503 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
6504     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6505 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6506     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
6507 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6508     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6509 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
6510     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6511 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6512
6513     ;;
6514 esac
6515 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
6516 $as_echo_n "checking for libintl.h... " >&6; }
6517 if test "${ac_cv_header_libintl_h+set}" = set; then
6518   $as_echo_n "(cached) " >&6
6519 else
6520   ac_cv_header_libintl_h=$ac_header_preproc
6521 fi
6522 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6523 $as_echo "$ac_cv_header_libintl_h" >&6; }
6524
6525 fi
6526 if test "x$ac_cv_header_libintl_h" = x""yes; then
6527   gt_cv_func_dgettext_libintl="no"
6528       libintl_extra_libs=""
6529
6530       #
6531       # First check in libc
6532       #
6533       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6534 $as_echo_n "checking for ngettext in libc... " >&6; }
6535 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6536   $as_echo_n "(cached) " >&6
6537 else
6538   cat >conftest.$ac_ext <<_ACEOF
6539 /* confdefs.h.  */
6540 _ACEOF
6541 cat confdefs.h >>conftest.$ac_ext
6542 cat >>conftest.$ac_ext <<_ACEOF
6543 /* end confdefs.h.  */
6544
6545 #include <libintl.h>
6546
6547 int
6548 main ()
6549 {
6550 return !ngettext ("","", 1)
6551   ;
6552   return 0;
6553 }
6554 _ACEOF
6555 rm -f conftest.$ac_objext conftest$ac_exeext
6556 if { (ac_try="$ac_link"
6557 case "(($ac_try" in
6558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559   *) ac_try_echo=$ac_try;;
6560 esac
6561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6562 $as_echo "$ac_try_echo") >&5
6563   (eval "$ac_link") 2>conftest.er1
6564   ac_status=$?
6565   grep -v '^ *+' conftest.er1 >conftest.err
6566   rm -f conftest.er1
6567   cat conftest.err >&5
6568   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569   (exit $ac_status); } && {
6570          test -z "$ac_c_werror_flag" ||
6571          test ! -s conftest.err
6572        } && test -s conftest$ac_exeext && {
6573          test "$cross_compiling" = yes ||
6574          $as_test_x conftest$ac_exeext
6575        }; then
6576   gt_cv_func_ngettext_libc=yes
6577 else
6578   $as_echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.$ac_ext >&5
6580
6581         gt_cv_func_ngettext_libc=no
6582 fi
6583
6584 rm -rf conftest.dSYM
6585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6586       conftest$ac_exeext conftest.$ac_ext
6587
6588 fi
6589 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6590 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6591
6592       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6593               { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6594 $as_echo_n "checking for dgettext in libc... " >&6; }
6595 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6596   $as_echo_n "(cached) " >&6
6597 else
6598   cat >conftest.$ac_ext <<_ACEOF
6599 /* confdefs.h.  */
6600 _ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h.  */
6604
6605 #include <libintl.h>
6606
6607 int
6608 main ()
6609 {
6610 return !dgettext ("","")
6611   ;
6612   return 0;
6613 }
6614 _ACEOF
6615 rm -f conftest.$ac_objext conftest$ac_exeext
6616 if { (ac_try="$ac_link"
6617 case "(($ac_try" in
6618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6619   *) ac_try_echo=$ac_try;;
6620 esac
6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6622 $as_echo "$ac_try_echo") >&5
6623   (eval "$ac_link") 2>conftest.er1
6624   ac_status=$?
6625   grep -v '^ *+' conftest.er1 >conftest.err
6626   rm -f conftest.er1
6627   cat conftest.err >&5
6628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629   (exit $ac_status); } && {
6630          test -z "$ac_c_werror_flag" ||
6631          test ! -s conftest.err
6632        } && test -s conftest$ac_exeext && {
6633          test "$cross_compiling" = yes ||
6634          $as_test_x conftest$ac_exeext
6635        }; then
6636   gt_cv_func_dgettext_libc=yes
6637 else
6638   $as_echo "$as_me: failed program was:" >&5
6639 sed 's/^/| /' conftest.$ac_ext >&5
6640
6641         gt_cv_func_dgettext_libc=no
6642 fi
6643
6644 rm -rf conftest.dSYM
6645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6646       conftest$ac_exeext conftest.$ac_ext
6647
6648 fi
6649 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6650 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6651       fi
6652
6653       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6654
6655 for ac_func in bind_textdomain_codeset
6656 do
6657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6658 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6659 $as_echo_n "checking for $ac_func... " >&6; }
6660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6661   $as_echo_n "(cached) " >&6
6662 else
6663   cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h.  */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h.  */
6669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6671 #define $ac_func innocuous_$ac_func
6672
6673 /* System header to define __stub macros and hopefully few prototypes,
6674     which can conflict with char $ac_func (); below.
6675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6676     <limits.h> exists even on freestanding compilers.  */
6677
6678 #ifdef __STDC__
6679 # include <limits.h>
6680 #else
6681 # include <assert.h>
6682 #endif
6683
6684 #undef $ac_func
6685
6686 /* Override any GCC internal prototype to avoid an error.
6687    Use char because int might match the return type of a GCC
6688    builtin and then its argument prototype would still apply.  */
6689 #ifdef __cplusplus
6690 extern "C"
6691 #endif
6692 char $ac_func ();
6693 /* The GNU C library defines this for functions which it implements
6694     to always fail with ENOSYS.  Some functions are actually named
6695     something starting with __ and the normal name is an alias.  */
6696 #if defined __stub_$ac_func || defined __stub___$ac_func
6697 choke me
6698 #endif
6699
6700 int
6701 main ()
6702 {
6703 return $ac_func ();
6704   ;
6705   return 0;
6706 }
6707 _ACEOF
6708 rm -f conftest.$ac_objext conftest$ac_exeext
6709 if { (ac_try="$ac_link"
6710 case "(($ac_try" in
6711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712   *) ac_try_echo=$ac_try;;
6713 esac
6714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6715 $as_echo "$ac_try_echo") >&5
6716   (eval "$ac_link") 2>conftest.er1
6717   ac_status=$?
6718   grep -v '^ *+' conftest.er1 >conftest.err
6719   rm -f conftest.er1
6720   cat conftest.err >&5
6721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722   (exit $ac_status); } && {
6723          test -z "$ac_c_werror_flag" ||
6724          test ! -s conftest.err
6725        } && test -s conftest$ac_exeext && {
6726          test "$cross_compiling" = yes ||
6727          $as_test_x conftest$ac_exeext
6728        }; then
6729   eval "$as_ac_var=yes"
6730 else
6731   $as_echo "$as_me: failed program was:" >&5
6732 sed 's/^/| /' conftest.$ac_ext >&5
6733
6734         eval "$as_ac_var=no"
6735 fi
6736
6737 rm -rf conftest.dSYM
6738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6739       conftest$ac_exeext conftest.$ac_ext
6740 fi
6741 ac_res=`eval 'as_val=${'$as_ac_var'}
6742                  $as_echo "$as_val"'`
6743                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6744 $as_echo "$ac_res" >&6; }
6745 as_val=`eval 'as_val=${'$as_ac_var'}
6746                  $as_echo "$as_val"'`
6747    if test "x$as_val" = x""yes; then
6748   cat >>confdefs.h <<_ACEOF
6749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6750 _ACEOF
6751
6752 fi
6753 done
6754
6755       fi
6756
6757       #
6758       # If we don't have everything we want, check in libintl
6759       #
6760       if test "$gt_cv_func_dgettext_libc" != "yes" \
6761          || test "$gt_cv_func_ngettext_libc" != "yes" \
6762          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6763
6764         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6765 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6766 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6767   $as_echo_n "(cached) " >&6
6768 else
6769   ac_check_lib_save_LIBS=$LIBS
6770 LIBS="-lintl  $LIBS"
6771 cat >conftest.$ac_ext <<_ACEOF
6772 /* confdefs.h.  */
6773 _ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h.  */
6777
6778 /* Override any GCC internal prototype to avoid an error.
6779    Use char because int might match the return type of a GCC
6780    builtin and then its argument prototype would still apply.  */
6781 #ifdef __cplusplus
6782 extern "C"
6783 #endif
6784 char bindtextdomain ();
6785 int
6786 main ()
6787 {
6788 return bindtextdomain ();
6789   ;
6790   return 0;
6791 }
6792 _ACEOF
6793 rm -f conftest.$ac_objext conftest$ac_exeext
6794 if { (ac_try="$ac_link"
6795 case "(($ac_try" in
6796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6797   *) ac_try_echo=$ac_try;;
6798 esac
6799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6800 $as_echo "$ac_try_echo") >&5
6801   (eval "$ac_link") 2>conftest.er1
6802   ac_status=$?
6803   grep -v '^ *+' conftest.er1 >conftest.err
6804   rm -f conftest.er1
6805   cat conftest.err >&5
6806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807   (exit $ac_status); } && {
6808          test -z "$ac_c_werror_flag" ||
6809          test ! -s conftest.err
6810        } && test -s conftest$ac_exeext && {
6811          test "$cross_compiling" = yes ||
6812          $as_test_x conftest$ac_exeext
6813        }; then
6814   ac_cv_lib_intl_bindtextdomain=yes
6815 else
6816   $as_echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.$ac_ext >&5
6818
6819         ac_cv_lib_intl_bindtextdomain=no
6820 fi
6821
6822 rm -rf conftest.dSYM
6823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6824       conftest$ac_exeext conftest.$ac_ext
6825 LIBS=$ac_check_lib_save_LIBS
6826 fi
6827 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6828 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6829 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
6830   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6831 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6832 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6833   $as_echo_n "(cached) " >&6
6834 else
6835   ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-lintl  $LIBS"
6837 cat >conftest.$ac_ext <<_ACEOF
6838 /* confdefs.h.  */
6839 _ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h.  */
6843
6844 /* Override any GCC internal prototype to avoid an error.
6845    Use char because int might match the return type of a GCC
6846    builtin and then its argument prototype would still apply.  */
6847 #ifdef __cplusplus
6848 extern "C"
6849 #endif
6850 char ngettext ();
6851 int
6852 main ()
6853 {
6854 return ngettext ();
6855   ;
6856   return 0;
6857 }
6858 _ACEOF
6859 rm -f conftest.$ac_objext conftest$ac_exeext
6860 if { (ac_try="$ac_link"
6861 case "(($ac_try" in
6862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863   *) ac_try_echo=$ac_try;;
6864 esac
6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6866 $as_echo "$ac_try_echo") >&5
6867   (eval "$ac_link") 2>conftest.er1
6868   ac_status=$?
6869   grep -v '^ *+' conftest.er1 >conftest.err
6870   rm -f conftest.er1
6871   cat conftest.err >&5
6872   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873   (exit $ac_status); } && {
6874          test -z "$ac_c_werror_flag" ||
6875          test ! -s conftest.err
6876        } && test -s conftest$ac_exeext && {
6877          test "$cross_compiling" = yes ||
6878          $as_test_x conftest$ac_exeext
6879        }; then
6880   ac_cv_lib_intl_ngettext=yes
6881 else
6882   $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6884
6885         ac_cv_lib_intl_ngettext=no
6886 fi
6887
6888 rm -rf conftest.dSYM
6889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6890       conftest$ac_exeext conftest.$ac_ext
6891 LIBS=$ac_check_lib_save_LIBS
6892 fi
6893 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6894 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6895 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
6896   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6897 $as_echo_n "checking for dgettext in -lintl... " >&6; }
6898 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6899   $as_echo_n "(cached) " >&6
6900 else
6901   ac_check_lib_save_LIBS=$LIBS
6902 LIBS="-lintl  $LIBS"
6903 cat >conftest.$ac_ext <<_ACEOF
6904 /* confdefs.h.  */
6905 _ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h.  */
6909
6910 /* Override any GCC internal prototype to avoid an error.
6911    Use char because int might match the return type of a GCC
6912    builtin and then its argument prototype would still apply.  */
6913 #ifdef __cplusplus
6914 extern "C"
6915 #endif
6916 char dgettext ();
6917 int
6918 main ()
6919 {
6920 return dgettext ();
6921   ;
6922   return 0;
6923 }
6924 _ACEOF
6925 rm -f conftest.$ac_objext conftest$ac_exeext
6926 if { (ac_try="$ac_link"
6927 case "(($ac_try" in
6928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6929   *) ac_try_echo=$ac_try;;
6930 esac
6931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6932 $as_echo "$ac_try_echo") >&5
6933   (eval "$ac_link") 2>conftest.er1
6934   ac_status=$?
6935   grep -v '^ *+' conftest.er1 >conftest.err
6936   rm -f conftest.er1
6937   cat conftest.err >&5
6938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); } && {
6940          test -z "$ac_c_werror_flag" ||
6941          test ! -s conftest.err
6942        } && test -s conftest$ac_exeext && {
6943          test "$cross_compiling" = yes ||
6944          $as_test_x conftest$ac_exeext
6945        }; then
6946   ac_cv_lib_intl_dgettext=yes
6947 else
6948   $as_echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6950
6951         ac_cv_lib_intl_dgettext=no
6952 fi
6953
6954 rm -rf conftest.dSYM
6955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6956       conftest$ac_exeext conftest.$ac_ext
6957 LIBS=$ac_check_lib_save_LIBS
6958 fi
6959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6960 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6961 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
6962   gt_cv_func_dgettext_libintl=yes
6963 fi
6964
6965 fi
6966
6967 fi
6968
6969
6970         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6971           { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6972 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6973           { $as_echo "$as_me:$LINENO: result: " >&5
6974 $as_echo "" >&6; }
6975           { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6976 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6977 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6978   $as_echo_n "(cached) " >&6
6979 else
6980   ac_check_lib_save_LIBS=$LIBS
6981 LIBS="-lintl -liconv $LIBS"
6982 cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h.  */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h.  */
6988
6989 /* Override any GCC internal prototype to avoid an error.
6990    Use char because int might match the return type of a GCC
6991    builtin and then its argument prototype would still apply.  */
6992 #ifdef __cplusplus
6993 extern "C"
6994 #endif
6995 char ngettext ();
6996 int
6997 main ()
6998 {
6999 return ngettext ();
7000   ;
7001   return 0;
7002 }
7003 _ACEOF
7004 rm -f conftest.$ac_objext conftest$ac_exeext
7005 if { (ac_try="$ac_link"
7006 case "(($ac_try" in
7007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008   *) ac_try_echo=$ac_try;;
7009 esac
7010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7011 $as_echo "$ac_try_echo") >&5
7012   (eval "$ac_link") 2>conftest.er1
7013   ac_status=$?
7014   grep -v '^ *+' conftest.er1 >conftest.err
7015   rm -f conftest.er1
7016   cat conftest.err >&5
7017   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018   (exit $ac_status); } && {
7019          test -z "$ac_c_werror_flag" ||
7020          test ! -s conftest.err
7021        } && test -s conftest$ac_exeext && {
7022          test "$cross_compiling" = yes ||
7023          $as_test_x conftest$ac_exeext
7024        }; then
7025   ac_cv_lib_intl_ngettext=yes
7026 else
7027   $as_echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.$ac_ext >&5
7029
7030         ac_cv_lib_intl_ngettext=no
7031 fi
7032
7033 rm -rf conftest.dSYM
7034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035       conftest$ac_exeext conftest.$ac_ext
7036 LIBS=$ac_check_lib_save_LIBS
7037 fi
7038 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
7039 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7040 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
7041   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
7042 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
7043 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7044   $as_echo_n "(cached) " >&6
7045 else
7046   ac_check_lib_save_LIBS=$LIBS
7047 LIBS="-lintl -liconv $LIBS"
7048 cat >conftest.$ac_ext <<_ACEOF
7049 /* confdefs.h.  */
7050 _ACEOF
7051 cat confdefs.h >>conftest.$ac_ext
7052 cat >>conftest.$ac_ext <<_ACEOF
7053 /* end confdefs.h.  */
7054
7055 /* Override any GCC internal prototype to avoid an error.
7056    Use char because int might match the return type of a GCC
7057    builtin and then its argument prototype would still apply.  */
7058 #ifdef __cplusplus
7059 extern "C"
7060 #endif
7061 char dcgettext ();
7062 int
7063 main ()
7064 {
7065 return dcgettext ();
7066   ;
7067   return 0;
7068 }
7069 _ACEOF
7070 rm -f conftest.$ac_objext conftest$ac_exeext
7071 if { (ac_try="$ac_link"
7072 case "(($ac_try" in
7073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7074   *) ac_try_echo=$ac_try;;
7075 esac
7076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7077 $as_echo "$ac_try_echo") >&5
7078   (eval "$ac_link") 2>conftest.er1
7079   ac_status=$?
7080   grep -v '^ *+' conftest.er1 >conftest.err
7081   rm -f conftest.er1
7082   cat conftest.err >&5
7083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084   (exit $ac_status); } && {
7085          test -z "$ac_c_werror_flag" ||
7086          test ! -s conftest.err
7087        } && test -s conftest$ac_exeext && {
7088          test "$cross_compiling" = yes ||
7089          $as_test_x conftest$ac_exeext
7090        }; then
7091   ac_cv_lib_intl_dcgettext=yes
7092 else
7093   $as_echo "$as_me: failed program was:" >&5
7094 sed 's/^/| /' conftest.$ac_ext >&5
7095
7096         ac_cv_lib_intl_dcgettext=no
7097 fi
7098
7099 rm -rf conftest.dSYM
7100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7101       conftest$ac_exeext conftest.$ac_ext
7102 LIBS=$ac_check_lib_save_LIBS
7103 fi
7104 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7105 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7106 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
7107   gt_cv_func_dgettext_libintl=yes
7108                         libintl_extra_libs=-liconv
7109 else
7110   :
7111 fi
7112
7113 else
7114   :
7115 fi
7116
7117         fi
7118
7119         #
7120         # If we found libintl, then check in it for bind_textdomain_codeset();
7121         # we'll prefer libc if neither have bind_textdomain_codeset(),
7122         # and both have dgettext and ngettext
7123         #
7124         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7125           glib_save_LIBS="$LIBS"
7126           LIBS="$LIBS -lintl $libintl_extra_libs"
7127           unset ac_cv_func_bind_textdomain_codeset
7128
7129 for ac_func in bind_textdomain_codeset
7130 do
7131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7132 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7133 $as_echo_n "checking for $ac_func... " >&6; }
7134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7135   $as_echo_n "(cached) " >&6
7136 else
7137   cat >conftest.$ac_ext <<_ACEOF
7138 /* confdefs.h.  */
7139 _ACEOF
7140 cat confdefs.h >>conftest.$ac_ext
7141 cat >>conftest.$ac_ext <<_ACEOF
7142 /* end confdefs.h.  */
7143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7145 #define $ac_func innocuous_$ac_func
7146
7147 /* System header to define __stub macros and hopefully few prototypes,
7148     which can conflict with char $ac_func (); below.
7149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7150     <limits.h> exists even on freestanding compilers.  */
7151
7152 #ifdef __STDC__
7153 # include <limits.h>
7154 #else
7155 # include <assert.h>
7156 #endif
7157
7158 #undef $ac_func
7159
7160 /* Override any GCC internal prototype to avoid an error.
7161    Use char because int might match the return type of a GCC
7162    builtin and then its argument prototype would still apply.  */
7163 #ifdef __cplusplus
7164 extern "C"
7165 #endif
7166 char $ac_func ();
7167 /* The GNU C library defines this for functions which it implements
7168     to always fail with ENOSYS.  Some functions are actually named
7169     something starting with __ and the normal name is an alias.  */
7170 #if defined __stub_$ac_func || defined __stub___$ac_func
7171 choke me
7172 #endif
7173
7174 int
7175 main ()
7176 {
7177 return $ac_func ();
7178   ;
7179   return 0;
7180 }
7181 _ACEOF
7182 rm -f conftest.$ac_objext conftest$ac_exeext
7183 if { (ac_try="$ac_link"
7184 case "(($ac_try" in
7185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7186   *) ac_try_echo=$ac_try;;
7187 esac
7188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7189 $as_echo "$ac_try_echo") >&5
7190   (eval "$ac_link") 2>conftest.er1
7191   ac_status=$?
7192   grep -v '^ *+' conftest.er1 >conftest.err
7193   rm -f conftest.er1
7194   cat conftest.err >&5
7195   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196   (exit $ac_status); } && {
7197          test -z "$ac_c_werror_flag" ||
7198          test ! -s conftest.err
7199        } && test -s conftest$ac_exeext && {
7200          test "$cross_compiling" = yes ||
7201          $as_test_x conftest$ac_exeext
7202        }; then
7203   eval "$as_ac_var=yes"
7204 else
7205   $as_echo "$as_me: failed program was:" >&5
7206 sed 's/^/| /' conftest.$ac_ext >&5
7207
7208         eval "$as_ac_var=no"
7209 fi
7210
7211 rm -rf conftest.dSYM
7212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7213       conftest$ac_exeext conftest.$ac_ext
7214 fi
7215 ac_res=`eval 'as_val=${'$as_ac_var'}
7216                  $as_echo "$as_val"'`
7217                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7218 $as_echo "$ac_res" >&6; }
7219 as_val=`eval 'as_val=${'$as_ac_var'}
7220                  $as_echo "$as_val"'`
7221    if test "x$as_val" = x""yes; then
7222   cat >>confdefs.h <<_ACEOF
7223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7224 _ACEOF
7225
7226 fi
7227 done
7228
7229           LIBS="$glib_save_LIBS"
7230
7231           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7232             gt_cv_func_dgettext_libc=no
7233           else
7234             if test "$gt_cv_func_dgettext_libc" = "yes" \
7235                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7236               gt_cv_func_dgettext_libintl=no
7237             fi
7238           fi
7239         fi
7240       fi
7241
7242       if test "$gt_cv_func_dgettext_libc" = "yes" \
7243         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7244         gt_cv_have_gettext=yes
7245       fi
7246
7247       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7248         INTLLIBS="-lintl $libintl_extra_libs"
7249       fi
7250
7251       if test "$gt_cv_have_gettext" = "yes"; then
7252
7253 cat >>confdefs.h <<\_ACEOF
7254 #define HAVE_GETTEXT 1
7255 _ACEOF
7256
7257         # Extract the first word of "msgfmt", so it can be a program name with args.
7258 set dummy msgfmt; ac_word=$2
7259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if test "${ac_cv_path_MSGFMT+set}" = set; then
7262   $as_echo_n "(cached) " >&6
7263 else
7264   case "$MSGFMT" in
7265   /*)
7266   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7267   ;;
7268   *)
7269   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7270   for ac_dir in $PATH; do
7271     test -z "$ac_dir" && ac_dir=.
7272     if test -f $ac_dir/$ac_word; then
7273       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7274         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7275         break
7276       fi
7277     fi
7278   done
7279   IFS="$ac_save_ifs"
7280   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
7281   ;;
7282 esac
7283 fi
7284 MSGFMT="$ac_cv_path_MSGFMT"
7285 if test "$MSGFMT" != "no"; then
7286   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
7287 $as_echo "$MSGFMT" >&6; }
7288 else
7289   { $as_echo "$as_me:$LINENO: result: no" >&5
7290 $as_echo "no" >&6; }
7291 fi
7292         if test "$MSGFMT" != "no"; then
7293           glib_save_LIBS="$LIBS"
7294           LIBS="$LIBS $INTLLIBS"
7295
7296 for ac_func in dcgettext
7297 do
7298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7299 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7300 $as_echo_n "checking for $ac_func... " >&6; }
7301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7302   $as_echo_n "(cached) " >&6
7303 else
7304   cat >conftest.$ac_ext <<_ACEOF
7305 /* confdefs.h.  */
7306 _ACEOF
7307 cat confdefs.h >>conftest.$ac_ext
7308 cat >>conftest.$ac_ext <<_ACEOF
7309 /* end confdefs.h.  */
7310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7312 #define $ac_func innocuous_$ac_func
7313
7314 /* System header to define __stub macros and hopefully few prototypes,
7315     which can conflict with char $ac_func (); below.
7316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7317     <limits.h> exists even on freestanding compilers.  */
7318
7319 #ifdef __STDC__
7320 # include <limits.h>
7321 #else
7322 # include <assert.h>
7323 #endif
7324
7325 #undef $ac_func
7326
7327 /* Override any GCC internal prototype to avoid an error.
7328    Use char because int might match the return type of a GCC
7329    builtin and then its argument prototype would still apply.  */
7330 #ifdef __cplusplus
7331 extern "C"
7332 #endif
7333 char $ac_func ();
7334 /* The GNU C library defines this for functions which it implements
7335     to always fail with ENOSYS.  Some functions are actually named
7336     something starting with __ and the normal name is an alias.  */
7337 #if defined __stub_$ac_func || defined __stub___$ac_func
7338 choke me
7339 #endif
7340
7341 int
7342 main ()
7343 {
7344 return $ac_func ();
7345   ;
7346   return 0;
7347 }
7348 _ACEOF
7349 rm -f conftest.$ac_objext conftest$ac_exeext
7350 if { (ac_try="$ac_link"
7351 case "(($ac_try" in
7352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7353   *) ac_try_echo=$ac_try;;
7354 esac
7355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7356 $as_echo "$ac_try_echo") >&5
7357   (eval "$ac_link") 2>conftest.er1
7358   ac_status=$?
7359   grep -v '^ *+' conftest.er1 >conftest.err
7360   rm -f conftest.er1
7361   cat conftest.err >&5
7362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363   (exit $ac_status); } && {
7364          test -z "$ac_c_werror_flag" ||
7365          test ! -s conftest.err
7366        } && test -s conftest$ac_exeext && {
7367          test "$cross_compiling" = yes ||
7368          $as_test_x conftest$ac_exeext
7369        }; then
7370   eval "$as_ac_var=yes"
7371 else
7372   $as_echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.$ac_ext >&5
7374
7375         eval "$as_ac_var=no"
7376 fi
7377
7378 rm -rf conftest.dSYM
7379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7380       conftest$ac_exeext conftest.$ac_ext
7381 fi
7382 ac_res=`eval 'as_val=${'$as_ac_var'}
7383                  $as_echo "$as_val"'`
7384                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7385 $as_echo "$ac_res" >&6; }
7386 as_val=`eval 'as_val=${'$as_ac_var'}
7387                  $as_echo "$as_val"'`
7388    if test "x$as_val" = x""yes; then
7389   cat >>confdefs.h <<_ACEOF
7390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7391 _ACEOF
7392
7393 fi
7394 done
7395
7396           MSGFMT_OPTS=
7397           { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7398 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
7399           cat >conftest.foo <<_ACEOF
7400
7401 msgid ""
7402 msgstr ""
7403 "Content-Type: text/plain; charset=UTF-8\n"
7404 "Project-Id-Version: test 1.0\n"
7405 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7406 "Last-Translator: test <foo@bar.xx>\n"
7407 "Language-Team: C <LL@li.org>\n"
7408 "MIME-Version: 1.0\n"
7409 "Content-Transfer-Encoding: 8bit\n"
7410
7411 _ACEOF
7412 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7413   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7414   ac_status=$?
7415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416   (exit $ac_status); }; then
7417   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
7418 $as_echo "yes" >&6; }
7419 else { $as_echo "$as_me:$LINENO: result: no" >&5
7420 $as_echo "no" >&6; }
7421 echo "$as_me: failed input was:" >&5
7422 sed 's/^/| /' conftest.foo >&5
7423 fi
7424
7425           # Extract the first word of "gmsgfmt", so it can be a program name with args.
7426 set dummy gmsgfmt; ac_word=$2
7427 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7430   $as_echo_n "(cached) " >&6
7431 else
7432   case $GMSGFMT in
7433   [\\/]* | ?:[\\/]*)
7434   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7435   ;;
7436   *)
7437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7439 do
7440   IFS=$as_save_IFS
7441   test -z "$as_dir" && as_dir=.
7442   for ac_exec_ext in '' $ac_executable_extensions; do
7443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7445     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7446     break 2
7447   fi
7448 done
7449 done
7450 IFS=$as_save_IFS
7451
7452   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7453   ;;
7454 esac
7455 fi
7456 GMSGFMT=$ac_cv_path_GMSGFMT
7457 if test -n "$GMSGFMT"; then
7458   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7459 $as_echo "$GMSGFMT" >&6; }
7460 else
7461   { $as_echo "$as_me:$LINENO: result: no" >&5
7462 $as_echo "no" >&6; }
7463 fi
7464
7465
7466           # Extract the first word of "xgettext", so it can be a program name with args.
7467 set dummy xgettext; ac_word=$2
7468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7471   $as_echo_n "(cached) " >&6
7472 else
7473   case "$XGETTEXT" in
7474   /*)
7475   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7476   ;;
7477   *)
7478   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7479   for ac_dir in $PATH; do
7480     test -z "$ac_dir" && ac_dir=.
7481     if test -f $ac_dir/$ac_word; then
7482       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7483         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7484         break
7485       fi
7486     fi
7487   done
7488   IFS="$ac_save_ifs"
7489   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7490   ;;
7491 esac
7492 fi
7493 XGETTEXT="$ac_cv_path_XGETTEXT"
7494 if test "$XGETTEXT" != ":"; then
7495   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7496 $as_echo "$XGETTEXT" >&6; }
7497 else
7498   { $as_echo "$as_me:$LINENO: result: no" >&5
7499 $as_echo "no" >&6; }
7500 fi
7501
7502           cat >conftest.$ac_ext <<_ACEOF
7503 /* confdefs.h.  */
7504 _ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h.  */
7508
7509 int
7510 main ()
7511 {
7512 extern int _nl_msg_cat_cntr;
7513                          return _nl_msg_cat_cntr
7514   ;
7515   return 0;
7516 }
7517 _ACEOF
7518 rm -f conftest.$ac_objext conftest$ac_exeext
7519 if { (ac_try="$ac_link"
7520 case "(($ac_try" in
7521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7522   *) ac_try_echo=$ac_try;;
7523 esac
7524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7525 $as_echo "$ac_try_echo") >&5
7526   (eval "$ac_link") 2>conftest.er1
7527   ac_status=$?
7528   grep -v '^ *+' conftest.er1 >conftest.err
7529   rm -f conftest.er1
7530   cat conftest.err >&5
7531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532   (exit $ac_status); } && {
7533          test -z "$ac_c_werror_flag" ||
7534          test ! -s conftest.err
7535        } && test -s conftest$ac_exeext && {
7536          test "$cross_compiling" = yes ||
7537          $as_test_x conftest$ac_exeext
7538        }; then
7539   CATOBJEXT=.gmo
7540              DATADIRNAME=share
7541 else
7542   $as_echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7544
7545         case $host in
7546             *-*-solaris*)
7547                                                                 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7548 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7549 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7550   $as_echo_n "(cached) " >&6
7551 else
7552   cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h.  */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h.  */
7558 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7560 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7561
7562 /* System header to define __stub macros and hopefully few prototypes,
7563     which can conflict with char bind_textdomain_codeset (); below.
7564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7565     <limits.h> exists even on freestanding compilers.  */
7566
7567 #ifdef __STDC__
7568 # include <limits.h>
7569 #else
7570 # include <assert.h>
7571 #endif
7572
7573 #undef bind_textdomain_codeset
7574
7575 /* Override any GCC internal prototype to avoid an error.
7576    Use char because int might match the return type of a GCC
7577    builtin and then its argument prototype would still apply.  */
7578 #ifdef __cplusplus
7579 extern "C"
7580 #endif
7581 char bind_textdomain_codeset ();
7582 /* The GNU C library defines this for functions which it implements
7583     to always fail with ENOSYS.  Some functions are actually named
7584     something starting with __ and the normal name is an alias.  */
7585 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7586 choke me
7587 #endif
7588
7589 int
7590 main ()
7591 {
7592 return bind_textdomain_codeset ();
7593   ;
7594   return 0;
7595 }
7596 _ACEOF
7597 rm -f conftest.$ac_objext conftest$ac_exeext
7598 if { (ac_try="$ac_link"
7599 case "(($ac_try" in
7600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7601   *) ac_try_echo=$ac_try;;
7602 esac
7603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7604 $as_echo "$ac_try_echo") >&5
7605   (eval "$ac_link") 2>conftest.er1
7606   ac_status=$?
7607   grep -v '^ *+' conftest.er1 >conftest.err
7608   rm -f conftest.er1
7609   cat conftest.err >&5
7610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611   (exit $ac_status); } && {
7612          test -z "$ac_c_werror_flag" ||
7613          test ! -s conftest.err
7614        } && test -s conftest$ac_exeext && {
7615          test "$cross_compiling" = yes ||
7616          $as_test_x conftest$ac_exeext
7617        }; then
7618   ac_cv_func_bind_textdomain_codeset=yes
7619 else
7620   $as_echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.$ac_ext >&5
7622
7623         ac_cv_func_bind_textdomain_codeset=no
7624 fi
7625
7626 rm -rf conftest.dSYM
7627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7628       conftest$ac_exeext conftest.$ac_ext
7629 fi
7630 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7631 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7632 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7633   CATOBJEXT=.gmo
7634                DATADIRNAME=share
7635 else
7636   CATOBJEXT=.mo
7637                DATADIRNAME=lib
7638 fi
7639
7640             ;;
7641             *)
7642             CATOBJEXT=.mo
7643             DATADIRNAME=lib
7644             ;;
7645             esac
7646 fi
7647
7648 rm -rf conftest.dSYM
7649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7650       conftest$ac_exeext conftest.$ac_ext
7651           LIBS="$glib_save_LIBS"
7652           INSTOBJEXT=.mo
7653         else
7654           gt_cv_have_gettext=no
7655         fi
7656       fi
7657
7658 fi
7659
7660
7661
7662     if test "$gt_cv_have_gettext" = "yes" ; then
7663
7664 cat >>confdefs.h <<\_ACEOF
7665 #define ENABLE_NLS 1
7666 _ACEOF
7667
7668     fi
7669
7670         if test "$XGETTEXT" != ":"; then
7671                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7672         : ;
7673       else
7674         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7675 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
7676         XGETTEXT=":"
7677       fi
7678     fi
7679
7680     # We need to process the po/ directory.
7681     POSUB=po
7682
7683     ac_config_commands="$ac_config_commands default-1"
7684
7685
7686                 for lang in $ALL_LINGUAS; do
7687       GMOFILES="$GMOFILES $lang.gmo"
7688       POFILES="$POFILES $lang.po"
7689     done
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703    if test "$gt_cv_have_gettext" = "yes"; then
7704      if test "x$ALL_LINGUAS" = "x"; then
7705        LINGUAS=
7706      else
7707        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7708 $as_echo_n "checking for catalogs to be installed... " >&6; }
7709        NEW_LINGUAS=
7710        for presentlang in $ALL_LINGUAS; do
7711          useit=no
7712          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7713            desiredlanguages="$LINGUAS"
7714          else
7715            desiredlanguages="$ALL_LINGUAS"
7716          fi
7717          for desiredlang in $desiredlanguages; do
7718            # Use the presentlang catalog if desiredlang is
7719            #   a. equal to presentlang, or
7720            #   b. a variant of presentlang (because in this case,
7721            #      presentlang can be used as a fallback for messages
7722            #      which are not translated in the desiredlang catalog).
7723            case "$desiredlang" in
7724              "$presentlang"*) useit=yes;;
7725            esac
7726          done
7727          if test $useit = yes; then
7728            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7729          fi
7730        done
7731        LINGUAS=$NEW_LINGUAS
7732        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
7733 $as_echo "$LINGUAS" >&6; }
7734      fi
7735
7736           if test -n "$LINGUAS"; then
7737        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7738      fi
7739    fi
7740
7741             MKINSTALLDIRS=
7742    if test -n "$ac_aux_dir"; then
7743      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7744    fi
7745    if test -z "$MKINSTALLDIRS"; then
7746      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7747    fi
7748
7749
7750          test -d po || mkdir po
7751    if test "x$srcdir" != "x."; then
7752      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
7753        posrcprefix="$srcdir/"
7754      else
7755        posrcprefix="../$srcdir/"
7756      fi
7757    else
7758      posrcprefix="../"
7759    fi
7760    rm -f po/POTFILES
7761    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7762         < $srcdir/po/POTFILES.in > po/POTFILES
7763
7764
7765 ac_config_files="$ac_config_files Makefile src/Makefile src/ttsubset/Makefile po/Makefile.in"
7766
7767 cat >confcache <<\_ACEOF
7768 # This file is a shell script that caches the results of configure
7769 # tests run on this system so they can be shared between configure
7770 # scripts and configure runs, see configure's option --config-cache.
7771 # It is not useful on other systems.  If it contains results you don't
7772 # want to keep, you may remove or edit it.
7773 #
7774 # config.status only pays attention to the cache file if you give it
7775 # the --recheck option to rerun configure.
7776 #
7777 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7778 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7779 # following values.
7780
7781 _ACEOF
7782
7783 # The following way of writing the cache mishandles newlines in values,
7784 # but we know of no workaround that is simple, portable, and efficient.
7785 # So, we kill variables containing newlines.
7786 # Ultrix sh set writes to stderr and can't be redirected directly,
7787 # and sets the high bit in the cache file unless we assign to the vars.
7788 (
7789   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7790     eval ac_val=\$$ac_var
7791     case $ac_val in #(
7792     *${as_nl}*)
7793       case $ac_var in #(
7794       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7795 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7796       esac
7797       case $ac_var in #(
7798       _ | IFS | as_nl) ;; #(
7799       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7800       *) $as_unset $ac_var ;;
7801       esac ;;
7802     esac
7803   done
7804
7805   (set) 2>&1 |
7806     case $as_nl`(ac_space=' '; set) 2>&1` in #(
7807     *${as_nl}ac_space=\ *)
7808       # `set' does not quote correctly, so add quotes (double-quote
7809       # substitution turns \\\\ into \\, and sed turns \\ into \).
7810       sed -n \
7811         "s/'/'\\\\''/g;
7812           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7813       ;; #(
7814     *)
7815       # `set' quotes correctly as required by POSIX, so do not add quotes.
7816       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7817       ;;
7818     esac |
7819     sort
7820 ) |
7821   sed '
7822      /^ac_cv_env_/b end
7823      t clear
7824      :clear
7825      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7826      t end
7827      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7828      :end' >>confcache
7829 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7830   if test -w "$cache_file"; then
7831     test "x$cache_file" != "x/dev/null" &&
7832       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7833 $as_echo "$as_me: updating cache $cache_file" >&6;}
7834     cat confcache >$cache_file
7835   else
7836     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7837 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7838   fi
7839 fi
7840 rm -f confcache
7841
7842 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7843 # Let make expand exec_prefix.
7844 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7845
7846 DEFS=-DHAVE_CONFIG_H
7847
7848 ac_libobjs=
7849 ac_ltlibobjs=
7850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7851   # 1. Remove the extension, and $U if already installed.
7852   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7853   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7854   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
7855   #    will be set to the directory where LIBOBJS objects are built.
7856   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7857   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7858 done
7859 LIBOBJS=$ac_libobjs
7860
7861 LTLIBOBJS=$ac_ltlibobjs
7862
7863
7864  if test -n "$EXEEXT"; then
7865   am__EXEEXT_TRUE=
7866   am__EXEEXT_FALSE='#'
7867 else
7868   am__EXEEXT_TRUE='#'
7869   am__EXEEXT_FALSE=
7870 fi
7871
7872 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7873   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7874 Usually this means the macro was only invoked conditionally." >&5
7875 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7876 Usually this means the macro was only invoked conditionally." >&2;}
7877    { (exit 1); exit 1; }; }
7878 fi
7879 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7880   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7881 Usually this means the macro was only invoked conditionally." >&5
7882 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
7883 Usually this means the macro was only invoked conditionally." >&2;}
7884    { (exit 1); exit 1; }; }
7885 fi
7886 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7887   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7888 Usually this means the macro was only invoked conditionally." >&5
7889 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7890 Usually this means the macro was only invoked conditionally." >&2;}
7891    { (exit 1); exit 1; }; }
7892 fi
7893 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7894   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7895 Usually this means the macro was only invoked conditionally." >&5
7896 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7897 Usually this means the macro was only invoked conditionally." >&2;}
7898    { (exit 1); exit 1; }; }
7899 fi
7900 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7901   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7902 Usually this means the macro was only invoked conditionally." >&5
7903 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7904 Usually this means the macro was only invoked conditionally." >&2;}
7905    { (exit 1); exit 1; }; }
7906 fi
7907
7908 : ${CONFIG_STATUS=./config.status}
7909 ac_write_fail=0
7910 ac_clean_files_save=$ac_clean_files
7911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7912 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7913 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7914 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7915 #! $SHELL
7916 # Generated by $as_me.
7917 # Run this file to recreate the current configuration.
7918 # Compiler output produced by configure, useful for debugging
7919 # configure, is in config.log if it exists.
7920
7921 debug=false
7922 ac_cs_recheck=false
7923 ac_cs_silent=false
7924 SHELL=\${CONFIG_SHELL-$SHELL}
7925 _ACEOF
7926
7927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7928 ## --------------------- ##
7929 ## M4sh Initialization.  ##
7930 ## --------------------- ##
7931
7932 # Be more Bourne compatible
7933 DUALCASE=1; export DUALCASE # for MKS sh
7934 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7935   emulate sh
7936   NULLCMD=:
7937   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7938   # is contrary to our usage.  Disable this feature.
7939   alias -g '${1+"$@"}'='"$@"'
7940   setopt NO_GLOB_SUBST
7941 else
7942   case `(set -o) 2>/dev/null` in
7943   *posix*) set -o posix ;;
7944 esac
7945
7946 fi
7947
7948
7949
7950
7951 # PATH needs CR
7952 # Avoid depending upon Character Ranges.
7953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7956 as_cr_digits='0123456789'
7957 as_cr_alnum=$as_cr_Letters$as_cr_digits
7958
7959 as_nl='
7960 '
7961 export as_nl
7962 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7963 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7964 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7965 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7966 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7967   as_echo='printf %s\n'
7968   as_echo_n='printf %s'
7969 else
7970   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7971     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7972     as_echo_n='/usr/ucb/echo -n'
7973   else
7974     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7975     as_echo_n_body='eval
7976       arg=$1;
7977       case $arg in
7978       *"$as_nl"*)
7979         expr "X$arg" : "X\\(.*\\)$as_nl";
7980         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7981       esac;
7982       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7983     '
7984     export as_echo_n_body
7985     as_echo_n='sh -c $as_echo_n_body as_echo'
7986   fi
7987   export as_echo_body
7988   as_echo='sh -c $as_echo_body as_echo'
7989 fi
7990
7991 # The user is always right.
7992 if test "${PATH_SEPARATOR+set}" != set; then
7993   PATH_SEPARATOR=:
7994   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7995     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7996       PATH_SEPARATOR=';'
7997   }
7998 fi
7999
8000 # Support unset when possible.
8001 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8002   as_unset=unset
8003 else
8004   as_unset=false
8005 fi
8006
8007
8008 # IFS
8009 # We need space, tab and new line, in precisely that order.  Quoting is
8010 # there to prevent editors from complaining about space-tab.
8011 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8012 # splitting by setting IFS to empty value.)
8013 IFS=" ""        $as_nl"
8014
8015 # Find who we are.  Look in the path if we contain no directory separator.
8016 case $0 in
8017   *[\\/]* ) as_myself=$0 ;;
8018   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8020 do
8021   IFS=$as_save_IFS
8022   test -z "$as_dir" && as_dir=.
8023   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8024 done
8025 IFS=$as_save_IFS
8026
8027      ;;
8028 esac
8029 # We did not find ourselves, most probably we were run as `sh COMMAND'
8030 # in which case we are not to be found in the path.
8031 if test "x$as_myself" = x; then
8032   as_myself=$0
8033 fi
8034 if test ! -f "$as_myself"; then
8035   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8036   { (exit 1); exit 1; }
8037 fi
8038
8039 # Work around bugs in pre-3.0 UWIN ksh.
8040 for as_var in ENV MAIL MAILPATH
8041 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8042 done
8043 PS1='$ '
8044 PS2='> '
8045 PS4='+ '
8046
8047 # NLS nuisances.
8048 LC_ALL=C
8049 export LC_ALL
8050 LANGUAGE=C
8051 export LANGUAGE
8052
8053 # Required to use basename.
8054 if expr a : '\(a\)' >/dev/null 2>&1 &&
8055    test "X`expr 00001 : '.*\(...\)'`" = X001; then
8056   as_expr=expr
8057 else
8058   as_expr=false
8059 fi
8060
8061 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8062   as_basename=basename
8063 else
8064   as_basename=false
8065 fi
8066
8067
8068 # Name of the executable.
8069 as_me=`$as_basename -- "$0" ||
8070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8071          X"$0" : 'X\(//\)$' \| \
8072          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8073 $as_echo X/"$0" |
8074     sed '/^.*\/\([^/][^/]*\)\/*$/{
8075             s//\1/
8076             q
8077           }
8078           /^X\/\(\/\/\)$/{
8079             s//\1/
8080             q
8081           }
8082           /^X\/\(\/\).*/{
8083             s//\1/
8084             q
8085           }
8086           s/.*/./; q'`
8087
8088 # CDPATH.
8089 $as_unset CDPATH
8090
8091
8092
8093   as_lineno_1=$LINENO
8094   as_lineno_2=$LINENO
8095   test "x$as_lineno_1" != "x$as_lineno_2" &&
8096   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8097
8098   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8099   # uniformly replaced by the line number.  The first 'sed' inserts a
8100   # line-number line after each line using $LINENO; the second 'sed'
8101   # does the real work.  The second script uses 'N' to pair each
8102   # line-number line with the line containing $LINENO, and appends
8103   # trailing '-' during substitution so that $LINENO is not a special
8104   # case at line end.
8105   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8106   # scripts with optimization help from Paolo Bonzini.  Blame Lee
8107   # E. McMahon (1931-1989) for sed's syntax.  :-)
8108   sed -n '
8109     p
8110     /[$]LINENO/=
8111   ' <$as_myself |
8112     sed '
8113       s/[$]LINENO.*/&-/
8114       t lineno
8115       b
8116       :lineno
8117       N
8118       :loop
8119       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8120       t loop
8121       s/-\n.*//
8122     ' >$as_me.lineno &&
8123   chmod +x "$as_me.lineno" ||
8124     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8125    { (exit 1); exit 1; }; }
8126
8127   # Don't try to exec as it changes $[0], causing all sort of problems
8128   # (the dirname of $[0] is not the place where we might find the
8129   # original and so on.  Autoconf is especially sensitive to this).
8130   . "./$as_me.lineno"
8131   # Exit status is that of the last command.
8132   exit
8133 }
8134
8135
8136 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8137   as_dirname=dirname
8138 else
8139   as_dirname=false
8140 fi
8141
8142 ECHO_C= ECHO_N= ECHO_T=
8143 case `echo -n x` in
8144 -n*)
8145   case `echo 'x\c'` in
8146   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
8147   *)   ECHO_C='\c';;
8148   esac;;
8149 *)
8150   ECHO_N='-n';;
8151 esac
8152 if expr a : '\(a\)' >/dev/null 2>&1 &&
8153    test "X`expr 00001 : '.*\(...\)'`" = X001; then
8154   as_expr=expr
8155 else
8156   as_expr=false
8157 fi
8158
8159 rm -f conf$$ conf$$.exe conf$$.file
8160 if test -d conf$$.dir; then
8161   rm -f conf$$.dir/conf$$.file
8162 else
8163   rm -f conf$$.dir
8164   mkdir conf$$.dir 2>/dev/null
8165 fi
8166 if (echo >conf$$.file) 2>/dev/null; then
8167   if ln -s conf$$.file conf$$ 2>/dev/null; then
8168     as_ln_s='ln -s'
8169     # ... but there are two gotchas:
8170     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8171     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8172     # In both cases, we have to default to `cp -p'.
8173     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8174       as_ln_s='cp -p'
8175   elif ln conf$$.file conf$$ 2>/dev/null; then
8176     as_ln_s=ln
8177   else
8178     as_ln_s='cp -p'
8179   fi
8180 else
8181   as_ln_s='cp -p'
8182 fi
8183 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8184 rmdir conf$$.dir 2>/dev/null
8185
8186 if mkdir -p . 2>/dev/null; then
8187   as_mkdir_p=:
8188 else
8189   test -d ./-p && rmdir ./-p
8190   as_mkdir_p=false
8191 fi
8192
8193 if test -x / >/dev/null 2>&1; then
8194   as_test_x='test -x'
8195 else
8196   if ls -dL / >/dev/null 2>&1; then
8197     as_ls_L_option=L
8198   else
8199     as_ls_L_option=
8200   fi
8201   as_test_x='
8202     eval sh -c '\''
8203       if test -d "$1"; then
8204         test -d "$1/.";
8205       else
8206         case $1 in
8207         -*)set "./$1";;
8208         esac;
8209         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8210         ???[sx]*):;;*)false;;esac;fi
8211     '\'' sh
8212   '
8213 fi
8214 as_executable_p=$as_test_x
8215
8216 # Sed expression to map a string onto a valid CPP name.
8217 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8218
8219 # Sed expression to map a string onto a valid variable name.
8220 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8221
8222
8223 exec 6>&1
8224
8225 # Save the log message, to keep $[0] and so on meaningful, and to
8226 # report actual input values of CONFIG_FILES etc. instead of their
8227 # values after options handling.
8228 ac_log="
8229 This file was extended by $as_me, which was
8230 generated by GNU Autoconf 2.63.  Invocation command line was
8231
8232   CONFIG_FILES    = $CONFIG_FILES
8233   CONFIG_HEADERS  = $CONFIG_HEADERS
8234   CONFIG_LINKS    = $CONFIG_LINKS
8235   CONFIG_COMMANDS = $CONFIG_COMMANDS
8236   $ $0 $@
8237
8238 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8239 "
8240
8241 _ACEOF
8242
8243 case $ac_config_files in *"
8244 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8245 esac
8246
8247 case $ac_config_headers in *"
8248 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
8249 esac
8250
8251
8252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8253 # Files that config.status was made for.
8254 config_files="$ac_config_files"
8255 config_headers="$ac_config_headers"
8256 config_commands="$ac_config_commands"
8257
8258 _ACEOF
8259
8260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8261 ac_cs_usage="\
8262 \`$as_me' instantiates files from templates according to the
8263 current configuration.
8264
8265 Usage: $0 [OPTION]... [FILE]...
8266
8267   -h, --help       print this help, then exit
8268   -V, --version    print version number and configuration settings, then exit
8269   -q, --quiet, --silent
8270                    do not print progress messages
8271   -d, --debug      don't remove temporary files
8272       --recheck    update $as_me by reconfiguring in the same conditions
8273       --file=FILE[:TEMPLATE]
8274                    instantiate the configuration file FILE
8275       --header=FILE[:TEMPLATE]
8276                    instantiate the configuration header FILE
8277
8278 Configuration files:
8279 $config_files
8280
8281 Configuration headers:
8282 $config_headers
8283
8284 Configuration commands:
8285 $config_commands
8286
8287 Report bugs to <bug-autoconf@gnu.org>."
8288
8289 _ACEOF
8290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8291 ac_cs_version="\\
8292 config.status
8293 configured by $0, generated by GNU Autoconf 2.63,
8294   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8295
8296 Copyright (C) 2008 Free Software Foundation, Inc.
8297 This config.status script is free software; the Free Software Foundation
8298 gives unlimited permission to copy, distribute and modify it."
8299
8300 ac_pwd='$ac_pwd'
8301 srcdir='$srcdir'
8302 INSTALL='$INSTALL'
8303 MKDIR_P='$MKDIR_P'
8304 AWK='$AWK'
8305 test -n "\$AWK" || AWK=awk
8306 _ACEOF
8307
8308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8309 # The default lists apply if the user does not specify any file.
8310 ac_need_defaults=:
8311 while test $# != 0
8312 do
8313   case $1 in
8314   --*=*)
8315     ac_option=`expr "X$1" : 'X\([^=]*\)='`
8316     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8317     ac_shift=:
8318     ;;
8319   *)
8320     ac_option=$1
8321     ac_optarg=$2
8322     ac_shift=shift
8323     ;;
8324   esac
8325
8326   case $ac_option in
8327   # Handling of the options.
8328   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8329     ac_cs_recheck=: ;;
8330   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8331     $as_echo "$ac_cs_version"; exit ;;
8332   --debug | --debu | --deb | --de | --d | -d )
8333     debug=: ;;
8334   --file | --fil | --fi | --f )
8335     $ac_shift
8336     case $ac_optarg in
8337     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8338     esac
8339     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8340     ac_need_defaults=false;;
8341   --header | --heade | --head | --hea )
8342     $ac_shift
8343     case $ac_optarg in
8344     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8345     esac
8346     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
8347     ac_need_defaults=false;;
8348   --he | --h)
8349     # Conflict between --help and --header
8350     { $as_echo "$as_me: error: ambiguous option: $1
8351 Try \`$0 --help' for more information." >&2
8352    { (exit 1); exit 1; }; };;
8353   --help | --hel | -h )
8354     $as_echo "$ac_cs_usage"; exit ;;
8355   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8356   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8357     ac_cs_silent=: ;;
8358
8359   # This is an error.
8360   -*) { $as_echo "$as_me: error: unrecognized option: $1
8361 Try \`$0 --help' for more information." >&2
8362    { (exit 1); exit 1; }; } ;;
8363
8364   *) ac_config_targets="$ac_config_targets $1"
8365      ac_need_defaults=false ;;
8366
8367   esac
8368   shift
8369 done
8370
8371 ac_configure_extra_args=
8372
8373 if $ac_cs_silent; then
8374   exec 6>/dev/null
8375   ac_configure_extra_args="$ac_configure_extra_args --silent"
8376 fi
8377
8378 _ACEOF
8379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8380 if \$ac_cs_recheck; then
8381   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8382   shift
8383   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8384   CONFIG_SHELL='$SHELL'
8385   export CONFIG_SHELL
8386   exec "\$@"
8387 fi
8388
8389 _ACEOF
8390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8391 exec 5>>config.log
8392 {
8393   echo
8394   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8395 ## Running $as_me. ##
8396 _ASBOX
8397   $as_echo "$ac_log"
8398 } >&5
8399
8400 _ACEOF
8401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8402 #
8403 # INIT-COMMANDS
8404 #
8405 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8406
8407
8408 _ACEOF
8409
8410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8411
8412 # Handling of arguments.
8413 for ac_config_target in $ac_config_targets
8414 do
8415   case $ac_config_target in
8416     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8417     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8418     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
8419     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8420     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8421     "src/ttsubset/Makefile") CONFIG_FILES="$CONFIG_FILES src/ttsubset/Makefile" ;;
8422     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
8423
8424   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8425 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8426    { (exit 1); exit 1; }; };;
8427   esac
8428 done
8429
8430
8431 # If the user did not use the arguments to specify the items to instantiate,
8432 # then the envvar interface is used.  Set only those that are not.
8433 # We use the long form for the default assignment because of an extremely
8434 # bizarre bug on SunOS 4.1.3.
8435 if $ac_need_defaults; then
8436   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8437   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8438   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8439 fi
8440
8441 # Have a temporary directory for convenience.  Make it in the build tree
8442 # simply because there is no reason against having it here, and in addition,
8443 # creating and moving files from /tmp can sometimes cause problems.
8444 # Hook for its removal unless debugging.
8445 # Note that there is a small window in which the directory will not be cleaned:
8446 # after its creation but before its name has been assigned to `$tmp'.
8447 $debug ||
8448 {
8449   tmp=
8450   trap 'exit_status=$?
8451   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8452 ' 0
8453   trap '{ (exit 1); exit 1; }' 1 2 13 15
8454 }
8455 # Create a (secure) tmp directory for tmp files.
8456
8457 {
8458   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8459   test -n "$tmp" && test -d "$tmp"
8460 }  ||
8461 {
8462   tmp=./conf$$-$RANDOM
8463   (umask 077 && mkdir "$tmp")
8464 } ||
8465 {
8466    $as_echo "$as_me: cannot create a temporary directory in ." >&2
8467    { (exit 1); exit 1; }
8468 }
8469
8470 # Set up the scripts for CONFIG_FILES section.
8471 # No need to generate them if there are no CONFIG_FILES.
8472 # This happens for instance with `./config.status config.h'.
8473 if test -n "$CONFIG_FILES"; then
8474
8475
8476 ac_cr='\r'
8477 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8478 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8479   ac_cs_awk_cr='\\r'
8480 else
8481   ac_cs_awk_cr=$ac_cr
8482 fi
8483
8484 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8485 _ACEOF
8486
8487
8488 {
8489   echo "cat >conf$$subs.awk <<_ACEOF" &&
8490   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8491   echo "_ACEOF"
8492 } >conf$$subs.sh ||
8493   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8494 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8495    { (exit 1); exit 1; }; }
8496 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8497 ac_delim='%!_!# '
8498 for ac_last_try in false false false false false :; do
8499   . ./conf$$subs.sh ||
8500     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8501 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8502    { (exit 1); exit 1; }; }
8503
8504   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8505   if test $ac_delim_n = $ac_delim_num; then
8506     break
8507   elif $ac_last_try; then
8508     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8509 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8510    { (exit 1); exit 1; }; }
8511   else
8512     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8513   fi
8514 done
8515 rm -f conf$$subs.sh
8516
8517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8518 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8519 _ACEOF
8520 sed -n '
8521 h
8522 s/^/S["/; s/!.*/"]=/
8523 p
8524 g
8525 s/^[^!]*!//
8526 :repl
8527 t repl
8528 s/'"$ac_delim"'$//
8529 t delim
8530 :nl
8531 h
8532 s/\(.\{148\}\).*/\1/
8533 t more1
8534 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8535 p
8536 n
8537 b repl
8538 :more1
8539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8540 p
8541 g
8542 s/.\{148\}//
8543 t nl
8544 :delim
8545 h
8546 s/\(.\{148\}\).*/\1/
8547 t more2
8548 s/["\\]/\\&/g; s/^/"/; s/$/"/
8549 p
8550 b
8551 :more2
8552 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8553 p
8554 g
8555 s/.\{148\}//
8556 t delim
8557 ' <conf$$subs.awk | sed '
8558 /^[^""]/{
8559   N
8560   s/\n//
8561 }
8562 ' >>$CONFIG_STATUS || ac_write_fail=1
8563 rm -f conf$$subs.awk
8564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8565 _ACAWK
8566 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8567   for (key in S) S_is_set[key] = 1
8568   FS = "\a"
8569
8570 }
8571 {
8572   line = $ 0
8573   nfields = split(line, field, "@")
8574   substed = 0
8575   len = length(field[1])
8576   for (i = 2; i < nfields; i++) {
8577     key = field[i]
8578     keylen = length(key)
8579     if (S_is_set[key]) {
8580       value = S[key]
8581       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8582       len += length(value) + length(field[++i])
8583       substed = 1
8584     } else
8585       len += 1 + keylen
8586   }
8587
8588   print line
8589 }
8590
8591 _ACAWK
8592 _ACEOF
8593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8594 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8595   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8596 else
8597   cat
8598 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8599   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8600 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8601    { (exit 1); exit 1; }; }
8602 _ACEOF
8603
8604 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8605 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8606 # trailing colons and then remove the whole line if VPATH becomes empty
8607 # (actually we leave an empty line to preserve line numbers).
8608 if test "x$srcdir" = x.; then
8609   ac_vpsub='/^[  ]*VPATH[        ]*=/{
8610 s/:*\$(srcdir):*/:/
8611 s/:*\${srcdir}:*/:/
8612 s/:*@srcdir@:*/:/
8613 s/^\([^=]*=[     ]*\):*/\1/
8614 s/:*$//
8615 s/^[^=]*=[       ]*$//
8616 }'
8617 fi
8618
8619 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8620 fi # test -n "$CONFIG_FILES"
8621
8622 # Set up the scripts for CONFIG_HEADERS section.
8623 # No need to generate them if there are no CONFIG_HEADERS.
8624 # This happens for instance with `./config.status Makefile'.
8625 if test -n "$CONFIG_HEADERS"; then
8626 cat >"$tmp/defines.awk" <<\_ACAWK ||
8627 BEGIN {
8628 _ACEOF
8629
8630 # Transform confdefs.h into an awk script `defines.awk', embedded as
8631 # here-document in config.status, that substitutes the proper values into
8632 # config.h.in to produce config.h.
8633
8634 # Create a delimiter string that does not exist in confdefs.h, to ease
8635 # handling of long lines.
8636 ac_delim='%!_!# '
8637 for ac_last_try in false false :; do
8638   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
8639   if test -z "$ac_t"; then
8640     break
8641   elif $ac_last_try; then
8642     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
8643 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
8644    { (exit 1); exit 1; }; }
8645   else
8646     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8647   fi
8648 done
8649
8650 # For the awk script, D is an array of macro values keyed by name,
8651 # likewise P contains macro parameters if any.  Preserve backslash
8652 # newline sequences.
8653
8654 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8655 sed -n '
8656 s/.\{148\}/&'"$ac_delim"'/g
8657 t rset
8658 :rset
8659 s/^[     ]*#[    ]*define[       ][      ]*/ /
8660 t def
8661 d
8662 :def
8663 s/\\$//
8664 t bsnl
8665 s/["\\]/\\&/g
8666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8667 D["\1"]=" \3"/p
8668 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
8669 d
8670 :bsnl
8671 s/["\\]/\\&/g
8672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
8673 D["\1"]=" \3\\\\\\n"\\/p
8674 t cont
8675 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8676 t cont
8677 d
8678 :cont
8679 n
8680 s/.\{148\}/&'"$ac_delim"'/g
8681 t clear
8682 :clear
8683 s/\\$//
8684 t bsnlc
8685 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8686 d
8687 :bsnlc
8688 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8689 b cont
8690 ' <confdefs.h | sed '
8691 s/'"$ac_delim"'/"\\\
8692 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8693
8694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8695   for (key in D) D_is_set[key] = 1
8696   FS = "\a"
8697 }
8698 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8699   line = \$ 0
8700   split(line, arg, " ")
8701   if (arg[1] == "#") {
8702     defundef = arg[2]
8703     mac1 = arg[3]
8704   } else {
8705     defundef = substr(arg[1], 2)
8706     mac1 = arg[2]
8707   }
8708   split(mac1, mac2, "(") #)
8709   macro = mac2[1]
8710   prefix = substr(line, 1, index(line, defundef) - 1)
8711   if (D_is_set[macro]) {
8712     # Preserve the white space surrounding the "#".
8713     print prefix "define", macro P[macro] D[macro]
8714     next
8715   } else {
8716     # Replace #undef with comments.  This is necessary, for example,
8717     # in the case of _POSIX_SOURCE, which is predefined and required
8718     # on some systems where configure will not decide to define it.
8719     if (defundef == "undef") {
8720       print "/*", prefix defundef, macro, "*/"
8721       next
8722     }
8723   }
8724 }
8725 { print }
8726 _ACAWK
8727 _ACEOF
8728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8729   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
8730 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
8731    { (exit 1); exit 1; }; }
8732 fi # test -n "$CONFIG_HEADERS"
8733
8734
8735 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
8736 shift
8737 for ac_tag
8738 do
8739   case $ac_tag in
8740   :[FHLC]) ac_mode=$ac_tag; continue;;
8741   esac
8742   case $ac_mode$ac_tag in
8743   :[FHL]*:*);;
8744   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8745 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8746    { (exit 1); exit 1; }; };;
8747   :[FH]-) ac_tag=-:-;;
8748   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8749   esac
8750   ac_save_IFS=$IFS
8751   IFS=:
8752   set x $ac_tag
8753   IFS=$ac_save_IFS
8754   shift
8755   ac_file=$1
8756   shift
8757
8758   case $ac_mode in
8759   :L) ac_source=$1;;
8760   :[FH])
8761     ac_file_inputs=
8762     for ac_f
8763     do
8764       case $ac_f in
8765       -) ac_f="$tmp/stdin";;
8766       *) # Look for the file first in the build tree, then in the source tree
8767          # (if the path is not absolute).  The absolute path cannot be DOS-style,
8768          # because $ac_f cannot contain `:'.
8769          test -f "$ac_f" ||
8770            case $ac_f in
8771            [\\/$]*) false;;
8772            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8773            esac ||
8774            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8775 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8776    { (exit 1); exit 1; }; };;
8777       esac
8778       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8779       ac_file_inputs="$ac_file_inputs '$ac_f'"
8780     done
8781
8782     # Let's still pretend it is `configure' which instantiates (i.e., don't
8783     # use $as_me), people would be surprised to read:
8784     #    /* config.h.  Generated by config.status.  */
8785     configure_input='Generated from '`
8786           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8787         `' by configure.'
8788     if test x"$ac_file" != x-; then
8789       configure_input="$ac_file.  $configure_input"
8790       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8791 $as_echo "$as_me: creating $ac_file" >&6;}
8792     fi
8793     # Neutralize special characters interpreted by sed in replacement strings.
8794     case $configure_input in #(
8795     *\&* | *\|* | *\\* )
8796        ac_sed_conf_input=`$as_echo "$configure_input" |
8797        sed 's/[\\\\&|]/\\\\&/g'`;; #(
8798     *) ac_sed_conf_input=$configure_input;;
8799     esac
8800
8801     case $ac_tag in
8802     *:-:* | *:-) cat >"$tmp/stdin" \
8803       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8804 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8805    { (exit 1); exit 1; }; } ;;
8806     esac
8807     ;;
8808   esac
8809
8810   ac_dir=`$as_dirname -- "$ac_file" ||
8811 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8812          X"$ac_file" : 'X\(//\)[^/]' \| \
8813          X"$ac_file" : 'X\(//\)$' \| \
8814          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8815 $as_echo X"$ac_file" |
8816     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8817             s//\1/
8818             q
8819           }
8820           /^X\(\/\/\)[^/].*/{
8821             s//\1/
8822             q
8823           }
8824           /^X\(\/\/\)$/{
8825             s//\1/
8826             q
8827           }
8828           /^X\(\/\).*/{
8829             s//\1/
8830             q
8831           }
8832           s/.*/./; q'`
8833   { as_dir="$ac_dir"
8834   case $as_dir in #(
8835   -*) as_dir=./$as_dir;;
8836   esac
8837   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8838     as_dirs=
8839     while :; do
8840       case $as_dir in #(
8841       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8842       *) as_qdir=$as_dir;;
8843       esac
8844       as_dirs="'$as_qdir' $as_dirs"
8845       as_dir=`$as_dirname -- "$as_dir" ||
8846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8847          X"$as_dir" : 'X\(//\)[^/]' \| \
8848          X"$as_dir" : 'X\(//\)$' \| \
8849          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8850 $as_echo X"$as_dir" |
8851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8852             s//\1/
8853             q
8854           }
8855           /^X\(\/\/\)[^/].*/{
8856             s//\1/
8857             q
8858           }
8859           /^X\(\/\/\)$/{
8860             s//\1/
8861             q
8862           }
8863           /^X\(\/\).*/{
8864             s//\1/
8865             q
8866           }
8867           s/.*/./; q'`
8868       test -d "$as_dir" && break
8869     done
8870     test -z "$as_dirs" || eval "mkdir $as_dirs"
8871   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8872 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8873    { (exit 1); exit 1; }; }; }
8874   ac_builddir=.
8875
8876 case "$ac_dir" in
8877 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8878 *)
8879   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8880   # A ".." for each directory in $ac_dir_suffix.
8881   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8882   case $ac_top_builddir_sub in
8883   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8884   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8885   esac ;;
8886 esac
8887 ac_abs_top_builddir=$ac_pwd
8888 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8889 # for backward compatibility:
8890 ac_top_builddir=$ac_top_build_prefix
8891
8892 case $srcdir in
8893   .)  # We are building in place.
8894     ac_srcdir=.
8895     ac_top_srcdir=$ac_top_builddir_sub
8896     ac_abs_top_srcdir=$ac_pwd ;;
8897   [\\/]* | ?:[\\/]* )  # Absolute name.
8898     ac_srcdir=$srcdir$ac_dir_suffix;
8899     ac_top_srcdir=$srcdir
8900     ac_abs_top_srcdir=$srcdir ;;
8901   *) # Relative name.
8902     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8903     ac_top_srcdir=$ac_top_build_prefix$srcdir
8904     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8905 esac
8906 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8907
8908
8909   case $ac_mode in
8910   :F)
8911   #
8912   # CONFIG_FILE
8913   #
8914
8915   case $INSTALL in
8916   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8917   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8918   esac
8919   ac_MKDIR_P=$MKDIR_P
8920   case $MKDIR_P in
8921   [\\/$]* | ?:[\\/]* ) ;;
8922   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8923   esac
8924 _ACEOF
8925
8926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8927 # If the template does not know about datarootdir, expand it.
8928 # FIXME: This hack should be removed a few years after 2.60.
8929 ac_datarootdir_hack=; ac_datarootdir_seen=
8930
8931 ac_sed_dataroot='
8932 /datarootdir/ {
8933   p
8934   q
8935 }
8936 /@datadir@/p
8937 /@docdir@/p
8938 /@infodir@/p
8939 /@localedir@/p
8940 /@mandir@/p
8941 '
8942 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8943 *datarootdir*) ac_datarootdir_seen=yes;;
8944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8945   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8946 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8947 _ACEOF
8948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8949   ac_datarootdir_hack='
8950   s&@datadir@&$datadir&g
8951   s&@docdir@&$docdir&g
8952   s&@infodir@&$infodir&g
8953   s&@localedir@&$localedir&g
8954   s&@mandir@&$mandir&g
8955     s&\\\${datarootdir}&$datarootdir&g' ;;
8956 esac
8957 _ACEOF
8958
8959 # Neutralize VPATH when `$srcdir' = `.'.
8960 # Shell code in configure.ac might set extrasub.
8961 # FIXME: do we really want to maintain this feature?
8962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8963 ac_sed_extra="$ac_vpsub
8964 $extrasub
8965 _ACEOF
8966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8967 :t
8968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8969 s|@configure_input@|$ac_sed_conf_input|;t t
8970 s&@top_builddir@&$ac_top_builddir_sub&;t t
8971 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8972 s&@srcdir@&$ac_srcdir&;t t
8973 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8974 s&@top_srcdir@&$ac_top_srcdir&;t t
8975 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8976 s&@builddir@&$ac_builddir&;t t
8977 s&@abs_builddir@&$ac_abs_builddir&;t t
8978 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8979 s&@INSTALL@&$ac_INSTALL&;t t
8980 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8981 $ac_datarootdir_hack
8982 "
8983 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8984   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8985 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8986    { (exit 1); exit 1; }; }
8987
8988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8989   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8990   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8991   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8992 which seems to be undefined.  Please make sure it is defined." >&5
8993 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8994 which seems to be undefined.  Please make sure it is defined." >&2;}
8995
8996   rm -f "$tmp/stdin"
8997   case $ac_file in
8998   -) cat "$tmp/out" && rm -f "$tmp/out";;
8999   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9000   esac \
9001   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9002 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9003    { (exit 1); exit 1; }; }
9004  ;;
9005   :H)
9006   #
9007   # CONFIG_HEADER
9008   #
9009   if test x"$ac_file" != x-; then
9010     {
9011       $as_echo "/* $configure_input  */" \
9012       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9013     } >"$tmp/config.h" \
9014       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9015 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9016    { (exit 1); exit 1; }; }
9017     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9018       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9019 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9020     else
9021       rm -f "$ac_file"
9022       mv "$tmp/config.h" "$ac_file" \
9023         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9024 $as_echo "$as_me: error: could not create $ac_file" >&2;}
9025    { (exit 1); exit 1; }; }
9026     fi
9027   else
9028     $as_echo "/* $configure_input  */" \
9029       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9030       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
9031 $as_echo "$as_me: error: could not create -" >&2;}
9032    { (exit 1); exit 1; }; }
9033   fi
9034 # Compute "$ac_file"'s index in $config_headers.
9035 _am_arg="$ac_file"
9036 _am_stamp_count=1
9037 for _am_header in $config_headers :; do
9038   case $_am_header in
9039     $_am_arg | $_am_arg:* )
9040       break ;;
9041     * )
9042       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9043   esac
9044 done
9045 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9046 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9047          X"$_am_arg" : 'X\(//\)[^/]' \| \
9048          X"$_am_arg" : 'X\(//\)$' \| \
9049          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9050 $as_echo X"$_am_arg" |
9051     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9052             s//\1/
9053             q
9054           }
9055           /^X\(\/\/\)[^/].*/{
9056             s//\1/
9057             q
9058           }
9059           /^X\(\/\/\)$/{
9060             s//\1/
9061             q
9062           }
9063           /^X\(\/\).*/{
9064             s//\1/
9065             q
9066           }
9067           s/.*/./; q'`/stamp-h$_am_stamp_count
9068  ;;
9069
9070   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
9071 $as_echo "$as_me: executing $ac_file commands" >&6;}
9072  ;;
9073   esac
9074
9075
9076   case $ac_file$ac_mode in
9077     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9078   # Autoconf 2.62 quotes --file arguments for eval, but not when files
9079   # are listed without --file.  Let's play safe and only enable the eval
9080   # if we detect the quoting.
9081   case $CONFIG_FILES in
9082   *\'*) eval set x "$CONFIG_FILES" ;;
9083   *)   set x $CONFIG_FILES ;;
9084   esac
9085   shift
9086   for mf
9087   do
9088     # Strip MF so we end up with the name of the file.
9089     mf=`echo "$mf" | sed -e 's/:.*$//'`
9090     # Check whether this is an Automake generated Makefile or not.
9091     # We used to match only the files named `Makefile.in', but
9092     # some people rename them; so instead we look at the file content.
9093     # Grep'ing the first line is not enough: some people post-process
9094     # each Makefile.in and add a new line on top of each file to say so.
9095     # Grep'ing the whole file is not good either: AIX grep has a line
9096     # limit of 2048, but all sed's we know have understand at least 4000.
9097     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9098       dirpart=`$as_dirname -- "$mf" ||
9099 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9100          X"$mf" : 'X\(//\)[^/]' \| \
9101          X"$mf" : 'X\(//\)$' \| \
9102          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9103 $as_echo X"$mf" |
9104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9105             s//\1/
9106             q
9107           }
9108           /^X\(\/\/\)[^/].*/{
9109             s//\1/
9110             q
9111           }
9112           /^X\(\/\/\)$/{
9113             s//\1/
9114             q
9115           }
9116           /^X\(\/\).*/{
9117             s//\1/
9118             q
9119           }
9120           s/.*/./; q'`
9121     else
9122       continue
9123     fi
9124     # Extract the definition of DEPDIR, am__include, and am__quote
9125     # from the Makefile without running `make'.
9126     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9127     test -z "$DEPDIR" && continue
9128     am__include=`sed -n 's/^am__include = //p' < "$mf"`
9129     test -z "am__include" && continue
9130     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9131     # When using ansi2knr, U may be empty or an underscore; expand it
9132     U=`sed -n 's/^U = //p' < "$mf"`
9133     # Find all dependency output files, they are included files with
9134     # $(DEPDIR) in their names.  We invoke sed twice because it is the
9135     # simplest approach to changing $(DEPDIR) to its actual value in the
9136     # expansion.
9137     for file in `sed -n "
9138       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9139          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9140       # Make sure the directory exists.
9141       test -f "$dirpart/$file" && continue
9142       fdir=`$as_dirname -- "$file" ||
9143 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9144          X"$file" : 'X\(//\)[^/]' \| \
9145          X"$file" : 'X\(//\)$' \| \
9146          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9147 $as_echo X"$file" |
9148     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9149             s//\1/
9150             q
9151           }
9152           /^X\(\/\/\)[^/].*/{
9153             s//\1/
9154             q
9155           }
9156           /^X\(\/\/\)$/{
9157             s//\1/
9158             q
9159           }
9160           /^X\(\/\).*/{
9161             s//\1/
9162             q
9163           }
9164           s/.*/./; q'`
9165       { as_dir=$dirpart/$fdir
9166   case $as_dir in #(
9167   -*) as_dir=./$as_dir;;
9168   esac
9169   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9170     as_dirs=
9171     while :; do
9172       case $as_dir in #(
9173       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9174       *) as_qdir=$as_dir;;
9175       esac
9176       as_dirs="'$as_qdir' $as_dirs"
9177       as_dir=`$as_dirname -- "$as_dir" ||
9178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9179          X"$as_dir" : 'X\(//\)[^/]' \| \
9180          X"$as_dir" : 'X\(//\)$' \| \
9181          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9182 $as_echo X"$as_dir" |
9183     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9184             s//\1/
9185             q
9186           }
9187           /^X\(\/\/\)[^/].*/{
9188             s//\1/
9189             q
9190           }
9191           /^X\(\/\/\)$/{
9192             s//\1/
9193             q
9194           }
9195           /^X\(\/\).*/{
9196             s//\1/
9197             q
9198           }
9199           s/.*/./; q'`
9200       test -d "$as_dir" && break
9201     done
9202     test -z "$as_dirs" || eval "mkdir $as_dirs"
9203   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9204 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9205    { (exit 1); exit 1; }; }; }
9206       # echo "creating $dirpart/$file"
9207       echo '# dummy' > "$dirpart/$file"
9208     done
9209   done
9210 }
9211  ;;
9212     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
9213         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9214       esac ;;
9215
9216   esac
9217 done # for ac_tag
9218
9219
9220 { (exit 0); exit 0; }
9221 _ACEOF
9222 chmod +x $CONFIG_STATUS
9223 ac_clean_files=$ac_clean_files_save
9224
9225 test $ac_write_fail = 0 ||
9226   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
9227 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
9228    { (exit 1); exit 1; }; }
9229
9230
9231 # configure is writing to config.log, and then calls config.status.
9232 # config.status does its own redirection, appending to config.log.
9233 # Unfortunately, on DOS this fails, as config.log is still kept open
9234 # by configure, so config.status won't be able to write to it; its
9235 # output is simply discarded.  So we exec the FD to /dev/null,
9236 # effectively closing config.log, so it can be properly (re)opened and
9237 # appended to by config.status.  When coming back to configure, we
9238 # need to make the FD available again.
9239 if test "$no_create" != yes; then
9240   ac_cs_success=:
9241   ac_config_status_args=
9242   test "$silent" = yes &&
9243     ac_config_status_args="$ac_config_status_args --quiet"
9244   exec 5>/dev/null
9245   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9246   exec 5>>config.log
9247   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9248   # would make configure fail if this is the last instruction.
9249   $ac_cs_success || { (exit 1); exit 1; }
9250 fi
9251 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9252   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9253 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9254 fi
9255
9256