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