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