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