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