Robodoc compilation update
[silc.git] / util / robodoc / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
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=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="Source/robodoc.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 #  include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #  include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 EGREP
627 GREP
628 CPP
629 am__fastdepCC_FALSE
630 am__fastdepCC_TRUE
631 CCDEPMODE
632 am__nodep
633 AMDEPBACKSLASH
634 AMDEP_FALSE
635 AMDEP_TRUE
636 am__quote
637 am__include
638 DEPDIR
639 OBJEXT
640 EXEEXT
641 ac_ct_CC
642 CPPFLAGS
643 LDFLAGS
644 CFLAGS
645 CC
646 am__untar
647 am__tar
648 AMTAR
649 am__leading_dot
650 SET_MAKE
651 AWK
652 mkdir_p
653 MKDIR_P
654 INSTALL_STRIP_PROGRAM
655 STRIP
656 install_sh
657 MAKEINFO
658 AUTOHEADER
659 AUTOMAKE
660 AUTOCONF
661 ACLOCAL
662 VERSION
663 PACKAGE
664 CYGPATH_W
665 am__isrc
666 INSTALL_DATA
667 INSTALL_SCRIPT
668 INSTALL_PROGRAM
669 target_alias
670 host_alias
671 build_alias
672 LIBS
673 ECHO_T
674 ECHO_N
675 ECHO_C
676 DEFS
677 mandir
678 localedir
679 libdir
680 psdir
681 pdfdir
682 dvidir
683 htmldir
684 infodir
685 docdir
686 oldincludedir
687 includedir
688 localstatedir
689 sharedstatedir
690 sysconfdir
691 datadir
692 datarootdir
693 libexecdir
694 sbindir
695 bindir
696 program_transform_name
697 prefix
698 exec_prefix
699 PACKAGE_URL
700 PACKAGE_BUGREPORT
701 PACKAGE_STRING
702 PACKAGE_VERSION
703 PACKAGE_TARNAME
704 PACKAGE_NAME
705 PATH_SEPARATOR
706 SHELL'
707 ac_subst_files=''
708 ac_user_opts='
709 enable_option_checking
710 enable_dependency_tracking
711 '
712       ac_precious_vars='build_alias
713 host_alias
714 target_alias
715 CC
716 CFLAGS
717 LDFLAGS
718 LIBS
719 CPPFLAGS
720 CPP'
721
722
723 # Initialize some variables set by options.
724 ac_init_help=
725 ac_init_version=false
726 ac_unrecognized_opts=
727 ac_unrecognized_sep=
728 # The variables have the same names as the options, with
729 # dashes changed to underlines.
730 cache_file=/dev/null
731 exec_prefix=NONE
732 no_create=
733 no_recursion=
734 prefix=NONE
735 program_prefix=NONE
736 program_suffix=NONE
737 program_transform_name=s,x,x,
738 silent=
739 site=
740 srcdir=
741 verbose=
742 x_includes=NONE
743 x_libraries=NONE
744
745 # Installation directory options.
746 # These are left unexpanded so users can "make install exec_prefix=/foo"
747 # and all the variables that are supposed to be based on exec_prefix
748 # by default will actually change.
749 # Use braces instead of parens because sh, perl, etc. also accept them.
750 # (The list follows the same order as the GNU Coding Standards.)
751 bindir='${exec_prefix}/bin'
752 sbindir='${exec_prefix}/sbin'
753 libexecdir='${exec_prefix}/libexec'
754 datarootdir='${prefix}/share'
755 datadir='${datarootdir}'
756 sysconfdir='${prefix}/etc'
757 sharedstatedir='${prefix}/com'
758 localstatedir='${prefix}/var'
759 includedir='${prefix}/include'
760 oldincludedir='/usr/include'
761 docdir='${datarootdir}/doc/${PACKAGE}'
762 infodir='${datarootdir}/info'
763 htmldir='${docdir}'
764 dvidir='${docdir}'
765 pdfdir='${docdir}'
766 psdir='${docdir}'
767 libdir='${exec_prefix}/lib'
768 localedir='${datarootdir}/locale'
769 mandir='${datarootdir}/man'
770
771 ac_prev=
772 ac_dashdash=
773 for ac_option
774 do
775   # If the previous option needs an argument, assign it.
776   if test -n "$ac_prev"; then
777     eval $ac_prev=\$ac_option
778     ac_prev=
779     continue
780   fi
781
782   case $ac_option in
783   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784   *=)   ac_optarg= ;;
785   *)    ac_optarg=yes ;;
786   esac
787
788   # Accept the important Cygnus configure options, so we can diagnose typos.
789
790   case $ac_dashdash$ac_option in
791   --)
792     ac_dashdash=yes ;;
793
794   -bindir | --bindir | --bindi | --bind | --bin | --bi)
795     ac_prev=bindir ;;
796   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
797     bindir=$ac_optarg ;;
798
799   -build | --build | --buil | --bui | --bu)
800     ac_prev=build_alias ;;
801   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
802     build_alias=$ac_optarg ;;
803
804   -cache-file | --cache-file | --cache-fil | --cache-fi \
805   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
806     ac_prev=cache_file ;;
807   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
808   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
809     cache_file=$ac_optarg ;;
810
811   --config-cache | -C)
812     cache_file=config.cache ;;
813
814   -datadir | --datadir | --datadi | --datad)
815     ac_prev=datadir ;;
816   -datadir=* | --datadir=* | --datadi=* | --datad=*)
817     datadir=$ac_optarg ;;
818
819   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820   | --dataroo | --dataro | --datar)
821     ac_prev=datarootdir ;;
822   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824     datarootdir=$ac_optarg ;;
825
826   -disable-* | --disable-*)
827     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
828     # Reject names that are not valid shell variable names.
829     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830       as_fn_error $? "invalid feature name: $ac_useropt"
831     ac_useropt_orig=$ac_useropt
832     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833     case $ac_user_opts in
834       *"
835 "enable_$ac_useropt"
836 "*) ;;
837       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
838          ac_unrecognized_sep=', ';;
839     esac
840     eval enable_$ac_useropt=no ;;
841
842   -docdir | --docdir | --docdi | --doc | --do)
843     ac_prev=docdir ;;
844   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
845     docdir=$ac_optarg ;;
846
847   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
848     ac_prev=dvidir ;;
849   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
850     dvidir=$ac_optarg ;;
851
852   -enable-* | --enable-*)
853     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854     # Reject names that are not valid shell variable names.
855     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856       as_fn_error $? "invalid feature name: $ac_useropt"
857     ac_useropt_orig=$ac_useropt
858     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
859     case $ac_user_opts in
860       *"
861 "enable_$ac_useropt"
862 "*) ;;
863       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
864          ac_unrecognized_sep=', ';;
865     esac
866     eval enable_$ac_useropt=\$ac_optarg ;;
867
868   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
869   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
870   | --exec | --exe | --ex)
871     ac_prev=exec_prefix ;;
872   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
873   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
874   | --exec=* | --exe=* | --ex=*)
875     exec_prefix=$ac_optarg ;;
876
877   -gas | --gas | --ga | --g)
878     # Obsolete; use --with-gas.
879     with_gas=yes ;;
880
881   -help | --help | --hel | --he | -h)
882     ac_init_help=long ;;
883   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
884     ac_init_help=recursive ;;
885   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
886     ac_init_help=short ;;
887
888   -host | --host | --hos | --ho)
889     ac_prev=host_alias ;;
890   -host=* | --host=* | --hos=* | --ho=*)
891     host_alias=$ac_optarg ;;
892
893   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
894     ac_prev=htmldir ;;
895   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
896   | --ht=*)
897     htmldir=$ac_optarg ;;
898
899   -includedir | --includedir | --includedi | --included | --include \
900   | --includ | --inclu | --incl | --inc)
901     ac_prev=includedir ;;
902   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
903   | --includ=* | --inclu=* | --incl=* | --inc=*)
904     includedir=$ac_optarg ;;
905
906   -infodir | --infodir | --infodi | --infod | --info | --inf)
907     ac_prev=infodir ;;
908   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
909     infodir=$ac_optarg ;;
910
911   -libdir | --libdir | --libdi | --libd)
912     ac_prev=libdir ;;
913   -libdir=* | --libdir=* | --libdi=* | --libd=*)
914     libdir=$ac_optarg ;;
915
916   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
917   | --libexe | --libex | --libe)
918     ac_prev=libexecdir ;;
919   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
920   | --libexe=* | --libex=* | --libe=*)
921     libexecdir=$ac_optarg ;;
922
923   -localedir | --localedir | --localedi | --localed | --locale)
924     ac_prev=localedir ;;
925   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
926     localedir=$ac_optarg ;;
927
928   -localstatedir | --localstatedir | --localstatedi | --localstated \
929   | --localstate | --localstat | --localsta | --localst | --locals)
930     ac_prev=localstatedir ;;
931   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
932   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
933     localstatedir=$ac_optarg ;;
934
935   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
936     ac_prev=mandir ;;
937   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938     mandir=$ac_optarg ;;
939
940   -nfp | --nfp | --nf)
941     # Obsolete; use --without-fp.
942     with_fp=no ;;
943
944   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
945   | --no-cr | --no-c | -n)
946     no_create=yes ;;
947
948   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
949   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
950     no_recursion=yes ;;
951
952   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
953   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
954   | --oldin | --oldi | --old | --ol | --o)
955     ac_prev=oldincludedir ;;
956   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
957   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
958   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
959     oldincludedir=$ac_optarg ;;
960
961   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
962     ac_prev=prefix ;;
963   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
964     prefix=$ac_optarg ;;
965
966   -program-prefix | --program-prefix | --program-prefi | --program-pref \
967   | --program-pre | --program-pr | --program-p)
968     ac_prev=program_prefix ;;
969   -program-prefix=* | --program-prefix=* | --program-prefi=* \
970   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
971     program_prefix=$ac_optarg ;;
972
973   -program-suffix | --program-suffix | --program-suffi | --program-suff \
974   | --program-suf | --program-su | --program-s)
975     ac_prev=program_suffix ;;
976   -program-suffix=* | --program-suffix=* | --program-suffi=* \
977   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
978     program_suffix=$ac_optarg ;;
979
980   -program-transform-name | --program-transform-name \
981   | --program-transform-nam | --program-transform-na \
982   | --program-transform-n | --program-transform- \
983   | --program-transform | --program-transfor \
984   | --program-transfo | --program-transf \
985   | --program-trans | --program-tran \
986   | --progr-tra | --program-tr | --program-t)
987     ac_prev=program_transform_name ;;
988   -program-transform-name=* | --program-transform-name=* \
989   | --program-transform-nam=* | --program-transform-na=* \
990   | --program-transform-n=* | --program-transform-=* \
991   | --program-transform=* | --program-transfor=* \
992   | --program-transfo=* | --program-transf=* \
993   | --program-trans=* | --program-tran=* \
994   | --progr-tra=* | --program-tr=* | --program-t=*)
995     program_transform_name=$ac_optarg ;;
996
997   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
998     ac_prev=pdfdir ;;
999   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1000     pdfdir=$ac_optarg ;;
1001
1002   -psdir | --psdir | --psdi | --psd | --ps)
1003     ac_prev=psdir ;;
1004   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1005     psdir=$ac_optarg ;;
1006
1007   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008   | -silent | --silent | --silen | --sile | --sil)
1009     silent=yes ;;
1010
1011   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1012     ac_prev=sbindir ;;
1013   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1014   | --sbi=* | --sb=*)
1015     sbindir=$ac_optarg ;;
1016
1017   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1018   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1019   | --sharedst | --shareds | --shared | --share | --shar \
1020   | --sha | --sh)
1021     ac_prev=sharedstatedir ;;
1022   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1023   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1024   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1025   | --sha=* | --sh=*)
1026     sharedstatedir=$ac_optarg ;;
1027
1028   -site | --site | --sit)
1029     ac_prev=site ;;
1030   -site=* | --site=* | --sit=*)
1031     site=$ac_optarg ;;
1032
1033   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1034     ac_prev=srcdir ;;
1035   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1036     srcdir=$ac_optarg ;;
1037
1038   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1039   | --syscon | --sysco | --sysc | --sys | --sy)
1040     ac_prev=sysconfdir ;;
1041   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1042   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1043     sysconfdir=$ac_optarg ;;
1044
1045   -target | --target | --targe | --targ | --tar | --ta | --t)
1046     ac_prev=target_alias ;;
1047   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1048     target_alias=$ac_optarg ;;
1049
1050   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1051     verbose=yes ;;
1052
1053   -version | --version | --versio | --versi | --vers | -V)
1054     ac_init_version=: ;;
1055
1056   -with-* | --with-*)
1057     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1058     # Reject names that are not valid shell variable names.
1059     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060       as_fn_error $? "invalid package name: $ac_useropt"
1061     ac_useropt_orig=$ac_useropt
1062     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063     case $ac_user_opts in
1064       *"
1065 "with_$ac_useropt"
1066 "*) ;;
1067       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1068          ac_unrecognized_sep=', ';;
1069     esac
1070     eval with_$ac_useropt=\$ac_optarg ;;
1071
1072   -without-* | --without-*)
1073     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1074     # Reject names that are not valid shell variable names.
1075     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076       as_fn_error $? "invalid package name: $ac_useropt"
1077     ac_useropt_orig=$ac_useropt
1078     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079     case $ac_user_opts in
1080       *"
1081 "with_$ac_useropt"
1082 "*) ;;
1083       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084          ac_unrecognized_sep=', ';;
1085     esac
1086     eval with_$ac_useropt=no ;;
1087
1088   --x)
1089     # Obsolete; use --with-x.
1090     with_x=yes ;;
1091
1092   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093   | --x-incl | --x-inc | --x-in | --x-i)
1094     ac_prev=x_includes ;;
1095   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097     x_includes=$ac_optarg ;;
1098
1099   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101     ac_prev=x_libraries ;;
1102   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104     x_libraries=$ac_optarg ;;
1105
1106   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1107 Try \`$0 --help' for more information"
1108     ;;
1109
1110   *=*)
1111     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1112     # Reject names that are not valid shell variable names.
1113     case $ac_envvar in #(
1114       '' | [0-9]* | *[!_$as_cr_alnum]* )
1115       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1116     esac
1117     eval $ac_envvar=\$ac_optarg
1118     export $ac_envvar ;;
1119
1120   *)
1121     # FIXME: should be removed in autoconf 3.0.
1122     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1126     ;;
1127
1128   esac
1129 done
1130
1131 if test -n "$ac_prev"; then
1132   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133   as_fn_error $? "missing argument to $ac_option"
1134 fi
1135
1136 if test -n "$ac_unrecognized_opts"; then
1137   case $enable_option_checking in
1138     no) ;;
1139     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1140     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1141   esac
1142 fi
1143
1144 # Check all directory arguments for consistency.
1145 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1146                 datadir sysconfdir sharedstatedir localstatedir includedir \
1147                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1148                 libdir localedir mandir
1149 do
1150   eval ac_val=\$$ac_var
1151   # Remove trailing slashes.
1152   case $ac_val in
1153     */ )
1154       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1155       eval $ac_var=\$ac_val;;
1156   esac
1157   # Be sure to have absolute directory names.
1158   case $ac_val in
1159     [\\/$]* | ?:[\\/]* )  continue;;
1160     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1161   esac
1162   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1163 done
1164
1165 # There might be people who depend on the old broken behavior: `$host'
1166 # used to hold the argument of --host etc.
1167 # FIXME: To remove some day.
1168 build=$build_alias
1169 host=$host_alias
1170 target=$target_alias
1171
1172 # FIXME: To remove some day.
1173 if test "x$host_alias" != x; then
1174   if test "x$build_alias" = x; then
1175     cross_compiling=maybe
1176   elif test "x$build_alias" != "x$host_alias"; then
1177     cross_compiling=yes
1178   fi
1179 fi
1180
1181 ac_tool_prefix=
1182 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1183
1184 test "$silent" = yes && exec 6>/dev/null
1185
1186
1187 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188 ac_ls_di=`ls -di .` &&
1189 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190   as_fn_error $? "working directory cannot be determined"
1191 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192   as_fn_error $? "pwd does not report name of working directory"
1193
1194
1195 # Find the source files, if location was not specified.
1196 if test -z "$srcdir"; then
1197   ac_srcdir_defaulted=yes
1198   # Try the directory containing this script, then the parent directory.
1199   ac_confdir=`$as_dirname -- "$as_myself" ||
1200 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1201          X"$as_myself" : 'X\(//\)[^/]' \| \
1202          X"$as_myself" : 'X\(//\)$' \| \
1203          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1204 $as_echo X"$as_myself" |
1205     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206             s//\1/
1207             q
1208           }
1209           /^X\(\/\/\)[^/].*/{
1210             s//\1/
1211             q
1212           }
1213           /^X\(\/\/\)$/{
1214             s//\1/
1215             q
1216           }
1217           /^X\(\/\).*/{
1218             s//\1/
1219             q
1220           }
1221           s/.*/./; q'`
1222   srcdir=$ac_confdir
1223   if test ! -r "$srcdir/$ac_unique_file"; then
1224     srcdir=..
1225   fi
1226 else
1227   ac_srcdir_defaulted=no
1228 fi
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1230   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1231   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1232 fi
1233 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1234 ac_abs_confdir=`(
1235         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1236         pwd)`
1237 # When building in place, set srcdir=.
1238 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239   srcdir=.
1240 fi
1241 # Remove unnecessary trailing slashes from srcdir.
1242 # Double slashes in file names in object file debugging info
1243 # mess up M-x gdb in Emacs.
1244 case $srcdir in
1245 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1246 esac
1247 for ac_var in $ac_precious_vars; do
1248   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1249   eval ac_env_${ac_var}_value=\$${ac_var}
1250   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1251   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1252 done
1253
1254 #
1255 # Report the --help message.
1256 #
1257 if test "$ac_init_help" = "long"; then
1258   # Omit some internal or obsolete options to make the list less imposing.
1259   # This message is too long to be a string in the A/UX 3.1 sh.
1260   cat <<_ACEOF
1261 \`configure' configures this package to adapt to many kinds of systems.
1262
1263 Usage: $0 [OPTION]... [VAR=VALUE]...
1264
1265 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1266 VAR=VALUE.  See below for descriptions of some of the useful variables.
1267
1268 Defaults for the options are specified in brackets.
1269
1270 Configuration:
1271   -h, --help              display this help and exit
1272       --help=short        display options specific to this package
1273       --help=recursive    display the short help of all the included packages
1274   -V, --version           display version information and exit
1275   -q, --quiet, --silent   do not print \`checking ...' messages
1276       --cache-file=FILE   cache test results in FILE [disabled]
1277   -C, --config-cache      alias for \`--cache-file=config.cache'
1278   -n, --no-create         do not create output files
1279       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1280
1281 Installation directories:
1282   --prefix=PREFIX         install architecture-independent files in PREFIX
1283                           [$ac_default_prefix]
1284   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1285                           [PREFIX]
1286
1287 By default, \`make install' will install all the files in
1288 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1289 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1290 for instance \`--prefix=\$HOME'.
1291
1292 For better control, use the options below.
1293
1294 Fine tuning of the installation directories:
1295   --bindir=DIR            user executables [EPREFIX/bin]
1296   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1297   --libexecdir=DIR        program executables [EPREFIX/libexec]
1298   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1299   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1300   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1301   --libdir=DIR            object code libraries [EPREFIX/lib]
1302   --includedir=DIR        C header files [PREFIX/include]
1303   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1304   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1305   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1306   --infodir=DIR           info documentation [DATAROOTDIR/info]
1307   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1308   --mandir=DIR            man documentation [DATAROOTDIR/man]
1309   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1310   --htmldir=DIR           html documentation [DOCDIR]
1311   --dvidir=DIR            dvi documentation [DOCDIR]
1312   --pdfdir=DIR            pdf documentation [DOCDIR]
1313   --psdir=DIR             ps documentation [DOCDIR]
1314 _ACEOF
1315
1316   cat <<\_ACEOF
1317
1318 Program names:
1319   --program-prefix=PREFIX            prepend PREFIX to installed program names
1320   --program-suffix=SUFFIX            append SUFFIX to installed program names
1321   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1322 _ACEOF
1323 fi
1324
1325 if test -n "$ac_init_help"; then
1326
1327   cat <<\_ACEOF
1328
1329 Optional Features:
1330   --disable-option-checking  ignore unrecognized --enable/--with options
1331   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1332   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1333   --disable-dependency-tracking  speeds up one-time build
1334   --enable-dependency-tracking   do not reject slow dependency extractors
1335
1336 Some influential environment variables:
1337   CC          C compiler command
1338   CFLAGS      C compiler flags
1339   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1340               nonstandard directory <lib dir>
1341   LIBS        libraries to pass to the linker, e.g. -l<library>
1342   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1343               you have headers in a nonstandard directory <include dir>
1344   CPP         C preprocessor
1345
1346 Use these variables to override the choices made by `configure' or to help
1347 it to find libraries and programs with nonstandard names/locations.
1348
1349 Report bugs to the package provider.
1350 _ACEOF
1351 ac_status=$?
1352 fi
1353
1354 if test "$ac_init_help" = "recursive"; then
1355   # If there are subdirs, report their specific --help.
1356   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1357     test -d "$ac_dir" ||
1358       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1359       continue
1360     ac_builddir=.
1361
1362 case "$ac_dir" in
1363 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *)
1365   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1366   # A ".." for each directory in $ac_dir_suffix.
1367   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1368   case $ac_top_builddir_sub in
1369   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1371   esac ;;
1372 esac
1373 ac_abs_top_builddir=$ac_pwd
1374 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1375 # for backward compatibility:
1376 ac_top_builddir=$ac_top_build_prefix
1377
1378 case $srcdir in
1379   .)  # We are building in place.
1380     ac_srcdir=.
1381     ac_top_srcdir=$ac_top_builddir_sub
1382     ac_abs_top_srcdir=$ac_pwd ;;
1383   [\\/]* | ?:[\\/]* )  # Absolute name.
1384     ac_srcdir=$srcdir$ac_dir_suffix;
1385     ac_top_srcdir=$srcdir
1386     ac_abs_top_srcdir=$srcdir ;;
1387   *) # Relative name.
1388     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1389     ac_top_srcdir=$ac_top_build_prefix$srcdir
1390     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1391 esac
1392 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1393
1394     cd "$ac_dir" || { ac_status=$?; continue; }
1395     # Check for guested configure.
1396     if test -f "$ac_srcdir/configure.gnu"; then
1397       echo &&
1398       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1399     elif test -f "$ac_srcdir/configure"; then
1400       echo &&
1401       $SHELL "$ac_srcdir/configure" --help=recursive
1402     else
1403       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1404     fi || ac_status=$?
1405     cd "$ac_pwd" || { ac_status=$?; break; }
1406   done
1407 fi
1408
1409 test -n "$ac_init_help" && exit $ac_status
1410 if $ac_init_version; then
1411   cat <<\_ACEOF
1412 configure
1413 generated by GNU Autoconf 2.69
1414
1415 Copyright (C) 2012 Free Software Foundation, Inc.
1416 This configure script is free software; the Free Software Foundation
1417 gives unlimited permission to copy, distribute and modify it.
1418 _ACEOF
1419   exit
1420 fi
1421
1422 ## ------------------------ ##
1423 ## Autoconf initialization. ##
1424 ## ------------------------ ##
1425
1426 # ac_fn_c_try_compile LINENO
1427 # --------------------------
1428 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1429 ac_fn_c_try_compile ()
1430 {
1431   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1432   rm -f conftest.$ac_objext
1433   if { { ac_try="$ac_compile"
1434 case "(($ac_try" in
1435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1436   *) ac_try_echo=$ac_try;;
1437 esac
1438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1439 $as_echo "$ac_try_echo"; } >&5
1440   (eval "$ac_compile") 2>conftest.err
1441   ac_status=$?
1442   if test -s conftest.err; then
1443     grep -v '^ *+' conftest.err >conftest.er1
1444     cat conftest.er1 >&5
1445     mv -f conftest.er1 conftest.err
1446   fi
1447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1448   test $ac_status = 0; } && {
1449          test -z "$ac_c_werror_flag" ||
1450          test ! -s conftest.err
1451        } && test -s conftest.$ac_objext; then :
1452   ac_retval=0
1453 else
1454   $as_echo "$as_me: failed program was:" >&5
1455 sed 's/^/| /' conftest.$ac_ext >&5
1456
1457         ac_retval=1
1458 fi
1459   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1460   as_fn_set_status $ac_retval
1461
1462 } # ac_fn_c_try_compile
1463
1464 # ac_fn_c_try_cpp LINENO
1465 # ----------------------
1466 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1467 ac_fn_c_try_cpp ()
1468 {
1469   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1470   if { { ac_try="$ac_cpp conftest.$ac_ext"
1471 case "(($ac_try" in
1472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1473   *) ac_try_echo=$ac_try;;
1474 esac
1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 $as_echo "$ac_try_echo"; } >&5
1477   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1478   ac_status=$?
1479   if test -s conftest.err; then
1480     grep -v '^ *+' conftest.err >conftest.er1
1481     cat conftest.er1 >&5
1482     mv -f conftest.er1 conftest.err
1483   fi
1484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485   test $ac_status = 0; } > conftest.i && {
1486          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1487          test ! -s conftest.err
1488        }; then :
1489   ac_retval=0
1490 else
1491   $as_echo "$as_me: failed program was:" >&5
1492 sed 's/^/| /' conftest.$ac_ext >&5
1493
1494     ac_retval=1
1495 fi
1496   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1497   as_fn_set_status $ac_retval
1498
1499 } # ac_fn_c_try_cpp
1500
1501 # ac_fn_c_try_run LINENO
1502 # ----------------------
1503 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1504 # that executables *can* be run.
1505 ac_fn_c_try_run ()
1506 {
1507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508   if { { ac_try="$ac_link"
1509 case "(($ac_try" in
1510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511   *) ac_try_echo=$ac_try;;
1512 esac
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515   (eval "$ac_link") 2>&5
1516   ac_status=$?
1517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1519   { { case "(($ac_try" in
1520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1521   *) ac_try_echo=$ac_try;;
1522 esac
1523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524 $as_echo "$ac_try_echo"; } >&5
1525   (eval "$ac_try") 2>&5
1526   ac_status=$?
1527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528   test $ac_status = 0; }; }; then :
1529   ac_retval=0
1530 else
1531   $as_echo "$as_me: program exited with status $ac_status" >&5
1532        $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1534
1535        ac_retval=$ac_status
1536 fi
1537   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1538   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1539   as_fn_set_status $ac_retval
1540
1541 } # ac_fn_c_try_run
1542
1543 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1544 # -------------------------------------------
1545 # Tests whether TYPE exists after having included INCLUDES, setting cache
1546 # variable VAR accordingly.
1547 ac_fn_c_check_type ()
1548 {
1549   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1551 $as_echo_n "checking for $2... " >&6; }
1552 if eval \${$3+:} false; then :
1553   $as_echo_n "(cached) " >&6
1554 else
1555   eval "$3=no"
1556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1557 /* end confdefs.h.  */
1558 $4
1559 int
1560 main ()
1561 {
1562 if (sizeof ($2))
1563          return 0;
1564   ;
1565   return 0;
1566 }
1567 _ACEOF
1568 if ac_fn_c_try_compile "$LINENO"; then :
1569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1570 /* end confdefs.h.  */
1571 $4
1572 int
1573 main ()
1574 {
1575 if (sizeof (($2)))
1576             return 0;
1577   ;
1578   return 0;
1579 }
1580 _ACEOF
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582
1583 else
1584   eval "$3=yes"
1585 fi
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 fi
1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 fi
1590 eval ac_res=\$$3
1591                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1594
1595 } # ac_fn_c_check_type
1596
1597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists and can be compiled using the include files in
1600 # INCLUDES, setting the cache variable VAR accordingly.
1601 ac_fn_c_check_header_compile ()
1602 {
1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval \${$3+:} false; then :
1607   $as_echo_n "(cached) " >&6
1608 else
1609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h.  */
1611 $4
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615   eval "$3=yes"
1616 else
1617   eval "$3=no"
1618 fi
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 fi
1621 eval ac_res=\$$3
1622                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625
1626 } # ac_fn_c_check_header_compile
1627
1628 # ac_fn_c_try_link LINENO
1629 # -----------------------
1630 # Try to link conftest.$ac_ext, and return whether this succeeded.
1631 ac_fn_c_try_link ()
1632 {
1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634   rm -f conftest.$ac_objext conftest$ac_exeext
1635   if { { ac_try="$ac_link"
1636 case "(($ac_try" in
1637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638   *) ac_try_echo=$ac_try;;
1639 esac
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642   (eval "$ac_link") 2>conftest.err
1643   ac_status=$?
1644   if test -s conftest.err; then
1645     grep -v '^ *+' conftest.err >conftest.er1
1646     cat conftest.er1 >&5
1647     mv -f conftest.er1 conftest.err
1648   fi
1649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650   test $ac_status = 0; } && {
1651          test -z "$ac_c_werror_flag" ||
1652          test ! -s conftest.err
1653        } && test -s conftest$ac_exeext && {
1654          test "$cross_compiling" = yes ||
1655          test -x conftest$ac_exeext
1656        }; then :
1657   ac_retval=0
1658 else
1659   $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1661
1662         ac_retval=1
1663 fi
1664   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1665   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1666   # interfere with the next link command; also delete a directory that is
1667   # left behind by Apple's compiler.  We do this before executing the actions.
1668   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670   as_fn_set_status $ac_retval
1671
1672 } # ac_fn_c_try_link
1673
1674 # ac_fn_c_check_func LINENO FUNC VAR
1675 # ----------------------------------
1676 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1677 ac_fn_c_check_func ()
1678 {
1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681 $as_echo_n "checking for $2... " >&6; }
1682 if eval \${$3+:} false; then :
1683   $as_echo_n "(cached) " >&6
1684 else
1685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686 /* end confdefs.h.  */
1687 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1689 #define $2 innocuous_$2
1690
1691 /* System header to define __stub macros and hopefully few prototypes,
1692     which can conflict with char $2 (); below.
1693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1694     <limits.h> exists even on freestanding compilers.  */
1695
1696 #ifdef __STDC__
1697 # include <limits.h>
1698 #else
1699 # include <assert.h>
1700 #endif
1701
1702 #undef $2
1703
1704 /* Override any GCC internal prototype to avoid an error.
1705    Use char because int might match the return type of a GCC
1706    builtin and then its argument prototype would still apply.  */
1707 #ifdef __cplusplus
1708 extern "C"
1709 #endif
1710 char $2 ();
1711 /* The GNU C library defines this for functions which it implements
1712     to always fail with ENOSYS.  Some functions are actually named
1713     something starting with __ and the normal name is an alias.  */
1714 #if defined __stub_$2 || defined __stub___$2
1715 choke me
1716 #endif
1717
1718 int
1719 main ()
1720 {
1721 return $2 ();
1722   ;
1723   return 0;
1724 }
1725 _ACEOF
1726 if ac_fn_c_try_link "$LINENO"; then :
1727   eval "$3=yes"
1728 else
1729   eval "$3=no"
1730 fi
1731 rm -f core conftest.err conftest.$ac_objext \
1732     conftest$ac_exeext conftest.$ac_ext
1733 fi
1734 eval ac_res=\$$3
1735                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738
1739 } # ac_fn_c_check_func
1740 cat >config.log <<_ACEOF
1741 This file contains any messages produced by compilers while
1742 running configure, to aid debugging if configure makes a mistake.
1743
1744 It was created by $as_me, which was
1745 generated by GNU Autoconf 2.69.  Invocation command line was
1746
1747   $ $0 $@
1748
1749 _ACEOF
1750 exec 5>>config.log
1751 {
1752 cat <<_ASUNAME
1753 ## --------- ##
1754 ## Platform. ##
1755 ## --------- ##
1756
1757 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1758 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1759 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1760 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1761 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1762
1763 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1764 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1765
1766 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1767 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1768 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1769 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1770 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1771 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1772 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1773
1774 _ASUNAME
1775
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779   IFS=$as_save_IFS
1780   test -z "$as_dir" && as_dir=.
1781     $as_echo "PATH: $as_dir"
1782   done
1783 IFS=$as_save_IFS
1784
1785 } >&5
1786
1787 cat >&5 <<_ACEOF
1788
1789
1790 ## ----------- ##
1791 ## Core tests. ##
1792 ## ----------- ##
1793
1794 _ACEOF
1795
1796
1797 # Keep a trace of the command line.
1798 # Strip out --no-create and --no-recursion so they do not pile up.
1799 # Strip out --silent because we don't want to record it for future runs.
1800 # Also quote any args containing shell meta-characters.
1801 # Make two passes to allow for proper duplicate-argument suppression.
1802 ac_configure_args=
1803 ac_configure_args0=
1804 ac_configure_args1=
1805 ac_must_keep_next=false
1806 for ac_pass in 1 2
1807 do
1808   for ac_arg
1809   do
1810     case $ac_arg in
1811     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1812     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813     | -silent | --silent | --silen | --sile | --sil)
1814       continue ;;
1815     *\'*)
1816       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817     esac
1818     case $ac_pass in
1819     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1820     2)
1821       as_fn_append ac_configure_args1 " '$ac_arg'"
1822       if test $ac_must_keep_next = true; then
1823         ac_must_keep_next=false # Got value, back to normal.
1824       else
1825         case $ac_arg in
1826           *=* | --config-cache | -C | -disable-* | --disable-* \
1827           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1828           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1829           | -with-* | --with-* | -without-* | --without-* | --x)
1830             case "$ac_configure_args0 " in
1831               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832             esac
1833             ;;
1834           -* ) ac_must_keep_next=true ;;
1835         esac
1836       fi
1837       as_fn_append ac_configure_args " '$ac_arg'"
1838       ;;
1839     esac
1840   done
1841 done
1842 { ac_configure_args0=; unset ac_configure_args0;}
1843 { ac_configure_args1=; unset ac_configure_args1;}
1844
1845 # When interrupted or exit'd, cleanup temporary files, and complete
1846 # config.log.  We remove comments because anyway the quotes in there
1847 # would cause problems or look ugly.
1848 # WARNING: Use '\'' to represent an apostrophe within the trap.
1849 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850 trap 'exit_status=$?
1851   # Save into config.log some information that might help in debugging.
1852   {
1853     echo
1854
1855     $as_echo "## ---------------- ##
1856 ## Cache variables. ##
1857 ## ---------------- ##"
1858     echo
1859     # The following way of writing the cache mishandles newlines in values,
1860 (
1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1862     eval ac_val=\$$ac_var
1863     case $ac_val in #(
1864     *${as_nl}*)
1865       case $ac_var in #(
1866       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868       esac
1869       case $ac_var in #(
1870       _ | IFS | as_nl) ;; #(
1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872       *) { eval $ac_var=; unset $ac_var;} ;;
1873       esac ;;
1874     esac
1875   done
1876   (set) 2>&1 |
1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1878     *${as_nl}ac_space=\ *)
1879       sed -n \
1880         "s/'\''/'\''\\\\'\'''\''/g;
1881           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882       ;; #(
1883     *)
1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1885       ;;
1886     esac |
1887     sort
1888 )
1889     echo
1890
1891     $as_echo "## ----------------- ##
1892 ## Output variables. ##
1893 ## ----------------- ##"
1894     echo
1895     for ac_var in $ac_subst_vars
1896     do
1897       eval ac_val=\$$ac_var
1898       case $ac_val in
1899       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900       esac
1901       $as_echo "$ac_var='\''$ac_val'\''"
1902     done | sort
1903     echo
1904
1905     if test -n "$ac_subst_files"; then
1906       $as_echo "## ------------------- ##
1907 ## File substitutions. ##
1908 ## ------------------- ##"
1909       echo
1910       for ac_var in $ac_subst_files
1911       do
1912         eval ac_val=\$$ac_var
1913         case $ac_val in
1914         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915         esac
1916         $as_echo "$ac_var='\''$ac_val'\''"
1917       done | sort
1918       echo
1919     fi
1920
1921     if test -s confdefs.h; then
1922       $as_echo "## ----------- ##
1923 ## confdefs.h. ##
1924 ## ----------- ##"
1925       echo
1926       cat confdefs.h
1927       echo
1928     fi
1929     test "$ac_signal" != 0 &&
1930       $as_echo "$as_me: caught signal $ac_signal"
1931     $as_echo "$as_me: exit $exit_status"
1932   } >&5
1933   rm -f core *.core core.conftest.* &&
1934     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935     exit $exit_status
1936 ' 0
1937 for ac_signal in 1 2 13 15; do
1938   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1939 done
1940 ac_signal=0
1941
1942 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1943 rm -f -r conftest* confdefs.h
1944
1945 $as_echo "/* confdefs.h */" > confdefs.h
1946
1947 # Predefined preprocessor variables.
1948
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_NAME "$PACKAGE_NAME"
1951 _ACEOF
1952
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 _ACEOF
1956
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1959 _ACEOF
1960
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 _ACEOF
1964
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967 _ACEOF
1968
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_URL "$PACKAGE_URL"
1971 _ACEOF
1972
1973
1974 # Let the site file select an alternate cache file if it wants to.
1975 # Prefer an explicitly selected file to automatically selected ones.
1976 ac_site_file1=NONE
1977 ac_site_file2=NONE
1978 if test -n "$CONFIG_SITE"; then
1979   # We do not want a PATH search for config.site.
1980   case $CONFIG_SITE in #((
1981     -*)  ac_site_file1=./$CONFIG_SITE;;
1982     */*) ac_site_file1=$CONFIG_SITE;;
1983     *)   ac_site_file1=./$CONFIG_SITE;;
1984   esac
1985 elif test "x$prefix" != xNONE; then
1986   ac_site_file1=$prefix/share/config.site
1987   ac_site_file2=$prefix/etc/config.site
1988 else
1989   ac_site_file1=$ac_default_prefix/share/config.site
1990   ac_site_file2=$ac_default_prefix/etc/config.site
1991 fi
1992 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993 do
1994   test "x$ac_site_file" = xNONE && continue
1995   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1996     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1997 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1998     sed 's/^/| /' "$ac_site_file" >&5
1999     . "$ac_site_file" \
2000       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002 as_fn_error $? "failed to load site script $ac_site_file
2003 See \`config.log' for more details" "$LINENO" 5; }
2004   fi
2005 done
2006
2007 if test -r "$cache_file"; then
2008   # Some versions of bash will fail to source /dev/null (special files
2009   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2010   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2011     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2012 $as_echo "$as_me: loading cache $cache_file" >&6;}
2013     case $cache_file in
2014       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015       *)                      . "./$cache_file";;
2016     esac
2017   fi
2018 else
2019   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2020 $as_echo "$as_me: creating cache $cache_file" >&6;}
2021   >$cache_file
2022 fi
2023
2024 # Check that the precious variables saved in the cache have kept the same
2025 # value.
2026 ac_cache_corrupted=false
2027 for ac_var in $ac_precious_vars; do
2028   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029   eval ac_new_set=\$ac_env_${ac_var}_set
2030   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031   eval ac_new_val=\$ac_env_${ac_var}_value
2032   case $ac_old_set,$ac_new_set in
2033     set,)
2034       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036       ac_cache_corrupted=: ;;
2037     ,set)
2038       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2039 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040       ac_cache_corrupted=: ;;
2041     ,);;
2042     *)
2043       if test "x$ac_old_val" != "x$ac_new_val"; then
2044         # differences in whitespace do not lead to failure.
2045         ac_old_val_w=`echo x $ac_old_val`
2046         ac_new_val_w=`echo x $ac_new_val`
2047         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2048           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2049 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2050           ac_cache_corrupted=:
2051         else
2052           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2053 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2054           eval $ac_var=\$ac_old_val
2055         fi
2056         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2057 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2058         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2059 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2060       fi;;
2061   esac
2062   # Pass precious variables to config.status.
2063   if test "$ac_new_set" = set; then
2064     case $ac_new_val in
2065     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2066     *) ac_arg=$ac_var=$ac_new_val ;;
2067     esac
2068     case " $ac_configure_args " in
2069       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2070       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2071     esac
2072   fi
2073 done
2074 if $ac_cache_corrupted; then
2075   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2078 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080 fi
2081 ## -------------------- ##
2082 ## Main body of script. ##
2083 ## -------------------- ##
2084
2085 ac_ext=c
2086 ac_cpp='$CPP $CPPFLAGS'
2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090
2091
2092
2093 ac_config_headers="$ac_config_headers Source/config.h"
2094
2095
2096 am__api_version='1.11'
2097
2098 ac_aux_dir=
2099 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2100   if test -f "$ac_dir/install-sh"; then
2101     ac_aux_dir=$ac_dir
2102     ac_install_sh="$ac_aux_dir/install-sh -c"
2103     break
2104   elif test -f "$ac_dir/install.sh"; then
2105     ac_aux_dir=$ac_dir
2106     ac_install_sh="$ac_aux_dir/install.sh -c"
2107     break
2108   elif test -f "$ac_dir/shtool"; then
2109     ac_aux_dir=$ac_dir
2110     ac_install_sh="$ac_aux_dir/shtool install -c"
2111     break
2112   fi
2113 done
2114 if test -z "$ac_aux_dir"; then
2115   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2116 fi
2117
2118 # These three variables are undocumented and unsupported,
2119 # and are intended to be withdrawn in a future Autoconf release.
2120 # They can cause serious problems if a builder's source tree is in a directory
2121 # whose full name contains unusual characters.
2122 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2123 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2124 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2125
2126
2127 # Find a good install program.  We prefer a C program (faster),
2128 # so one script is as good as another.  But avoid the broken or
2129 # incompatible versions:
2130 # SysV /etc/install, /usr/sbin/install
2131 # SunOS /usr/etc/install
2132 # IRIX /sbin/install
2133 # AIX /bin/install
2134 # AmigaOS /C/install, which installs bootblocks on floppy discs
2135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2138 # OS/2's system install, which has a completely different semantic
2139 # ./install, which can be erroneously created by make from ./install.sh.
2140 # Reject install programs that cannot install multiple files.
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2142 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2143 if test -z "$INSTALL"; then
2144 if ${ac_cv_path_install+:} false; then :
2145   $as_echo_n "(cached) " >&6
2146 else
2147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
2151   test -z "$as_dir" && as_dir=.
2152     # Account for people who put trailing slashes in PATH elements.
2153 case $as_dir/ in #((
2154   ./ | .// | /[cC]/* | \
2155   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2156   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2157   /usr/ucb/* ) ;;
2158   *)
2159     # OSF1 and SCO ODT 3.0 have their own names for install.
2160     # Don't use installbsd from OSF since it installs stuff as root
2161     # by default.
2162     for ac_prog in ginstall scoinst install; do
2163       for ac_exec_ext in '' $ac_executable_extensions; do
2164         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2165           if test $ac_prog = install &&
2166             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2167             # AIX install.  It has an incompatible calling convention.
2168             :
2169           elif test $ac_prog = install &&
2170             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171             # program-specific install script used by HP pwplus--don't use.
2172             :
2173           else
2174             rm -rf conftest.one conftest.two conftest.dir
2175             echo one > conftest.one
2176             echo two > conftest.two
2177             mkdir conftest.dir
2178             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2179               test -s conftest.one && test -s conftest.two &&
2180               test -s conftest.dir/conftest.one &&
2181               test -s conftest.dir/conftest.two
2182             then
2183               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2184               break 3
2185             fi
2186           fi
2187         fi
2188       done
2189     done
2190     ;;
2191 esac
2192
2193   done
2194 IFS=$as_save_IFS
2195
2196 rm -rf conftest.one conftest.two conftest.dir
2197
2198 fi
2199   if test "${ac_cv_path_install+set}" = set; then
2200     INSTALL=$ac_cv_path_install
2201   else
2202     # As a last resort, use the slow shell script.  Don't cache a
2203     # value for INSTALL within a source directory, because that will
2204     # break other packages using the cache if that directory is
2205     # removed, or if the value is a relative name.
2206     INSTALL=$ac_install_sh
2207   fi
2208 fi
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2210 $as_echo "$INSTALL" >&6; }
2211
2212 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2213 # It thinks the first close brace ends the variable substitution.
2214 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2215
2216 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2217
2218 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2219
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2221 $as_echo_n "checking whether build environment is sane... " >&6; }
2222 # Just in case
2223 sleep 1
2224 echo timestamp > conftest.file
2225 # Reject unsafe characters in $srcdir or the absolute working directory
2226 # name.  Accept space and tab only in the latter.
2227 am_lf='
2228 '
2229 case `pwd` in
2230   *[\\\"\#\$\&\'\`$am_lf]*)
2231     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2232 esac
2233 case $srcdir in
2234   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2235     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2236 esac
2237
2238 # Do `set' in a subshell so we don't clobber the current shell's
2239 # arguments.  Must try -L first in case configure is actually a
2240 # symlink; some systems play weird games with the mod time of symlinks
2241 # (eg FreeBSD returns the mod time of the symlink's containing
2242 # directory).
2243 if (
2244    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2245    if test "$*" = "X"; then
2246       # -L didn't work.
2247       set X `ls -t "$srcdir/configure" conftest.file`
2248    fi
2249    rm -f conftest.file
2250    if test "$*" != "X $srcdir/configure conftest.file" \
2251       && test "$*" != "X conftest.file $srcdir/configure"; then
2252
2253       # If neither matched, then we have a broken ls.  This can happen
2254       # if, for instance, CONFIG_SHELL is bash and it inherits a
2255       # broken ls alias from the environment.  This has actually
2256       # happened.  Such a system could not be considered "sane".
2257       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2258 alias in your environment" "$LINENO" 5
2259    fi
2260
2261    test "$2" = conftest.file
2262    )
2263 then
2264    # Ok.
2265    :
2266 else
2267    as_fn_error $? "newly created file is older than distributed files!
2268 Check your system clock" "$LINENO" 5
2269 fi
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271 $as_echo "yes" >&6; }
2272 test "$program_prefix" != NONE &&
2273   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2274 # Use a double $ so make ignores it.
2275 test "$program_suffix" != NONE &&
2276   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2277 # Double any \ or $.
2278 # By default was `s,x,x', remove it if useless.
2279 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2280 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2281
2282 # expand $ac_aux_dir to an absolute path
2283 am_aux_dir=`cd $ac_aux_dir && pwd`
2284
2285 if test x"${MISSING+set}" != xset; then
2286   case $am_aux_dir in
2287   *\ * | *\     *)
2288     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2289   *)
2290     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2291   esac
2292 fi
2293 # Use eval to expand $SHELL
2294 if eval "$MISSING --run true"; then
2295   am_missing_run="$MISSING --run "
2296 else
2297   am_missing_run=
2298   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2299 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2300 fi
2301
2302 if test x"${install_sh}" != xset; then
2303   case $am_aux_dir in
2304   *\ * | *\     *)
2305     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2306   *)
2307     install_sh="\${SHELL} $am_aux_dir/install-sh"
2308   esac
2309 fi
2310
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'.  However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no; then
2316   if test -n "$ac_tool_prefix"; then
2317   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if ${ac_cv_prog_STRIP+:} false; then :
2322   $as_echo_n "(cached) " >&6
2323 else
2324   if test -n "$STRIP"; then
2325   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2326 else
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 for as_dir in $PATH
2329 do
2330   IFS=$as_save_IFS
2331   test -z "$as_dir" && as_dir=.
2332     for ac_exec_ext in '' $ac_executable_extensions; do
2333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2336     break 2
2337   fi
2338 done
2339   done
2340 IFS=$as_save_IFS
2341
2342 fi
2343 fi
2344 STRIP=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2348 else
2349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2351 fi
2352
2353
2354 fi
2355 if test -z "$ac_cv_prog_STRIP"; then
2356   ac_ct_STRIP=$STRIP
2357   # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip; ac_word=$2
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2362   $as_echo_n "(cached) " >&6
2363 else
2364   if test -n "$ac_ct_STRIP"; then
2365   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2366 else
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $PATH
2369 do
2370   IFS=$as_save_IFS
2371   test -z "$as_dir" && as_dir=.
2372     for ac_exec_ext in '' $ac_executable_extensions; do
2373   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374     ac_cv_prog_ac_ct_STRIP="strip"
2375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376     break 2
2377   fi
2378 done
2379   done
2380 IFS=$as_save_IFS
2381
2382 fi
2383 fi
2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2388 else
2389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390 $as_echo "no" >&6; }
2391 fi
2392
2393   if test "x$ac_ct_STRIP" = x; then
2394     STRIP=":"
2395   else
2396     case $cross_compiling:$ac_tool_warned in
2397 yes:)
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2400 ac_tool_warned=yes ;;
2401 esac
2402     STRIP=$ac_ct_STRIP
2403   fi
2404 else
2405   STRIP="$ac_cv_prog_STRIP"
2406 fi
2407
2408 fi
2409 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2410
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2412 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2413 if test -z "$MKDIR_P"; then
2414   if ${ac_cv_path_mkdir+:} false; then :
2415   $as_echo_n "(cached) " >&6
2416 else
2417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2419 do
2420   IFS=$as_save_IFS
2421   test -z "$as_dir" && as_dir=.
2422     for ac_prog in mkdir gmkdir; do
2423          for ac_exec_ext in '' $ac_executable_extensions; do
2424            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2425            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2426              'mkdir (GNU coreutils) '* | \
2427              'mkdir (coreutils) '* | \
2428              'mkdir (fileutils) '4.1*)
2429                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2430                break 3;;
2431            esac
2432          done
2433        done
2434   done
2435 IFS=$as_save_IFS
2436
2437 fi
2438
2439   test -d ./--version && rmdir ./--version
2440   if test "${ac_cv_path_mkdir+set}" = set; then
2441     MKDIR_P="$ac_cv_path_mkdir -p"
2442   else
2443     # As a last resort, use the slow shell script.  Don't cache a
2444     # value for MKDIR_P within a source directory, because that will
2445     # break other packages using the cache if that directory is
2446     # removed, or if the value is a relative name.
2447     MKDIR_P="$ac_install_sh -d"
2448   fi
2449 fi
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2451 $as_echo "$MKDIR_P" >&6; }
2452
2453 mkdir_p="$MKDIR_P"
2454 case $mkdir_p in
2455   [\\/$]* | ?:[\\/]*) ;;
2456   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2457 esac
2458
2459 for ac_prog in gawk mawk nawk awk
2460 do
2461   # Extract the first word of "$ac_prog", so it can be a program name with args.
2462 set dummy $ac_prog; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if ${ac_cv_prog_AWK+:} false; then :
2466   $as_echo_n "(cached) " >&6
2467 else
2468   if test -n "$AWK"; then
2469   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2470 else
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 for as_dir in $PATH
2473 do
2474   IFS=$as_save_IFS
2475   test -z "$as_dir" && as_dir=.
2476     for ac_exec_ext in '' $ac_executable_extensions; do
2477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2478     ac_cv_prog_AWK="$ac_prog"
2479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2480     break 2
2481   fi
2482 done
2483   done
2484 IFS=$as_save_IFS
2485
2486 fi
2487 fi
2488 AWK=$ac_cv_prog_AWK
2489 if test -n "$AWK"; then
2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2491 $as_echo "$AWK" >&6; }
2492 else
2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2495 fi
2496
2497
2498   test -n "$AWK" && break
2499 done
2500
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2503 set x ${MAKE-make}
2504 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2505 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2506   $as_echo_n "(cached) " >&6
2507 else
2508   cat >conftest.make <<\_ACEOF
2509 SHELL = /bin/sh
2510 all:
2511         @echo '@@@%%%=$(MAKE)=@@@%%%'
2512 _ACEOF
2513 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2514 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2515   *@@@%%%=?*=@@@%%%*)
2516     eval ac_cv_prog_make_${ac_make}_set=yes;;
2517   *)
2518     eval ac_cv_prog_make_${ac_make}_set=no;;
2519 esac
2520 rm -f conftest.make
2521 fi
2522 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524 $as_echo "yes" >&6; }
2525   SET_MAKE=
2526 else
2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2529   SET_MAKE="MAKE=${MAKE-make}"
2530 fi
2531
2532 rm -rf .tst 2>/dev/null
2533 mkdir .tst 2>/dev/null
2534 if test -d .tst; then
2535   am__leading_dot=.
2536 else
2537   am__leading_dot=_
2538 fi
2539 rmdir .tst 2>/dev/null
2540
2541 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2542   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2543   # is not polluted with repeated "-I."
2544   am__isrc=' -I$(srcdir)'
2545   # test to see if srcdir already configured
2546   if test -f $srcdir/config.status; then
2547     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2548   fi
2549 fi
2550
2551 # test whether we have cygpath
2552 if test -z "$CYGPATH_W"; then
2553   if (cygpath --version) >/dev/null 2>/dev/null; then
2554     CYGPATH_W='cygpath -w'
2555   else
2556     CYGPATH_W=echo
2557   fi
2558 fi
2559
2560
2561 # Define the identity of the package.
2562  PACKAGE=robodoc
2563  VERSION=3.2.3
2564
2565
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE "$PACKAGE"
2568 _ACEOF
2569
2570
2571 cat >>confdefs.h <<_ACEOF
2572 #define VERSION "$VERSION"
2573 _ACEOF
2574
2575 # Some tools Automake needs.
2576
2577 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2578
2579
2580 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2581
2582
2583 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2584
2585
2586 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2587
2588
2589 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2590
2591 # We need awk for the "check" target.  The system "awk" is bad on
2592 # some platforms.
2593 # Always define AMTAR for backward compatibility.  Yes, it's still used
2594 # in the wild :-(  We should find a proper way to deprecate it ...
2595 AMTAR='$${TAR-tar}'
2596
2597 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2598
2599
2600
2601
2602
2603
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2605 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2606 set x ${MAKE-make}
2607 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2608 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2609   $as_echo_n "(cached) " >&6
2610 else
2611   cat >conftest.make <<\_ACEOF
2612 SHELL = /bin/sh
2613 all:
2614         @echo '@@@%%%=$(MAKE)=@@@%%%'
2615 _ACEOF
2616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2617 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2618   *@@@%%%=?*=@@@%%%*)
2619     eval ac_cv_prog_make_${ac_make}_set=yes;;
2620   *)
2621     eval ac_cv_prog_make_${ac_make}_set=no;;
2622 esac
2623 rm -f conftest.make
2624 fi
2625 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2627 $as_echo "yes" >&6; }
2628   SET_MAKE=
2629 else
2630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632   SET_MAKE="MAKE=${MAKE-make}"
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 DEPDIR="${am__leading_dot}deps"
3425
3426 ac_config_commands="$ac_config_commands depfiles"
3427
3428
3429 am_make=${MAKE-make}
3430 cat > confinc << 'END'
3431 am__doit:
3432         @echo this is the am__doit target
3433 .PHONY: am__doit
3434 END
3435 # If we don't find an include directive, just comment out the code.
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3437 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3438 am__include="#"
3439 am__quote=
3440 _am_result=none
3441 # First try GNU make style include.
3442 echo "include confinc" > confmf
3443 # Ignore all kinds of additional output from `make'.
3444 case `$am_make -s -f confmf 2> /dev/null` in #(
3445 *the\ am__doit\ target*)
3446   am__include=include
3447   am__quote=
3448   _am_result=GNU
3449   ;;
3450 esac
3451 # Now try BSD make style include.
3452 if test "$am__include" = "#"; then
3453    echo '.include "confinc"' > confmf
3454    case `$am_make -s -f confmf 2> /dev/null` in #(
3455    *the\ am__doit\ target*)
3456      am__include=.include
3457      am__quote="\""
3458      _am_result=BSD
3459      ;;
3460    esac
3461 fi
3462
3463
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3465 $as_echo "$_am_result" >&6; }
3466 rm -f confinc confmf
3467
3468 # Check whether --enable-dependency-tracking was given.
3469 if test "${enable_dependency_tracking+set}" = set; then :
3470   enableval=$enable_dependency_tracking;
3471 fi
3472
3473 if test "x$enable_dependency_tracking" != xno; then
3474   am_depcomp="$ac_aux_dir/depcomp"
3475   AMDEPBACKSLASH='\'
3476   am__nodep='_no'
3477 fi
3478  if test "x$enable_dependency_tracking" != xno; then
3479   AMDEP_TRUE=
3480   AMDEP_FALSE='#'
3481 else
3482   AMDEP_TRUE='#'
3483   AMDEP_FALSE=
3484 fi
3485
3486
3487
3488 depcc="$CC"   am_compiler_list=
3489
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3491 $as_echo_n "checking dependency style of $depcc... " >&6; }
3492 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3493   $as_echo_n "(cached) " >&6
3494 else
3495   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3496   # We make a subdir and do the tests there.  Otherwise we can end up
3497   # making bogus files that we don't know about and never remove.  For
3498   # instance it was reported that on HP-UX the gcc test will end up
3499   # making a dummy file named `D' -- because `-MD' means `put the output
3500   # in D'.
3501   rm -rf conftest.dir
3502   mkdir conftest.dir
3503   # Copy depcomp to subdir because otherwise we won't find it if we're
3504   # using a relative directory.
3505   cp "$am_depcomp" conftest.dir
3506   cd conftest.dir
3507   # We will build objects and dependencies in a subdirectory because
3508   # it helps to detect inapplicable dependency modes.  For instance
3509   # both Tru64's cc and ICC support -MD to output dependencies as a
3510   # side effect of compilation, but ICC will put the dependencies in
3511   # the current directory while Tru64 will put them in the object
3512   # directory.
3513   mkdir sub
3514
3515   am_cv_CC_dependencies_compiler_type=none
3516   if test "$am_compiler_list" = ""; then
3517      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3518   fi
3519   am__universal=false
3520   case " $depcc " in #(
3521      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3522      esac
3523
3524   for depmode in $am_compiler_list; do
3525     # Setup a source with many dependencies, because some compilers
3526     # like to wrap large dependency lists on column 80 (with \), and
3527     # we should not choose a depcomp mode which is confused by this.
3528     #
3529     # We need to recreate these files for each test, as the compiler may
3530     # overwrite some of them when testing with obscure command lines.
3531     # This happens at least with the AIX C compiler.
3532     : > sub/conftest.c
3533     for i in 1 2 3 4 5 6; do
3534       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3535       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3536       # Solaris 8's {/usr,}/bin/sh.
3537       touch sub/conftst$i.h
3538     done
3539     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3540
3541     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3542     # mode.  It turns out that the SunPro C++ compiler does not properly
3543     # handle `-M -o', and we need to detect this.  Also, some Intel
3544     # versions had trouble with output in subdirs
3545     am__obj=sub/conftest.${OBJEXT-o}
3546     am__minus_obj="-o $am__obj"
3547     case $depmode in
3548     gcc)
3549       # This depmode causes a compiler race in universal mode.
3550       test "$am__universal" = false || continue
3551       ;;
3552     nosideeffect)
3553       # after this tag, mechanisms are not by side-effect, so they'll
3554       # only be used when explicitly requested
3555       if test "x$enable_dependency_tracking" = xyes; then
3556         continue
3557       else
3558         break
3559       fi
3560       ;;
3561     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3562       # This compiler won't grok `-c -o', but also, the minuso test has
3563       # not run yet.  These depmodes are late enough in the game, and
3564       # so weak that their functioning should not be impacted.
3565       am__obj=conftest.${OBJEXT-o}
3566       am__minus_obj=
3567       ;;
3568     none) break ;;
3569     esac
3570     if depmode=$depmode \
3571        source=sub/conftest.c object=$am__obj \
3572        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3573        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3574          >/dev/null 2>conftest.err &&
3575        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3576        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3577        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3578        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3579       # icc doesn't choke on unknown options, it will just issue warnings
3580       # or remarks (even with -Werror).  So we grep stderr for any message
3581       # that says an option was ignored or not supported.
3582       # When given -MP, icc 7.0 and 7.1 complain thusly:
3583       #   icc: Command line warning: ignoring option '-M'; no argument required
3584       # The diagnosis changed in icc 8.0:
3585       #   icc: Command line remark: option '-MP' not supported
3586       if (grep 'ignoring option' conftest.err ||
3587           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3588         am_cv_CC_dependencies_compiler_type=$depmode
3589         break
3590       fi
3591     fi
3592   done
3593
3594   cd ..
3595   rm -rf conftest.dir
3596 else
3597   am_cv_CC_dependencies_compiler_type=none
3598 fi
3599
3600 fi
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3602 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3603 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3604
3605  if
3606   test "x$enable_dependency_tracking" != xno \
3607   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3608   am__fastdepCC_TRUE=
3609   am__fastdepCC_FALSE='#'
3610 else
3611   am__fastdepCC_TRUE='#'
3612   am__fastdepCC_FALSE=
3613 fi
3614
3615
3616
3617
3618
3619 ac_ext=c
3620 ac_cpp='$CPP $CPPFLAGS'
3621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3625 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3626 # On Suns, sometimes $CPP names a directory.
3627 if test -n "$CPP" && test -d "$CPP"; then
3628   CPP=
3629 fi
3630 if test -z "$CPP"; then
3631   if ${ac_cv_prog_CPP+:} false; then :
3632   $as_echo_n "(cached) " >&6
3633 else
3634       # Double quotes because CPP needs to be expanded
3635     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3636     do
3637       ac_preproc_ok=false
3638 for ac_c_preproc_warn_flag in '' yes
3639 do
3640   # Use a header file that comes with gcc, so configuring glibc
3641   # with a fresh cross-compiler works.
3642   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3643   # <limits.h> exists even on freestanding compilers.
3644   # On the NeXT, cc -E runs the code through the compiler's parser,
3645   # not just through cpp. "Syntax error" is here to catch this case.
3646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h.  */
3648 #ifdef __STDC__
3649 # include <limits.h>
3650 #else
3651 # include <assert.h>
3652 #endif
3653                      Syntax error
3654 _ACEOF
3655 if ac_fn_c_try_cpp "$LINENO"; then :
3656
3657 else
3658   # Broken: fails on valid input.
3659 continue
3660 fi
3661 rm -f conftest.err conftest.i conftest.$ac_ext
3662
3663   # OK, works on sane cases.  Now check whether nonexistent headers
3664   # can be detected and how.
3665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h.  */
3667 #include <ac_nonexistent.h>
3668 _ACEOF
3669 if ac_fn_c_try_cpp "$LINENO"; then :
3670   # Broken: success on invalid input.
3671 continue
3672 else
3673   # Passes both tests.
3674 ac_preproc_ok=:
3675 break
3676 fi
3677 rm -f conftest.err conftest.i conftest.$ac_ext
3678
3679 done
3680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3681 rm -f conftest.i conftest.err conftest.$ac_ext
3682 if $ac_preproc_ok; then :
3683   break
3684 fi
3685
3686     done
3687     ac_cv_prog_CPP=$CPP
3688
3689 fi
3690   CPP=$ac_cv_prog_CPP
3691 else
3692   ac_cv_prog_CPP=$CPP
3693 fi
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3695 $as_echo "$CPP" >&6; }
3696 ac_preproc_ok=false
3697 for ac_c_preproc_warn_flag in '' yes
3698 do
3699   # Use a header file that comes with gcc, so configuring glibc
3700   # with a fresh cross-compiler works.
3701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3702   # <limits.h> exists even on freestanding compilers.
3703   # On the NeXT, cc -E runs the code through the compiler's parser,
3704   # not just through cpp. "Syntax error" is here to catch this case.
3705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h.  */
3707 #ifdef __STDC__
3708 # include <limits.h>
3709 #else
3710 # include <assert.h>
3711 #endif
3712                      Syntax error
3713 _ACEOF
3714 if ac_fn_c_try_cpp "$LINENO"; then :
3715
3716 else
3717   # Broken: fails on valid input.
3718 continue
3719 fi
3720 rm -f conftest.err conftest.i conftest.$ac_ext
3721
3722   # OK, works on sane cases.  Now check whether nonexistent headers
3723   # can be detected and how.
3724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h.  */
3726 #include <ac_nonexistent.h>
3727 _ACEOF
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3729   # Broken: success on invalid input.
3730 continue
3731 else
3732   # Passes both tests.
3733 ac_preproc_ok=:
3734 break
3735 fi
3736 rm -f conftest.err conftest.i conftest.$ac_ext
3737
3738 done
3739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3740 rm -f conftest.i conftest.err conftest.$ac_ext
3741 if $ac_preproc_ok; then :
3742
3743 else
3744   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3747 See \`config.log' for more details" "$LINENO" 5; }
3748 fi
3749
3750 ac_ext=c
3751 ac_cpp='$CPP $CPPFLAGS'
3752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3755
3756
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3758 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3759 if ${ac_cv_path_GREP+:} false; then :
3760   $as_echo_n "(cached) " >&6
3761 else
3762   if test -z "$GREP"; then
3763   ac_path_GREP_found=false
3764   # Loop through the user's path and test for each of PROGNAME-LIST
3765   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3767 do
3768   IFS=$as_save_IFS
3769   test -z "$as_dir" && as_dir=.
3770     for ac_prog in grep ggrep; do
3771     for ac_exec_ext in '' $ac_executable_extensions; do
3772       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3773       as_fn_executable_p "$ac_path_GREP" || continue
3774 # Check for GNU ac_path_GREP and select it if it is found.
3775   # Check for GNU $ac_path_GREP
3776 case `"$ac_path_GREP" --version 2>&1` in
3777 *GNU*)
3778   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3779 *)
3780   ac_count=0
3781   $as_echo_n 0123456789 >"conftest.in"
3782   while :
3783   do
3784     cat "conftest.in" "conftest.in" >"conftest.tmp"
3785     mv "conftest.tmp" "conftest.in"
3786     cp "conftest.in" "conftest.nl"
3787     $as_echo 'GREP' >> "conftest.nl"
3788     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3789     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3790     as_fn_arith $ac_count + 1 && ac_count=$as_val
3791     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3792       # Best one so far, save it but keep looking for a better one
3793       ac_cv_path_GREP="$ac_path_GREP"
3794       ac_path_GREP_max=$ac_count
3795     fi
3796     # 10*(2^10) chars as input seems more than enough
3797     test $ac_count -gt 10 && break
3798   done
3799   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3800 esac
3801
3802       $ac_path_GREP_found && break 3
3803     done
3804   done
3805   done
3806 IFS=$as_save_IFS
3807   if test -z "$ac_cv_path_GREP"; then
3808     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3809   fi
3810 else
3811   ac_cv_path_GREP=$GREP
3812 fi
3813
3814 fi
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3816 $as_echo "$ac_cv_path_GREP" >&6; }
3817  GREP="$ac_cv_path_GREP"
3818
3819
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3821 $as_echo_n "checking for egrep... " >&6; }
3822 if ${ac_cv_path_EGREP+:} false; then :
3823   $as_echo_n "(cached) " >&6
3824 else
3825   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3826    then ac_cv_path_EGREP="$GREP -E"
3827    else
3828      if test -z "$EGREP"; then
3829   ac_path_EGREP_found=false
3830   # Loop through the user's path and test for each of PROGNAME-LIST
3831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3833 do
3834   IFS=$as_save_IFS
3835   test -z "$as_dir" && as_dir=.
3836     for ac_prog in egrep; do
3837     for ac_exec_ext in '' $ac_executable_extensions; do
3838       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3839       as_fn_executable_p "$ac_path_EGREP" || continue
3840 # Check for GNU ac_path_EGREP and select it if it is found.
3841   # Check for GNU $ac_path_EGREP
3842 case `"$ac_path_EGREP" --version 2>&1` in
3843 *GNU*)
3844   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3845 *)
3846   ac_count=0
3847   $as_echo_n 0123456789 >"conftest.in"
3848   while :
3849   do
3850     cat "conftest.in" "conftest.in" >"conftest.tmp"
3851     mv "conftest.tmp" "conftest.in"
3852     cp "conftest.in" "conftest.nl"
3853     $as_echo 'EGREP' >> "conftest.nl"
3854     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3855     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3856     as_fn_arith $ac_count + 1 && ac_count=$as_val
3857     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3858       # Best one so far, save it but keep looking for a better one
3859       ac_cv_path_EGREP="$ac_path_EGREP"
3860       ac_path_EGREP_max=$ac_count
3861     fi
3862     # 10*(2^10) chars as input seems more than enough
3863     test $ac_count -gt 10 && break
3864   done
3865   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3866 esac
3867
3868       $ac_path_EGREP_found && break 3
3869     done
3870   done
3871   done
3872 IFS=$as_save_IFS
3873   if test -z "$ac_cv_path_EGREP"; then
3874     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3875   fi
3876 else
3877   ac_cv_path_EGREP=$EGREP
3878 fi
3879
3880    fi
3881 fi
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3883 $as_echo "$ac_cv_path_EGREP" >&6; }
3884  EGREP="$ac_cv_path_EGREP"
3885
3886
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3888 $as_echo_n "checking for ANSI C header files... " >&6; }
3889 if ${ac_cv_header_stdc+:} false; then :
3890   $as_echo_n "(cached) " >&6
3891 else
3892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h.  */
3894 #include <stdlib.h>
3895 #include <stdarg.h>
3896 #include <string.h>
3897 #include <float.h>
3898
3899 int
3900 main ()
3901 {
3902
3903   ;
3904   return 0;
3905 }
3906 _ACEOF
3907 if ac_fn_c_try_compile "$LINENO"; then :
3908   ac_cv_header_stdc=yes
3909 else
3910   ac_cv_header_stdc=no
3911 fi
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913
3914 if test $ac_cv_header_stdc = yes; then
3915   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h.  */
3918 #include <string.h>
3919
3920 _ACEOF
3921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3922   $EGREP "memchr" >/dev/null 2>&1; then :
3923
3924 else
3925   ac_cv_header_stdc=no
3926 fi
3927 rm -f conftest*
3928
3929 fi
3930
3931 if test $ac_cv_header_stdc = yes; then
3932   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h.  */
3935 #include <stdlib.h>
3936
3937 _ACEOF
3938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3939   $EGREP "free" >/dev/null 2>&1; then :
3940
3941 else
3942   ac_cv_header_stdc=no
3943 fi
3944 rm -f conftest*
3945
3946 fi
3947
3948 if test $ac_cv_header_stdc = yes; then
3949   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3950   if test "$cross_compiling" = yes; then :
3951   :
3952 else
3953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h.  */
3955 #include <ctype.h>
3956 #include <stdlib.h>
3957 #if ((' ' & 0x0FF) == 0x020)
3958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3960 #else
3961 # define ISLOWER(c) \
3962                    (('a' <= (c) && (c) <= 'i') \
3963                      || ('j' <= (c) && (c) <= 'r') \
3964                      || ('s' <= (c) && (c) <= 'z'))
3965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3966 #endif
3967
3968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3969 int
3970 main ()
3971 {
3972   int i;
3973   for (i = 0; i < 256; i++)
3974     if (XOR (islower (i), ISLOWER (i))
3975         || toupper (i) != TOUPPER (i))
3976       return 2;
3977   return 0;
3978 }
3979 _ACEOF
3980 if ac_fn_c_try_run "$LINENO"; then :
3981
3982 else
3983   ac_cv_header_stdc=no
3984 fi
3985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3986   conftest.$ac_objext conftest.beam conftest.$ac_ext
3987 fi
3988
3989 fi
3990 fi
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3992 $as_echo "$ac_cv_header_stdc" >&6; }
3993 if test $ac_cv_header_stdc = yes; then
3994
3995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3996
3997 fi
3998
3999
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4001 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4002 if ${ac_cv_c_const+:} false; then :
4003   $as_echo_n "(cached) " >&6
4004 else
4005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h.  */
4007
4008 int
4009 main ()
4010 {
4011
4012 #ifndef __cplusplus
4013   /* Ultrix mips cc rejects this sort of thing.  */
4014   typedef int charset[2];
4015   const charset cs = { 0, 0 };
4016   /* SunOS 4.1.1 cc rejects this.  */
4017   char const *const *pcpcc;
4018   char **ppc;
4019   /* NEC SVR4.0.2 mips cc rejects this.  */
4020   struct point {int x, y;};
4021   static struct point const zero = {0,0};
4022   /* AIX XL C 1.02.0.0 rejects this.
4023      It does not let you subtract one const X* pointer from another in
4024      an arm of an if-expression whose if-part is not a constant
4025      expression */
4026   const char *g = "string";
4027   pcpcc = &g + (g ? g-g : 0);
4028   /* HPUX 7.0 cc rejects these. */
4029   ++pcpcc;
4030   ppc = (char**) pcpcc;
4031   pcpcc = (char const *const *) ppc;
4032   { /* SCO 3.2v4 cc rejects this sort of thing.  */
4033     char tx;
4034     char *t = &tx;
4035     char const *s = 0 ? (char *) 0 : (char const *) 0;
4036
4037     *t++ = 0;
4038     if (s) return 0;
4039   }
4040   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4041     int x[] = {25, 17};
4042     const int *foo = &x[0];
4043     ++foo;
4044   }
4045   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4046     typedef const int *iptr;
4047     iptr p = 0;
4048     ++p;
4049   }
4050   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4051        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4052     struct s { int j; const int *ap[3]; } bx;
4053     struct s *b = &bx; b->j = 5;
4054   }
4055   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4056     const int foo = 10;
4057     if (!foo) return 0;
4058   }
4059   return !cs[0] && !zero.x;
4060 #endif
4061
4062   ;
4063   return 0;
4064 }
4065 _ACEOF
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067   ac_cv_c_const=yes
4068 else
4069   ac_cv_c_const=no
4070 fi
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4072 fi
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4074 $as_echo "$ac_cv_c_const" >&6; }
4075 if test $ac_cv_c_const = no; then
4076
4077 $as_echo "#define const /**/" >>confdefs.h
4078
4079 fi
4080
4081 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4082 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4083                   inttypes.h stdint.h unistd.h
4084 do :
4085   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4087 "
4088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4089   cat >>confdefs.h <<_ACEOF
4090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4091 _ACEOF
4092
4093 fi
4094
4095 done
4096
4097
4098 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4099 if test "x$ac_cv_type_size_t" = xyes; then :
4100
4101 else
4102
4103 cat >>confdefs.h <<_ACEOF
4104 #define size_t unsigned int
4105 _ACEOF
4106
4107 fi
4108
4109
4110 for ac_func in strftime
4111 do :
4112   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4113 if test "x$ac_cv_func_strftime" = xyes; then :
4114   cat >>confdefs.h <<_ACEOF
4115 #define HAVE_STRFTIME 1
4116 _ACEOF
4117
4118 else
4119   # strftime is in -lintl on SCO UNIX.
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4121 $as_echo_n "checking for strftime in -lintl... " >&6; }
4122 if ${ac_cv_lib_intl_strftime+:} false; then :
4123   $as_echo_n "(cached) " >&6
4124 else
4125   ac_check_lib_save_LIBS=$LIBS
4126 LIBS="-lintl  $LIBS"
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h.  */
4129
4130 /* Override any GCC internal prototype to avoid an error.
4131    Use char because int might match the return type of a GCC
4132    builtin and then its argument prototype would still apply.  */
4133 #ifdef __cplusplus
4134 extern "C"
4135 #endif
4136 char strftime ();
4137 int
4138 main ()
4139 {
4140 return strftime ();
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_c_try_link "$LINENO"; then :
4146   ac_cv_lib_intl_strftime=yes
4147 else
4148   ac_cv_lib_intl_strftime=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext \
4151     conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4155 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
4156 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
4157   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4158
4159 LIBS="-lintl $LIBS"
4160 fi
4161
4162 fi
4163 done
4164
4165 for ac_func in vprintf
4166 do :
4167   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4168 if test "x$ac_cv_func_vprintf" = xyes; then :
4169   cat >>confdefs.h <<_ACEOF
4170 #define HAVE_VPRINTF 1
4171 _ACEOF
4172
4173 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4174 if test "x$ac_cv_func__doprnt" = xyes; then :
4175
4176 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4177
4178 fi
4179
4180 fi
4181 done
4182
4183
4184 for ac_func in strstr
4185 do :
4186   ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4187 if test "x$ac_cv_func_strstr" = xyes; then :
4188   cat >>confdefs.h <<_ACEOF
4189 #define HAVE_STRSTR 1
4190 _ACEOF
4191
4192 fi
4193 done
4194
4195
4196 ac_config_files="$ac_config_files makefile Docs/makefile Source/makefile"
4197
4198 cat >confcache <<\_ACEOF
4199 # This file is a shell script that caches the results of configure
4200 # tests run on this system so they can be shared between configure
4201 # scripts and configure runs, see configure's option --config-cache.
4202 # It is not useful on other systems.  If it contains results you don't
4203 # want to keep, you may remove or edit it.
4204 #
4205 # config.status only pays attention to the cache file if you give it
4206 # the --recheck option to rerun configure.
4207 #
4208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4210 # following values.
4211
4212 _ACEOF
4213
4214 # The following way of writing the cache mishandles newlines in values,
4215 # but we know of no workaround that is simple, portable, and efficient.
4216 # So, we kill variables containing newlines.
4217 # Ultrix sh set writes to stderr and can't be redirected directly,
4218 # and sets the high bit in the cache file unless we assign to the vars.
4219 (
4220   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4221     eval ac_val=\$$ac_var
4222     case $ac_val in #(
4223     *${as_nl}*)
4224       case $ac_var in #(
4225       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4227       esac
4228       case $ac_var in #(
4229       _ | IFS | as_nl) ;; #(
4230       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4231       *) { eval $ac_var=; unset $ac_var;} ;;
4232       esac ;;
4233     esac
4234   done
4235
4236   (set) 2>&1 |
4237     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4238     *${as_nl}ac_space=\ *)
4239       # `set' does not quote correctly, so add quotes: double-quote
4240       # substitution turns \\\\ into \\, and sed turns \\ into \.
4241       sed -n \
4242         "s/'/'\\\\''/g;
4243           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4244       ;; #(
4245     *)
4246       # `set' quotes correctly as required by POSIX, so do not add quotes.
4247       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4248       ;;
4249     esac |
4250     sort
4251 ) |
4252   sed '
4253      /^ac_cv_env_/b end
4254      t clear
4255      :clear
4256      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4257      t end
4258      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4259      :end' >>confcache
4260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4261   if test -w "$cache_file"; then
4262     if test "x$cache_file" != "x/dev/null"; then
4263       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4264 $as_echo "$as_me: updating cache $cache_file" >&6;}
4265       if test ! -f "$cache_file" || test -h "$cache_file"; then
4266         cat confcache >"$cache_file"
4267       else
4268         case $cache_file in #(
4269         */* | ?:*)
4270           mv -f confcache "$cache_file"$$ &&
4271           mv -f "$cache_file"$$ "$cache_file" ;; #(
4272         *)
4273           mv -f confcache "$cache_file" ;;
4274         esac
4275       fi
4276     fi
4277   else
4278     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4280   fi
4281 fi
4282 rm -f confcache
4283
4284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4285 # Let make expand exec_prefix.
4286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4287
4288 DEFS=-DHAVE_CONFIG_H
4289
4290 ac_libobjs=
4291 ac_ltlibobjs=
4292 U=
4293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4294   # 1. Remove the extension, and $U if already installed.
4295   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4296   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4297   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4298   #    will be set to the directory where LIBOBJS objects are built.
4299   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4300   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4301 done
4302 LIBOBJS=$ac_libobjs
4303
4304 LTLIBOBJS=$ac_ltlibobjs
4305
4306
4307  if test -n "$EXEEXT"; then
4308   am__EXEEXT_TRUE=
4309   am__EXEEXT_FALSE='#'
4310 else
4311   am__EXEEXT_TRUE='#'
4312   am__EXEEXT_FALSE=
4313 fi
4314
4315 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4316   as_fn_error $? "conditional \"AMDEP\" was never defined.
4317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4318 fi
4319 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4320   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4322 fi
4323
4324 : "${CONFIG_STATUS=./config.status}"
4325 ac_write_fail=0
4326 ac_clean_files_save=$ac_clean_files
4327 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4329 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4330 as_write_fail=0
4331 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4332 #! $SHELL
4333 # Generated by $as_me.
4334 # Run this file to recreate the current configuration.
4335 # Compiler output produced by configure, useful for debugging
4336 # configure, is in config.log if it exists.
4337
4338 debug=false
4339 ac_cs_recheck=false
4340 ac_cs_silent=false
4341
4342 SHELL=\${CONFIG_SHELL-$SHELL}
4343 export SHELL
4344 _ASEOF
4345 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4346 ## -------------------- ##
4347 ## M4sh Initialization. ##
4348 ## -------------------- ##
4349
4350 # Be more Bourne compatible
4351 DUALCASE=1; export DUALCASE # for MKS sh
4352 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4353   emulate sh
4354   NULLCMD=:
4355   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4356   # is contrary to our usage.  Disable this feature.
4357   alias -g '${1+"$@"}'='"$@"'
4358   setopt NO_GLOB_SUBST
4359 else
4360   case `(set -o) 2>/dev/null` in #(
4361   *posix*) :
4362     set -o posix ;; #(
4363   *) :
4364      ;;
4365 esac
4366 fi
4367
4368
4369 as_nl='
4370 '
4371 export as_nl
4372 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4373 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4375 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4376 # Prefer a ksh shell builtin over an external printf program on Solaris,
4377 # but without wasting forks for bash or zsh.
4378 if test -z "$BASH_VERSION$ZSH_VERSION" \
4379     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4380   as_echo='print -r --'
4381   as_echo_n='print -rn --'
4382 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4383   as_echo='printf %s\n'
4384   as_echo_n='printf %s'
4385 else
4386   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4387     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4388     as_echo_n='/usr/ucb/echo -n'
4389   else
4390     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4391     as_echo_n_body='eval
4392       arg=$1;
4393       case $arg in #(
4394       *"$as_nl"*)
4395         expr "X$arg" : "X\\(.*\\)$as_nl";
4396         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4397       esac;
4398       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4399     '
4400     export as_echo_n_body
4401     as_echo_n='sh -c $as_echo_n_body as_echo'
4402   fi
4403   export as_echo_body
4404   as_echo='sh -c $as_echo_body as_echo'
4405 fi
4406
4407 # The user is always right.
4408 if test "${PATH_SEPARATOR+set}" != set; then
4409   PATH_SEPARATOR=:
4410   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4411     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4412       PATH_SEPARATOR=';'
4413   }
4414 fi
4415
4416
4417 # IFS
4418 # We need space, tab and new line, in precisely that order.  Quoting is
4419 # there to prevent editors from complaining about space-tab.
4420 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4421 # splitting by setting IFS to empty value.)
4422 IFS=" ""        $as_nl"
4423
4424 # Find who we are.  Look in the path if we contain no directory separator.
4425 as_myself=
4426 case $0 in #((
4427   *[\\/]* ) as_myself=$0 ;;
4428   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH
4430 do
4431   IFS=$as_save_IFS
4432   test -z "$as_dir" && as_dir=.
4433     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4434   done
4435 IFS=$as_save_IFS
4436
4437      ;;
4438 esac
4439 # We did not find ourselves, most probably we were run as `sh COMMAND'
4440 # in which case we are not to be found in the path.
4441 if test "x$as_myself" = x; then
4442   as_myself=$0
4443 fi
4444 if test ! -f "$as_myself"; then
4445   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4446   exit 1
4447 fi
4448
4449 # Unset variables that we do not need and which cause bugs (e.g. in
4450 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4451 # suppresses any "Segmentation fault" message there.  '((' could
4452 # trigger a bug in pdksh 5.2.14.
4453 for as_var in BASH_ENV ENV MAIL MAILPATH
4454 do eval test x\${$as_var+set} = xset \
4455   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4456 done
4457 PS1='$ '
4458 PS2='> '
4459 PS4='+ '
4460
4461 # NLS nuisances.
4462 LC_ALL=C
4463 export LC_ALL
4464 LANGUAGE=C
4465 export LANGUAGE
4466
4467 # CDPATH.
4468 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4469
4470
4471 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4472 # ----------------------------------------
4473 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4474 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4475 # script with STATUS, using 1 if that was 0.
4476 as_fn_error ()
4477 {
4478   as_status=$1; test $as_status -eq 0 && as_status=1
4479   if test "$4"; then
4480     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4481     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4482   fi
4483   $as_echo "$as_me: error: $2" >&2
4484   as_fn_exit $as_status
4485 } # as_fn_error
4486
4487
4488 # as_fn_set_status STATUS
4489 # -----------------------
4490 # Set $? to STATUS, without forking.
4491 as_fn_set_status ()
4492 {
4493   return $1
4494 } # as_fn_set_status
4495
4496 # as_fn_exit STATUS
4497 # -----------------
4498 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4499 as_fn_exit ()
4500 {
4501   set +e
4502   as_fn_set_status $1
4503   exit $1
4504 } # as_fn_exit
4505
4506 # as_fn_unset VAR
4507 # ---------------
4508 # Portably unset VAR.
4509 as_fn_unset ()
4510 {
4511   { eval $1=; unset $1;}
4512 }
4513 as_unset=as_fn_unset
4514 # as_fn_append VAR VALUE
4515 # ----------------------
4516 # Append the text in VALUE to the end of the definition contained in VAR. Take
4517 # advantage of any shell optimizations that allow amortized linear growth over
4518 # repeated appends, instead of the typical quadratic growth present in naive
4519 # implementations.
4520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4521   eval 'as_fn_append ()
4522   {
4523     eval $1+=\$2
4524   }'
4525 else
4526   as_fn_append ()
4527   {
4528     eval $1=\$$1\$2
4529   }
4530 fi # as_fn_append
4531
4532 # as_fn_arith ARG...
4533 # ------------------
4534 # Perform arithmetic evaluation on the ARGs, and store the result in the
4535 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4536 # must be portable across $(()) and expr.
4537 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4538   eval 'as_fn_arith ()
4539   {
4540     as_val=$(( $* ))
4541   }'
4542 else
4543   as_fn_arith ()
4544   {
4545     as_val=`expr "$@" || test $? -eq 1`
4546   }
4547 fi # as_fn_arith
4548
4549
4550 if expr a : '\(a\)' >/dev/null 2>&1 &&
4551    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4552   as_expr=expr
4553 else
4554   as_expr=false
4555 fi
4556
4557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4558   as_basename=basename
4559 else
4560   as_basename=false
4561 fi
4562
4563 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4564   as_dirname=dirname
4565 else
4566   as_dirname=false
4567 fi
4568
4569 as_me=`$as_basename -- "$0" ||
4570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4571          X"$0" : 'X\(//\)$' \| \
4572          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4573 $as_echo X/"$0" |
4574     sed '/^.*\/\([^/][^/]*\)\/*$/{
4575             s//\1/
4576             q
4577           }
4578           /^X\/\(\/\/\)$/{
4579             s//\1/
4580             q
4581           }
4582           /^X\/\(\/\).*/{
4583             s//\1/
4584             q
4585           }
4586           s/.*/./; q'`
4587
4588 # Avoid depending upon Character Ranges.
4589 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4590 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4591 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4592 as_cr_digits='0123456789'
4593 as_cr_alnum=$as_cr_Letters$as_cr_digits
4594
4595 ECHO_C= ECHO_N= ECHO_T=
4596 case `echo -n x` in #(((((
4597 -n*)
4598   case `echo 'xy\c'` in
4599   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4600   xy)  ECHO_C='\c';;
4601   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4602        ECHO_T=' ';;
4603   esac;;
4604 *)
4605   ECHO_N='-n';;
4606 esac
4607
4608 rm -f conf$$ conf$$.exe conf$$.file
4609 if test -d conf$$.dir; then
4610   rm -f conf$$.dir/conf$$.file
4611 else
4612   rm -f conf$$.dir
4613   mkdir conf$$.dir 2>/dev/null
4614 fi
4615 if (echo >conf$$.file) 2>/dev/null; then
4616   if ln -s conf$$.file conf$$ 2>/dev/null; then
4617     as_ln_s='ln -s'
4618     # ... but there are two gotchas:
4619     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4620     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4621     # In both cases, we have to default to `cp -pR'.
4622     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4623       as_ln_s='cp -pR'
4624   elif ln conf$$.file conf$$ 2>/dev/null; then
4625     as_ln_s=ln
4626   else
4627     as_ln_s='cp -pR'
4628   fi
4629 else
4630   as_ln_s='cp -pR'
4631 fi
4632 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4633 rmdir conf$$.dir 2>/dev/null
4634
4635
4636 # as_fn_mkdir_p
4637 # -------------
4638 # Create "$as_dir" as a directory, including parents if necessary.
4639 as_fn_mkdir_p ()
4640 {
4641
4642   case $as_dir in #(
4643   -*) as_dir=./$as_dir;;
4644   esac
4645   test -d "$as_dir" || eval $as_mkdir_p || {
4646     as_dirs=
4647     while :; do
4648       case $as_dir in #(
4649       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4650       *) as_qdir=$as_dir;;
4651       esac
4652       as_dirs="'$as_qdir' $as_dirs"
4653       as_dir=`$as_dirname -- "$as_dir" ||
4654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4655          X"$as_dir" : 'X\(//\)[^/]' \| \
4656          X"$as_dir" : 'X\(//\)$' \| \
4657          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4658 $as_echo X"$as_dir" |
4659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4660             s//\1/
4661             q
4662           }
4663           /^X\(\/\/\)[^/].*/{
4664             s//\1/
4665             q
4666           }
4667           /^X\(\/\/\)$/{
4668             s//\1/
4669             q
4670           }
4671           /^X\(\/\).*/{
4672             s//\1/
4673             q
4674           }
4675           s/.*/./; q'`
4676       test -d "$as_dir" && break
4677     done
4678     test -z "$as_dirs" || eval "mkdir $as_dirs"
4679   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4680
4681
4682 } # as_fn_mkdir_p
4683 if mkdir -p . 2>/dev/null; then
4684   as_mkdir_p='mkdir -p "$as_dir"'
4685 else
4686   test -d ./-p && rmdir ./-p
4687   as_mkdir_p=false
4688 fi
4689
4690
4691 # as_fn_executable_p FILE
4692 # -----------------------
4693 # Test if FILE is an executable regular file.
4694 as_fn_executable_p ()
4695 {
4696   test -f "$1" && test -x "$1"
4697 } # as_fn_executable_p
4698 as_test_x='test -x'
4699 as_executable_p=as_fn_executable_p
4700
4701 # Sed expression to map a string onto a valid CPP name.
4702 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4703
4704 # Sed expression to map a string onto a valid variable name.
4705 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4706
4707
4708 exec 6>&1
4709 ## ----------------------------------- ##
4710 ## Main body of $CONFIG_STATUS script. ##
4711 ## ----------------------------------- ##
4712 _ASEOF
4713 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4714
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 # Save the log message, to keep $0 and so on meaningful, and to
4717 # report actual input values of CONFIG_FILES etc. instead of their
4718 # values after options handling.
4719 ac_log="
4720 This file was extended by $as_me, which was
4721 generated by GNU Autoconf 2.69.  Invocation command line was
4722
4723   CONFIG_FILES    = $CONFIG_FILES
4724   CONFIG_HEADERS  = $CONFIG_HEADERS
4725   CONFIG_LINKS    = $CONFIG_LINKS
4726   CONFIG_COMMANDS = $CONFIG_COMMANDS
4727   $ $0 $@
4728
4729 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4730 "
4731
4732 _ACEOF
4733
4734 case $ac_config_files in *"
4735 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4736 esac
4737
4738 case $ac_config_headers in *"
4739 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4740 esac
4741
4742
4743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4744 # Files that config.status was made for.
4745 config_files="$ac_config_files"
4746 config_headers="$ac_config_headers"
4747 config_commands="$ac_config_commands"
4748
4749 _ACEOF
4750
4751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4752 ac_cs_usage="\
4753 \`$as_me' instantiates files and other configuration actions
4754 from templates according to the current configuration.  Unless the files
4755 and actions are specified as TAGs, all are instantiated by default.
4756
4757 Usage: $0 [OPTION]... [TAG]...
4758
4759   -h, --help       print this help, then exit
4760   -V, --version    print version number and configuration settings, then exit
4761       --config     print configuration, then exit
4762   -q, --quiet, --silent
4763                    do not print progress messages
4764   -d, --debug      don't remove temporary files
4765       --recheck    update $as_me by reconfiguring in the same conditions
4766       --file=FILE[:TEMPLATE]
4767                    instantiate the configuration file FILE
4768       --header=FILE[:TEMPLATE]
4769                    instantiate the configuration header FILE
4770
4771 Configuration files:
4772 $config_files
4773
4774 Configuration headers:
4775 $config_headers
4776
4777 Configuration commands:
4778 $config_commands
4779
4780 Report bugs to the package provider."
4781
4782 _ACEOF
4783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4784 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4785 ac_cs_version="\\
4786 config.status
4787 configured by $0, generated by GNU Autoconf 2.69,
4788   with options \\"\$ac_cs_config\\"
4789
4790 Copyright (C) 2012 Free Software Foundation, Inc.
4791 This config.status script is free software; the Free Software Foundation
4792 gives unlimited permission to copy, distribute and modify it."
4793
4794 ac_pwd='$ac_pwd'
4795 srcdir='$srcdir'
4796 INSTALL='$INSTALL'
4797 MKDIR_P='$MKDIR_P'
4798 AWK='$AWK'
4799 test -n "\$AWK" || AWK=awk
4800 _ACEOF
4801
4802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4803 # The default lists apply if the user does not specify any file.
4804 ac_need_defaults=:
4805 while test $# != 0
4806 do
4807   case $1 in
4808   --*=?*)
4809     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4810     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4811     ac_shift=:
4812     ;;
4813   --*=)
4814     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4815     ac_optarg=
4816     ac_shift=:
4817     ;;
4818   *)
4819     ac_option=$1
4820     ac_optarg=$2
4821     ac_shift=shift
4822     ;;
4823   esac
4824
4825   case $ac_option in
4826   # Handling of the options.
4827   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4828     ac_cs_recheck=: ;;
4829   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4830     $as_echo "$ac_cs_version"; exit ;;
4831   --config | --confi | --conf | --con | --co | --c )
4832     $as_echo "$ac_cs_config"; exit ;;
4833   --debug | --debu | --deb | --de | --d | -d )
4834     debug=: ;;
4835   --file | --fil | --fi | --f )
4836     $ac_shift
4837     case $ac_optarg in
4838     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4839     '') as_fn_error $? "missing file argument" ;;
4840     esac
4841     as_fn_append CONFIG_FILES " '$ac_optarg'"
4842     ac_need_defaults=false;;
4843   --header | --heade | --head | --hea )
4844     $ac_shift
4845     case $ac_optarg in
4846     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4847     esac
4848     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4849     ac_need_defaults=false;;
4850   --he | --h)
4851     # Conflict between --help and --header
4852     as_fn_error $? "ambiguous option: \`$1'
4853 Try \`$0 --help' for more information.";;
4854   --help | --hel | -h )
4855     $as_echo "$ac_cs_usage"; exit ;;
4856   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4857   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4858     ac_cs_silent=: ;;
4859
4860   # This is an error.
4861   -*) as_fn_error $? "unrecognized option: \`$1'
4862 Try \`$0 --help' for more information." ;;
4863
4864   *) as_fn_append ac_config_targets " $1"
4865      ac_need_defaults=false ;;
4866
4867   esac
4868   shift
4869 done
4870
4871 ac_configure_extra_args=
4872
4873 if $ac_cs_silent; then
4874   exec 6>/dev/null
4875   ac_configure_extra_args="$ac_configure_extra_args --silent"
4876 fi
4877
4878 _ACEOF
4879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4880 if \$ac_cs_recheck; then
4881   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4882   shift
4883   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4884   CONFIG_SHELL='$SHELL'
4885   export CONFIG_SHELL
4886   exec "\$@"
4887 fi
4888
4889 _ACEOF
4890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4891 exec 5>>config.log
4892 {
4893   echo
4894   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4895 ## Running $as_me. ##
4896 _ASBOX
4897   $as_echo "$ac_log"
4898 } >&5
4899
4900 _ACEOF
4901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4902 #
4903 # INIT-COMMANDS
4904 #
4905 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4906
4907 _ACEOF
4908
4909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4910
4911 # Handling of arguments.
4912 for ac_config_target in $ac_config_targets
4913 do
4914   case $ac_config_target in
4915     "Source/config.h") CONFIG_HEADERS="$CONFIG_HEADERS Source/config.h" ;;
4916     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4917     "makefile") CONFIG_FILES="$CONFIG_FILES makefile" ;;
4918     "Docs/makefile") CONFIG_FILES="$CONFIG_FILES Docs/makefile" ;;
4919     "Source/makefile") CONFIG_FILES="$CONFIG_FILES Source/makefile" ;;
4920
4921   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4922   esac
4923 done
4924
4925
4926 # If the user did not use the arguments to specify the items to instantiate,
4927 # then the envvar interface is used.  Set only those that are not.
4928 # We use the long form for the default assignment because of an extremely
4929 # bizarre bug on SunOS 4.1.3.
4930 if $ac_need_defaults; then
4931   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4932   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4933   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4934 fi
4935
4936 # Have a temporary directory for convenience.  Make it in the build tree
4937 # simply because there is no reason against having it here, and in addition,
4938 # creating and moving files from /tmp can sometimes cause problems.
4939 # Hook for its removal unless debugging.
4940 # Note that there is a small window in which the directory will not be cleaned:
4941 # after its creation but before its name has been assigned to `$tmp'.
4942 $debug ||
4943 {
4944   tmp= ac_tmp=
4945   trap 'exit_status=$?
4946   : "${ac_tmp:=$tmp}"
4947   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4948 ' 0
4949   trap 'as_fn_exit 1' 1 2 13 15
4950 }
4951 # Create a (secure) tmp directory for tmp files.
4952
4953 {
4954   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4955   test -d "$tmp"
4956 }  ||
4957 {
4958   tmp=./conf$$-$RANDOM
4959   (umask 077 && mkdir "$tmp")
4960 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4961 ac_tmp=$tmp
4962
4963 # Set up the scripts for CONFIG_FILES section.
4964 # No need to generate them if there are no CONFIG_FILES.
4965 # This happens for instance with `./config.status config.h'.
4966 if test -n "$CONFIG_FILES"; then
4967
4968
4969 ac_cr=`echo X | tr X '\015'`
4970 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4971 # But we know of no other shell where ac_cr would be empty at this
4972 # point, so we can use a bashism as a fallback.
4973 if test "x$ac_cr" = x; then
4974   eval ac_cr=\$\'\\r\'
4975 fi
4976 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4977 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4978   ac_cs_awk_cr='\\r'
4979 else
4980   ac_cs_awk_cr=$ac_cr
4981 fi
4982
4983 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4984 _ACEOF
4985
4986
4987 {
4988   echo "cat >conf$$subs.awk <<_ACEOF" &&
4989   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4990   echo "_ACEOF"
4991 } >conf$$subs.sh ||
4992   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4993 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4994 ac_delim='%!_!# '
4995 for ac_last_try in false false false false false :; do
4996   . ./conf$$subs.sh ||
4997     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4998
4999   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5000   if test $ac_delim_n = $ac_delim_num; then
5001     break
5002   elif $ac_last_try; then
5003     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5004   else
5005     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5006   fi
5007 done
5008 rm -f conf$$subs.sh
5009
5010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5011 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5012 _ACEOF
5013 sed -n '
5014 h
5015 s/^/S["/; s/!.*/"]=/
5016 p
5017 g
5018 s/^[^!]*!//
5019 :repl
5020 t repl
5021 s/'"$ac_delim"'$//
5022 t delim
5023 :nl
5024 h
5025 s/\(.\{148\}\)..*/\1/
5026 t more1
5027 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5028 p
5029 n
5030 b repl
5031 :more1
5032 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5033 p
5034 g
5035 s/.\{148\}//
5036 t nl
5037 :delim
5038 h
5039 s/\(.\{148\}\)..*/\1/
5040 t more2
5041 s/["\\]/\\&/g; s/^/"/; s/$/"/
5042 p
5043 b
5044 :more2
5045 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5046 p
5047 g
5048 s/.\{148\}//
5049 t delim
5050 ' <conf$$subs.awk | sed '
5051 /^[^""]/{
5052   N
5053   s/\n//
5054 }
5055 ' >>$CONFIG_STATUS || ac_write_fail=1
5056 rm -f conf$$subs.awk
5057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5058 _ACAWK
5059 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5060   for (key in S) S_is_set[key] = 1
5061   FS = "\a"
5062
5063 }
5064 {
5065   line = $ 0
5066   nfields = split(line, field, "@")
5067   substed = 0
5068   len = length(field[1])
5069   for (i = 2; i < nfields; i++) {
5070     key = field[i]
5071     keylen = length(key)
5072     if (S_is_set[key]) {
5073       value = S[key]
5074       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5075       len += length(value) + length(field[++i])
5076       substed = 1
5077     } else
5078       len += 1 + keylen
5079   }
5080
5081   print line
5082 }
5083
5084 _ACAWK
5085 _ACEOF
5086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5087 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5088   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5089 else
5090   cat
5091 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5092   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5093 _ACEOF
5094
5095 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5096 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5097 # trailing colons and then remove the whole line if VPATH becomes empty
5098 # (actually we leave an empty line to preserve line numbers).
5099 if test "x$srcdir" = x.; then
5100   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5101 h
5102 s///
5103 s/^/:/
5104 s/[      ]*$/:/
5105 s/:\$(srcdir):/:/g
5106 s/:\${srcdir}:/:/g
5107 s/:@srcdir@:/:/g
5108 s/^:*//
5109 s/:*$//
5110 x
5111 s/\(=[   ]*\).*/\1/
5112 G
5113 s/\n//
5114 s/^[^=]*=[       ]*$//
5115 }'
5116 fi
5117
5118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5119 fi # test -n "$CONFIG_FILES"
5120
5121 # Set up the scripts for CONFIG_HEADERS section.
5122 # No need to generate them if there are no CONFIG_HEADERS.
5123 # This happens for instance with `./config.status Makefile'.
5124 if test -n "$CONFIG_HEADERS"; then
5125 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5126 BEGIN {
5127 _ACEOF
5128
5129 # Transform confdefs.h into an awk script `defines.awk', embedded as
5130 # here-document in config.status, that substitutes the proper values into
5131 # config.h.in to produce config.h.
5132
5133 # Create a delimiter string that does not exist in confdefs.h, to ease
5134 # handling of long lines.
5135 ac_delim='%!_!# '
5136 for ac_last_try in false false :; do
5137   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5138   if test -z "$ac_tt"; then
5139     break
5140   elif $ac_last_try; then
5141     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5142   else
5143     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5144   fi
5145 done
5146
5147 # For the awk script, D is an array of macro values keyed by name,
5148 # likewise P contains macro parameters if any.  Preserve backslash
5149 # newline sequences.
5150
5151 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5152 sed -n '
5153 s/.\{148\}/&'"$ac_delim"'/g
5154 t rset
5155 :rset
5156 s/^[     ]*#[    ]*define[       ][      ]*/ /
5157 t def
5158 d
5159 :def
5160 s/\\$//
5161 t bsnl
5162 s/["\\]/\\&/g
5163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5164 D["\1"]=" \3"/p
5165 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5166 d
5167 :bsnl
5168 s/["\\]/\\&/g
5169 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5170 D["\1"]=" \3\\\\\\n"\\/p
5171 t cont
5172 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5173 t cont
5174 d
5175 :cont
5176 n
5177 s/.\{148\}/&'"$ac_delim"'/g
5178 t clear
5179 :clear
5180 s/\\$//
5181 t bsnlc
5182 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5183 d
5184 :bsnlc
5185 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5186 b cont
5187 ' <confdefs.h | sed '
5188 s/'"$ac_delim"'/"\\\
5189 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5190
5191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5192   for (key in D) D_is_set[key] = 1
5193   FS = "\a"
5194 }
5195 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5196   line = \$ 0
5197   split(line, arg, " ")
5198   if (arg[1] == "#") {
5199     defundef = arg[2]
5200     mac1 = arg[3]
5201   } else {
5202     defundef = substr(arg[1], 2)
5203     mac1 = arg[2]
5204   }
5205   split(mac1, mac2, "(") #)
5206   macro = mac2[1]
5207   prefix = substr(line, 1, index(line, defundef) - 1)
5208   if (D_is_set[macro]) {
5209     # Preserve the white space surrounding the "#".
5210     print prefix "define", macro P[macro] D[macro]
5211     next
5212   } else {
5213     # Replace #undef with comments.  This is necessary, for example,
5214     # in the case of _POSIX_SOURCE, which is predefined and required
5215     # on some systems where configure will not decide to define it.
5216     if (defundef == "undef") {
5217       print "/*", prefix defundef, macro, "*/"
5218       next
5219     }
5220   }
5221 }
5222 { print }
5223 _ACAWK
5224 _ACEOF
5225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5226   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5227 fi # test -n "$CONFIG_HEADERS"
5228
5229
5230 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5231 shift
5232 for ac_tag
5233 do
5234   case $ac_tag in
5235   :[FHLC]) ac_mode=$ac_tag; continue;;
5236   esac
5237   case $ac_mode$ac_tag in
5238   :[FHL]*:*);;
5239   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5240   :[FH]-) ac_tag=-:-;;
5241   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5242   esac
5243   ac_save_IFS=$IFS
5244   IFS=:
5245   set x $ac_tag
5246   IFS=$ac_save_IFS
5247   shift
5248   ac_file=$1
5249   shift
5250
5251   case $ac_mode in
5252   :L) ac_source=$1;;
5253   :[FH])
5254     ac_file_inputs=
5255     for ac_f
5256     do
5257       case $ac_f in
5258       -) ac_f="$ac_tmp/stdin";;
5259       *) # Look for the file first in the build tree, then in the source tree
5260          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5261          # because $ac_f cannot contain `:'.
5262          test -f "$ac_f" ||
5263            case $ac_f in
5264            [\\/$]*) false;;
5265            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5266            esac ||
5267            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5268       esac
5269       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5270       as_fn_append ac_file_inputs " '$ac_f'"
5271     done
5272
5273     # Let's still pretend it is `configure' which instantiates (i.e., don't
5274     # use $as_me), people would be surprised to read:
5275     #    /* config.h.  Generated by config.status.  */
5276     configure_input='Generated from '`
5277           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5278         `' by configure.'
5279     if test x"$ac_file" != x-; then
5280       configure_input="$ac_file.  $configure_input"
5281       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5282 $as_echo "$as_me: creating $ac_file" >&6;}
5283     fi
5284     # Neutralize special characters interpreted by sed in replacement strings.
5285     case $configure_input in #(
5286     *\&* | *\|* | *\\* )
5287        ac_sed_conf_input=`$as_echo "$configure_input" |
5288        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5289     *) ac_sed_conf_input=$configure_input;;
5290     esac
5291
5292     case $ac_tag in
5293     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5294       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5295     esac
5296     ;;
5297   esac
5298
5299   ac_dir=`$as_dirname -- "$ac_file" ||
5300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5301          X"$ac_file" : 'X\(//\)[^/]' \| \
5302          X"$ac_file" : 'X\(//\)$' \| \
5303          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5304 $as_echo X"$ac_file" |
5305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5306             s//\1/
5307             q
5308           }
5309           /^X\(\/\/\)[^/].*/{
5310             s//\1/
5311             q
5312           }
5313           /^X\(\/\/\)$/{
5314             s//\1/
5315             q
5316           }
5317           /^X\(\/\).*/{
5318             s//\1/
5319             q
5320           }
5321           s/.*/./; q'`
5322   as_dir="$ac_dir"; as_fn_mkdir_p
5323   ac_builddir=.
5324
5325 case "$ac_dir" in
5326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5327 *)
5328   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5329   # A ".." for each directory in $ac_dir_suffix.
5330   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5331   case $ac_top_builddir_sub in
5332   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5333   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5334   esac ;;
5335 esac
5336 ac_abs_top_builddir=$ac_pwd
5337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5338 # for backward compatibility:
5339 ac_top_builddir=$ac_top_build_prefix
5340
5341 case $srcdir in
5342   .)  # We are building in place.
5343     ac_srcdir=.
5344     ac_top_srcdir=$ac_top_builddir_sub
5345     ac_abs_top_srcdir=$ac_pwd ;;
5346   [\\/]* | ?:[\\/]* )  # Absolute name.
5347     ac_srcdir=$srcdir$ac_dir_suffix;
5348     ac_top_srcdir=$srcdir
5349     ac_abs_top_srcdir=$srcdir ;;
5350   *) # Relative name.
5351     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5352     ac_top_srcdir=$ac_top_build_prefix$srcdir
5353     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5354 esac
5355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5356
5357
5358   case $ac_mode in
5359   :F)
5360   #
5361   # CONFIG_FILE
5362   #
5363
5364   case $INSTALL in
5365   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5366   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5367   esac
5368   ac_MKDIR_P=$MKDIR_P
5369   case $MKDIR_P in
5370   [\\/$]* | ?:[\\/]* ) ;;
5371   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5372   esac
5373 _ACEOF
5374
5375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5376 # If the template does not know about datarootdir, expand it.
5377 # FIXME: This hack should be removed a few years after 2.60.
5378 ac_datarootdir_hack=; ac_datarootdir_seen=
5379 ac_sed_dataroot='
5380 /datarootdir/ {
5381   p
5382   q
5383 }
5384 /@datadir@/p
5385 /@docdir@/p
5386 /@infodir@/p
5387 /@localedir@/p
5388 /@mandir@/p'
5389 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5390 *datarootdir*) ac_datarootdir_seen=yes;;
5391 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5392   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5393 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5394 _ACEOF
5395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5396   ac_datarootdir_hack='
5397   s&@datadir@&$datadir&g
5398   s&@docdir@&$docdir&g
5399   s&@infodir@&$infodir&g
5400   s&@localedir@&$localedir&g
5401   s&@mandir@&$mandir&g
5402   s&\\\${datarootdir}&$datarootdir&g' ;;
5403 esac
5404 _ACEOF
5405
5406 # Neutralize VPATH when `$srcdir' = `.'.
5407 # Shell code in configure.ac might set extrasub.
5408 # FIXME: do we really want to maintain this feature?
5409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5410 ac_sed_extra="$ac_vpsub
5411 $extrasub
5412 _ACEOF
5413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5414 :t
5415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5416 s|@configure_input@|$ac_sed_conf_input|;t t
5417 s&@top_builddir@&$ac_top_builddir_sub&;t t
5418 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5419 s&@srcdir@&$ac_srcdir&;t t
5420 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5421 s&@top_srcdir@&$ac_top_srcdir&;t t
5422 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5423 s&@builddir@&$ac_builddir&;t t
5424 s&@abs_builddir@&$ac_abs_builddir&;t t
5425 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5426 s&@INSTALL@&$ac_INSTALL&;t t
5427 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5428 $ac_datarootdir_hack
5429 "
5430 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5431   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5432
5433 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5434   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5435   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5436       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5437   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5438 which seems to be undefined.  Please make sure it is defined" >&5
5439 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5440 which seems to be undefined.  Please make sure it is defined" >&2;}
5441
5442   rm -f "$ac_tmp/stdin"
5443   case $ac_file in
5444   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5445   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5446   esac \
5447   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5448  ;;
5449   :H)
5450   #
5451   # CONFIG_HEADER
5452   #
5453   if test x"$ac_file" != x-; then
5454     {
5455       $as_echo "/* $configure_input  */" \
5456       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5457     } >"$ac_tmp/config.h" \
5458       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5459     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5460       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5461 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5462     else
5463       rm -f "$ac_file"
5464       mv "$ac_tmp/config.h" "$ac_file" \
5465         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5466     fi
5467   else
5468     $as_echo "/* $configure_input  */" \
5469       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5470       || as_fn_error $? "could not create -" "$LINENO" 5
5471   fi
5472 # Compute "$ac_file"'s index in $config_headers.
5473 _am_arg="$ac_file"
5474 _am_stamp_count=1
5475 for _am_header in $config_headers :; do
5476   case $_am_header in
5477     $_am_arg | $_am_arg:* )
5478       break ;;
5479     * )
5480       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5481   esac
5482 done
5483 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5484 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5485          X"$_am_arg" : 'X\(//\)[^/]' \| \
5486          X"$_am_arg" : 'X\(//\)$' \| \
5487          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5488 $as_echo X"$_am_arg" |
5489     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5490             s//\1/
5491             q
5492           }
5493           /^X\(\/\/\)[^/].*/{
5494             s//\1/
5495             q
5496           }
5497           /^X\(\/\/\)$/{
5498             s//\1/
5499             q
5500           }
5501           /^X\(\/\).*/{
5502             s//\1/
5503             q
5504           }
5505           s/.*/./; q'`/stamp-h$_am_stamp_count
5506  ;;
5507
5508   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5509 $as_echo "$as_me: executing $ac_file commands" >&6;}
5510  ;;
5511   esac
5512
5513
5514   case $ac_file$ac_mode in
5515     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5516   # Autoconf 2.62 quotes --file arguments for eval, but not when files
5517   # are listed without --file.  Let's play safe and only enable the eval
5518   # if we detect the quoting.
5519   case $CONFIG_FILES in
5520   *\'*) eval set x "$CONFIG_FILES" ;;
5521   *)   set x $CONFIG_FILES ;;
5522   esac
5523   shift
5524   for mf
5525   do
5526     # Strip MF so we end up with the name of the file.
5527     mf=`echo "$mf" | sed -e 's/:.*$//'`
5528     # Check whether this is an Automake generated Makefile or not.
5529     # We used to match only the files named `Makefile.in', but
5530     # some people rename them; so instead we look at the file content.
5531     # Grep'ing the first line is not enough: some people post-process
5532     # each Makefile.in and add a new line on top of each file to say so.
5533     # Grep'ing the whole file is not good either: AIX grep has a line
5534     # limit of 2048, but all sed's we know have understand at least 4000.
5535     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5536       dirpart=`$as_dirname -- "$mf" ||
5537 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5538          X"$mf" : 'X\(//\)[^/]' \| \
5539          X"$mf" : 'X\(//\)$' \| \
5540          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5541 $as_echo X"$mf" |
5542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5543             s//\1/
5544             q
5545           }
5546           /^X\(\/\/\)[^/].*/{
5547             s//\1/
5548             q
5549           }
5550           /^X\(\/\/\)$/{
5551             s//\1/
5552             q
5553           }
5554           /^X\(\/\).*/{
5555             s//\1/
5556             q
5557           }
5558           s/.*/./; q'`
5559     else
5560       continue
5561     fi
5562     # Extract the definition of DEPDIR, am__include, and am__quote
5563     # from the Makefile without running `make'.
5564     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5565     test -z "$DEPDIR" && continue
5566     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5567     test -z "am__include" && continue
5568     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5569     # When using ansi2knr, U may be empty or an underscore; expand it
5570     U=`sed -n 's/^U = //p' < "$mf"`
5571     # Find all dependency output files, they are included files with
5572     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5573     # simplest approach to changing $(DEPDIR) to its actual value in the
5574     # expansion.
5575     for file in `sed -n "
5576       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5577          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5578       # Make sure the directory exists.
5579       test -f "$dirpart/$file" && continue
5580       fdir=`$as_dirname -- "$file" ||
5581 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5582          X"$file" : 'X\(//\)[^/]' \| \
5583          X"$file" : 'X\(//\)$' \| \
5584          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5585 $as_echo X"$file" |
5586     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5587             s//\1/
5588             q
5589           }
5590           /^X\(\/\/\)[^/].*/{
5591             s//\1/
5592             q
5593           }
5594           /^X\(\/\/\)$/{
5595             s//\1/
5596             q
5597           }
5598           /^X\(\/\).*/{
5599             s//\1/
5600             q
5601           }
5602           s/.*/./; q'`
5603       as_dir=$dirpart/$fdir; as_fn_mkdir_p
5604       # echo "creating $dirpart/$file"
5605       echo '# dummy' > "$dirpart/$file"
5606     done
5607   done
5608 }
5609  ;;
5610
5611   esac
5612 done # for ac_tag
5613
5614
5615 as_fn_exit 0
5616 _ACEOF
5617 ac_clean_files=$ac_clean_files_save
5618
5619 test $ac_write_fail = 0 ||
5620   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5621
5622
5623 # configure is writing to config.log, and then calls config.status.
5624 # config.status does its own redirection, appending to config.log.
5625 # Unfortunately, on DOS this fails, as config.log is still kept open
5626 # by configure, so config.status won't be able to write to it; its
5627 # output is simply discarded.  So we exec the FD to /dev/null,
5628 # effectively closing config.log, so it can be properly (re)opened and
5629 # appended to by config.status.  When coming back to configure, we
5630 # need to make the FD available again.
5631 if test "$no_create" != yes; then
5632   ac_cs_success=:
5633   ac_config_status_args=
5634   test "$silent" = yes &&
5635     ac_config_status_args="$ac_config_status_args --quiet"
5636   exec 5>/dev/null
5637   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5638   exec 5>>config.log
5639   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5640   # would make configure fail if this is the last instruction.
5641   $ac_cs_success || as_fn_exit 1
5642 fi
5643 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5644   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5645 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5646 fi
5647
5648