Debian Codegraph @

configure

raw
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 [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="cbits/conv.c"
586 enable_option_checking=no
587 # Factoring default headers for most tests.
588 ac_includes_default="\
589 #include <stdio.h>
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
592 #endif
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
595 #endif
596 #ifdef STDC_HEADERS
597 # include <stdlib.h>
598 # include <stddef.h>
599 #else
600 # ifdef HAVE_STDLIB_H
601 # include <stdlib.h>
602 # endif
603 #endif
604 #ifdef HAVE_STRING_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 # include <memory.h>
607 # endif
608 # include <string.h>
609 #endif
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
612 #endif
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
615 #endif
616 #ifdef HAVE_STDINT_H
617 # include <stdint.h>
618 #endif
619 #ifdef HAVE_UNISTD_H
620 # include <unistd.h>
621 #endif"
622
623 ac_subst_vars='LTLIBOBJS
624 LIBOBJS
625 EGREP
626 GREP
627 CPP
628 OBJEXT
629 EXEEXT
630 ac_ct_CC
631 CPPFLAGS
632 LDFLAGS
633 CFLAGS
634 CC
635 target_alias
636 host_alias
637 build_alias
638 LIBS
639 ECHO_T
640 ECHO_N
641 ECHO_C
642 DEFS
643 mandir
644 localedir
645 libdir
646 psdir
647 pdfdir
648 dvidir
649 htmldir
650 infodir
651 docdir
652 oldincludedir
653 includedir
654 runstatedir
655 localstatedir
656 sharedstatedir
657 sysconfdir
658 datadir
659 datarootdir
660 libexecdir
661 sbindir
662 bindir
663 program_transform_name
664 prefix
665 exec_prefix
666 PACKAGE_URL
667 PACKAGE_BUGREPORT
668 PACKAGE_STRING
669 PACKAGE_VERSION
670 PACKAGE_TARNAME
671 PACKAGE_NAME
672 PATH_SEPARATOR
673 SHELL'
674 ac_subst_files=''
675 ac_user_opts='
676 enable_option_checking
677 '
678 ac_precious_vars='build_alias
679 host_alias
680 target_alias
681 CC
682 CFLAGS
683 LDFLAGS
684 LIBS
685 CPPFLAGS
686 CPP'
687
688
689 # Initialize some variables set by options.
690 ac_init_help=
691 ac_init_version=false
692 ac_unrecognized_opts=
693 ac_unrecognized_sep=
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
696 cache_file=/dev/null
697 exec_prefix=NONE
698 no_create=
699 no_recursion=
700 prefix=NONE
701 program_prefix=NONE
702 program_suffix=NONE
703 program_transform_name=s,x,x,
704 silent=
705 site=
706 srcdir=
707 verbose=
708 x_includes=NONE
709 x_libraries=NONE
710
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir='${exec_prefix}/bin'
718 sbindir='${exec_prefix}/sbin'
719 libexecdir='${exec_prefix}/libexec'
720 datarootdir='${prefix}/share'
721 datadir='${datarootdir}'
722 sysconfdir='${prefix}/etc'
723 sharedstatedir='${prefix}/com'
724 localstatedir='${prefix}/var'
725 runstatedir='${localstatedir}/run'
726 includedir='${prefix}/include'
727 oldincludedir='/usr/include'
728 docdir='${datarootdir}/doc/${PACKAGE}'
729 infodir='${datarootdir}/info'
730 htmldir='${docdir}'
731 dvidir='${docdir}'
732 pdfdir='${docdir}'
733 psdir='${docdir}'
734 libdir='${exec_prefix}/lib'
735 localedir='${datarootdir}/locale'
736 mandir='${datarootdir}/man'
737
738 ac_prev=
739 ac_dashdash=
740 for ac_option
741 do
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\$ac_option
745 ac_prev=
746 continue
747 fi
748
749 case $ac_option in
750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
751 *=) ac_optarg= ;;
752 *) ac_optarg=yes ;;
753 esac
754
755 # Accept the important Cygnus configure options, so we can diagnose typos.
756
757 case $ac_dashdash$ac_option in
758 --)
759 ac_dashdash=yes ;;
760
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
765
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
770
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
777
778 --config-cache | -C)
779 cache_file=config.cache ;;
780
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
785
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
792
793 -disable-* | --disable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
801 *"
802 "enable_$ac_useropt"
803 "*) ;;
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
806 esac
807 eval enable_$ac_useropt=no ;;
808
809 -docdir | --docdir | --docdi | --doc | --do)
810 ac_prev=docdir ;;
811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
812 docdir=$ac_optarg ;;
813
814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
815 ac_prev=dvidir ;;
816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
817 dvidir=$ac_optarg ;;
818
819 -enable-* | --enable-*)
820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
823 as_fn_error $? "invalid feature name: $ac_useropt"
824 ac_useropt_orig=$ac_useropt
825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
827 *"
828 "enable_$ac_useropt"
829 "*) ;;
830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep=', ';;
832 esac
833 eval enable_$ac_useropt=\$ac_optarg ;;
834
835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
837 | --exec | --exe | --ex)
838 ac_prev=exec_prefix ;;
839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
841 | --exec=* | --exe=* | --ex=*)
842 exec_prefix=$ac_optarg ;;
843
844 -gas | --gas | --ga | --g)
845 # Obsolete; use --with-gas.
846 with_gas=yes ;;
847
848 -help | --help | --hel | --he | -h)
849 ac_init_help=long ;;
850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
851 ac_init_help=recursive ;;
852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
853 ac_init_help=short ;;
854
855 -host | --host | --hos | --ho)
856 ac_prev=host_alias ;;
857 -host=* | --host=* | --hos=* | --ho=*)
858 host_alias=$ac_optarg ;;
859
860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
861 ac_prev=htmldir ;;
862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
863 | --ht=*)
864 htmldir=$ac_optarg ;;
865
866 -includedir | --includedir | --includedi | --included | --include \
867 | --includ | --inclu | --incl | --inc)
868 ac_prev=includedir ;;
869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
870 | --includ=* | --inclu=* | --incl=* | --inc=*)
871 includedir=$ac_optarg ;;
872
873 -infodir | --infodir | --infodi | --infod | --info | --inf)
874 ac_prev=infodir ;;
875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
876 infodir=$ac_optarg ;;
877
878 -libdir | --libdir | --libdi | --libd)
879 ac_prev=libdir ;;
880 -libdir=* | --libdir=* | --libdi=* | --libd=*)
881 libdir=$ac_optarg ;;
882
883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
884 | --libexe | --libex | --libe)
885 ac_prev=libexecdir ;;
886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
887 | --libexe=* | --libex=* | --libe=*)
888 libexecdir=$ac_optarg ;;
889
890 -localedir | --localedir | --localedi | --localed | --locale)
891 ac_prev=localedir ;;
892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
893 localedir=$ac_optarg ;;
894
895 -localstatedir | --localstatedir | --localstatedi | --localstated \
896 | --localstate | --localstat | --localsta | --localst | --locals)
897 ac_prev=localstatedir ;;
898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
900 localstatedir=$ac_optarg ;;
901
902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
903 ac_prev=mandir ;;
904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
905 mandir=$ac_optarg ;;
906
907 -nfp | --nfp | --nf)
908 # Obsolete; use --without-fp.
909 with_fp=no ;;
910
911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
912 | --no-cr | --no-c | -n)
913 no_create=yes ;;
914
915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
917 no_recursion=yes ;;
918
919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
921 | --oldin | --oldi | --old | --ol | --o)
922 ac_prev=oldincludedir ;;
923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
926 oldincludedir=$ac_optarg ;;
927
928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
929 ac_prev=prefix ;;
930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
931 prefix=$ac_optarg ;;
932
933 -program-prefix | --program-prefix | --program-prefi | --program-pref \
934 | --program-pre | --program-pr | --program-p)
935 ac_prev=program_prefix ;;
936 -program-prefix=* | --program-prefix=* | --program-prefi=* \
937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
938 program_prefix=$ac_optarg ;;
939
940 -program-suffix | --program-suffix | --program-suffi | --program-suff \
941 | --program-suf | --program-su | --program-s)
942 ac_prev=program_suffix ;;
943 -program-suffix=* | --program-suffix=* | --program-suffi=* \
944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
945 program_suffix=$ac_optarg ;;
946
947 -program-transform-name | --program-transform-name \
948 | --program-transform-nam | --program-transform-na \
949 | --program-transform-n | --program-transform- \
950 | --program-transform | --program-transfor \
951 | --program-transfo | --program-transf \
952 | --program-trans | --program-tran \
953 | --progr-tra | --program-tr | --program-t)
954 ac_prev=program_transform_name ;;
955 -program-transform-name=* | --program-transform-name=* \
956 | --program-transform-nam=* | --program-transform-na=* \
957 | --program-transform-n=* | --program-transform-=* \
958 | --program-transform=* | --program-transfor=* \
959 | --program-transfo=* | --program-transf=* \
960 | --program-trans=* | --program-tran=* \
961 | --progr-tra=* | --program-tr=* | --program-t=*)
962 program_transform_name=$ac_optarg ;;
963
964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
965 ac_prev=pdfdir ;;
966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
967 pdfdir=$ac_optarg ;;
968
969 -psdir | --psdir | --psdi | --psd | --ps)
970 ac_prev=psdir ;;
971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
972 psdir=$ac_optarg ;;
973
974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975 | -silent | --silent | --silen | --sile | --sil)
976 silent=yes ;;
977
978 -runstatedir | --runstatedir | --runstatedi | --runstated \
979 | --runstate | --runstat | --runsta | --runst | --runs \
980 | --run | --ru | --r)
981 ac_prev=runstatedir ;;
982 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
983 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
984 | --run=* | --ru=* | --r=*)
985 runstatedir=$ac_optarg ;;
986
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
988 ac_prev=sbindir ;;
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
990 | --sbi=* | --sb=*)
991 sbindir=$ac_optarg ;;
992
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
996 | --sha | --sh)
997 ac_prev=sharedstatedir ;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1001 | --sha=* | --sh=*)
1002 sharedstatedir=$ac_optarg ;;
1003
1004 -site | --site | --sit)
1005 ac_prev=site ;;
1006 -site=* | --site=* | --sit=*)
1007 site=$ac_optarg ;;
1008
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1010 ac_prev=srcdir ;;
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir=$ac_optarg ;;
1013
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev=sysconfdir ;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir=$ac_optarg ;;
1020
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev=target_alias ;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias=$ac_optarg ;;
1025
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1027 verbose=yes ;;
1028
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version=: ;;
1031
1032 -with-* | --with-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1040 *"
1041 "with_$ac_useropt"
1042 "*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=\$ac_optarg ;;
1047
1048 -without-* | --without-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1056 *"
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=no ;;
1063
1064 --x)
1065 # Obsolete; use --with-x.
1066 with_x=yes ;;
1067
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1074
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1081
1082 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1084 ;;
1085
1086 *=*)
1087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' | [0-9]* | *[!_$as_cr_alnum]* )
1091 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1092 esac
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1095
1096 *)
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1102 ;;
1103
1104 esac
1105 done
1106
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $? "missing argument to $ac_option"
1110 fi
1111
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1114 no) ;;
1115 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 esac
1118 fi
1119
1120 # Check all directory arguments for consistency.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir runstatedir
1125 do
1126 eval ac_val=\$$ac_var
1127 # Remove trailing slashes.
1128 case $ac_val in
1129 */ )
1130 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\$ac_val;;
1132 esac
1133 # Be sure to have absolute directory names.
1134 case $ac_val in
1135 [\\/$]* | ?:[\\/]* ) continue;;
1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1137 esac
1138 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1139 done
1140
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1144 build=$build_alias
1145 host=$host_alias
1146 target=$target_alias
1147
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes
1154 fi
1155 fi
1156
1157 ac_tool_prefix=
1158 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1159
1160 test "$silent" = yes && exec 6>/dev/null
1161
1162
1163 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164 ac_ls_di=`ls -di .` &&
1165 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 as_fn_error $? "working directory cannot be determined"
1167 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1168 as_fn_error $? "pwd does not report name of working directory"
1169
1170
1171 # Find the source files, if location was not specified.
1172 if test -z "$srcdir"; then
1173 ac_srcdir_defaulted=yes
1174 # Try the directory containing this script, then the parent directory.
1175 ac_confdir=`$as_dirname -- "$as_myself" ||
1176 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1177 X"$as_myself" : 'X\(//\)[^/]' \| \
1178 X"$as_myself" : 'X\(//\)$' \| \
1179 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1180 $as_echo X"$as_myself" |
1181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1182 s//\1/
1183 q
1184 }
1185 /^X\(\/\/\)[^/].*/{
1186 s//\1/
1187 q
1188 }
1189 /^X\(\/\/\)$/{
1190 s//\1/
1191 q
1192 }
1193 /^X\(\/\).*/{
1194 s//\1/
1195 q
1196 }
1197 s/.*/./; q'`
1198 srcdir=$ac_confdir
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 srcdir=..
1201 fi
1202 else
1203 ac_srcdir_defaulted=no
1204 fi
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1206 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1207 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1208 fi
1209 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 ac_abs_confdir=`(
1211 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1212 pwd)`
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1215 srcdir=.
1216 fi
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1220 case $srcdir in
1221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 esac
1223 for ac_var in $ac_precious_vars; do
1224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_${ac_var}_value=\$${ac_var}
1226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1228 done
1229
1230 #
1231 # Report the --help message.
1232 #
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1236 cat <<_ACEOF
1237 \`configure' configures this package to adapt to many kinds of systems.
1238
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1240
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1243
1244 Defaults for the options are specified in brackets.
1245
1246 Configuration:
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking ...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1261 [PREFIX]
1262
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1267
1268 For better control, use the options below.
1269
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1278 --libdir=DIR object code libraries [EPREFIX/lib]
1279 --includedir=DIR C header files [PREFIX/include]
1280 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1283 --infodir=DIR info documentation [DATAROOTDIR/info]
1284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1285 --mandir=DIR man documentation [DATAROOTDIR/man]
1286 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1287 --htmldir=DIR html documentation [DOCDIR]
1288 --dvidir=DIR dvi documentation [DOCDIR]
1289 --pdfdir=DIR pdf documentation [DOCDIR]
1290 --psdir=DIR ps documentation [DOCDIR]
1291 _ACEOF
1292
1293 cat <<\_ACEOF
1294 _ACEOF
1295 fi
1296
1297 if test -n "$ac_init_help"; then
1298
1299 cat <<\_ACEOF
1300
1301 Some influential environment variables:
1302 CC C compiler command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1305 nonstandard directory <lib dir>
1306 LIBS libraries to pass to the linker, e.g. -l<library>
1307 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1308 you have headers in a nonstandard directory <include dir>
1309 CPP C preprocessor
1310
1311 Use these variables to override the choices made by `configure' or to help
1312 it to find libraries and programs with nonstandard names/locations.
1313
1314 Report bugs to the package provider.
1315 _ACEOF
1316 ac_status=$?
1317 fi
1318
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1324 continue
1325 ac_builddir=.
1326
1327 case "$ac_dir" in
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *)
1330 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1336 esac ;;
1337 esac
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1342
1343 case $srcdir in
1344 .) # We are building in place.
1345 ac_srcdir=.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1352 *) # Relative name.
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1356 esac
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1358
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1362 echo &&
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1365 echo &&
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1367 else
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369 fi || ac_status=$?
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1371 done
1372 fi
1373
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1376 cat <<\_ACEOF
1377 configure
1378 generated by GNU Autoconf 2.69
1379
1380 Copyright (C) 2012 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1383 _ACEOF
1384 exit
1385 fi
1386
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1390
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile ()
1395 {
1396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1397 rm -f conftest.$ac_objext
1398 if { { ac_try="$ac_compile"
1399 case "(($ac_try" in
1400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1401 *) ac_try_echo=$ac_try;;
1402 esac
1403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1406 ac_status=$?
1407 if test -s conftest.err; then
1408 grep -v '^ *+' conftest.err >conftest.er1
1409 cat conftest.er1 >&5
1410 mv -f conftest.er1 conftest.err
1411 fi
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.$ac_objext; then :
1417 ac_retval=0
1418 else
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.$ac_ext >&5
1421
1422 ac_retval=1
1423 fi
1424 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1425 as_fn_set_status $ac_retval
1426
1427 } # ac_fn_c_try_compile
1428
1429 # ac_fn_c_try_cpp LINENO
1430 # ----------------------
1431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1432 ac_fn_c_try_cpp ()
1433 {
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1435 if { { ac_try="$ac_cpp conftest.$ac_ext"
1436 case "(($ac_try" in
1437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1439 esac
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1443 ac_status=$?
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1448 fi
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } > conftest.i && {
1451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1453 }; then :
1454 ac_retval=0
1455 else
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1458
1459 ac_retval=1
1460 fi
1461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1462 as_fn_set_status $ac_retval
1463
1464 } # ac_fn_c_try_cpp
1465
1466 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1467 # -------------------------------------------------------
1468 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1469 # the include files in INCLUDES and setting the cache variable VAR
1470 # accordingly.
1471 ac_fn_c_check_header_mongrel ()
1472 {
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 if eval \${$3+:} false; then :
1475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1476 $as_echo_n "checking for $2... " >&6; }
1477 if eval \${$3+:} false; then :
1478 $as_echo_n "(cached) " >&6
1479 fi
1480 eval ac_res=\$$3
1481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1482 $as_echo "$ac_res" >&6; }
1483 else
1484 # Is the header compilable?
1485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1486 $as_echo_n "checking $2 usability... " >&6; }
1487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1488 /* end confdefs.h. */
1489 $4
1490 #include <$2>
1491 _ACEOF
1492 if ac_fn_c_try_compile "$LINENO"; then :
1493 ac_header_compiler=yes
1494 else
1495 ac_header_compiler=no
1496 fi
1497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1499 $as_echo "$ac_header_compiler" >&6; }
1500
1501 # Is the header present?
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1503 $as_echo_n "checking $2 presence... " >&6; }
1504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1505 /* end confdefs.h. */
1506 #include <$2>
1507 _ACEOF
1508 if ac_fn_c_try_cpp "$LINENO"; then :
1509 ac_header_preproc=yes
1510 else
1511 ac_header_preproc=no
1512 fi
1513 rm -f conftest.err conftest.i conftest.$ac_ext
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1515 $as_echo "$ac_header_preproc" >&6; }
1516
1517 # So? What about this header?
1518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1519 yes:no: )
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1521 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1524 ;;
1525 no:yes:* )
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1527 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1529 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1531 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1533 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1535 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1536 ;;
1537 esac
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1539 $as_echo_n "checking for $2... " >&6; }
1540 if eval \${$3+:} false; then :
1541 $as_echo_n "(cached) " >&6
1542 else
1543 eval "$3=\$ac_header_compiler"
1544 fi
1545 eval ac_res=\$$3
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1547 $as_echo "$ac_res" >&6; }
1548 fi
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550
1551 } # ac_fn_c_check_header_mongrel
1552
1553 # ac_fn_c_try_run LINENO
1554 # ----------------------
1555 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1556 # that executables *can* be run.
1557 ac_fn_c_try_run ()
1558 {
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { { ac_try="$ac_link"
1561 case "(($ac_try" in
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1564 esac
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_link") 2>&5
1568 ac_status=$?
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1571 { { case "(($ac_try" in
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1574 esac
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_try") 2>&5
1578 ac_status=$?
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; }; }; then :
1581 ac_retval=0
1582 else
1583 $as_echo "$as_me: program exited with status $ac_status" >&5
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1586
1587 ac_retval=$ac_status
1588 fi
1589 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 as_fn_set_status $ac_retval
1592
1593 } # ac_fn_c_try_run
1594
1595 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists and can be compiled using the include files in
1598 # INCLUDES, setting the cache variable VAR accordingly.
1599 ac_fn_c_check_header_compile ()
1600 {
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if eval \${$3+:} false; then :
1605 $as_echo_n "(cached) " >&6
1606 else
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1609 $4
1610 #include <$2>
1611 _ACEOF
1612 if ac_fn_c_try_compile "$LINENO"; then :
1613 eval "$3=yes"
1614 else
1615 eval "$3=no"
1616 fi
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 fi
1619 eval ac_res=\$$3
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623
1624 } # ac_fn_c_check_header_compile
1625
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_link ()
1630 {
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext conftest$ac_exeext
1633 if { { ac_try="$ac_link"
1634 case "(($ac_try" in
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1637 esac
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_link") 2>conftest.err
1641 ac_status=$?
1642 if test -s conftest.err; then
1643 grep -v '^ *+' conftest.err >conftest.er1
1644 cat conftest.er1 >&5
1645 mv -f conftest.er1 conftest.err
1646 fi
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest$ac_exeext && {
1652 test "$cross_compiling" = yes ||
1653 test -x conftest$ac_exeext
1654 }; then :
1655 ac_retval=0
1656 else
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1659
1660 ac_retval=1
1661 fi
1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1664 # interfere with the next link command; also delete a directory that is
1665 # left behind by Apple's compiler. We do this before executing the actions.
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1669
1670 } # ac_fn_c_try_link
1671
1672 # ac_fn_c_check_func LINENO FUNC VAR
1673 # ----------------------------------
1674 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1675 ac_fn_c_check_func ()
1676 {
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1682 else
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1687 #define $2 innocuous_$2
1688
1689 /* System header to define __stub macros and hopefully few prototypes,
1690 which can conflict with char $2 (); below.
1691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1692 <limits.h> exists even on freestanding compilers. */
1693
1694 #ifdef __STDC__
1695 # include <limits.h>
1696 #else
1697 # include <assert.h>
1698 #endif
1699
1700 #undef $2
1701
1702 /* Override any GCC internal prototype to avoid an error.
1703 Use char because int might match the return type of a GCC
1704 builtin and then its argument prototype would still apply. */
1705 #ifdef __cplusplus
1706 extern "C"
1707 #endif
1708 char $2 ();
1709 /* The GNU C library defines this for functions which it implements
1710 to always fail with ENOSYS. Some functions are actually named
1711 something starting with __ and the normal name is an alias. */
1712 #if defined __stub_$2 || defined __stub___$2
1713 choke me
1714 #endif
1715
1716 int
1717 main ()
1718 {
1719 return $2 ();
1720 ;
1721 return 0;
1722 }
1723 _ACEOF
1724 if ac_fn_c_try_link "$LINENO"; then :
1725 eval "$3=yes"
1726 else
1727 eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext \
1730 conftest$ac_exeext conftest.$ac_ext
1731 fi
1732 eval ac_res=\$$3
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
1737 } # ac_fn_c_check_func
1738
1739 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1740 # ---------------------------------------------
1741 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1742 # accordingly.
1743 ac_fn_c_check_decl ()
1744 {
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 as_decl_name=`echo $2|sed 's/ *(.*//'`
1747 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1749 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1750 if eval \${$3+:} false; then :
1751 $as_echo_n "(cached) " >&6
1752 else
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1755 $4
1756 int
1757 main ()
1758 {
1759 #ifndef $as_decl_name
1760 #ifdef __cplusplus
1761 (void) $as_decl_use;
1762 #else
1763 (void) $as_decl_name;
1764 #endif
1765 #endif
1766
1767 ;
1768 return 0;
1769 }
1770 _ACEOF
1771 if ac_fn_c_try_compile "$LINENO"; then :
1772 eval "$3=yes"
1773 else
1774 eval "$3=no"
1775 fi
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1777 fi
1778 eval ac_res=\$$3
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782
1783 } # ac_fn_c_check_decl
1784 cat >config.log <<_ACEOF
1785 This file contains any messages produced by compilers while
1786 running configure, to aid debugging if configure makes a mistake.
1787
1788 It was created by $as_me, which was
1789 generated by GNU Autoconf 2.69. Invocation command line was
1790
1791 $ $0 $@
1792
1793 _ACEOF
1794 exec 5>>config.log
1795 {
1796 cat <<_ASUNAME
1797 ## --------- ##
1798 ## Platform. ##
1799 ## --------- ##
1800
1801 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1802 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1803 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1804 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1805 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1806
1807 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1808 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1809
1810 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1811 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1812 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1813 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1814 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1815 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1816 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1817
1818 _ASUNAME
1819
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 for as_dir in $PATH
1822 do
1823 IFS=$as_save_IFS
1824 test -z "$as_dir" && as_dir=.
1825 $as_echo "PATH: $as_dir"
1826 done
1827 IFS=$as_save_IFS
1828
1829 } >&5
1830
1831 cat >&5 <<_ACEOF
1832
1833
1834 ## ----------- ##
1835 ## Core tests. ##
1836 ## ----------- ##
1837
1838 _ACEOF
1839
1840
1841 # Keep a trace of the command line.
1842 # Strip out --no-create and --no-recursion so they do not pile up.
1843 # Strip out --silent because we don't want to record it for future runs.
1844 # Also quote any args containing shell meta-characters.
1845 # Make two passes to allow for proper duplicate-argument suppression.
1846 ac_configure_args=
1847 ac_configure_args0=
1848 ac_configure_args1=
1849 ac_must_keep_next=false
1850 for ac_pass in 1 2
1851 do
1852 for ac_arg
1853 do
1854 case $ac_arg in
1855 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1856 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1857 | -silent | --silent | --silen | --sile | --sil)
1858 continue ;;
1859 *\'*)
1860 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1861 esac
1862 case $ac_pass in
1863 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1864 2)
1865 as_fn_append ac_configure_args1 " '$ac_arg'"
1866 if test $ac_must_keep_next = true; then
1867 ac_must_keep_next=false # Got value, back to normal.
1868 else
1869 case $ac_arg in
1870 *=* | --config-cache | -C | -disable-* | --disable-* \
1871 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1872 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1873 | -with-* | --with-* | -without-* | --without-* | --x)
1874 case "$ac_configure_args0 " in
1875 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1876 esac
1877 ;;
1878 -* ) ac_must_keep_next=true ;;
1879 esac
1880 fi
1881 as_fn_append ac_configure_args " '$ac_arg'"
1882 ;;
1883 esac
1884 done
1885 done
1886 { ac_configure_args0=; unset ac_configure_args0;}
1887 { ac_configure_args1=; unset ac_configure_args1;}
1888
1889 # When interrupted or exit'd, cleanup temporary files, and complete
1890 # config.log. We remove comments because anyway the quotes in there
1891 # would cause problems or look ugly.
1892 # WARNING: Use '\'' to represent an apostrophe within the trap.
1893 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1894 trap 'exit_status=$?
1895 # Save into config.log some information that might help in debugging.
1896 {
1897 echo
1898
1899 $as_echo "## ---------------- ##
1900 ## Cache variables. ##
1901 ## ---------------- ##"
1902 echo
1903 # The following way of writing the cache mishandles newlines in values,
1904 (
1905 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1906 eval ac_val=\$$ac_var
1907 case $ac_val in #(
1908 *${as_nl}*)
1909 case $ac_var in #(
1910 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1912 esac
1913 case $ac_var in #(
1914 _ | IFS | as_nl) ;; #(
1915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1916 *) { eval $ac_var=; unset $ac_var;} ;;
1917 esac ;;
1918 esac
1919 done
1920 (set) 2>&1 |
1921 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1922 *${as_nl}ac_space=\ *)
1923 sed -n \
1924 "s/'\''/'\''\\\\'\'''\''/g;
1925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1926 ;; #(
1927 *)
1928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1929 ;;
1930 esac |
1931 sort
1932 )
1933 echo
1934
1935 $as_echo "## ----------------- ##
1936 ## Output variables. ##
1937 ## ----------------- ##"
1938 echo
1939 for ac_var in $ac_subst_vars
1940 do
1941 eval ac_val=\$$ac_var
1942 case $ac_val in
1943 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1944 esac
1945 $as_echo "$ac_var='\''$ac_val'\''"
1946 done | sort
1947 echo
1948
1949 if test -n "$ac_subst_files"; then
1950 $as_echo "## ------------------- ##
1951 ## File substitutions. ##
1952 ## ------------------- ##"
1953 echo
1954 for ac_var in $ac_subst_files
1955 do
1956 eval ac_val=\$$ac_var
1957 case $ac_val in
1958 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1959 esac
1960 $as_echo "$ac_var='\''$ac_val'\''"
1961 done | sort
1962 echo
1963 fi
1964
1965 if test -s confdefs.h; then
1966 $as_echo "## ----------- ##
1967 ## confdefs.h. ##
1968 ## ----------- ##"
1969 echo
1970 cat confdefs.h
1971 echo
1972 fi
1973 test "$ac_signal" != 0 &&
1974 $as_echo "$as_me: caught signal $ac_signal"
1975 $as_echo "$as_me: exit $exit_status"
1976 } >&5
1977 rm -f core *.core core.conftest.* &&
1978 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1979 exit $exit_status
1980 ' 0
1981 for ac_signal in 1 2 13 15; do
1982 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1983 done
1984 ac_signal=0
1985
1986 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1987 rm -f -r conftest* confdefs.h
1988
1989 $as_echo "/* confdefs.h */" > confdefs.h
1990
1991 # Predefined preprocessor variables.
1992
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_NAME "$PACKAGE_NAME"
1995 _ACEOF
1996
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1999 _ACEOF
2000
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2003 _ACEOF
2004
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_STRING "$PACKAGE_STRING"
2007 _ACEOF
2008
2009 cat >>confdefs.h <<_ACEOF
2010 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2011 _ACEOF
2012
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_URL "$PACKAGE_URL"
2015 _ACEOF
2016
2017
2018 # Let the site file select an alternate cache file if it wants to.
2019 # Prefer an explicitly selected file to automatically selected ones.
2020 ac_site_file1=NONE
2021 ac_site_file2=NONE
2022 if test -n "$CONFIG_SITE"; then
2023 # We do not want a PATH search for config.site.
2024 case $CONFIG_SITE in #((
2025 -*) ac_site_file1=./$CONFIG_SITE;;
2026 */*) ac_site_file1=$CONFIG_SITE;;
2027 *) ac_site_file1=./$CONFIG_SITE;;
2028 esac
2029 elif test "x$prefix" != xNONE; then
2030 ac_site_file1=$prefix/share/config.site
2031 ac_site_file2=$prefix/etc/config.site
2032 else
2033 ac_site_file1=$ac_default_prefix/share/config.site
2034 ac_site_file2=$ac_default_prefix/etc/config.site
2035 fi
2036 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2037 do
2038 test "x$ac_site_file" = xNONE && continue
2039 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2041 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2042 sed 's/^/| /' "$ac_site_file" >&5
2043 . "$ac_site_file" \
2044 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2046 as_fn_error $? "failed to load site script $ac_site_file
2047 See \`config.log' for more details" "$LINENO" 5; }
2048 fi
2049 done
2050
2051 if test -r "$cache_file"; then
2052 # Some versions of bash will fail to source /dev/null (special files
2053 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2054 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2056 $as_echo "$as_me: loading cache $cache_file" >&6;}
2057 case $cache_file in
2058 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2059 *) . "./$cache_file";;
2060 esac
2061 fi
2062 else
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2064 $as_echo "$as_me: creating cache $cache_file" >&6;}
2065 >$cache_file
2066 fi
2067
2068 # Check that the precious variables saved in the cache have kept the same
2069 # value.
2070 ac_cache_corrupted=false
2071 for ac_var in $ac_precious_vars; do
2072 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2073 eval ac_new_set=\$ac_env_${ac_var}_set
2074 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2075 eval ac_new_val=\$ac_env_${ac_var}_value
2076 case $ac_old_set,$ac_new_set in
2077 set,)
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2079 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2080 ac_cache_corrupted=: ;;
2081 ,set)
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2083 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2084 ac_cache_corrupted=: ;;
2085 ,);;
2086 *)
2087 if test "x$ac_old_val" != "x$ac_new_val"; then
2088 # differences in whitespace do not lead to failure.
2089 ac_old_val_w=`echo x $ac_old_val`
2090 ac_new_val_w=`echo x $ac_new_val`
2091 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2093 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2094 ac_cache_corrupted=:
2095 else
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2097 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2098 eval $ac_var=\$ac_old_val
2099 fi
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2101 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2103 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2104 fi;;
2105 esac
2106 # Pass precious variables to config.status.
2107 if test "$ac_new_set" = set; then
2108 case $ac_new_val in
2109 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 *) ac_arg=$ac_var=$ac_new_val ;;
2111 esac
2112 case " $ac_configure_args " in
2113 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2114 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2115 esac
2116 fi
2117 done
2118 if $ac_cache_corrupted; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2122 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2123 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2124 fi
2125 ## -------------------- ##
2126 ## Main body of script. ##
2127 ## -------------------- ##
2128
2129 ac_ext=c
2130 ac_cpp='$CPP $CPPFLAGS'
2131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2134
2135
2136
2137
2138
2139
2140 ac_config_headers="$ac_config_headers cbits/config.h"
2141
2142
2143 ac_ext=c
2144 ac_cpp='$CPP $CPPFLAGS'
2145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2148 if test -n "$ac_tool_prefix"; then
2149 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2150 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2152 $as_echo_n "checking for $ac_word... " >&6; }
2153 if ${ac_cv_prog_CC+:} false; then :
2154 $as_echo_n "(cached) " >&6
2155 else
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2158 else
2159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 for as_dir in $PATH
2161 do
2162 IFS=$as_save_IFS
2163 test -z "$as_dir" && as_dir=.
2164 for ac_exec_ext in '' $ac_executable_extensions; do
2165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 break 2
2169 fi
2170 done
2171 done
2172 IFS=$as_save_IFS
2173
2174 fi
2175 fi
2176 CC=$ac_cv_prog_CC
2177 if test -n "$CC"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2179 $as_echo "$CC" >&6; }
2180 else
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2182 $as_echo "no" >&6; }
2183 fi
2184
2185
2186 fi
2187 if test -z "$ac_cv_prog_CC"; then
2188 ac_ct_CC=$CC
2189 # Extract the first word of "gcc", so it can be a program name with args.
2190 set dummy gcc; ac_word=$2
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2192 $as_echo_n "checking for $ac_word... " >&6; }
2193 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2194 $as_echo_n "(cached) " >&6
2195 else
2196 if test -n "$ac_ct_CC"; then
2197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2198 else
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 for as_dir in $PATH
2201 do
2202 IFS=$as_save_IFS
2203 test -z "$as_dir" && as_dir=.
2204 for ac_exec_ext in '' $ac_executable_extensions; do
2205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206 ac_cv_prog_ac_ct_CC="gcc"
2207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 break 2
2209 fi
2210 done
2211 done
2212 IFS=$as_save_IFS
2213
2214 fi
2215 fi
2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2217 if test -n "$ac_ct_CC"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2219 $as_echo "$ac_ct_CC" >&6; }
2220 else
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2222 $as_echo "no" >&6; }
2223 fi
2224
2225 if test "x$ac_ct_CC" = x; then
2226 CC=""
2227 else
2228 case $cross_compiling:$ac_tool_warned in
2229 yes:)
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2232 ac_tool_warned=yes ;;
2233 esac
2234 CC=$ac_ct_CC
2235 fi
2236 else
2237 CC="$ac_cv_prog_CC"
2238 fi
2239
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}cc; ac_word=$2
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 $as_echo_n "checking for $ac_word... " >&6; }
2246 if ${ac_cv_prog_CC+:} false; then :
2247 $as_echo_n "(cached) " >&6
2248 else
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 else
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255 IFS=$as_save_IFS
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_CC="${ac_tool_prefix}cc"
2260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 break 2
2262 fi
2263 done
2264 done
2265 IFS=$as_save_IFS
2266
2267 fi
2268 fi
2269 CC=$ac_cv_prog_CC
2270 if test -n "$CC"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2272 $as_echo "$CC" >&6; }
2273 else
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 $as_echo "no" >&6; }
2276 fi
2277
2278
2279 fi
2280 fi
2281 if test -z "$CC"; then
2282 # Extract the first word of "cc", so it can be a program name with args.
2283 set dummy cc; ac_word=$2
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2285 $as_echo_n "checking for $ac_word... " >&6; }
2286 if ${ac_cv_prog_CC+:} false; then :
2287 $as_echo_n "(cached) " >&6
2288 else
2289 if test -n "$CC"; then
2290 ac_cv_prog_CC="$CC" # Let the user override the test.
2291 else
2292 ac_prog_rejected=no
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2301 ac_prog_rejected=yes
2302 continue
2303 fi
2304 ac_cv_prog_CC="cc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2307 fi
2308 done
2309 done
2310 IFS=$as_save_IFS
2311
2312 if test $ac_prog_rejected = yes; then
2313 # We found a bogon in the path, so make sure we never use it.
2314 set dummy $ac_cv_prog_CC
2315 shift
2316 if test $# != 0; then
2317 # We chose a different compiler from the bogus one.
2318 # However, it has the same basename, so the bogon will be chosen
2319 # first if we set CC to just the basename; use the full file name.
2320 shift
2321 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2322 fi
2323 fi
2324 fi
2325 fi
2326 CC=$ac_cv_prog_CC
2327 if test -n "$CC"; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2329 $as_echo "$CC" >&6; }
2330 else
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 $as_echo "no" >&6; }
2333 fi
2334
2335
2336 fi
2337 if test -z "$CC"; then
2338 if test -n "$ac_tool_prefix"; then
2339 for ac_prog in cl.exe
2340 do
2341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_CC+:} false; then :
2346 $as_echo_n "(cached) " >&6
2347 else
2348 if test -n "$CC"; then
2349 ac_cv_prog_CC="$CC" # Let the user override the test.
2350 else
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2352 for as_dir in $PATH
2353 do
2354 IFS=$as_save_IFS
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 break 2
2361 fi
2362 done
2363 done
2364 IFS=$as_save_IFS
2365
2366 fi
2367 fi
2368 CC=$ac_cv_prog_CC
2369 if test -n "$CC"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2371 $as_echo "$CC" >&6; }
2372 else
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2375 fi
2376
2377
2378 test -n "$CC" && break
2379 done
2380 fi
2381 if test -z "$CC"; then
2382 ac_ct_CC=$CC
2383 for ac_prog in cl.exe
2384 do
2385 # Extract the first word of "$ac_prog", so it can be a program name with args.
2386 set dummy $ac_prog; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2390 $as_echo_n "(cached) " >&6
2391 else
2392 if test -n "$ac_ct_CC"; then
2393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2394 else
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396 for as_dir in $PATH
2397 do
2398 IFS=$as_save_IFS
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_ac_ct_CC="$ac_prog"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 break 2
2405 fi
2406 done
2407 done
2408 IFS=$as_save_IFS
2409
2410 fi
2411 fi
2412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2413 if test -n "$ac_ct_CC"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2415 $as_echo "$ac_ct_CC" >&6; }
2416 else
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2419 fi
2420
2421
2422 test -n "$ac_ct_CC" && break
2423 done
2424
2425 if test "x$ac_ct_CC" = x; then
2426 CC=""
2427 else
2428 case $cross_compiling:$ac_tool_warned in
2429 yes:)
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned=yes ;;
2433 esac
2434 CC=$ac_ct_CC
2435 fi
2436 fi
2437
2438 fi
2439
2440
2441 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 as_fn_error $? "no acceptable C compiler found in \$PATH
2444 See \`config.log' for more details" "$LINENO" 5; }
2445
2446 # Provide some information about the compiler.
2447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2448 set X $ac_compile
2449 ac_compiler=$2
2450 for ac_option in --version -v -V -qversion; do
2451 { { ac_try="$ac_compiler $ac_option >&5"
2452 case "(($ac_try" in
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2459 ac_status=$?
2460 if test -s conftest.err; then
2461 sed '10a\
2462 ... rest of stderr output deleted ...
2463 10q' conftest.err >conftest.er1
2464 cat conftest.er1 >&5
2465 fi
2466 rm -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; }
2469 done
2470
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2472 /* end confdefs.h. */
2473
2474 int
2475 main ()
2476 {
2477
2478 ;
2479 return 0;
2480 }
2481 _ACEOF
2482 ac_clean_files_save=$ac_clean_files
2483 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2484 # Try to create an executable without -o first, disregard a.out.
2485 # It will help us diagnose broken compilers, and finding out an intuition
2486 # of exeext.
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2488 $as_echo_n "checking whether the C compiler works... " >&6; }
2489 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2490
2491 # The possible output files:
2492 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2493
2494 ac_rmfiles=
2495 for ac_file in $ac_files
2496 do
2497 case $ac_file in
2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2499 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2500 esac
2501 done
2502 rm -f $ac_rmfiles
2503
2504 if { { ac_try="$ac_link_default"
2505 case "(($ac_try" in
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2508 esac
2509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510 $as_echo "$ac_try_echo"; } >&5
2511 (eval "$ac_link_default") 2>&5
2512 ac_status=$?
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; }; then :
2515 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2516 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2517 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2518 # so that the user can short-circuit this test for compilers unknown to
2519 # Autoconf.
2520 for ac_file in $ac_files ''
2521 do
2522 test -f "$ac_file" || continue
2523 case $ac_file in
2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2525 ;;
2526 [ab].out )
2527 # We found the default executable, but exeext='' is most
2528 # certainly right.
2529 break;;
2530 *.* )
2531 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2532 then :; else
2533 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2534 fi
2535 # We set ac_cv_exeext here because the later test for it is not
2536 # safe: cross compilers may not add the suffix if given an `-o'
2537 # argument, so we may need to know it at that point already.
2538 # Even if this section looks crufty: it has the advantage of
2539 # actually working.
2540 break;;
2541 * )
2542 break;;
2543 esac
2544 done
2545 test "$ac_cv_exeext" = no && ac_cv_exeext=
2546
2547 else
2548 ac_file=''
2549 fi
2550 if test -z "$ac_file"; then :
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552 $as_echo "no" >&6; }
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2555
2556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2558 as_fn_error 77 "C compiler cannot create executables
2559 See \`config.log' for more details" "$LINENO" 5; }
2560 else
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2562 $as_echo "yes" >&6; }
2563 fi
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2565 $as_echo_n "checking for C compiler default output file name... " >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2567 $as_echo "$ac_file" >&6; }
2568 ac_exeext=$ac_cv_exeext
2569
2570 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2571 ac_clean_files=$ac_clean_files_save
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2573 $as_echo_n "checking for suffix of executables... " >&6; }
2574 if { { ac_try="$ac_link"
2575 case "(($ac_try" in
2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577 *) ac_try_echo=$ac_try;;
2578 esac
2579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2580 $as_echo "$ac_try_echo"; } >&5
2581 (eval "$ac_link") 2>&5
2582 ac_status=$?
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }; then :
2585 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2586 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2587 # work properly (i.e., refer to `conftest.exe'), while it won't with
2588 # `rm'.
2589 for ac_file in conftest.exe conftest conftest.*; do
2590 test -f "$ac_file" || continue
2591 case $ac_file in
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2593 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2594 break;;
2595 * ) break;;
2596 esac
2597 done
2598 else
2599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2602 See \`config.log' for more details" "$LINENO" 5; }
2603 fi
2604 rm -f conftest conftest$ac_cv_exeext
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2606 $as_echo "$ac_cv_exeext" >&6; }
2607
2608 rm -f conftest.$ac_ext
2609 EXEEXT=$ac_cv_exeext
2610 ac_exeext=$EXEEXT
2611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2613 #include <stdio.h>
2614 int
2615 main ()
2616 {
2617 FILE *f = fopen ("conftest.out", "w");
2618 return ferror (f) || fclose (f) != 0;
2619
2620 ;
2621 return 0;
2622 }
2623 _ACEOF
2624 ac_clean_files="$ac_clean_files conftest.out"
2625 # Check that the compiler produces executables we can run. If not, either
2626 # the compiler is broken, or we cross compile.
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2628 $as_echo_n "checking whether we are cross compiling... " >&6; }
2629 if test "$cross_compiling" != yes; then
2630 { { ac_try="$ac_link"
2631 case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2636 $as_echo "$ac_try_echo"; } >&5
2637 (eval "$ac_link") 2>&5
2638 ac_status=$?
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; }
2641 if { ac_try='./conftest$ac_cv_exeext'
2642 { { case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2645 esac
2646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648 (eval "$ac_try") 2>&5
2649 ac_status=$?
2650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2651 test $ac_status = 0; }; }; then
2652 cross_compiling=no
2653 else
2654 if test "$cross_compiling" = maybe; then
2655 cross_compiling=yes
2656 else
2657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2659 as_fn_error $? "cannot run C compiled programs.
2660 If you meant to cross compile, use \`--host'.
2661 See \`config.log' for more details" "$LINENO" 5; }
2662 fi
2663 fi
2664 fi
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2666 $as_echo "$cross_compiling" >&6; }
2667
2668 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2669 ac_clean_files=$ac_clean_files_save
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2671 $as_echo_n "checking for suffix of object files... " >&6; }
2672 if ${ac_cv_objext+:} false; then :
2673 $as_echo_n "(cached) " >&6
2674 else
2675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2676 /* end confdefs.h. */
2677
2678 int
2679 main ()
2680 {
2681
2682 ;
2683 return 0;
2684 }
2685 _ACEOF
2686 rm -f conftest.o conftest.obj
2687 if { { ac_try="$ac_compile"
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_compile") 2>&5
2695 ac_status=$?
2696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2697 test $ac_status = 0; }; then :
2698 for ac_file in conftest.o conftest.obj conftest.*; do
2699 test -f "$ac_file" || continue;
2700 case $ac_file in
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2702 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2703 break;;
2704 esac
2705 done
2706 else
2707 $as_echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2709
2710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2712 as_fn_error $? "cannot compute suffix of object files: cannot compile
2713 See \`config.log' for more details" "$LINENO" 5; }
2714 fi
2715 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2716 fi
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2718 $as_echo "$ac_cv_objext" >&6; }
2719 OBJEXT=$ac_cv_objext
2720 ac_objext=$OBJEXT
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2722 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2723 if ${ac_cv_c_compiler_gnu+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2728
2729 int
2730 main ()
2731 {
2732 #ifndef __GNUC__
2733 choke me
2734 #endif
2735
2736 ;
2737 return 0;
2738 }
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2741 ac_compiler_gnu=yes
2742 else
2743 ac_compiler_gnu=no
2744 fi
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2747
2748 fi
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2750 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2751 if test $ac_compiler_gnu = yes; then
2752 GCC=yes
2753 else
2754 GCC=
2755 fi
2756 ac_test_CFLAGS=${CFLAGS+set}
2757 ac_save_CFLAGS=$CFLAGS
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2759 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2760 if ${ac_cv_prog_cc_g+:} false; then :
2761 $as_echo_n "(cached) " >&6
2762 else
2763 ac_save_c_werror_flag=$ac_c_werror_flag
2764 ac_c_werror_flag=yes
2765 ac_cv_prog_cc_g=no
2766 CFLAGS="-g"
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2769
2770 int
2771 main ()
2772 {
2773
2774 ;
2775 return 0;
2776 }
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2779 ac_cv_prog_cc_g=yes
2780 else
2781 CFLAGS=""
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2784
2785 int
2786 main ()
2787 {
2788
2789 ;
2790 return 0;
2791 }
2792 _ACEOF
2793 if ac_fn_c_try_compile "$LINENO"; then :
2794
2795 else
2796 ac_c_werror_flag=$ac_save_c_werror_flag
2797 CFLAGS="-g"
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2800
2801 int
2802 main ()
2803 {
2804
2805 ;
2806 return 0;
2807 }
2808 _ACEOF
2809 if ac_fn_c_try_compile "$LINENO"; then :
2810 ac_cv_prog_cc_g=yes
2811 fi
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 fi
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 fi
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2818 fi
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2820 $as_echo "$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2828 fi
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2834 fi
2835 fi
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2837 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2838 if ${ac_cv_prog_cc_c89+:} false; then :
2839 $as_echo_n "(cached) " >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2845 #include <stdarg.h>
2846 #include <stdio.h>
2847 struct stat;
2848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2849 struct buf { int x; };
2850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2851 static char *e (p, i)
2852 char **p;
2853 int i;
2854 {
2855 return p[i];
2856 }
2857 static char *f (char * (*g) (char **, int), char **p, ...)
2858 {
2859 char *s;
2860 va_list v;
2861 va_start (v,p);
2862 s = g (p, va_arg (v,int));
2863 va_end (v);
2864 return s;
2865 }
2866
2867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2868 function prototypes and stuff, but not '\xHH' hex character constants.
2869 These don't provoke an error unfortunately, instead are silently treated
2870 as 'x'. The following induces an error, until -std is added to get
2871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2872 array size at least. It's necessary to write '\x00'==0 to get something
2873 that's true only with -std. */
2874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2875
2876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2877 inside strings and character constants. */
2878 #define FOO(x) 'x'
2879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2880
2881 int test (int i, double x);
2882 struct s1 {int (*f) (int a);};
2883 struct s2 {int (*f) (double a);};
2884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2885 int argc;
2886 char **argv;
2887 int
2888 main ()
2889 {
2890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2891 ;
2892 return 0;
2893 }
2894 _ACEOF
2895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2897 do
2898 CC="$ac_save_CC $ac_arg"
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 ac_cv_prog_cc_c89=$ac_arg
2901 fi
2902 rm -f core conftest.err conftest.$ac_objext
2903 test "x$ac_cv_prog_cc_c89" != "xno" && break
2904 done
2905 rm -f conftest.$ac_ext
2906 CC=$ac_save_CC
2907
2908 fi
2909 # AC_CACHE_VAL
2910 case "x$ac_cv_prog_cc_c89" in
2911 x)
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2913 $as_echo "none needed" >&6; } ;;
2914 xno)
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2916 $as_echo "unsupported" >&6; } ;;
2917 *)
2918 CC="$CC $ac_cv_prog_cc_c89"
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2920 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2921 esac
2922 if test "x$ac_cv_prog_cc_c89" != xno; then :
2923
2924 fi
2925
2926 ac_ext=c
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931
2932
2933 ac_ext=c
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2939 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2940 # On Suns, sometimes $CPP names a directory.
2941 if test -n "$CPP" && test -d "$CPP"; then
2942 CPP=
2943 fi
2944 if test -z "$CPP"; then
2945 if ${ac_cv_prog_CPP+:} false; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 # Double quotes because CPP needs to be expanded
2949 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2950 do
2951 ac_preproc_ok=false
2952 for ac_c_preproc_warn_flag in '' yes
2953 do
2954 # Use a header file that comes with gcc, so configuring glibc
2955 # with a fresh cross-compiler works.
2956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2957 # <limits.h> exists even on freestanding compilers.
2958 # On the NeXT, cc -E runs the code through the compiler's parser,
2959 # not just through cpp. "Syntax error" is here to catch this case.
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2962 #ifdef __STDC__
2963 # include <limits.h>
2964 #else
2965 # include <assert.h>
2966 #endif
2967 Syntax error
2968 _ACEOF
2969 if ac_fn_c_try_cpp "$LINENO"; then :
2970
2971 else
2972 # Broken: fails on valid input.
2973 continue
2974 fi
2975 rm -f conftest.err conftest.i conftest.$ac_ext
2976
2977 # OK, works on sane cases. Now check whether nonexistent headers
2978 # can be detected and how.
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2981 #include <ac_nonexistent.h>
2982 _ACEOF
2983 if ac_fn_c_try_cpp "$LINENO"; then :
2984 # Broken: success on invalid input.
2985 continue
2986 else
2987 # Passes both tests.
2988 ac_preproc_ok=:
2989 break
2990 fi
2991 rm -f conftest.err conftest.i conftest.$ac_ext
2992
2993 done
2994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2995 rm -f conftest.i conftest.err conftest.$ac_ext
2996 if $ac_preproc_ok; then :
2997 break
2998 fi
2999
3000 done
3001 ac_cv_prog_CPP=$CPP
3002
3003 fi
3004 CPP=$ac_cv_prog_CPP
3005 else
3006 ac_cv_prog_CPP=$CPP
3007 fi
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3009 $as_echo "$CPP" >&6; }
3010 ac_preproc_ok=false
3011 for ac_c_preproc_warn_flag in '' yes
3012 do
3013 # Use a header file that comes with gcc, so configuring glibc
3014 # with a fresh cross-compiler works.
3015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3016 # <limits.h> exists even on freestanding compilers.
3017 # On the NeXT, cc -E runs the code through the compiler's parser,
3018 # not just through cpp. "Syntax error" is here to catch this case.
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3021 #ifdef __STDC__
3022 # include <limits.h>
3023 #else
3024 # include <assert.h>
3025 #endif
3026 Syntax error
3027 _ACEOF
3028 if ac_fn_c_try_cpp "$LINENO"; then :
3029
3030 else
3031 # Broken: fails on valid input.
3032 continue
3033 fi
3034 rm -f conftest.err conftest.i conftest.$ac_ext
3035
3036 # OK, works on sane cases. Now check whether nonexistent headers
3037 # can be detected and how.
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3040 #include <ac_nonexistent.h>
3041 _ACEOF
3042 if ac_fn_c_try_cpp "$LINENO"; then :
3043 # Broken: success on invalid input.
3044 continue
3045 else
3046 # Passes both tests.
3047 ac_preproc_ok=:
3048 break
3049 fi
3050 rm -f conftest.err conftest.i conftest.$ac_ext
3051
3052 done
3053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3054 rm -f conftest.i conftest.err conftest.$ac_ext
3055 if $ac_preproc_ok; then :
3056
3057 else
3058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3060 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3061 See \`config.log' for more details" "$LINENO" 5; }
3062 fi
3063
3064 ac_ext=c
3065 ac_cpp='$CPP $CPPFLAGS'
3066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3069
3070
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3072 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3073 if ${ac_cv_path_GREP+:} false; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 if test -z "$GREP"; then
3077 ac_path_GREP_found=false
3078 # Loop through the user's path and test for each of PROGNAME-LIST
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3081 do
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_prog in grep ggrep; do
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3087 as_fn_executable_p "$ac_path_GREP" || continue
3088 # Check for GNU ac_path_GREP and select it if it is found.
3089 # Check for GNU $ac_path_GREP
3090 case `"$ac_path_GREP" --version 2>&1` in
3091 *GNU*)
3092 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3093 *)
3094 ac_count=0
3095 $as_echo_n 0123456789 >"conftest.in"
3096 while :
3097 do
3098 cat "conftest.in" "conftest.in" >"conftest.tmp"
3099 mv "conftest.tmp" "conftest.in"
3100 cp "conftest.in" "conftest.nl"
3101 $as_echo 'GREP' >> "conftest.nl"
3102 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3103 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3104 as_fn_arith $ac_count + 1 && ac_count=$as_val
3105 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3106 # Best one so far, save it but keep looking for a better one
3107 ac_cv_path_GREP="$ac_path_GREP"
3108 ac_path_GREP_max=$ac_count
3109 fi
3110 # 10*(2^10) chars as input seems more than enough
3111 test $ac_count -gt 10 && break
3112 done
3113 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3114 esac
3115
3116 $ac_path_GREP_found && break 3
3117 done
3118 done
3119 done
3120 IFS=$as_save_IFS
3121 if test -z "$ac_cv_path_GREP"; then
3122 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3123 fi
3124 else
3125 ac_cv_path_GREP=$GREP
3126 fi
3127
3128 fi
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3130 $as_echo "$ac_cv_path_GREP" >&6; }
3131 GREP="$ac_cv_path_GREP"
3132
3133
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3135 $as_echo_n "checking for egrep... " >&6; }
3136 if ${ac_cv_path_EGREP+:} false; then :
3137 $as_echo_n "(cached) " >&6
3138 else
3139 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3140 then ac_cv_path_EGREP="$GREP -E"
3141 else
3142 if test -z "$EGREP"; then
3143 ac_path_EGREP_found=false
3144 # Loop through the user's path and test for each of PROGNAME-LIST
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3147 do
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_prog in egrep; do
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3153 as_fn_executable_p "$ac_path_EGREP" || continue
3154 # Check for GNU ac_path_EGREP and select it if it is found.
3155 # Check for GNU $ac_path_EGREP
3156 case `"$ac_path_EGREP" --version 2>&1` in
3157 *GNU*)
3158 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3159 *)
3160 ac_count=0
3161 $as_echo_n 0123456789 >"conftest.in"
3162 while :
3163 do
3164 cat "conftest.in" "conftest.in" >"conftest.tmp"
3165 mv "conftest.tmp" "conftest.in"
3166 cp "conftest.in" "conftest.nl"
3167 $as_echo 'EGREP' >> "conftest.nl"
3168 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3170 as_fn_arith $ac_count + 1 && ac_count=$as_val
3171 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3172 # Best one so far, save it but keep looking for a better one
3173 ac_cv_path_EGREP="$ac_path_EGREP"
3174 ac_path_EGREP_max=$ac_count
3175 fi
3176 # 10*(2^10) chars as input seems more than enough
3177 test $ac_count -gt 10 && break
3178 done
3179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3180 esac
3181
3182 $ac_path_EGREP_found && break 3
3183 done
3184 done
3185 done
3186 IFS=$as_save_IFS
3187 if test -z "$ac_cv_path_EGREP"; then
3188 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3189 fi
3190 else
3191 ac_cv_path_EGREP=$EGREP
3192 fi
3193
3194 fi
3195 fi
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3197 $as_echo "$ac_cv_path_EGREP" >&6; }
3198 EGREP="$ac_cv_path_EGREP"
3199
3200
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3202 $as_echo_n "checking for ANSI C header files... " >&6; }
3203 if ${ac_cv_header_stdc+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3208 #include <stdlib.h>
3209 #include <stdarg.h>
3210 #include <string.h>
3211 #include <float.h>
3212
3213 int
3214 main ()
3215 {
3216
3217 ;
3218 return 0;
3219 }
3220 _ACEOF
3221 if ac_fn_c_try_compile "$LINENO"; then :
3222 ac_cv_header_stdc=yes
3223 else
3224 ac_cv_header_stdc=no
3225 fi
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227
3228 if test $ac_cv_header_stdc = yes; then
3229 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3232 #include <string.h>
3233
3234 _ACEOF
3235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3236 $EGREP "memchr" >/dev/null 2>&1; then :
3237
3238 else
3239 ac_cv_header_stdc=no
3240 fi
3241 rm -f conftest*
3242
3243 fi
3244
3245 if test $ac_cv_header_stdc = yes; then
3246 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3249 #include <stdlib.h>
3250
3251 _ACEOF
3252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3253 $EGREP "free" >/dev/null 2>&1; then :
3254
3255 else
3256 ac_cv_header_stdc=no
3257 fi
3258 rm -f conftest*
3259
3260 fi
3261
3262 if test $ac_cv_header_stdc = yes; then
3263 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3264 if test "$cross_compiling" = yes; then :
3265 :
3266 else
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3269 #include <ctype.h>
3270 #include <stdlib.h>
3271 #if ((' ' & 0x0FF) == 0x020)
3272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3274 #else
3275 # define ISLOWER(c) \
3276 (('a' <= (c) && (c) <= 'i') \
3277 || ('j' <= (c) && (c) <= 'r') \
3278 || ('s' <= (c) && (c) <= 'z'))
3279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3280 #endif
3281
3282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3283 int
3284 main ()
3285 {
3286 int i;
3287 for (i = 0; i < 256; i++)
3288 if (XOR (islower (i), ISLOWER (i))
3289 || toupper (i) != TOUPPER (i))
3290 return 2;
3291 return 0;
3292 }
3293 _ACEOF
3294 if ac_fn_c_try_run "$LINENO"; then :
3295
3296 else
3297 ac_cv_header_stdc=no
3298 fi
3299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3300 conftest.$ac_objext conftest.beam conftest.$ac_ext
3301 fi
3302
3303 fi
3304 fi
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3306 $as_echo "$ac_cv_header_stdc" >&6; }
3307 if test $ac_cv_header_stdc = yes; then
3308
3309 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3310
3311 fi
3312
3313 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3314 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3315 inttypes.h stdint.h unistd.h
3316 do :
3317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3319 "
3320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3321 cat >>confdefs.h <<_ACEOF
3322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3323 _ACEOF
3324
3325 fi
3326
3327 done
3328
3329
3330 for ac_header in xlocale.h
3331 do :
3332 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
3333 if test "x$ac_cv_header_xlocale_h" = xyes; then :
3334 cat >>confdefs.h <<_ACEOF
3335 #define HAVE_XLOCALE_H 1
3336 _ACEOF
3337
3338 fi
3339
3340 done
3341
3342
3343 for ac_func in strptime_l
3344 do :
3345 ac_fn_c_check_func "$LINENO" "strptime_l" "ac_cv_func_strptime_l"
3346 if test "x$ac_cv_func_strptime_l" = xyes; then :
3347 cat >>confdefs.h <<_ACEOF
3348 #define HAVE_STRPTIME_L 1
3349 _ACEOF
3350
3351 fi
3352 done
3353
3354 for ac_func in timegm
3355 do :
3356 ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
3357 if test "x$ac_cv_func_timegm" = xyes; then :
3358 cat >>confdefs.h <<_ACEOF
3359 #define HAVE_TIMEGM 1
3360 _ACEOF
3361
3362 fi
3363 done
3364
3365 ac_fn_c_check_decl "$LINENO" "_mkgmtime" "ac_cv_have_decl__mkgmtime" "#include <time.h>
3366 "
3367 if test "x$ac_cv_have_decl__mkgmtime" = xyes; then :
3368 ac_have_decl=1
3369 else
3370 ac_have_decl=0
3371 fi
3372
3373 cat >>confdefs.h <<_ACEOF
3374 #define HAVE_DECL__MKGMTIME $ac_have_decl
3375 _ACEOF
3376
3377 for ac_func in _get_current_locale
3378 do :
3379 ac_fn_c_check_func "$LINENO" "_get_current_locale" "ac_cv_func__get_current_locale"
3380 if test "x$ac_cv_func__get_current_locale" = xyes; then :
3381 cat >>confdefs.h <<_ACEOF
3382 #define HAVE__GET_CURRENT_LOCALE 1
3383 _ACEOF
3384
3385 fi
3386 done
3387
3388 for ac_func in _create_locale
3389 do :
3390 ac_fn_c_check_func "$LINENO" "_create_locale" "ac_cv_func__create_locale"
3391 if test "x$ac_cv_func__create_locale" = xyes; then :
3392 cat >>confdefs.h <<_ACEOF
3393 #define HAVE__CREATE_LOCALE 1
3394 _ACEOF
3395
3396 fi
3397 done
3398
3399 for ac_func in strtol_l
3400 do :
3401 ac_fn_c_check_func "$LINENO" "strtol_l" "ac_cv_func_strtol_l"
3402 if test "x$ac_cv_func_strtol_l" = xyes; then :
3403 cat >>confdefs.h <<_ACEOF
3404 #define HAVE_STRTOL_L 1
3405 _ACEOF
3406
3407 fi
3408 done
3409
3410 for ac_func in strtoll_l
3411 do :
3412 ac_fn_c_check_func "$LINENO" "strtoll_l" "ac_cv_func_strtoll_l"
3413 if test "x$ac_cv_func_strtoll_l" = xyes; then :
3414 cat >>confdefs.h <<_ACEOF
3415 #define HAVE_STRTOLL_L 1
3416 _ACEOF
3417
3418 fi
3419 done
3420
3421 for ac_func in _isspace_l
3422 do :
3423 ac_fn_c_check_func "$LINENO" "_isspace_l" "ac_cv_func__isspace_l"
3424 if test "x$ac_cv_func__isspace_l" = xyes; then :
3425 cat >>confdefs.h <<_ACEOF
3426 #define HAVE__ISSPACE_L 1
3427 _ACEOF
3428
3429 fi
3430 done
3431
3432 for ac_func in _isupper_l
3433 do :
3434 ac_fn_c_check_func "$LINENO" "_isupper_l" "ac_cv_func__isupper_l"
3435 if test "x$ac_cv_func__isupper_l" = xyes; then :
3436 cat >>confdefs.h <<_ACEOF
3437 #define HAVE__ISUPPER_L 1
3438 _ACEOF
3439
3440 fi
3441 done
3442
3443 for ac_func in _isdigit_l
3444 do :
3445 ac_fn_c_check_func "$LINENO" "_isdigit_l" "ac_cv_func__isdigit_l"
3446 if test "x$ac_cv_func__isdigit_l" = xyes; then :
3447 cat >>confdefs.h <<_ACEOF
3448 #define HAVE__ISDIGIT_L 1
3449 _ACEOF
3450
3451 fi
3452 done
3453
3454 for ac_func in _isblank_l
3455 do :
3456 ac_fn_c_check_func "$LINENO" "_isblank_l" "ac_cv_func__isblank_l"
3457 if test "x$ac_cv_func__isblank_l" = xyes; then :
3458 cat >>confdefs.h <<_ACEOF
3459 #define HAVE__ISBLANK_L 1
3460 _ACEOF
3461
3462 fi
3463 done
3464
3465
3466 host=`uname -a`
3467 case $host in
3468 Linux*)
3469 LINUX=1
3470 ;;
3471 *)
3472 LINUX=0
3473 ;;
3474 esac
3475
3476
3477 cat >>confdefs.h <<_ACEOF
3478 #define IS_LINUX $LINUX
3479 _ACEOF
3480
3481
3482 case $host in
3483 MINGW??_NT-6.1*)
3484 NT61=1
3485 ;;
3486 *)
3487 NT61=0
3488 ;;
3489 esac
3490
3491
3492 cat >>confdefs.h <<_ACEOF
3493 #define IS_NT61 $NT61
3494 _ACEOF
3495
3496
3497 cat >confcache <<\_ACEOF
3498 # This file is a shell script that caches the results of configure
3499 # tests run on this system so they can be shared between configure
3500 # scripts and configure runs, see configure's option --config-cache.
3501 # It is not useful on other systems. If it contains results you don't
3502 # want to keep, you may remove or edit it.
3503 #
3504 # config.status only pays attention to the cache file if you give it
3505 # the --recheck option to rerun configure.
3506 #
3507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3509 # following values.
3510
3511 _ACEOF
3512
3513 # The following way of writing the cache mishandles newlines in values,
3514 # but we know of no workaround that is simple, portable, and efficient.
3515 # So, we kill variables containing newlines.
3516 # Ultrix sh set writes to stderr and can't be redirected directly,
3517 # and sets the high bit in the cache file unless we assign to the vars.
3518 (
3519 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3520 eval ac_val=\$$ac_var
3521 case $ac_val in #(
3522 *${as_nl}*)
3523 case $ac_var in #(
3524 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3526 esac
3527 case $ac_var in #(
3528 _ | IFS | as_nl) ;; #(
3529 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3530 *) { eval $ac_var=; unset $ac_var;} ;;
3531 esac ;;
3532 esac
3533 done
3534
3535 (set) 2>&1 |
3536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3537 *${as_nl}ac_space=\ *)
3538 # `set' does not quote correctly, so add quotes: double-quote
3539 # substitution turns \\\\ into \\, and sed turns \\ into \.
3540 sed -n \
3541 "s/'/'\\\\''/g;
3542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3543 ;; #(
3544 *)
3545 # `set' quotes correctly as required by POSIX, so do not add quotes.
3546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3547 ;;
3548 esac |
3549 sort
3550 ) |
3551 sed '
3552 /^ac_cv_env_/b end
3553 t clear
3554 :clear
3555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3556 t end
3557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3558 :end' >>confcache
3559 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3560 if test -w "$cache_file"; then
3561 if test "x$cache_file" != "x/dev/null"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3563 $as_echo "$as_me: updating cache $cache_file" >&6;}
3564 if test ! -f "$cache_file" || test -h "$cache_file"; then
3565 cat confcache >"$cache_file"
3566 else
3567 case $cache_file in #(
3568 */* | ?:*)
3569 mv -f confcache "$cache_file"$$ &&
3570 mv -f "$cache_file"$$ "$cache_file" ;; #(
3571 *)
3572 mv -f confcache "$cache_file" ;;
3573 esac
3574 fi
3575 fi
3576 else
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3579 fi
3580 fi
3581 rm -f confcache
3582
3583 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3584 # Let make expand exec_prefix.
3585 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3586
3587 DEFS=-DHAVE_CONFIG_H
3588
3589 ac_libobjs=
3590 ac_ltlibobjs=
3591 U=
3592 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3593 # 1. Remove the extension, and $U if already installed.
3594 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3595 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3596 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3597 # will be set to the directory where LIBOBJS objects are built.
3598 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3599 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3600 done
3601 LIBOBJS=$ac_libobjs
3602
3603 LTLIBOBJS=$ac_ltlibobjs
3604
3605
3606
3607 : "${CONFIG_STATUS=./config.status}"
3608 ac_write_fail=0
3609 ac_clean_files_save=$ac_clean_files
3610 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3612 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3613 as_write_fail=0
3614 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3615 #! $SHELL
3616 # Generated by $as_me.
3617 # Run this file to recreate the current configuration.
3618 # Compiler output produced by configure, useful for debugging
3619 # configure, is in config.log if it exists.
3620
3621 debug=false
3622 ac_cs_recheck=false
3623 ac_cs_silent=false
3624
3625 SHELL=\${CONFIG_SHELL-$SHELL}
3626 export SHELL
3627 _ASEOF
3628 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3629 ## -------------------- ##
3630 ## M4sh Initialization. ##
3631 ## -------------------- ##
3632
3633 # Be more Bourne compatible
3634 DUALCASE=1; export DUALCASE # for MKS sh
3635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3636 emulate sh
3637 NULLCMD=:
3638 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3639 # is contrary to our usage. Disable this feature.
3640 alias -g '${1+"$@"}'='"$@"'
3641 setopt NO_GLOB_SUBST
3642 else
3643 case `(set -o) 2>/dev/null` in #(
3644 *posix*) :
3645 set -o posix ;; #(
3646 *) :
3647 ;;
3648 esac
3649 fi
3650
3651
3652 as_nl='
3653 '
3654 export as_nl
3655 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3656 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3657 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3658 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3659 # Prefer a ksh shell builtin over an external printf program on Solaris,
3660 # but without wasting forks for bash or zsh.
3661 if test -z "$BASH_VERSION$ZSH_VERSION" \
3662 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3663 as_echo='print -r --'
3664 as_echo_n='print -rn --'
3665 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3666 as_echo='printf %s\n'
3667 as_echo_n='printf %s'
3668 else
3669 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3670 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3671 as_echo_n='/usr/ucb/echo -n'
3672 else
3673 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3674 as_echo_n_body='eval
3675 arg=$1;
3676 case $arg in #(
3677 *"$as_nl"*)
3678 expr "X$arg" : "X\\(.*\\)$as_nl";
3679 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3680 esac;
3681 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3682 '
3683 export as_echo_n_body
3684 as_echo_n='sh -c $as_echo_n_body as_echo'
3685 fi
3686 export as_echo_body
3687 as_echo='sh -c $as_echo_body as_echo'
3688 fi
3689
3690 # The user is always right.
3691 if test "${PATH_SEPARATOR+set}" != set; then
3692 PATH_SEPARATOR=:
3693 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3694 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3695 PATH_SEPARATOR=';'
3696 }
3697 fi
3698
3699
3700 # IFS
3701 # We need space, tab and new line, in precisely that order. Quoting is
3702 # there to prevent editors from complaining about space-tab.
3703 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3704 # splitting by setting IFS to empty value.)
3705 IFS=" "" $as_nl"
3706
3707 # Find who we are. Look in the path if we contain no directory separator.
3708 as_myself=
3709 case $0 in #((
3710 *[\\/]* ) as_myself=$0 ;;
3711 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714 IFS=$as_save_IFS
3715 test -z "$as_dir" && as_dir=.
3716 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3717 done
3718 IFS=$as_save_IFS
3719
3720 ;;
3721 esac
3722 # We did not find ourselves, most probably we were run as `sh COMMAND'
3723 # in which case we are not to be found in the path.
3724 if test "x$as_myself" = x; then
3725 as_myself=$0
3726 fi
3727 if test ! -f "$as_myself"; then
3728 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3729 exit 1
3730 fi
3731
3732 # Unset variables that we do not need and which cause bugs (e.g. in
3733 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3734 # suppresses any "Segmentation fault" message there. '((' could
3735 # trigger a bug in pdksh 5.2.14.
3736 for as_var in BASH_ENV ENV MAIL MAILPATH
3737 do eval test x\${$as_var+set} = xset \
3738 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3739 done
3740 PS1='$ '
3741 PS2='> '
3742 PS4='+ '
3743
3744 # NLS nuisances.
3745 LC_ALL=C
3746 export LC_ALL
3747 LANGUAGE=C
3748 export LANGUAGE
3749
3750 # CDPATH.
3751 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3752
3753
3754 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3755 # ----------------------------------------
3756 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3757 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3758 # script with STATUS, using 1 if that was 0.
3759 as_fn_error ()
3760 {
3761 as_status=$1; test $as_status -eq 0 && as_status=1
3762 if test "$4"; then
3763 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3764 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3765 fi
3766 $as_echo "$as_me: error: $2" >&2
3767 as_fn_exit $as_status
3768 } # as_fn_error
3769
3770
3771 # as_fn_set_status STATUS
3772 # -----------------------
3773 # Set $? to STATUS, without forking.
3774 as_fn_set_status ()
3775 {
3776 return $1
3777 } # as_fn_set_status
3778
3779 # as_fn_exit STATUS
3780 # -----------------
3781 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3782 as_fn_exit ()
3783 {
3784 set +e
3785 as_fn_set_status $1
3786 exit $1
3787 } # as_fn_exit
3788
3789 # as_fn_unset VAR
3790 # ---------------
3791 # Portably unset VAR.
3792 as_fn_unset ()
3793 {
3794 { eval $1=; unset $1;}
3795 }
3796 as_unset=as_fn_unset
3797 # as_fn_append VAR VALUE
3798 # ----------------------
3799 # Append the text in VALUE to the end of the definition contained in VAR. Take
3800 # advantage of any shell optimizations that allow amortized linear growth over
3801 # repeated appends, instead of the typical quadratic growth present in naive
3802 # implementations.
3803 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3804 eval 'as_fn_append ()
3805 {
3806 eval $1+=\$2
3807 }'
3808 else
3809 as_fn_append ()
3810 {
3811 eval $1=\$$1\$2
3812 }
3813 fi # as_fn_append
3814
3815 # as_fn_arith ARG...
3816 # ------------------
3817 # Perform arithmetic evaluation on the ARGs, and store the result in the
3818 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3819 # must be portable across $(()) and expr.
3820 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3821 eval 'as_fn_arith ()
3822 {
3823 as_val=$(( $* ))
3824 }'
3825 else
3826 as_fn_arith ()
3827 {
3828 as_val=`expr "$@" || test $? -eq 1`
3829 }
3830 fi # as_fn_arith
3831
3832
3833 if expr a : '\(a\)' >/dev/null 2>&1 &&
3834 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3835 as_expr=expr
3836 else
3837 as_expr=false
3838 fi
3839
3840 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3841 as_basename=basename
3842 else
3843 as_basename=false
3844 fi
3845
3846 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3847 as_dirname=dirname
3848 else
3849 as_dirname=false
3850 fi
3851
3852 as_me=`$as_basename -- "$0" ||
3853 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3854 X"$0" : 'X\(//\)$' \| \
3855 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3856 $as_echo X/"$0" |
3857 sed '/^.*\/\([^/][^/]*\)\/*$/{
3858 s//\1/
3859 q
3860 }
3861 /^X\/\(\/\/\)$/{
3862 s//\1/
3863 q
3864 }
3865 /^X\/\(\/\).*/{
3866 s//\1/
3867 q
3868 }
3869 s/.*/./; q'`
3870
3871 # Avoid depending upon Character Ranges.
3872 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3873 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3874 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3875 as_cr_digits='0123456789'
3876 as_cr_alnum=$as_cr_Letters$as_cr_digits
3877
3878 ECHO_C= ECHO_N= ECHO_T=
3879 case `echo -n x` in #(((((
3880 -n*)
3881 case `echo 'xy\c'` in
3882 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3883 xy) ECHO_C='\c';;
3884 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3885 ECHO_T=' ';;
3886 esac;;
3887 *)
3888 ECHO_N='-n';;
3889 esac
3890
3891 rm -f conf$$ conf$$.exe conf$$.file
3892 if test -d conf$$.dir; then
3893 rm -f conf$$.dir/conf$$.file
3894 else
3895 rm -f conf$$.dir
3896 mkdir conf$$.dir 2>/dev/null
3897 fi
3898 if (echo >conf$$.file) 2>/dev/null; then
3899 if ln -s conf$$.file conf$$ 2>/dev/null; then
3900 as_ln_s='ln -s'
3901 # ... but there are two gotchas:
3902 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3903 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3904 # In both cases, we have to default to `cp -pR'.
3905 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3906 as_ln_s='cp -pR'
3907 elif ln conf$$.file conf$$ 2>/dev/null; then
3908 as_ln_s=ln
3909 else
3910 as_ln_s='cp -pR'
3911 fi
3912 else
3913 as_ln_s='cp -pR'
3914 fi
3915 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3916 rmdir conf$$.dir 2>/dev/null
3917
3918
3919 # as_fn_mkdir_p
3920 # -------------
3921 # Create "$as_dir" as a directory, including parents if necessary.
3922 as_fn_mkdir_p ()
3923 {
3924
3925 case $as_dir in #(
3926 -*) as_dir=./$as_dir;;
3927 esac
3928 test -d "$as_dir" || eval $as_mkdir_p || {
3929 as_dirs=
3930 while :; do
3931 case $as_dir in #(
3932 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3933 *) as_qdir=$as_dir;;
3934 esac
3935 as_dirs="'$as_qdir' $as_dirs"
3936 as_dir=`$as_dirname -- "$as_dir" ||
3937 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3938 X"$as_dir" : 'X\(//\)[^/]' \| \
3939 X"$as_dir" : 'X\(//\)$' \| \
3940 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3941 $as_echo X"$as_dir" |
3942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3943 s//\1/
3944 q
3945 }
3946 /^X\(\/\/\)[^/].*/{
3947 s//\1/
3948 q
3949 }
3950 /^X\(\/\/\)$/{
3951 s//\1/
3952 q
3953 }
3954 /^X\(\/\).*/{
3955 s//\1/
3956 q
3957 }
3958 s/.*/./; q'`
3959 test -d "$as_dir" && break
3960 done
3961 test -z "$as_dirs" || eval "mkdir $as_dirs"
3962 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3963
3964
3965 } # as_fn_mkdir_p
3966 if mkdir -p . 2>/dev/null; then
3967 as_mkdir_p='mkdir -p "$as_dir"'
3968 else
3969 test -d ./-p && rmdir ./-p
3970 as_mkdir_p=false
3971 fi
3972
3973
3974 # as_fn_executable_p FILE
3975 # -----------------------
3976 # Test if FILE is an executable regular file.
3977 as_fn_executable_p ()
3978 {
3979 test -f "$1" && test -x "$1"
3980 } # as_fn_executable_p
3981 as_test_x='test -x'
3982 as_executable_p=as_fn_executable_p
3983
3984 # Sed expression to map a string onto a valid CPP name.
3985 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3986
3987 # Sed expression to map a string onto a valid variable name.
3988 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3989
3990
3991 exec 6>&1
3992 ## ----------------------------------- ##
3993 ## Main body of $CONFIG_STATUS script. ##
3994 ## ----------------------------------- ##
3995 _ASEOF
3996 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3997
3998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3999 # Save the log message, to keep $0 and so on meaningful, and to
4000 # report actual input values of CONFIG_FILES etc. instead of their
4001 # values after options handling.
4002 ac_log="
4003 This file was extended by $as_me, which was
4004 generated by GNU Autoconf 2.69. Invocation command line was
4005
4006 CONFIG_FILES = $CONFIG_FILES
4007 CONFIG_HEADERS = $CONFIG_HEADERS
4008 CONFIG_LINKS = $CONFIG_LINKS
4009 CONFIG_COMMANDS = $CONFIG_COMMANDS
4010 $ $0 $@
4011
4012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4013 "
4014
4015 _ACEOF
4016
4017
4018 case $ac_config_headers in *"
4019 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4020 esac
4021
4022
4023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4024 # Files that config.status was made for.
4025 config_headers="$ac_config_headers"
4026
4027 _ACEOF
4028
4029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4030 ac_cs_usage="\
4031 \`$as_me' instantiates files and other configuration actions
4032 from templates according to the current configuration. Unless the files
4033 and actions are specified as TAGs, all are instantiated by default.
4034
4035 Usage: $0 [OPTION]... [TAG]...
4036
4037 -h, --help print this help, then exit
4038 -V, --version print version number and configuration settings, then exit
4039 --config print configuration, then exit
4040 -q, --quiet, --silent
4041 do not print progress messages
4042 -d, --debug don't remove temporary files
4043 --recheck update $as_me by reconfiguring in the same conditions
4044 --header=FILE[:TEMPLATE]
4045 instantiate the configuration header FILE
4046
4047 Configuration headers:
4048 $config_headers
4049
4050 Report bugs to the package provider."
4051
4052 _ACEOF
4053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4055 ac_cs_version="\\
4056 config.status
4057 configured by $0, generated by GNU Autoconf 2.69,
4058 with options \\"\$ac_cs_config\\"
4059
4060 Copyright (C) 2012 Free Software Foundation, Inc.
4061 This config.status script is free software; the Free Software Foundation
4062 gives unlimited permission to copy, distribute and modify it."
4063
4064 ac_pwd='$ac_pwd'
4065 srcdir='$srcdir'
4066 test -n "\$AWK" || AWK=awk
4067 _ACEOF
4068
4069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4070 # The default lists apply if the user does not specify any file.
4071 ac_need_defaults=:
4072 while test $# != 0
4073 do
4074 case $1 in
4075 --*=?*)
4076 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4077 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4078 ac_shift=:
4079 ;;
4080 --*=)
4081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4082 ac_optarg=
4083 ac_shift=:
4084 ;;
4085 *)
4086 ac_option=$1
4087 ac_optarg=$2
4088 ac_shift=shift
4089 ;;
4090 esac
4091
4092 case $ac_option in
4093 # Handling of the options.
4094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4095 ac_cs_recheck=: ;;
4096 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4097 $as_echo "$ac_cs_version"; exit ;;
4098 --config | --confi | --conf | --con | --co | --c )
4099 $as_echo "$ac_cs_config"; exit ;;
4100 --debug | --debu | --deb | --de | --d | -d )
4101 debug=: ;;
4102 --header | --heade | --head | --hea )
4103 $ac_shift
4104 case $ac_optarg in
4105 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4106 esac
4107 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4108 ac_need_defaults=false;;
4109 --he | --h)
4110 # Conflict between --help and --header
4111 as_fn_error $? "ambiguous option: \`$1'
4112 Try \`$0 --help' for more information.";;
4113 --help | --hel | -h )
4114 $as_echo "$ac_cs_usage"; exit ;;
4115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4116 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4117 ac_cs_silent=: ;;
4118
4119 # This is an error.
4120 -*) as_fn_error $? "unrecognized option: \`$1'
4121 Try \`$0 --help' for more information." ;;
4122
4123 *) as_fn_append ac_config_targets " $1"
4124 ac_need_defaults=false ;;
4125
4126 esac
4127 shift
4128 done
4129
4130 ac_configure_extra_args=
4131
4132 if $ac_cs_silent; then
4133 exec 6>/dev/null
4134 ac_configure_extra_args="$ac_configure_extra_args --silent"
4135 fi
4136
4137 _ACEOF
4138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4139 if \$ac_cs_recheck; then
4140 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4141 shift
4142 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4143 CONFIG_SHELL='$SHELL'
4144 export CONFIG_SHELL
4145 exec "\$@"
4146 fi
4147
4148 _ACEOF
4149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4150 exec 5>>config.log
4151 {
4152 echo
4153 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4154 ## Running $as_me. ##
4155 _ASBOX
4156 $as_echo "$ac_log"
4157 } >&5
4158
4159 _ACEOF
4160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4161 _ACEOF
4162
4163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4164
4165 # Handling of arguments.
4166 for ac_config_target in $ac_config_targets
4167 do
4168 case $ac_config_target in
4169 "cbits/config.h") CONFIG_HEADERS="$CONFIG_HEADERS cbits/config.h" ;;
4170
4171 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4172 esac
4173 done
4174
4175
4176 # If the user did not use the arguments to specify the items to instantiate,
4177 # then the envvar interface is used. Set only those that are not.
4178 # We use the long form for the default assignment because of an extremely
4179 # bizarre bug on SunOS 4.1.3.
4180 if $ac_need_defaults; then
4181 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4182 fi
4183
4184 # Have a temporary directory for convenience. Make it in the build tree
4185 # simply because there is no reason against having it here, and in addition,
4186 # creating and moving files from /tmp can sometimes cause problems.
4187 # Hook for its removal unless debugging.
4188 # Note that there is a small window in which the directory will not be cleaned:
4189 # after its creation but before its name has been assigned to `$tmp'.
4190 $debug ||
4191 {
4192 tmp= ac_tmp=
4193 trap 'exit_status=$?
4194 : "${ac_tmp:=$tmp}"
4195 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4196 ' 0
4197 trap 'as_fn_exit 1' 1 2 13 15
4198 }
4199 # Create a (secure) tmp directory for tmp files.
4200
4201 {
4202 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4203 test -d "$tmp"
4204 } ||
4205 {
4206 tmp=./conf$$-$RANDOM
4207 (umask 077 && mkdir "$tmp")
4208 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4209 ac_tmp=$tmp
4210
4211 # Set up the scripts for CONFIG_HEADERS section.
4212 # No need to generate them if there are no CONFIG_HEADERS.
4213 # This happens for instance with `./config.status Makefile'.
4214 if test -n "$CONFIG_HEADERS"; then
4215 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4216 BEGIN {
4217 _ACEOF
4218
4219 # Transform confdefs.h into an awk script `defines.awk', embedded as
4220 # here-document in config.status, that substitutes the proper values into
4221 # config.h.in to produce config.h.
4222
4223 # Create a delimiter string that does not exist in confdefs.h, to ease
4224 # handling of long lines.
4225 ac_delim='%!_!# '
4226 for ac_last_try in false false :; do
4227 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4228 if test -z "$ac_tt"; then
4229 break
4230 elif $ac_last_try; then
4231 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4232 else
4233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4234 fi
4235 done
4236
4237 # For the awk script, D is an array of macro values keyed by name,
4238 # likewise P contains macro parameters if any. Preserve backslash
4239 # newline sequences.
4240
4241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4242 sed -n '
4243 s/.\{148\}/&'"$ac_delim"'/g
4244 t rset
4245 :rset
4246 s/^[ ]*#[ ]*define[ ][ ]*/ /
4247 t def
4248 d
4249 :def
4250 s/\\$//
4251 t bsnl
4252 s/["\\]/\\&/g
4253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4254 D["\1"]=" \3"/p
4255 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4256 d
4257 :bsnl
4258 s/["\\]/\\&/g
4259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4260 D["\1"]=" \3\\\\\\n"\\/p
4261 t cont
4262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4263 t cont
4264 d
4265 :cont
4266 n
4267 s/.\{148\}/&'"$ac_delim"'/g
4268 t clear
4269 :clear
4270 s/\\$//
4271 t bsnlc
4272 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4273 d
4274 :bsnlc
4275 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4276 b cont
4277 ' <confdefs.h | sed '
4278 s/'"$ac_delim"'/"\\\
4279 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4280
4281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4282 for (key in D) D_is_set[key] = 1
4283 FS = ""
4284 }
4285 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4286 line = \$ 0
4287 split(line, arg, " ")
4288 if (arg[1] == "#") {
4289 defundef = arg[2]
4290 mac1 = arg[3]
4291 } else {
4292 defundef = substr(arg[1], 2)
4293 mac1 = arg[2]
4294 }
4295 split(mac1, mac2, "(") #)
4296 macro = mac2[1]
4297 prefix = substr(line, 1, index(line, defundef) - 1)
4298 if (D_is_set[macro]) {
4299 # Preserve the white space surrounding the "#".
4300 print prefix "define", macro P[macro] D[macro]
4301 next
4302 } else {
4303 # Replace #undef with comments. This is necessary, for example,
4304 # in the case of _POSIX_SOURCE, which is predefined and required
4305 # on some systems where configure will not decide to define it.
4306 if (defundef == "undef") {
4307 print "/*", prefix defundef, macro, "*/"
4308 next
4309 }
4310 }
4311 }
4312 { print }
4313 _ACAWK
4314 _ACEOF
4315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4316 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4317 fi # test -n "$CONFIG_HEADERS"
4318
4319
4320 eval set X " :H $CONFIG_HEADERS "
4321 shift
4322 for ac_tag
4323 do
4324 case $ac_tag in
4325 :[FHLC]) ac_mode=$ac_tag; continue;;
4326 esac
4327 case $ac_mode$ac_tag in
4328 :[FHL]*:*);;
4329 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4330 :[FH]-) ac_tag=-:-;;
4331 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4332 esac
4333 ac_save_IFS=$IFS
4334 IFS=:
4335 set x $ac_tag
4336 IFS=$ac_save_IFS
4337 shift
4338 ac_file=$1
4339 shift
4340
4341 case $ac_mode in
4342 :L) ac_source=$1;;
4343 :[FH])
4344 ac_file_inputs=
4345 for ac_f
4346 do
4347 case $ac_f in
4348 -) ac_f="$ac_tmp/stdin";;
4349 *) # Look for the file first in the build tree, then in the source tree
4350 # (if the path is not absolute). The absolute path cannot be DOS-style,
4351 # because $ac_f cannot contain `:'.
4352 test -f "$ac_f" ||
4353 case $ac_f in
4354 [\\/$]*) false;;
4355 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4356 esac ||
4357 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4358 esac
4359 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4360 as_fn_append ac_file_inputs " '$ac_f'"
4361 done
4362
4363 # Let's still pretend it is `configure' which instantiates (i.e., don't
4364 # use $as_me), people would be surprised to read:
4365 # /* config.h. Generated by config.status. */
4366 configure_input='Generated from '`
4367 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4368 `' by configure.'
4369 if test x"$ac_file" != x-; then
4370 configure_input="$ac_file. $configure_input"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4372 $as_echo "$as_me: creating $ac_file" >&6;}
4373 fi
4374 # Neutralize special characters interpreted by sed in replacement strings.
4375 case $configure_input in #(
4376 *\&* | *\|* | *\\* )
4377 ac_sed_conf_input=`$as_echo "$configure_input" |
4378 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4379 *) ac_sed_conf_input=$configure_input;;
4380 esac
4381
4382 case $ac_tag in
4383 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4385 esac
4386 ;;
4387 esac
4388
4389 ac_dir=`$as_dirname -- "$ac_file" ||
4390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4391 X"$ac_file" : 'X\(//\)[^/]' \| \
4392 X"$ac_file" : 'X\(//\)$' \| \
4393 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4394 $as_echo X"$ac_file" |
4395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4396 s//\1/
4397 q
4398 }
4399 /^X\(\/\/\)[^/].*/{
4400 s//\1/
4401 q
4402 }
4403 /^X\(\/\/\)$/{
4404 s//\1/
4405 q
4406 }
4407 /^X\(\/\).*/{
4408 s//\1/
4409 q
4410 }
4411 s/.*/./; q'`
4412 as_dir="$ac_dir"; as_fn_mkdir_p
4413 ac_builddir=.
4414
4415 case "$ac_dir" in
4416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4417 *)
4418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4419 # A ".." for each directory in $ac_dir_suffix.
4420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4421 case $ac_top_builddir_sub in
4422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4424 esac ;;
4425 esac
4426 ac_abs_top_builddir=$ac_pwd
4427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4428 # for backward compatibility:
4429 ac_top_builddir=$ac_top_build_prefix
4430
4431 case $srcdir in
4432 .) # We are building in place.
4433 ac_srcdir=.
4434 ac_top_srcdir=$ac_top_builddir_sub
4435 ac_abs_top_srcdir=$ac_pwd ;;
4436 [\\/]* | ?:[\\/]* ) # Absolute name.
4437 ac_srcdir=$srcdir$ac_dir_suffix;
4438 ac_top_srcdir=$srcdir
4439 ac_abs_top_srcdir=$srcdir ;;
4440 *) # Relative name.
4441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4442 ac_top_srcdir=$ac_top_build_prefix$srcdir
4443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4444 esac
4445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4446
4447
4448 case $ac_mode in
4449
4450 :H)
4451 #
4452 # CONFIG_HEADER
4453 #
4454 if test x"$ac_file" != x-; then
4455 {
4456 $as_echo "/* $configure_input */" \
4457 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4458 } >"$ac_tmp/config.h" \
4459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4460 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4462 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4463 else
4464 rm -f "$ac_file"
4465 mv "$ac_tmp/config.h" "$ac_file" \
4466 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4467 fi
4468 else
4469 $as_echo "/* $configure_input */" \
4470 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4471 || as_fn_error $? "could not create -" "$LINENO" 5
4472 fi
4473 ;;
4474
4475
4476 esac
4477
4478 done # for ac_tag
4479
4480
4481 as_fn_exit 0
4482 _ACEOF
4483 ac_clean_files=$ac_clean_files_save
4484
4485 test $ac_write_fail = 0 ||
4486 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4487
4488
4489 # configure is writing to config.log, and then calls config.status.
4490 # config.status does its own redirection, appending to config.log.
4491 # Unfortunately, on DOS this fails, as config.log is still kept open
4492 # by configure, so config.status won't be able to write to it; its
4493 # output is simply discarded. So we exec the FD to /dev/null,
4494 # effectively closing config.log, so it can be properly (re)opened and
4495 # appended to by config.status. When coming back to configure, we
4496 # need to make the FD available again.
4497 if test "$no_create" != yes; then
4498 ac_cs_success=:
4499 ac_config_status_args=
4500 test "$silent" = yes &&
4501 ac_config_status_args="$ac_config_status_args --quiet"
4502 exec 5>/dev/null
4503 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4504 exec 5>>config.log
4505 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4506 # would make configure fail if this is the last instruction.
4507 $ac_cs_success || as_fn_exit 1
4508 fi
4509 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4511 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4512 fi
4513