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