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