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