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