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