VirtualBox

source: vbox/trunk/src/libs/liblzf-3.4/configure@ 61712

最後變更 在這個檔案從61712是 17027,由 vboxsync 提交於 16 年 前

liblzf-3.4: exporting (in progress).

檔案大小: 214.4 KB
 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.60.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21else
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23fi
24BIN_SH=xpg4; export BIN_SH # for Tru64
25DUALCASE=1; export DUALCASE # for MKS sh
26
27
28# PATH needs CR
29# Avoid depending upon Character Ranges.
30as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33as_cr_digits='0123456789'
34as_cr_alnum=$as_cr_Letters$as_cr_digits
35
36# The user is always right.
37if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
45 fi
46 rm -f conf$$.sh
47fi
48
49# Support unset when possible.
50if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52else
53 as_unset=false
54fi
55
56
57# IFS
58# We need space, tab and new line, in precisely that order. Quoting is
59# there to prevent editors from complaining about space-tab.
60# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61# splitting by setting IFS to empty value.)
62as_nl='
63'
64IFS=" "" $as_nl"
65
66# Find who we are. Look in the path if we contain no directory separator.
67case $0 in
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70for as_dir in $PATH
71do
72 IFS=$as_save_IFS
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75done
76IFS=$as_save_IFS
77
78 ;;
79esac
80# We did not find ourselves, most probably we were run as `sh COMMAND'
81# in which case we are not to be found in the path.
82if test "x$as_myself" = x; then
83 as_myself=$0
84fi
85if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87 { (exit 1); exit 1; }
88fi
89
90# Work around bugs in pre-3.0 UWIN ksh.
91for as_var in ENV MAIL MAILPATH
92do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93done
94PS1='$ '
95PS2='> '
96PS4='+ '
97
98# NLS nuisances.
99for as_var in \
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102 LC_TELEPHONE LC_TIME
103do
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
106 else
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108 fi
109done
110
111# Required to use basename.
112if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
114 as_expr=expr
115else
116 as_expr=false
117fi
118
119if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120 as_basename=basename
121else
122 as_basename=false
123fi
124
125
126# Name of the executable.
127as_me=`$as_basename -- "$0" ||
128$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131echo X/"$0" |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
133 s//\1/
134 q
135 }
136 /^X\/\(\/\/\)$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\).*/{
141 s//\1/
142 q
143 }
144 s/.*/./; q'`
145
146# CDPATH.
147$as_unset CDPATH
148
149
150if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
152 as_have_required=yes
153else
154 as_have_required=no
155fi
156
157 if test $as_have_required = yes && (eval ":
158(as_func_return () {
159 (exit \$1)
160}
161as_func_success () {
162 as_func_return 0
163}
164as_func_failure () {
165 as_func_return 1
166}
167as_func_ret_success () {
168 return 0
169}
170as_func_ret_failure () {
171 return 1
172}
173
174exitcode=0
175if as_func_success; then
176 :
177else
178 exitcode=1
179 echo as_func_success failed.
180fi
181
182if as_func_failure; then
183 exitcode=1
184 echo as_func_failure succeeded.
185fi
186
187if as_func_ret_success; then
188 :
189else
190 exitcode=1
191 echo as_func_ret_success failed.
192fi
193
194if as_func_ret_failure; then
195 exitcode=1
196 echo as_func_ret_failure succeeded.
197fi
198
199if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200 :
201else
202 exitcode=1
203 echo positional parameters were not saved.
204fi
205
206test \$exitcode = 0) || { (exit 1); exit 1; }
207
208(
209 as_lineno_1=\$LINENO
210 as_lineno_2=\$LINENO
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213") 2> /dev/null; then
214 :
215else
216 as_candidate_shells=
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 case $as_dir in
223 /*)
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226 done;;
227 esac
228done
229IFS=$as_save_IFS
230
231
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236# Be Bourne compatible
237if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238 emulate sh
239 NULLCMD=:
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
243 setopt NO_GLOB_SUBST
244else
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246fi
247BIN_SH=xpg4; export BIN_SH # for Tru64
248DUALCASE=1; export DUALCASE # for MKS sh
249
250:
251_ASEOF
252}; then
253 CONFIG_SHELL=$as_shell
254 as_have_required=yes
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256# Be Bourne compatible
257if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258 emulate sh
259 NULLCMD=:
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
263 setopt NO_GLOB_SUBST
264else
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266fi
267BIN_SH=xpg4; export BIN_SH # for Tru64
268DUALCASE=1; export DUALCASE # for MKS sh
269
270:
271(as_func_return () {
272 (exit $1)
273}
274as_func_success () {
275 as_func_return 0
276}
277as_func_failure () {
278 as_func_return 1
279}
280as_func_ret_success () {
281 return 0
282}
283as_func_ret_failure () {
284 return 1
285}
286
287exitcode=0
288if as_func_success; then
289 :
290else
291 exitcode=1
292 echo as_func_success failed.
293fi
294
295if as_func_failure; then
296 exitcode=1
297 echo as_func_failure succeeded.
298fi
299
300if as_func_ret_success; then
301 :
302else
303 exitcode=1
304 echo as_func_ret_success failed.
305fi
306
307if as_func_ret_failure; then
308 exitcode=1
309 echo as_func_ret_failure succeeded.
310fi
311
312if ( set x; as_func_ret_success y && test x = "$1" ); then
313 :
314else
315 exitcode=1
316 echo positional parameters were not saved.
317fi
318
319test $exitcode = 0) || { (exit 1); exit 1; }
320
321(
322 as_lineno_1=$LINENO
323 as_lineno_2=$LINENO
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326
327_ASEOF
328}; then
329 break
330fi
331
332fi
333
334 done
335
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339 done
340 export CONFIG_SHELL
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342fi
343
344
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
351fi
352
353
354fi
355
356fi
357
358
359
360(eval "as_func_return () {
361 (exit \$1)
362}
363as_func_success () {
364 as_func_return 0
365}
366as_func_failure () {
367 as_func_return 1
368}
369as_func_ret_success () {
370 return 0
371}
372as_func_ret_failure () {
373 return 1
374}
375
376exitcode=0
377if as_func_success; then
378 :
379else
380 exitcode=1
381 echo as_func_success failed.
382fi
383
384if as_func_failure; then
385 exitcode=1
386 echo as_func_failure succeeded.
387fi
388
389if as_func_ret_success; then
390 :
391else
392 exitcode=1
393 echo as_func_ret_success failed.
394fi
395
396if as_func_ret_failure; then
397 exitcode=1
398 echo as_func_ret_failure succeeded.
399fi
400
401if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402 :
403else
404 exitcode=1
405 echo positional parameters were not saved.
406fi
407
408test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell [email protected] about your system,
411 echo including any error possibly output before this
412 echo message
413}
414
415
416
417 as_lineno_1=$LINENO
418 as_lineno_2=$LINENO
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
421
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
428 # case at line end.
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
450
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
457}
458
459
460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462else
463 as_dirname=false
464fi
465
466ECHO_C= ECHO_N= ECHO_T=
467case `echo -n x` in
468-n*)
469 case `echo 'x\c'` in
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
471 *) ECHO_C='\c';;
472 esac;;
473*)
474 ECHO_N='-n';;
475esac
476
477if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
479 as_expr=expr
480else
481 as_expr=false
482fi
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487else
488 rm -f conf$$.dir
489 mkdir conf$$.dir
490fi
491echo >conf$$.file
492if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502else
503 as_ln_s='cp -p'
504fi
505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506rmdir conf$$.dir 2>/dev/null
507
508if mkdir -p . 2>/dev/null; then
509 as_mkdir_p=:
510else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
513fi
514
515# Find out whether ``test -x'' works. Don't use a zero-byte file, as
516# systems may use methods other than mode bits to determine executability.
517cat >conf$$.file <<_ASEOF
518#! /bin/sh
519exit 0
520_ASEOF
521chmod +x conf$$.file
522if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
524else
525 as_executable_p=:
526fi
527rm -f conf$$.file
528
529# Sed expression to map a string onto a valid CPP name.
530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
532# Sed expression to map a string onto a valid variable name.
533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536
537exec 7<&0 </dev/null 6>&1
538
539# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555SHELL=${CONFIG_SHELL-/bin/sh}
556
557# Identity of this package.
558PACKAGE_NAME=
559PACKAGE_TARNAME=
560PACKAGE_VERSION=
561PACKAGE_STRING=
562PACKAGE_BUGREPORT=
563
564ac_unique_file="lzfP.h"
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#if HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#if HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#if STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# if HAVE_STDLIB_H
579# include <stdlib.h>
580# endif
581#endif
582#if HAVE_STRING_H
583# if !STDC_HEADERS && HAVE_MEMORY_H
584# include <memory.h>
585# endif
586# include <string.h>
587#endif
588#if HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#if HAVE_INTTYPES_H
592# include <inttypes.h>
593#endif
594#if HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#if HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
601ac_subst_vars='SHELL
602PATH_SEPARATOR
603PACKAGE_NAME
604PACKAGE_TARNAME
605PACKAGE_VERSION
606PACKAGE_STRING
607PACKAGE_BUGREPORT
608exec_prefix
609prefix
610program_transform_name
611bindir
612sbindir
613libexecdir
614datarootdir
615datadir
616sysconfdir
617sharedstatedir
618localstatedir
619includedir
620oldincludedir
621docdir
622infodir
623htmldir
624dvidir
625pdfdir
626psdir
627libdir
628localedir
629mandir
630DEFS
631ECHO_C
632ECHO_N
633ECHO_T
634LIBS
635build_alias
636host_alias
637target_alias
638CC
639CFLAGS
640LDFLAGS
641CPPFLAGS
642ac_ct_CC
643EXEEXT
644OBJEXT
645RANLIB
646INSTALL_PROGRAM
647INSTALL_SCRIPT
648INSTALL_DATA
649CPP
650GREP
651EGREP
652LIBOBJS
653LTLIBOBJS'
654ac_subst_files=''
655 ac_precious_vars='build_alias
656host_alias
657target_alias
658CC
659CFLAGS
660LDFLAGS
661CPPFLAGS
662CPP'
663
664
665# Initialize some variables set by options.
666ac_init_help=
667ac_init_version=false
668# The variables have the same names as the options, with
669# dashes changed to underlines.
670cache_file=/dev/null
671exec_prefix=NONE
672no_create=
673no_recursion=
674prefix=NONE
675program_prefix=NONE
676program_suffix=NONE
677program_transform_name=s,x,x,
678silent=
679site=
680srcdir=
681verbose=
682x_includes=NONE
683x_libraries=NONE
684
685# Installation directory options.
686# These are left unexpanded so users can "make install exec_prefix=/foo"
687# and all the variables that are supposed to be based on exec_prefix
688# by default will actually change.
689# Use braces instead of parens because sh, perl, etc. also accept them.
690# (The list follows the same order as the GNU Coding Standards.)
691bindir='${exec_prefix}/bin'
692sbindir='${exec_prefix}/sbin'
693libexecdir='${exec_prefix}/libexec'
694datarootdir='${prefix}/share'
695datadir='${datarootdir}'
696sysconfdir='${prefix}/etc'
697sharedstatedir='${prefix}/com'
698localstatedir='${prefix}/var'
699includedir='${prefix}/include'
700oldincludedir='/usr/include'
701docdir='${datarootdir}/doc/${PACKAGE}'
702infodir='${datarootdir}/info'
703htmldir='${docdir}'
704dvidir='${docdir}'
705pdfdir='${docdir}'
706psdir='${docdir}'
707libdir='${exec_prefix}/lib'
708localedir='${datarootdir}/locale'
709mandir='${datarootdir}/man'
710
711ac_prev=
712ac_dashdash=
713for ac_option
714do
715 # If the previous option needs an argument, assign it.
716 if test -n "$ac_prev"; then
717 eval $ac_prev=\$ac_option
718 ac_prev=
719 continue
720 fi
721
722 case $ac_option in
723 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
724 *) ac_optarg=yes ;;
725 esac
726
727 # Accept the important Cygnus configure options, so we can diagnose typos.
728
729 case $ac_dashdash$ac_option in
730 --)
731 ac_dashdash=yes ;;
732
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
734 ac_prev=bindir ;;
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
736 bindir=$ac_optarg ;;
737
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
742
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
749
750 --config-cache | -C)
751 cache_file=config.cache ;;
752
753 -datadir | --datadir | --datadi | --datad)
754 ac_prev=datadir ;;
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
757
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
764
765 -disable-* | --disable-*)
766 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
769 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
770 { (exit 1); exit 1; }; }
771 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
772 eval enable_$ac_feature=no ;;
773
774 -docdir | --docdir | --docdi | --doc | --do)
775 ac_prev=docdir ;;
776 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
777 docdir=$ac_optarg ;;
778
779 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
780 ac_prev=dvidir ;;
781 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
782 dvidir=$ac_optarg ;;
783
784 -enable-* | --enable-*)
785 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
788 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
789 { (exit 1); exit 1; }; }
790 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
791 eval enable_$ac_feature=\$ac_optarg ;;
792
793 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
794 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
795 | --exec | --exe | --ex)
796 ac_prev=exec_prefix ;;
797 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
798 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
799 | --exec=* | --exe=* | --ex=*)
800 exec_prefix=$ac_optarg ;;
801
802 -gas | --gas | --ga | --g)
803 # Obsolete; use --with-gas.
804 with_gas=yes ;;
805
806 -help | --help | --hel | --he | -h)
807 ac_init_help=long ;;
808 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
809 ac_init_help=recursive ;;
810 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
811 ac_init_help=short ;;
812
813 -host | --host | --hos | --ho)
814 ac_prev=host_alias ;;
815 -host=* | --host=* | --hos=* | --ho=*)
816 host_alias=$ac_optarg ;;
817
818 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
819 ac_prev=htmldir ;;
820 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
821 | --ht=*)
822 htmldir=$ac_optarg ;;
823
824 -includedir | --includedir | --includedi | --included | --include \
825 | --includ | --inclu | --incl | --inc)
826 ac_prev=includedir ;;
827 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
828 | --includ=* | --inclu=* | --incl=* | --inc=*)
829 includedir=$ac_optarg ;;
830
831 -infodir | --infodir | --infodi | --infod | --info | --inf)
832 ac_prev=infodir ;;
833 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
834 infodir=$ac_optarg ;;
835
836 -libdir | --libdir | --libdi | --libd)
837 ac_prev=libdir ;;
838 -libdir=* | --libdir=* | --libdi=* | --libd=*)
839 libdir=$ac_optarg ;;
840
841 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
842 | --libexe | --libex | --libe)
843 ac_prev=libexecdir ;;
844 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
845 | --libexe=* | --libex=* | --libe=*)
846 libexecdir=$ac_optarg ;;
847
848 -localedir | --localedir | --localedi | --localed | --locale)
849 ac_prev=localedir ;;
850 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
851 localedir=$ac_optarg ;;
852
853 -localstatedir | --localstatedir | --localstatedi | --localstated \
854 | --localstate | --localstat | --localsta | --localst | --locals)
855 ac_prev=localstatedir ;;
856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
857 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
858 localstatedir=$ac_optarg ;;
859
860 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
861 ac_prev=mandir ;;
862 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
863 mandir=$ac_optarg ;;
864
865 -nfp | --nfp | --nf)
866 # Obsolete; use --without-fp.
867 with_fp=no ;;
868
869 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
870 | --no-cr | --no-c | -n)
871 no_create=yes ;;
872
873 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
874 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
875 no_recursion=yes ;;
876
877 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
878 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
879 | --oldin | --oldi | --old | --ol | --o)
880 ac_prev=oldincludedir ;;
881 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
882 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
883 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
884 oldincludedir=$ac_optarg ;;
885
886 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
887 ac_prev=prefix ;;
888 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
889 prefix=$ac_optarg ;;
890
891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
892 | --program-pre | --program-pr | --program-p)
893 ac_prev=program_prefix ;;
894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
896 program_prefix=$ac_optarg ;;
897
898 -program-suffix | --program-suffix | --program-suffi | --program-suff \
899 | --program-suf | --program-su | --program-s)
900 ac_prev=program_suffix ;;
901 -program-suffix=* | --program-suffix=* | --program-suffi=* \
902 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
903 program_suffix=$ac_optarg ;;
904
905 -program-transform-name | --program-transform-name \
906 | --program-transform-nam | --program-transform-na \
907 | --program-transform-n | --program-transform- \
908 | --program-transform | --program-transfor \
909 | --program-transfo | --program-transf \
910 | --program-trans | --program-tran \
911 | --progr-tra | --program-tr | --program-t)
912 ac_prev=program_transform_name ;;
913 -program-transform-name=* | --program-transform-name=* \
914 | --program-transform-nam=* | --program-transform-na=* \
915 | --program-transform-n=* | --program-transform-=* \
916 | --program-transform=* | --program-transfor=* \
917 | --program-transfo=* | --program-transf=* \
918 | --program-trans=* | --program-tran=* \
919 | --progr-tra=* | --program-tr=* | --program-t=*)
920 program_transform_name=$ac_optarg ;;
921
922 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
923 ac_prev=pdfdir ;;
924 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
925 pdfdir=$ac_optarg ;;
926
927 -psdir | --psdir | --psdi | --psd | --ps)
928 ac_prev=psdir ;;
929 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
930 psdir=$ac_optarg ;;
931
932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
933 | -silent | --silent | --silen | --sile | --sil)
934 silent=yes ;;
935
936 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
937 ac_prev=sbindir ;;
938 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
939 | --sbi=* | --sb=*)
940 sbindir=$ac_optarg ;;
941
942 -sharedstatedir | --sharedstatedir | --sharedstatedi \
943 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
944 | --sharedst | --shareds | --shared | --share | --shar \
945 | --sha | --sh)
946 ac_prev=sharedstatedir ;;
947 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
948 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
949 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
950 | --sha=* | --sh=*)
951 sharedstatedir=$ac_optarg ;;
952
953 -site | --site | --sit)
954 ac_prev=site ;;
955 -site=* | --site=* | --sit=*)
956 site=$ac_optarg ;;
957
958 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
959 ac_prev=srcdir ;;
960 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
961 srcdir=$ac_optarg ;;
962
963 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
964 | --syscon | --sysco | --sysc | --sys | --sy)
965 ac_prev=sysconfdir ;;
966 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
967 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
968 sysconfdir=$ac_optarg ;;
969
970 -target | --target | --targe | --targ | --tar | --ta | --t)
971 ac_prev=target_alias ;;
972 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
973 target_alias=$ac_optarg ;;
974
975 -v | -verbose | --verbose | --verbos | --verbo | --verb)
976 verbose=yes ;;
977
978 -version | --version | --versio | --versi | --vers | -V)
979 ac_init_version=: ;;
980
981 -with-* | --with-*)
982 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
985 { echo "$as_me: error: invalid package name: $ac_package" >&2
986 { (exit 1); exit 1; }; }
987 ac_package=`echo $ac_package| sed 's/-/_/g'`
988 eval with_$ac_package=\$ac_optarg ;;
989
990 -without-* | --without-*)
991 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
994 { echo "$as_me: error: invalid package name: $ac_package" >&2
995 { (exit 1); exit 1; }; }
996 ac_package=`echo $ac_package | sed 's/-/_/g'`
997 eval with_$ac_package=no ;;
998
999 --x)
1000 # Obsolete; use --with-x.
1001 with_x=yes ;;
1002
1003 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1004 | --x-incl | --x-inc | --x-in | --x-i)
1005 ac_prev=x_includes ;;
1006 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1007 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1008 x_includes=$ac_optarg ;;
1009
1010 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1011 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1012 ac_prev=x_libraries ;;
1013 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1014 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1015 x_libraries=$ac_optarg ;;
1016
1017 -*) { echo "$as_me: error: unrecognized option: $ac_option
1018Try \`$0 --help' for more information." >&2
1019 { (exit 1); exit 1; }; }
1020 ;;
1021
1022 *=*)
1023 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1026 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1027 { (exit 1); exit 1; }; }
1028 eval $ac_envvar=\$ac_optarg
1029 export $ac_envvar ;;
1030
1031 *)
1032 # FIXME: should be removed in autoconf 3.0.
1033 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1034 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1035 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1036 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1037 ;;
1038
1039 esac
1040done
1041
1042if test -n "$ac_prev"; then
1043 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1044 { echo "$as_me: error: missing argument to $ac_option" >&2
1045 { (exit 1); exit 1; }; }
1046fi
1047
1048# Be sure to have absolute directory names.
1049for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1050 datadir sysconfdir sharedstatedir localstatedir includedir \
1051 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1052 libdir localedir mandir
1053do
1054 eval ac_val=\$$ac_var
1055 case $ac_val in
1056 [\\/$]* | ?:[\\/]* ) continue;;
1057 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1058 esac
1059 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1060 { (exit 1); exit 1; }; }
1061done
1062
1063# There might be people who depend on the old broken behavior: `$host'
1064# used to hold the argument of --host etc.
1065# FIXME: To remove some day.
1066build=$build_alias
1067host=$host_alias
1068target=$target_alias
1069
1070# FIXME: To remove some day.
1071if test "x$host_alias" != x; then
1072 if test "x$build_alias" = x; then
1073 cross_compiling=maybe
1074 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1075 If a cross compiler is detected then cross compile mode will be used." >&2
1076 elif test "x$build_alias" != "x$host_alias"; then
1077 cross_compiling=yes
1078 fi
1079fi
1080
1081ac_tool_prefix=
1082test -n "$host_alias" && ac_tool_prefix=$host_alias-
1083
1084test "$silent" = yes && exec 6>/dev/null
1085
1086
1087ac_pwd=`pwd` && test -n "$ac_pwd" &&
1088ac_ls_di=`ls -di .` &&
1089ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1090 { echo "$as_me: error: Working directory cannot be determined" >&2
1091 { (exit 1); exit 1; }; }
1092test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1093 { echo "$as_me: error: pwd does not report name of working directory" >&2
1094 { (exit 1); exit 1; }; }
1095
1096
1097# Find the source files, if location was not specified.
1098if test -z "$srcdir"; then
1099 ac_srcdir_defaulted=yes
1100 # Try the directory containing this script, then the parent directory.
1101 ac_confdir=`$as_dirname -- "$0" ||
1102$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1103 X"$0" : 'X\(//\)[^/]' \| \
1104 X"$0" : 'X\(//\)$' \| \
1105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1106echo X"$0" |
1107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108 s//\1/
1109 q
1110 }
1111 /^X\(\/\/\)[^/].*/{
1112 s//\1/
1113 q
1114 }
1115 /^X\(\/\/\)$/{
1116 s//\1/
1117 q
1118 }
1119 /^X\(\/\).*/{
1120 s//\1/
1121 q
1122 }
1123 s/.*/./; q'`
1124 srcdir=$ac_confdir
1125 if test ! -r "$srcdir/$ac_unique_file"; then
1126 srcdir=..
1127 fi
1128else
1129 ac_srcdir_defaulted=no
1130fi
1131if test ! -r "$srcdir/$ac_unique_file"; then
1132 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1133 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1134 { (exit 1); exit 1; }; }
1135fi
1136ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1137ac_abs_confdir=`(
1138 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1139 { (exit 1); exit 1; }; }
1140 pwd)`
1141# When building in place, set srcdir=.
1142if test "$ac_abs_confdir" = "$ac_pwd"; then
1143 srcdir=.
1144fi
1145# Remove unnecessary trailing slashes from srcdir.
1146# Double slashes in file names in object file debugging info
1147# mess up M-x gdb in Emacs.
1148case $srcdir in
1149*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1150esac
1151for ac_var in $ac_precious_vars; do
1152 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1153 eval ac_env_${ac_var}_value=\$${ac_var}
1154 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1155 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1156done
1157
1158#
1159# Report the --help message.
1160#
1161if test "$ac_init_help" = "long"; then
1162 # Omit some internal or obsolete options to make the list less imposing.
1163 # This message is too long to be a string in the A/UX 3.1 sh.
1164 cat <<_ACEOF
1165\`configure' configures this package to adapt to many kinds of systems.
1166
1167Usage: $0 [OPTION]... [VAR=VALUE]...
1168
1169To assign environment variables (e.g., CC, CFLAGS...), specify them as
1170VAR=VALUE. See below for descriptions of some of the useful variables.
1171
1172Defaults for the options are specified in brackets.
1173
1174Configuration:
1175 -h, --help display this help and exit
1176 --help=short display options specific to this package
1177 --help=recursive display the short help of all the included packages
1178 -V, --version display version information and exit
1179 -q, --quiet, --silent do not print \`checking...' messages
1180 --cache-file=FILE cache test results in FILE [disabled]
1181 -C, --config-cache alias for \`--cache-file=config.cache'
1182 -n, --no-create do not create output files
1183 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1184
1185Installation directories:
1186 --prefix=PREFIX install architecture-independent files in PREFIX
1187 [$ac_default_prefix]
1188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1189 [PREFIX]
1190
1191By default, \`make install' will install all the files in
1192\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1193an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1194for instance \`--prefix=\$HOME'.
1195
1196For better control, use the options below.
1197
1198Fine tuning of the installation directories:
1199 --bindir=DIR user executables [EPREFIX/bin]
1200 --sbindir=DIR system admin executables [EPREFIX/sbin]
1201 --libexecdir=DIR program executables [EPREFIX/libexec]
1202 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1203 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1204 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1205 --libdir=DIR object code libraries [EPREFIX/lib]
1206 --includedir=DIR C header files [PREFIX/include]
1207 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1208 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1209 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1210 --infodir=DIR info documentation [DATAROOTDIR/info]
1211 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1212 --mandir=DIR man documentation [DATAROOTDIR/man]
1213 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1214 --htmldir=DIR html documentation [DOCDIR]
1215 --dvidir=DIR dvi documentation [DOCDIR]
1216 --pdfdir=DIR pdf documentation [DOCDIR]
1217 --psdir=DIR ps documentation [DOCDIR]
1218_ACEOF
1219
1220 cat <<\_ACEOF
1221_ACEOF
1222fi
1223
1224if test -n "$ac_init_help"; then
1225
1226 cat <<\_ACEOF
1227
1228Optional Features:
1229 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1230 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1231 --disable-largefile omit support for large files
1232
1233Some influential environment variables:
1234 CC C compiler command
1235 CFLAGS C compiler flags
1236 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1237 nonstandard directory <lib dir>
1238 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1239 you have headers in a nonstandard directory <include dir>
1240 CPP C preprocessor
1241
1242Use these variables to override the choices made by `configure' or to help
1243it to find libraries and programs with nonstandard names/locations.
1244
1245_ACEOF
1246ac_status=$?
1247fi
1248
1249if test "$ac_init_help" = "recursive"; then
1250 # If there are subdirs, report their specific --help.
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d "$ac_dir" || continue
1253 ac_builddir=.
1254
1255case "$ac_dir" in
1256.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257*)
1258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1259 # A ".." for each directory in $ac_dir_suffix.
1260 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1261 case $ac_top_builddir_sub in
1262 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1264 esac ;;
1265esac
1266ac_abs_top_builddir=$ac_pwd
1267ac_abs_builddir=$ac_pwd$ac_dir_suffix
1268# for backward compatibility:
1269ac_top_builddir=$ac_top_build_prefix
1270
1271case $srcdir in
1272 .) # We are building in place.
1273 ac_srcdir=.
1274 ac_top_srcdir=$ac_top_builddir_sub
1275 ac_abs_top_srcdir=$ac_pwd ;;
1276 [\\/]* | ?:[\\/]* ) # Absolute name.
1277 ac_srcdir=$srcdir$ac_dir_suffix;
1278 ac_top_srcdir=$srcdir
1279 ac_abs_top_srcdir=$srcdir ;;
1280 *) # Relative name.
1281 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1282 ac_top_srcdir=$ac_top_build_prefix$srcdir
1283 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1284esac
1285ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1286
1287 cd "$ac_dir" || { ac_status=$?; continue; }
1288 # Check for guested configure.
1289 if test -f "$ac_srcdir/configure.gnu"; then
1290 echo &&
1291 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1292 elif test -f "$ac_srcdir/configure"; then
1293 echo &&
1294 $SHELL "$ac_srcdir/configure" --help=recursive
1295 else
1296 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1297 fi || ac_status=$?
1298 cd "$ac_pwd" || { ac_status=$?; break; }
1299 done
1300fi
1301
1302test -n "$ac_init_help" && exit $ac_status
1303if $ac_init_version; then
1304 cat <<\_ACEOF
1305configure
1306generated by GNU Autoconf 2.60
1307
1308Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13092002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1310This configure script is free software; the Free Software Foundation
1311gives unlimited permission to copy, distribute and modify it.
1312_ACEOF
1313 exit
1314fi
1315cat >config.log <<_ACEOF
1316This file contains any messages produced by compilers while
1317running configure, to aid debugging if configure makes a mistake.
1318
1319It was created by $as_me, which was
1320generated by GNU Autoconf 2.60. Invocation command line was
1321
1322 $ $0 $@
1323
1324_ACEOF
1325exec 5>>config.log
1326{
1327cat <<_ASUNAME
1328## --------- ##
1329## Platform. ##
1330## --------- ##
1331
1332hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1333uname -m = `(uname -m) 2>/dev/null || echo unknown`
1334uname -r = `(uname -r) 2>/dev/null || echo unknown`
1335uname -s = `(uname -s) 2>/dev/null || echo unknown`
1336uname -v = `(uname -v) 2>/dev/null || echo unknown`
1337
1338/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1339/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1340
1341/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1342/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1343/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1344/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1345/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1346/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1347/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1348
1349_ASUNAME
1350
1351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352for as_dir in $PATH
1353do
1354 IFS=$as_save_IFS
1355 test -z "$as_dir" && as_dir=.
1356 echo "PATH: $as_dir"
1357done
1358IFS=$as_save_IFS
1359
1360} >&5
1361
1362cat >&5 <<_ACEOF
1363
1364
1365## ----------- ##
1366## Core tests. ##
1367## ----------- ##
1368
1369_ACEOF
1370
1371
1372# Keep a trace of the command line.
1373# Strip out --no-create and --no-recursion so they do not pile up.
1374# Strip out --silent because we don't want to record it for future runs.
1375# Also quote any args containing shell meta-characters.
1376# Make two passes to allow for proper duplicate-argument suppression.
1377ac_configure_args=
1378ac_configure_args0=
1379ac_configure_args1=
1380ac_must_keep_next=false
1381for ac_pass in 1 2
1382do
1383 for ac_arg
1384 do
1385 case $ac_arg in
1386 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1388 | -silent | --silent | --silen | --sile | --sil)
1389 continue ;;
1390 *\'*)
1391 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1392 esac
1393 case $ac_pass in
1394 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1395 2)
1396 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1397 if test $ac_must_keep_next = true; then
1398 ac_must_keep_next=false # Got value, back to normal.
1399 else
1400 case $ac_arg in
1401 *=* | --config-cache | -C | -disable-* | --disable-* \
1402 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1403 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1404 | -with-* | --with-* | -without-* | --without-* | --x)
1405 case "$ac_configure_args0 " in
1406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1407 esac
1408 ;;
1409 -* ) ac_must_keep_next=true ;;
1410 esac
1411 fi
1412 ac_configure_args="$ac_configure_args '$ac_arg'"
1413 ;;
1414 esac
1415 done
1416done
1417$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1418$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1419
1420# When interrupted or exit'd, cleanup temporary files, and complete
1421# config.log. We remove comments because anyway the quotes in there
1422# would cause problems or look ugly.
1423# WARNING: Use '\'' to represent an apostrophe within the trap.
1424# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1425trap 'exit_status=$?
1426 # Save into config.log some information that might help in debugging.
1427 {
1428 echo
1429
1430 cat <<\_ASBOX
1431## ---------------- ##
1432## Cache variables. ##
1433## ---------------- ##
1434_ASBOX
1435 echo
1436 # The following way of writing the cache mishandles newlines in values,
1437(
1438 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1439 eval ac_val=\$$ac_var
1440 case $ac_val in #(
1441 *${as_nl}*)
1442 case $ac_var in #(
1443 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1444echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1445 esac
1446 case $ac_var in #(
1447 _ | IFS | as_nl) ;; #(
1448 *) $as_unset $ac_var ;;
1449 esac ;;
1450 esac
1451 done
1452 (set) 2>&1 |
1453 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1454 *${as_nl}ac_space=\ *)
1455 sed -n \
1456 "s/'\''/'\''\\\\'\'''\''/g;
1457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1458 ;; #(
1459 *)
1460 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1461 ;;
1462 esac |
1463 sort
1464)
1465 echo
1466
1467 cat <<\_ASBOX
1468## ----------------- ##
1469## Output variables. ##
1470## ----------------- ##
1471_ASBOX
1472 echo
1473 for ac_var in $ac_subst_vars
1474 do
1475 eval ac_val=\$$ac_var
1476 case $ac_val in
1477 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1478 esac
1479 echo "$ac_var='\''$ac_val'\''"
1480 done | sort
1481 echo
1482
1483 if test -n "$ac_subst_files"; then
1484 cat <<\_ASBOX
1485## ------------------- ##
1486## File substitutions. ##
1487## ------------------- ##
1488_ASBOX
1489 echo
1490 for ac_var in $ac_subst_files
1491 do
1492 eval ac_val=\$$ac_var
1493 case $ac_val in
1494 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1495 esac
1496 echo "$ac_var='\''$ac_val'\''"
1497 done | sort
1498 echo
1499 fi
1500
1501 if test -s confdefs.h; then
1502 cat <<\_ASBOX
1503## ----------- ##
1504## confdefs.h. ##
1505## ----------- ##
1506_ASBOX
1507 echo
1508 cat confdefs.h
1509 echo
1510 fi
1511 test "$ac_signal" != 0 &&
1512 echo "$as_me: caught signal $ac_signal"
1513 echo "$as_me: exit $exit_status"
1514 } >&5
1515 rm -f core *.core core.conftest.* &&
1516 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1517 exit $exit_status
1518' 0
1519for ac_signal in 1 2 13 15; do
1520 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1521done
1522ac_signal=0
1523
1524# confdefs.h avoids OS command line length limits that DEFS can exceed.
1525rm -f -r conftest* confdefs.h
1526
1527# Predefined preprocessor variables.
1528
1529cat >>confdefs.h <<_ACEOF
1530#define PACKAGE_NAME "$PACKAGE_NAME"
1531_ACEOF
1532
1533
1534cat >>confdefs.h <<_ACEOF
1535#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1536_ACEOF
1537
1538
1539cat >>confdefs.h <<_ACEOF
1540#define PACKAGE_VERSION "$PACKAGE_VERSION"
1541_ACEOF
1542
1543
1544cat >>confdefs.h <<_ACEOF
1545#define PACKAGE_STRING "$PACKAGE_STRING"
1546_ACEOF
1547
1548
1549cat >>confdefs.h <<_ACEOF
1550#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1551_ACEOF
1552
1553
1554# Let the site file select an alternate cache file if it wants to.
1555# Prefer explicitly selected file to automatically selected ones.
1556if test -n "$CONFIG_SITE"; then
1557 set x "$CONFIG_SITE"
1558elif test "x$prefix" != xNONE; then
1559 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1560else
1561 set x "$ac_default_prefix/share/config.site" \
1562 "$ac_default_prefix/etc/config.site"
1563fi
1564shift
1565for ac_site_file
1566do
1567 if test -r "$ac_site_file"; then
1568 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1569echo "$as_me: loading site script $ac_site_file" >&6;}
1570 sed 's/^/| /' "$ac_site_file" >&5
1571 . "$ac_site_file"
1572 fi
1573done
1574
1575if test -r "$cache_file"; then
1576 # Some versions of bash will fail to source /dev/null (special
1577 # files actually), so we avoid doing that.
1578 if test -f "$cache_file"; then
1579 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1580echo "$as_me: loading cache $cache_file" >&6;}
1581 case $cache_file in
1582 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1583 *) . "./$cache_file";;
1584 esac
1585 fi
1586else
1587 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1588echo "$as_me: creating cache $cache_file" >&6;}
1589 >$cache_file
1590fi
1591
1592# Check that the precious variables saved in the cache have kept the same
1593# value.
1594ac_cache_corrupted=false
1595for ac_var in $ac_precious_vars; do
1596 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1597 eval ac_new_set=\$ac_env_${ac_var}_set
1598 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1599 eval ac_new_val=\$ac_env_${ac_var}_value
1600 case $ac_old_set,$ac_new_set in
1601 set,)
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1603echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1604 ac_cache_corrupted=: ;;
1605 ,set)
1606 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1607echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1608 ac_cache_corrupted=: ;;
1609 ,);;
1610 *)
1611 if test "x$ac_old_val" != "x$ac_new_val"; then
1612 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1613echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1614 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1615echo "$as_me: former value: $ac_old_val" >&2;}
1616 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1617echo "$as_me: current value: $ac_new_val" >&2;}
1618 ac_cache_corrupted=:
1619 fi;;
1620 esac
1621 # Pass precious variables to config.status.
1622 if test "$ac_new_set" = set; then
1623 case $ac_new_val in
1624 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1625 *) ac_arg=$ac_var=$ac_new_val ;;
1626 esac
1627 case " $ac_configure_args " in
1628 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1629 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1630 esac
1631 fi
1632done
1633if $ac_cache_corrupted; then
1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1635echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1637echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1638 { (exit 1); exit 1; }; }
1639fi
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657ac_ext=c
1658ac_cpp='$CPP $CPPFLAGS'
1659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662
1663
1664
1665
1666ac_config_headers="$ac_config_headers config.h"
1667
1668
1669
1670cat >>confdefs.h <<\_ACEOF
1671#define _GNU_SOURCE 1
1672_ACEOF
1673
1674
1675ac_ext=c
1676ac_cpp='$CPP $CPPFLAGS'
1677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1679ac_compiler_gnu=$ac_cv_c_compiler_gnu
1680if test -n "$ac_tool_prefix"; then
1681 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1682set dummy ${ac_tool_prefix}gcc; ac_word=$2
1683{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1685if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1687else
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC="$CC" # Let the user override the test.
1690else
1691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692for as_dir in $PATH
1693do
1694 IFS=$as_save_IFS
1695 test -z "$as_dir" && as_dir=.
1696 for ac_exec_ext in '' $ac_executable_extensions; do
1697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1698 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 break 2
1701 fi
1702done
1703done
1704IFS=$as_save_IFS
1705
1706fi
1707fi
1708CC=$ac_cv_prog_CC
1709if test -n "$CC"; then
1710 { echo "$as_me:$LINENO: result: $CC" >&5
1711echo "${ECHO_T}$CC" >&6; }
1712else
1713 { echo "$as_me:$LINENO: result: no" >&5
1714echo "${ECHO_T}no" >&6; }
1715fi
1716
1717
1718fi
1719if test -z "$ac_cv_prog_CC"; then
1720 ac_ct_CC=$CC
1721 # Extract the first word of "gcc", so it can be a program name with args.
1722set dummy gcc; ac_word=$2
1723{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1724echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1725if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1727else
1728 if test -n "$ac_ct_CC"; then
1729 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1730else
1731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732for as_dir in $PATH
1733do
1734 IFS=$as_save_IFS
1735 test -z "$as_dir" && as_dir=.
1736 for ac_exec_ext in '' $ac_executable_extensions; do
1737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1738 ac_cv_prog_ac_ct_CC="gcc"
1739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1740 break 2
1741 fi
1742done
1743done
1744IFS=$as_save_IFS
1745
1746fi
1747fi
1748ac_ct_CC=$ac_cv_prog_ac_ct_CC
1749if test -n "$ac_ct_CC"; then
1750 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751echo "${ECHO_T}$ac_ct_CC" >&6; }
1752else
1753 { echo "$as_me:$LINENO: result: no" >&5
1754echo "${ECHO_T}no" >&6; }
1755fi
1756
1757 if test "x$ac_ct_CC" = x; then
1758 CC=""
1759 else
1760 case $cross_compiling:$ac_tool_warned in
1761yes:)
1762{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1763whose name does not start with the host triplet. If you think this
1764configuration is useful to you, please write to [email protected]." >&5
1765echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1766whose name does not start with the host triplet. If you think this
1767configuration is useful to you, please write to [email protected]." >&2;}
1768ac_tool_warned=yes ;;
1769esac
1770 CC=$ac_ct_CC
1771 fi
1772else
1773 CC="$ac_cv_prog_CC"
1774fi
1775
1776if test -z "$CC"; then
1777 if test -n "$ac_tool_prefix"; then
1778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1779set dummy ${ac_tool_prefix}cc; ac_word=$2
1780{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1781echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1782if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1784else
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test.
1787else
1788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789for as_dir in $PATH
1790do
1791 IFS=$as_save_IFS
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1795 ac_cv_prog_CC="${ac_tool_prefix}cc"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 break 2
1798 fi
1799done
1800done
1801IFS=$as_save_IFS
1802
1803fi
1804fi
1805CC=$ac_cv_prog_CC
1806if test -n "$CC"; then
1807 { echo "$as_me:$LINENO: result: $CC" >&5
1808echo "${ECHO_T}$CC" >&6; }
1809else
1810 { echo "$as_me:$LINENO: result: no" >&5
1811echo "${ECHO_T}no" >&6; }
1812fi
1813
1814
1815 fi
1816fi
1817if test -z "$CC"; then
1818 # Extract the first word of "cc", so it can be a program name with args.
1819set dummy cc; ac_word=$2
1820{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1821echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1822if test "${ac_cv_prog_CC+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1824else
1825 if test -n "$CC"; then
1826 ac_cv_prog_CC="$CC" # Let the user override the test.
1827else
1828 ac_prog_rejected=no
1829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830for as_dir in $PATH
1831do
1832 IFS=$as_save_IFS
1833 test -z "$as_dir" && as_dir=.
1834 for ac_exec_ext in '' $ac_executable_extensions; do
1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1836 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1837 ac_prog_rejected=yes
1838 continue
1839 fi
1840 ac_cv_prog_CC="cc"
1841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 break 2
1843 fi
1844done
1845done
1846IFS=$as_save_IFS
1847
1848if test $ac_prog_rejected = yes; then
1849 # We found a bogon in the path, so make sure we never use it.
1850 set dummy $ac_cv_prog_CC
1851 shift
1852 if test $# != 0; then
1853 # We chose a different compiler from the bogus one.
1854 # However, it has the same basename, so the bogon will be chosen
1855 # first if we set CC to just the basename; use the full file name.
1856 shift
1857 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1858 fi
1859fi
1860fi
1861fi
1862CC=$ac_cv_prog_CC
1863if test -n "$CC"; then
1864 { echo "$as_me:$LINENO: result: $CC" >&5
1865echo "${ECHO_T}$CC" >&6; }
1866else
1867 { echo "$as_me:$LINENO: result: no" >&5
1868echo "${ECHO_T}no" >&6; }
1869fi
1870
1871
1872fi
1873if test -z "$CC"; then
1874 if test -n "$ac_tool_prefix"; then
1875 for ac_prog in cl.exe
1876 do
1877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1878set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1879{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1880echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1881if test "${ac_cv_prog_CC+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1883else
1884 if test -n "$CC"; then
1885 ac_cv_prog_CC="$CC" # Let the user override the test.
1886else
1887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888for as_dir in $PATH
1889do
1890 IFS=$as_save_IFS
1891 test -z "$as_dir" && as_dir=.
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1894 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 break 2
1897 fi
1898done
1899done
1900IFS=$as_save_IFS
1901
1902fi
1903fi
1904CC=$ac_cv_prog_CC
1905if test -n "$CC"; then
1906 { echo "$as_me:$LINENO: result: $CC" >&5
1907echo "${ECHO_T}$CC" >&6; }
1908else
1909 { echo "$as_me:$LINENO: result: no" >&5
1910echo "${ECHO_T}no" >&6; }
1911fi
1912
1913
1914 test -n "$CC" && break
1915 done
1916fi
1917if test -z "$CC"; then
1918 ac_ct_CC=$CC
1919 for ac_prog in cl.exe
1920do
1921 # Extract the first word of "$ac_prog", so it can be a program name with args.
1922set dummy $ac_prog; ac_word=$2
1923{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1924echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1925if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927else
1928 if test -n "$ac_ct_CC"; then
1929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1930else
1931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932for as_dir in $PATH
1933do
1934 IFS=$as_save_IFS
1935 test -z "$as_dir" && as_dir=.
1936 for ac_exec_ext in '' $ac_executable_extensions; do
1937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1938 ac_cv_prog_ac_ct_CC="$ac_prog"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 break 2
1941 fi
1942done
1943done
1944IFS=$as_save_IFS
1945
1946fi
1947fi
1948ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949if test -n "$ac_ct_CC"; then
1950 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951echo "${ECHO_T}$ac_ct_CC" >&6; }
1952else
1953 { echo "$as_me:$LINENO: result: no" >&5
1954echo "${ECHO_T}no" >&6; }
1955fi
1956
1957
1958 test -n "$ac_ct_CC" && break
1959done
1960
1961 if test "x$ac_ct_CC" = x; then
1962 CC=""
1963 else
1964 case $cross_compiling:$ac_tool_warned in
1965yes:)
1966{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1967whose name does not start with the host triplet. If you think this
1968configuration is useful to you, please write to [email protected]." >&5
1969echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1970whose name does not start with the host triplet. If you think this
1971configuration is useful to you, please write to [email protected]." >&2;}
1972ac_tool_warned=yes ;;
1973esac
1974 CC=$ac_ct_CC
1975 fi
1976fi
1977
1978fi
1979
1980
1981test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1982See \`config.log' for more details." >&5
1983echo "$as_me: error: no acceptable C compiler found in \$PATH
1984See \`config.log' for more details." >&2;}
1985 { (exit 1); exit 1; }; }
1986
1987# Provide some information about the compiler.
1988echo "$as_me:$LINENO: checking for C compiler version" >&5
1989ac_compiler=`set X $ac_compile; echo $2`
1990{ (ac_try="$ac_compiler --version >&5"
1991case "(($ac_try" in
1992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1994esac
1995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1996 (eval "$ac_compiler --version >&5") 2>&5
1997 ac_status=$?
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }
2000{ (ac_try="$ac_compiler -v >&5"
2001case "(($ac_try" in
2002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2003 *) ac_try_echo=$ac_try;;
2004esac
2005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2006 (eval "$ac_compiler -v >&5") 2>&5
2007 ac_status=$?
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }
2010{ (ac_try="$ac_compiler -V >&5"
2011case "(($ac_try" in
2012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2014esac
2015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2016 (eval "$ac_compiler -V >&5") 2>&5
2017 ac_status=$?
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }
2020
2021cat >conftest.$ac_ext <<_ACEOF
2022/* confdefs.h. */
2023_ACEOF
2024cat confdefs.h >>conftest.$ac_ext
2025cat >>conftest.$ac_ext <<_ACEOF
2026/* end confdefs.h. */
2027
2028int
2029main ()
2030{
2031
2032 ;
2033 return 0;
2034}
2035_ACEOF
2036ac_clean_files_save=$ac_clean_files
2037ac_clean_files="$ac_clean_files a.out a.exe b.out"
2038# Try to create an executable without -o first, disregard a.out.
2039# It will help us diagnose broken compilers, and finding out an intuition
2040# of exeext.
2041{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2042echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2043ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2044#
2045# List of possible output files, starting from the most likely.
2046# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2047# only as a last resort. b.out is created by i960 compilers.
2048ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2049#
2050# The IRIX 6 linker writes into existing files which may not be
2051# executable, retaining their permissions. Remove them first so a
2052# subsequent execution test works.
2053ac_rmfiles=
2054for ac_file in $ac_files
2055do
2056 case $ac_file in
2057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2058 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2059 esac
2060done
2061rm -f $ac_rmfiles
2062
2063if { (ac_try="$ac_link_default"
2064case "(($ac_try" in
2065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2066 *) ac_try_echo=$ac_try;;
2067esac
2068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2069 (eval "$ac_link_default") 2>&5
2070 ac_status=$?
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; then
2073 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2074# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2075# in a Makefile. We should not override ac_cv_exeext if it was cached,
2076# so that the user can short-circuit this test for compilers unknown to
2077# Autoconf.
2078for ac_file in $ac_files
2079do
2080 test -f "$ac_file" || continue
2081 case $ac_file in
2082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2083 ;;
2084 [ab].out )
2085 # We found the default executable, but exeext='' is most
2086 # certainly right.
2087 break;;
2088 *.* )
2089 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2090 then :; else
2091 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092 fi
2093 # We set ac_cv_exeext here because the later test for it is not
2094 # safe: cross compilers may not add the suffix if given an `-o'
2095 # argument, so we may need to know it at that point already.
2096 # Even if this section looks crufty: it has the advantage of
2097 # actually working.
2098 break;;
2099 * )
2100 break;;
2101 esac
2102done
2103test "$ac_cv_exeext" = no && ac_cv_exeext=
2104
2105else
2106 echo "$as_me: failed program was:" >&5
2107sed 's/^/| /' conftest.$ac_ext >&5
2108
2109{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2110See \`config.log' for more details." >&5
2111echo "$as_me: error: C compiler cannot create executables
2112See \`config.log' for more details." >&2;}
2113 { (exit 77); exit 77; }; }
2114fi
2115
2116ac_exeext=$ac_cv_exeext
2117{ echo "$as_me:$LINENO: result: $ac_file" >&5
2118echo "${ECHO_T}$ac_file" >&6; }
2119
2120# Check that the compiler produces executables we can run. If not, either
2121# the compiler is broken, or we cross compile.
2122{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2123echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2124# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2125# If not cross compiling, check that we can run a simple program.
2126if test "$cross_compiling" != yes; then
2127 if { ac_try='./$ac_file'
2128 { (case "(($ac_try" in
2129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2130 *) ac_try_echo=$ac_try;;
2131esac
2132eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2133 (eval "$ac_try") 2>&5
2134 ac_status=$?
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; }; then
2137 cross_compiling=no
2138 else
2139 if test "$cross_compiling" = maybe; then
2140 cross_compiling=yes
2141 else
2142 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2143If you meant to cross compile, use \`--host'.
2144See \`config.log' for more details." >&5
2145echo "$as_me: error: cannot run C compiled programs.
2146If you meant to cross compile, use \`--host'.
2147See \`config.log' for more details." >&2;}
2148 { (exit 1); exit 1; }; }
2149 fi
2150 fi
2151fi
2152{ echo "$as_me:$LINENO: result: yes" >&5
2153echo "${ECHO_T}yes" >&6; }
2154
2155rm -f a.out a.exe conftest$ac_cv_exeext b.out
2156ac_clean_files=$ac_clean_files_save
2157# Check that the compiler produces executables we can run. If not, either
2158# the compiler is broken, or we cross compile.
2159{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2160echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2161{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2162echo "${ECHO_T}$cross_compiling" >&6; }
2163
2164{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2165echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2166if { (ac_try="$ac_link"
2167case "(($ac_try" in
2168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2169 *) ac_try_echo=$ac_try;;
2170esac
2171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2172 (eval "$ac_link") 2>&5
2173 ac_status=$?
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; then
2176 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2177# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2178# work properly (i.e., refer to `conftest.exe'), while it won't with
2179# `rm'.
2180for ac_file in conftest.exe conftest conftest.*; do
2181 test -f "$ac_file" || continue
2182 case $ac_file in
2183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2184 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2185 break;;
2186 * ) break;;
2187 esac
2188done
2189else
2190 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2191See \`config.log' for more details." >&5
2192echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2193See \`config.log' for more details." >&2;}
2194 { (exit 1); exit 1; }; }
2195fi
2196
2197rm -f conftest$ac_cv_exeext
2198{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2199echo "${ECHO_T}$ac_cv_exeext" >&6; }
2200
2201rm -f conftest.$ac_ext
2202EXEEXT=$ac_cv_exeext
2203ac_exeext=$EXEEXT
2204{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2205echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2206if test "${ac_cv_objext+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2208else
2209 cat >conftest.$ac_ext <<_ACEOF
2210/* confdefs.h. */
2211_ACEOF
2212cat confdefs.h >>conftest.$ac_ext
2213cat >>conftest.$ac_ext <<_ACEOF
2214/* end confdefs.h. */
2215
2216int
2217main ()
2218{
2219
2220 ;
2221 return 0;
2222}
2223_ACEOF
2224rm -f conftest.o conftest.obj
2225if { (ac_try="$ac_compile"
2226case "(($ac_try" in
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2229esac
2230eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2231 (eval "$ac_compile") 2>&5
2232 ac_status=$?
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; then
2235 for ac_file in conftest.o conftest.obj conftest.*; do
2236 test -f "$ac_file" || continue;
2237 case $ac_file in
2238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2240 break;;
2241 esac
2242done
2243else
2244 echo "$as_me: failed program was:" >&5
2245sed 's/^/| /' conftest.$ac_ext >&5
2246
2247{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2248See \`config.log' for more details." >&5
2249echo "$as_me: error: cannot compute suffix of object files: cannot compile
2250See \`config.log' for more details." >&2;}
2251 { (exit 1); exit 1; }; }
2252fi
2253
2254rm -f conftest.$ac_cv_objext conftest.$ac_ext
2255fi
2256{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2257echo "${ECHO_T}$ac_cv_objext" >&6; }
2258OBJEXT=$ac_cv_objext
2259ac_objext=$OBJEXT
2260{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2261echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2262if test "${ac_cv_c_compiler_gnu+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2264else
2265 cat >conftest.$ac_ext <<_ACEOF
2266/* confdefs.h. */
2267_ACEOF
2268cat confdefs.h >>conftest.$ac_ext
2269cat >>conftest.$ac_ext <<_ACEOF
2270/* end confdefs.h. */
2271
2272int
2273main ()
2274{
2275#ifndef __GNUC__
2276 choke me
2277#endif
2278
2279 ;
2280 return 0;
2281}
2282_ACEOF
2283rm -f conftest.$ac_objext
2284if { (ac_try="$ac_compile"
2285case "(($ac_try" in
2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2288esac
2289eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2290 (eval "$ac_compile") 2>conftest.er1
2291 ac_status=$?
2292 grep -v '^ *+' conftest.er1 >conftest.err
2293 rm -f conftest.er1
2294 cat conftest.err >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2298 { (case "(($ac_try" in
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2301esac
2302eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2303 (eval "$ac_try") 2>&5
2304 ac_status=$?
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; } &&
2307 { ac_try='test -s conftest.$ac_objext'
2308 { (case "(($ac_try" in
2309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2310 *) ac_try_echo=$ac_try;;
2311esac
2312eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2313 (eval "$ac_try") 2>&5
2314 ac_status=$?
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; }; then
2317 ac_compiler_gnu=yes
2318else
2319 echo "$as_me: failed program was:" >&5
2320sed 's/^/| /' conftest.$ac_ext >&5
2321
2322 ac_compiler_gnu=no
2323fi
2324
2325rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326ac_cv_c_compiler_gnu=$ac_compiler_gnu
2327
2328fi
2329{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2330echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2331GCC=`test $ac_compiler_gnu = yes && echo yes`
2332ac_test_CFLAGS=${CFLAGS+set}
2333ac_save_CFLAGS=$CFLAGS
2334{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2335echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2336if test "${ac_cv_prog_cc_g+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338else
2339 ac_save_c_werror_flag=$ac_c_werror_flag
2340 ac_c_werror_flag=yes
2341 ac_cv_prog_cc_g=no
2342 CFLAGS="-g"
2343 cat >conftest.$ac_ext <<_ACEOF
2344/* confdefs.h. */
2345_ACEOF
2346cat confdefs.h >>conftest.$ac_ext
2347cat >>conftest.$ac_ext <<_ACEOF
2348/* end confdefs.h. */
2349
2350int
2351main ()
2352{
2353
2354 ;
2355 return 0;
2356}
2357_ACEOF
2358rm -f conftest.$ac_objext
2359if { (ac_try="$ac_compile"
2360case "(($ac_try" in
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2363esac
2364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compile") 2>conftest.er1
2366 ac_status=$?
2367 grep -v '^ *+' conftest.er1 >conftest.err
2368 rm -f conftest.er1
2369 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } &&
2372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2373 { (case "(($ac_try" in
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2376esac
2377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2378 (eval "$ac_try") 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; } &&
2382 { ac_try='test -s conftest.$ac_objext'
2383 { (case "(($ac_try" in
2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2386esac
2387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2388 (eval "$ac_try") 2>&5
2389 ac_status=$?
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); }; }; then
2392 ac_cv_prog_cc_g=yes
2393else
2394 echo "$as_me: failed program was:" >&5
2395sed 's/^/| /' conftest.$ac_ext >&5
2396
2397 CFLAGS=""
2398 cat >conftest.$ac_ext <<_ACEOF
2399/* confdefs.h. */
2400_ACEOF
2401cat confdefs.h >>conftest.$ac_ext
2402cat >>conftest.$ac_ext <<_ACEOF
2403/* end confdefs.h. */
2404
2405int
2406main ()
2407{
2408
2409 ;
2410 return 0;
2411}
2412_ACEOF
2413rm -f conftest.$ac_objext
2414if { (ac_try="$ac_compile"
2415case "(($ac_try" in
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2418esac
2419eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_compile") 2>conftest.er1
2421 ac_status=$?
2422 grep -v '^ *+' conftest.er1 >conftest.err
2423 rm -f conftest.er1
2424 cat conftest.err >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } &&
2427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2428 { (case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431esac
2432eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_try") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try='test -s conftest.$ac_objext'
2438 { (case "(($ac_try" in
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2441esac
2442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2443 (eval "$ac_try") 2>&5
2444 ac_status=$?
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; }; then
2447 :
2448else
2449 echo "$as_me: failed program was:" >&5
2450sed 's/^/| /' conftest.$ac_ext >&5
2451
2452 ac_c_werror_flag=$ac_save_c_werror_flag
2453 CFLAGS="-g"
2454 cat >conftest.$ac_ext <<_ACEOF
2455/* confdefs.h. */
2456_ACEOF
2457cat confdefs.h >>conftest.$ac_ext
2458cat >>conftest.$ac_ext <<_ACEOF
2459/* end confdefs.h. */
2460
2461int
2462main ()
2463{
2464
2465 ;
2466 return 0;
2467}
2468_ACEOF
2469rm -f conftest.$ac_objext
2470if { (ac_try="$ac_compile"
2471case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474esac
2475eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2476 (eval "$ac_compile") 2>conftest.er1
2477 ac_status=$?
2478 grep -v '^ *+' conftest.er1 >conftest.err
2479 rm -f conftest.er1
2480 cat conftest.err >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } &&
2483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2484 { (case "(($ac_try" in
2485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486 *) ac_try_echo=$ac_try;;
2487esac
2488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2489 (eval "$ac_try") 2>&5
2490 ac_status=$?
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; } &&
2493 { ac_try='test -s conftest.$ac_objext'
2494 { (case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497esac
2498eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2499 (eval "$ac_try") 2>&5
2500 ac_status=$?
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2503 ac_cv_prog_cc_g=yes
2504else
2505 echo "$as_me: failed program was:" >&5
2506sed 's/^/| /' conftest.$ac_ext >&5
2507
2508
2509fi
2510
2511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512fi
2513
2514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515fi
2516
2517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2518 ac_c_werror_flag=$ac_save_c_werror_flag
2519fi
2520{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2521echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2522if test "$ac_test_CFLAGS" = set; then
2523 CFLAGS=$ac_save_CFLAGS
2524elif test $ac_cv_prog_cc_g = yes; then
2525 if test "$GCC" = yes; then
2526 CFLAGS="-g -O2"
2527 else
2528 CFLAGS="-g"
2529 fi
2530else
2531 if test "$GCC" = yes; then
2532 CFLAGS="-O2"
2533 else
2534 CFLAGS=
2535 fi
2536fi
2537{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2538echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2539if test "${ac_cv_prog_cc_c89+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541else
2542 ac_cv_prog_cc_c89=no
2543ac_save_CC=$CC
2544cat >conftest.$ac_ext <<_ACEOF
2545/* confdefs.h. */
2546_ACEOF
2547cat confdefs.h >>conftest.$ac_ext
2548cat >>conftest.$ac_ext <<_ACEOF
2549/* end confdefs.h. */
2550#include <stdarg.h>
2551#include <stdio.h>
2552#include <sys/types.h>
2553#include <sys/stat.h>
2554/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2555struct buf { int x; };
2556FILE * (*rcsopen) (struct buf *, struct stat *, int);
2557static char *e (p, i)
2558 char **p;
2559 int i;
2560{
2561 return p[i];
2562}
2563static char *f (char * (*g) (char **, int), char **p, ...)
2564{
2565 char *s;
2566 va_list v;
2567 va_start (v,p);
2568 s = g (p, va_arg (v,int));
2569 va_end (v);
2570 return s;
2571}
2572
2573/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2574 function prototypes and stuff, but not '\xHH' hex character constants.
2575 These don't provoke an error unfortunately, instead are silently treated
2576 as 'x'. The following induces an error, until -std is added to get
2577 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2578 array size at least. It's necessary to write '\x00'==0 to get something
2579 that's true only with -std. */
2580int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2581
2582/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2583 inside strings and character constants. */
2584#define FOO(x) 'x'
2585int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2586
2587int test (int i, double x);
2588struct s1 {int (*f) (int a);};
2589struct s2 {int (*f) (double a);};
2590int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2591int argc;
2592char **argv;
2593int
2594main ()
2595{
2596return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2597 ;
2598 return 0;
2599}
2600_ACEOF
2601for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2602 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2603do
2604 CC="$ac_save_CC $ac_arg"
2605 rm -f conftest.$ac_objext
2606if { (ac_try="$ac_compile"
2607case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610esac
2611eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2612 (eval "$ac_compile") 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2620 { (case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623esac
2624eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_try") 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try='test -s conftest.$ac_objext'
2630 { (case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633esac
2634eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2635 (eval "$ac_try") 2>&5
2636 ac_status=$?
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2639 ac_cv_prog_cc_c89=$ac_arg
2640else
2641 echo "$as_me: failed program was:" >&5
2642sed 's/^/| /' conftest.$ac_ext >&5
2643
2644
2645fi
2646
2647rm -f core conftest.err conftest.$ac_objext
2648 test "x$ac_cv_prog_cc_c89" != "xno" && break
2649done
2650rm -f conftest.$ac_ext
2651CC=$ac_save_CC
2652
2653fi
2654# AC_CACHE_VAL
2655case "x$ac_cv_prog_cc_c89" in
2656 x)
2657 { echo "$as_me:$LINENO: result: none needed" >&5
2658echo "${ECHO_T}none needed" >&6; } ;;
2659 xno)
2660 { echo "$as_me:$LINENO: result: unsupported" >&5
2661echo "${ECHO_T}unsupported" >&6; } ;;
2662 *)
2663 CC="$CC $ac_cv_prog_cc_c89"
2664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2665echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2666esac
2667
2668
2669ac_ext=c
2670ac_cpp='$CPP $CPPFLAGS'
2671ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673ac_compiler_gnu=$ac_cv_c_compiler_gnu
2674
2675
2676# Check whether --enable-largefile was given.
2677if test "${enable_largefile+set}" = set; then
2678 enableval=$enable_largefile;
2679fi
2680
2681if test "$enable_largefile" != no; then
2682
2683 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2684echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2685if test "${ac_cv_sys_largefile_CC+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2687else
2688 ac_cv_sys_largefile_CC=no
2689 if test "$GCC" != yes; then
2690 ac_save_CC=$CC
2691 while :; do
2692 # IRIX 6.2 and later do not support large files by default,
2693 # so use the C compiler's -n32 option if that helps.
2694 cat >conftest.$ac_ext <<_ACEOF
2695/* confdefs.h. */
2696_ACEOF
2697cat confdefs.h >>conftest.$ac_ext
2698cat >>conftest.$ac_ext <<_ACEOF
2699/* end confdefs.h. */
2700#include <sys/types.h>
2701 /* Check that off_t can represent 2**63 - 1 correctly.
2702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2703 since some C++ compilers masquerading as C compilers
2704 incorrectly reject 9223372036854775807. */
2705#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2707 && LARGE_OFF_T % 2147483647 == 1)
2708 ? 1 : -1];
2709int
2710main ()
2711{
2712
2713 ;
2714 return 0;
2715}
2716_ACEOF
2717 rm -f conftest.$ac_objext
2718if { (ac_try="$ac_compile"
2719case "(($ac_try" in
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2722esac
2723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_compile") 2>conftest.er1
2725 ac_status=$?
2726 grep -v '^ *+' conftest.er1 >conftest.err
2727 rm -f conftest.er1
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2732 { (case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735esac
2736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_try") 2>&5
2738 ac_status=$?
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try='test -s conftest.$ac_objext'
2742 { (case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745esac
2746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747 (eval "$ac_try") 2>&5
2748 ac_status=$?
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2751 break
2752else
2753 echo "$as_me: failed program was:" >&5
2754sed 's/^/| /' conftest.$ac_ext >&5
2755
2756
2757fi
2758
2759rm -f core conftest.err conftest.$ac_objext
2760 CC="$CC -n32"
2761 rm -f conftest.$ac_objext
2762if { (ac_try="$ac_compile"
2763case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766esac
2767eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compile") 2>conftest.er1
2769 ac_status=$?
2770 grep -v '^ *+' conftest.er1 >conftest.err
2771 rm -f conftest.er1
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2776 { (case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2779esac
2780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_try") 2>&5
2782 ac_status=$?
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789esac
2790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_try") 2>&5
2792 ac_status=$?
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2795 ac_cv_sys_largefile_CC=' -n32'; break
2796else
2797 echo "$as_me: failed program was:" >&5
2798sed 's/^/| /' conftest.$ac_ext >&5
2799
2800
2801fi
2802
2803rm -f core conftest.err conftest.$ac_objext
2804 break
2805 done
2806 CC=$ac_save_CC
2807 rm -f conftest.$ac_ext
2808 fi
2809fi
2810{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2811echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2812 if test "$ac_cv_sys_largefile_CC" != no; then
2813 CC=$CC$ac_cv_sys_largefile_CC
2814 fi
2815
2816 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2817echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2818if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2820else
2821 while :; do
2822 ac_cv_sys_file_offset_bits=no
2823 cat >conftest.$ac_ext <<_ACEOF
2824/* confdefs.h. */
2825_ACEOF
2826cat confdefs.h >>conftest.$ac_ext
2827cat >>conftest.$ac_ext <<_ACEOF
2828/* end confdefs.h. */
2829#include <sys/types.h>
2830 /* Check that off_t can represent 2**63 - 1 correctly.
2831 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2832 since some C++ compilers masquerading as C compilers
2833 incorrectly reject 9223372036854775807. */
2834#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2835 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2836 && LARGE_OFF_T % 2147483647 == 1)
2837 ? 1 : -1];
2838int
2839main ()
2840{
2841
2842 ;
2843 return 0;
2844}
2845_ACEOF
2846rm -f conftest.$ac_objext
2847if { (ac_try="$ac_compile"
2848case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2851esac
2852eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_compile") 2>conftest.er1
2854 ac_status=$?
2855 grep -v '^ *+' conftest.er1 >conftest.err
2856 rm -f conftest.er1
2857 cat conftest.err >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); } &&
2860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2861 { (case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864esac
2865eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_try") 2>&5
2867 ac_status=$?
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }; } &&
2870 { ac_try='test -s conftest.$ac_objext'
2871 { (case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874esac
2875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_try") 2>&5
2877 ac_status=$?
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; }; then
2880 break
2881else
2882 echo "$as_me: failed program was:" >&5
2883sed 's/^/| /' conftest.$ac_ext >&5
2884
2885
2886fi
2887
2888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2889 cat >conftest.$ac_ext <<_ACEOF
2890/* confdefs.h. */
2891_ACEOF
2892cat confdefs.h >>conftest.$ac_ext
2893cat >>conftest.$ac_ext <<_ACEOF
2894/* end confdefs.h. */
2895#define _FILE_OFFSET_BITS 64
2896#include <sys/types.h>
2897 /* Check that off_t can represent 2**63 - 1 correctly.
2898 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2899 since some C++ compilers masquerading as C compilers
2900 incorrectly reject 9223372036854775807. */
2901#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2902 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2903 && LARGE_OFF_T % 2147483647 == 1)
2904 ? 1 : -1];
2905int
2906main ()
2907{
2908
2909 ;
2910 return 0;
2911}
2912_ACEOF
2913rm -f conftest.$ac_objext
2914if { (ac_try="$ac_compile"
2915case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918esac
2919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2920 (eval "$ac_compile") 2>conftest.er1
2921 ac_status=$?
2922 grep -v '^ *+' conftest.er1 >conftest.err
2923 rm -f conftest.er1
2924 cat conftest.err >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2928 { (case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931esac
2932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_try") 2>&5
2934 ac_status=$?
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; } &&
2937 { ac_try='test -s conftest.$ac_objext'
2938 { (case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941esac
2942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_try") 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 ac_cv_sys_file_offset_bits=64; break
2948else
2949 echo "$as_me: failed program was:" >&5
2950sed 's/^/| /' conftest.$ac_ext >&5
2951
2952
2953fi
2954
2955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 break
2957done
2958fi
2959{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2960echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2961if test "$ac_cv_sys_file_offset_bits" != no; then
2962
2963cat >>confdefs.h <<_ACEOF
2964#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2965_ACEOF
2966
2967fi
2968rm -f conftest*
2969 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2970echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2971if test "${ac_cv_sys_large_files+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2973else
2974 while :; do
2975 ac_cv_sys_large_files=no
2976 cat >conftest.$ac_ext <<_ACEOF
2977/* confdefs.h. */
2978_ACEOF
2979cat confdefs.h >>conftest.$ac_ext
2980cat >>conftest.$ac_ext <<_ACEOF
2981/* end confdefs.h. */
2982#include <sys/types.h>
2983 /* Check that off_t can represent 2**63 - 1 correctly.
2984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2985 since some C++ compilers masquerading as C compilers
2986 incorrectly reject 9223372036854775807. */
2987#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2989 && LARGE_OFF_T % 2147483647 == 1)
2990 ? 1 : -1];
2991int
2992main ()
2993{
2994
2995 ;
2996 return 0;
2997}
2998_ACEOF
2999rm -f conftest.$ac_objext
3000if { (ac_try="$ac_compile"
3001case "(($ac_try" in
3002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003 *) ac_try_echo=$ac_try;;
3004esac
3005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3006 (eval "$ac_compile") 2>conftest.er1
3007 ac_status=$?
3008 grep -v '^ *+' conftest.er1 >conftest.err
3009 rm -f conftest.er1
3010 cat conftest.err >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } &&
3013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3014 { (case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017esac
3018eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_try") 2>&5
3020 ac_status=$?
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }; } &&
3023 { ac_try='test -s conftest.$ac_objext'
3024 { (case "(($ac_try" in
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3027esac
3028eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3029 (eval "$ac_try") 2>&5
3030 ac_status=$?
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3033 break
3034else
3035 echo "$as_me: failed program was:" >&5
3036sed 's/^/| /' conftest.$ac_ext >&5
3037
3038
3039fi
3040
3041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 cat >conftest.$ac_ext <<_ACEOF
3043/* confdefs.h. */
3044_ACEOF
3045cat confdefs.h >>conftest.$ac_ext
3046cat >>conftest.$ac_ext <<_ACEOF
3047/* end confdefs.h. */
3048#define _LARGE_FILES 1
3049#include <sys/types.h>
3050 /* Check that off_t can represent 2**63 - 1 correctly.
3051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3052 since some C++ compilers masquerading as C compilers
3053 incorrectly reject 9223372036854775807. */
3054#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3056 && LARGE_OFF_T % 2147483647 == 1)
3057 ? 1 : -1];
3058int
3059main ()
3060{
3061
3062 ;
3063 return 0;
3064}
3065_ACEOF
3066rm -f conftest.$ac_objext
3067if { (ac_try="$ac_compile"
3068case "(($ac_try" in
3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3071esac
3072eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3073 (eval "$ac_compile") 2>conftest.er1
3074 ac_status=$?
3075 grep -v '^ *+' conftest.er1 >conftest.err
3076 rm -f conftest.er1
3077 cat conftest.err >&5
3078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 (exit $ac_status); } &&
3080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3081 { (case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3084esac
3085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_try") 2>&5
3087 ac_status=$?
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }; } &&
3090 { ac_try='test -s conftest.$ac_objext'
3091 { (case "(($ac_try" in
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3094esac
3095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3096 (eval "$ac_try") 2>&5
3097 ac_status=$?
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 ac_cv_sys_large_files=1; break
3101else
3102 echo "$as_me: failed program was:" >&5
3103sed 's/^/| /' conftest.$ac_ext >&5
3104
3105
3106fi
3107
3108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 break
3110done
3111fi
3112{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3113echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3114if test "$ac_cv_sys_large_files" != no; then
3115
3116cat >>confdefs.h <<_ACEOF
3117#define _LARGE_FILES $ac_cv_sys_large_files
3118_ACEOF
3119
3120fi
3121rm -f conftest*
3122fi
3123
3124ac_ext=c
3125ac_cpp='$CPP $CPPFLAGS'
3126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129if test -n "$ac_tool_prefix"; then
3130 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3131set dummy ${ac_tool_prefix}gcc; ac_word=$2
3132{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3133echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3134if test "${ac_cv_prog_CC+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3136else
3137 if test -n "$CC"; then
3138 ac_cv_prog_CC="$CC" # Let the user override the test.
3139else
3140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141for as_dir in $PATH
3142do
3143 IFS=$as_save_IFS
3144 test -z "$as_dir" && as_dir=.
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 break 2
3150 fi
3151done
3152done
3153IFS=$as_save_IFS
3154
3155fi
3156fi
3157CC=$ac_cv_prog_CC
3158if test -n "$CC"; then
3159 { echo "$as_me:$LINENO: result: $CC" >&5
3160echo "${ECHO_T}$CC" >&6; }
3161else
3162 { echo "$as_me:$LINENO: result: no" >&5
3163echo "${ECHO_T}no" >&6; }
3164fi
3165
3166
3167fi
3168if test -z "$ac_cv_prog_CC"; then
3169 ac_ct_CC=$CC
3170 # Extract the first word of "gcc", so it can be a program name with args.
3171set dummy gcc; ac_word=$2
3172{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3173echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3174if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3176else
3177 if test -n "$ac_ct_CC"; then
3178 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3179else
3180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181for as_dir in $PATH
3182do
3183 IFS=$as_save_IFS
3184 test -z "$as_dir" && as_dir=.
3185 for ac_exec_ext in '' $ac_executable_extensions; do
3186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3187 ac_cv_prog_ac_ct_CC="gcc"
3188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3189 break 2
3190 fi
3191done
3192done
3193IFS=$as_save_IFS
3194
3195fi
3196fi
3197ac_ct_CC=$ac_cv_prog_ac_ct_CC
3198if test -n "$ac_ct_CC"; then
3199 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3200echo "${ECHO_T}$ac_ct_CC" >&6; }
3201else
3202 { echo "$as_me:$LINENO: result: no" >&5
3203echo "${ECHO_T}no" >&6; }
3204fi
3205
3206 if test "x$ac_ct_CC" = x; then
3207 CC=""
3208 else
3209 case $cross_compiling:$ac_tool_warned in
3210yes:)
3211{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3212whose name does not start with the host triplet. If you think this
3213configuration is useful to you, please write to [email protected]." >&5
3214echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3215whose name does not start with the host triplet. If you think this
3216configuration is useful to you, please write to [email protected]." >&2;}
3217ac_tool_warned=yes ;;
3218esac
3219 CC=$ac_ct_CC
3220 fi
3221else
3222 CC="$ac_cv_prog_CC"
3223fi
3224
3225if test -z "$CC"; then
3226 if test -n "$ac_tool_prefix"; then
3227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3228set dummy ${ac_tool_prefix}cc; ac_word=$2
3229{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3230echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3231if test "${ac_cv_prog_CC+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3233else
3234 if test -n "$CC"; then
3235 ac_cv_prog_CC="$CC" # Let the user override the test.
3236else
3237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238for as_dir in $PATH
3239do
3240 IFS=$as_save_IFS
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3244 ac_cv_prog_CC="${ac_tool_prefix}cc"
3245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3246 break 2
3247 fi
3248done
3249done
3250IFS=$as_save_IFS
3251
3252fi
3253fi
3254CC=$ac_cv_prog_CC
3255if test -n "$CC"; then
3256 { echo "$as_me:$LINENO: result: $CC" >&5
3257echo "${ECHO_T}$CC" >&6; }
3258else
3259 { echo "$as_me:$LINENO: result: no" >&5
3260echo "${ECHO_T}no" >&6; }
3261fi
3262
3263
3264 fi
3265fi
3266if test -z "$CC"; then
3267 # Extract the first word of "cc", so it can be a program name with args.
3268set dummy cc; ac_word=$2
3269{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3271if test "${ac_cv_prog_CC+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3273else
3274 if test -n "$CC"; then
3275 ac_cv_prog_CC="$CC" # Let the user override the test.
3276else
3277 ac_prog_rejected=no
3278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279for as_dir in $PATH
3280do
3281 IFS=$as_save_IFS
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3286 ac_prog_rejected=yes
3287 continue
3288 fi
3289 ac_cv_prog_CC="cc"
3290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 break 2
3292 fi
3293done
3294done
3295IFS=$as_save_IFS
3296
3297if test $ac_prog_rejected = yes; then
3298 # We found a bogon in the path, so make sure we never use it.
3299 set dummy $ac_cv_prog_CC
3300 shift
3301 if test $# != 0; then
3302 # We chose a different compiler from the bogus one.
3303 # However, it has the same basename, so the bogon will be chosen
3304 # first if we set CC to just the basename; use the full file name.
3305 shift
3306 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3307 fi
3308fi
3309fi
3310fi
3311CC=$ac_cv_prog_CC
3312if test -n "$CC"; then
3313 { echo "$as_me:$LINENO: result: $CC" >&5
3314echo "${ECHO_T}$CC" >&6; }
3315else
3316 { echo "$as_me:$LINENO: result: no" >&5
3317echo "${ECHO_T}no" >&6; }
3318fi
3319
3320
3321fi
3322if test -z "$CC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 for ac_prog in cl.exe
3325 do
3326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3328{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3330if test "${ac_cv_prog_CC+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3332else
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC="$CC" # Let the user override the test.
3335else
3336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337for as_dir in $PATH
3338do
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3346 fi
3347done
3348done
3349IFS=$as_save_IFS
3350
3351fi
3352fi
3353CC=$ac_cv_prog_CC
3354if test -n "$CC"; then
3355 { echo "$as_me:$LINENO: result: $CC" >&5
3356echo "${ECHO_T}$CC" >&6; }
3357else
3358 { echo "$as_me:$LINENO: result: no" >&5
3359echo "${ECHO_T}no" >&6; }
3360fi
3361
3362
3363 test -n "$CC" && break
3364 done
3365fi
3366if test -z "$CC"; then
3367 ac_ct_CC=$CC
3368 for ac_prog in cl.exe
3369do
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371set dummy $ac_prog; ac_word=$2
3372{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3373echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3374if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3376else
3377 if test -n "$ac_ct_CC"; then
3378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3379else
3380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381for as_dir in $PATH
3382do
3383 IFS=$as_save_IFS
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_ac_ct_CC="$ac_prog"
3388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3389 break 2
3390 fi
3391done
3392done
3393IFS=$as_save_IFS
3394
3395fi
3396fi
3397ac_ct_CC=$ac_cv_prog_ac_ct_CC
3398if test -n "$ac_ct_CC"; then
3399 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3400echo "${ECHO_T}$ac_ct_CC" >&6; }
3401else
3402 { echo "$as_me:$LINENO: result: no" >&5
3403echo "${ECHO_T}no" >&6; }
3404fi
3405
3406
3407 test -n "$ac_ct_CC" && break
3408done
3409
3410 if test "x$ac_ct_CC" = x; then
3411 CC=""
3412 else
3413 case $cross_compiling:$ac_tool_warned in
3414yes:)
3415{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3416whose name does not start with the host triplet. If you think this
3417configuration is useful to you, please write to [email protected]." >&5
3418echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3419whose name does not start with the host triplet. If you think this
3420configuration is useful to you, please write to [email protected]." >&2;}
3421ac_tool_warned=yes ;;
3422esac
3423 CC=$ac_ct_CC
3424 fi
3425fi
3426
3427fi
3428
3429
3430test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3431See \`config.log' for more details." >&5
3432echo "$as_me: error: no acceptable C compiler found in \$PATH
3433See \`config.log' for more details." >&2;}
3434 { (exit 1); exit 1; }; }
3435
3436# Provide some information about the compiler.
3437echo "$as_me:$LINENO: checking for C compiler version" >&5
3438ac_compiler=`set X $ac_compile; echo $2`
3439{ (ac_try="$ac_compiler --version >&5"
3440case "(($ac_try" in
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3443esac
3444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445 (eval "$ac_compiler --version >&5") 2>&5
3446 ac_status=$?
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }
3449{ (ac_try="$ac_compiler -v >&5"
3450case "(($ac_try" in
3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3453esac
3454eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3455 (eval "$ac_compiler -v >&5") 2>&5
3456 ac_status=$?
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }
3459{ (ac_try="$ac_compiler -V >&5"
3460case "(($ac_try" in
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3463esac
3464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3465 (eval "$ac_compiler -V >&5") 2>&5
3466 ac_status=$?
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }
3469
3470{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3471echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3472if test "${ac_cv_c_compiler_gnu+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474else
3475 cat >conftest.$ac_ext <<_ACEOF
3476/* confdefs.h. */
3477_ACEOF
3478cat confdefs.h >>conftest.$ac_ext
3479cat >>conftest.$ac_ext <<_ACEOF
3480/* end confdefs.h. */
3481
3482int
3483main ()
3484{
3485#ifndef __GNUC__
3486 choke me
3487#endif
3488
3489 ;
3490 return 0;
3491}
3492_ACEOF
3493rm -f conftest.$ac_objext
3494if { (ac_try="$ac_compile"
3495case "(($ac_try" in
3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3498esac
3499eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3500 (eval "$ac_compile") 2>conftest.er1
3501 ac_status=$?
3502 grep -v '^ *+' conftest.er1 >conftest.err
3503 rm -f conftest.er1
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3508 { (case "(($ac_try" in
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3510 *) ac_try_echo=$ac_try;;
3511esac
3512eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3513 (eval "$ac_try") 2>&5
3514 ac_status=$?
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); }; } &&
3517 { ac_try='test -s conftest.$ac_objext'
3518 { (case "(($ac_try" in
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3521esac
3522eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523 (eval "$ac_try") 2>&5
3524 ac_status=$?
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; }; then
3527 ac_compiler_gnu=yes
3528else
3529 echo "$as_me: failed program was:" >&5
3530sed 's/^/| /' conftest.$ac_ext >&5
3531
3532 ac_compiler_gnu=no
3533fi
3534
3535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537
3538fi
3539{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3540echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3541GCC=`test $ac_compiler_gnu = yes && echo yes`
3542ac_test_CFLAGS=${CFLAGS+set}
3543ac_save_CFLAGS=$CFLAGS
3544{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3545echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3546if test "${ac_cv_prog_cc_g+set}" = set; then
3547 echo $ECHO_N "(cached) $ECHO_C" >&6
3548else
3549 ac_save_c_werror_flag=$ac_c_werror_flag
3550 ac_c_werror_flag=yes
3551 ac_cv_prog_cc_g=no
3552 CFLAGS="-g"
3553 cat >conftest.$ac_ext <<_ACEOF
3554/* confdefs.h. */
3555_ACEOF
3556cat confdefs.h >>conftest.$ac_ext
3557cat >>conftest.$ac_ext <<_ACEOF
3558/* end confdefs.h. */
3559
3560int
3561main ()
3562{
3563
3564 ;
3565 return 0;
3566}
3567_ACEOF
3568rm -f conftest.$ac_objext
3569if { (ac_try="$ac_compile"
3570case "(($ac_try" in
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3573esac
3574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575 (eval "$ac_compile") 2>conftest.er1
3576 ac_status=$?
3577 grep -v '^ *+' conftest.er1 >conftest.err
3578 rm -f conftest.er1
3579 cat conftest.err >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3583 { (case "(($ac_try" in
3584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3586esac
3587eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3588 (eval "$ac_try") 2>&5
3589 ac_status=$?
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; } &&
3592 { ac_try='test -s conftest.$ac_objext'
3593 { (case "(($ac_try" in
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3596esac
3597eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3598 (eval "$ac_try") 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; }; then
3602 ac_cv_prog_cc_g=yes
3603else
3604 echo "$as_me: failed program was:" >&5
3605sed 's/^/| /' conftest.$ac_ext >&5
3606
3607 CFLAGS=""
3608 cat >conftest.$ac_ext <<_ACEOF
3609/* confdefs.h. */
3610_ACEOF
3611cat confdefs.h >>conftest.$ac_ext
3612cat >>conftest.$ac_ext <<_ACEOF
3613/* end confdefs.h. */
3614
3615int
3616main ()
3617{
3618
3619 ;
3620 return 0;
3621}
3622_ACEOF
3623rm -f conftest.$ac_objext
3624if { (ac_try="$ac_compile"
3625case "(($ac_try" in
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3628esac
3629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630 (eval "$ac_compile") 2>conftest.er1
3631 ac_status=$?
3632 grep -v '^ *+' conftest.er1 >conftest.err
3633 rm -f conftest.er1
3634 cat conftest.err >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } &&
3637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3638 { (case "(($ac_try" in
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3641esac
3642eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_try") 2>&5
3644 ac_status=$?
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); }; } &&
3647 { ac_try='test -s conftest.$ac_objext'
3648 { (case "(($ac_try" in
3649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3651esac
3652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653 (eval "$ac_try") 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 :
3658else
3659 echo "$as_me: failed program was:" >&5
3660sed 's/^/| /' conftest.$ac_ext >&5
3661
3662 ac_c_werror_flag=$ac_save_c_werror_flag
3663 CFLAGS="-g"
3664 cat >conftest.$ac_ext <<_ACEOF
3665/* confdefs.h. */
3666_ACEOF
3667cat confdefs.h >>conftest.$ac_ext
3668cat >>conftest.$ac_ext <<_ACEOF
3669/* end confdefs.h. */
3670
3671int
3672main ()
3673{
3674
3675 ;
3676 return 0;
3677}
3678_ACEOF
3679rm -f conftest.$ac_objext
3680if { (ac_try="$ac_compile"
3681case "(($ac_try" in
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3684esac
3685eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3686 (eval "$ac_compile") 2>conftest.er1
3687 ac_status=$?
3688 grep -v '^ *+' conftest.er1 >conftest.err
3689 rm -f conftest.er1
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3694 { (case "(($ac_try" in
3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696 *) ac_try_echo=$ac_try;;
3697esac
3698eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3699 (eval "$ac_try") 2>&5
3700 ac_status=$?
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; } &&
3703 { ac_try='test -s conftest.$ac_objext'
3704 { (case "(($ac_try" in
3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3707esac
3708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709 (eval "$ac_try") 2>&5
3710 ac_status=$?
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }; }; then
3713 ac_cv_prog_cc_g=yes
3714else
3715 echo "$as_me: failed program was:" >&5
3716sed 's/^/| /' conftest.$ac_ext >&5
3717
3718
3719fi
3720
3721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722fi
3723
3724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725fi
3726
3727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 ac_c_werror_flag=$ac_save_c_werror_flag
3729fi
3730{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3731echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3732if test "$ac_test_CFLAGS" = set; then
3733 CFLAGS=$ac_save_CFLAGS
3734elif test $ac_cv_prog_cc_g = yes; then
3735 if test "$GCC" = yes; then
3736 CFLAGS="-g -O2"
3737 else
3738 CFLAGS="-g"
3739 fi
3740else
3741 if test "$GCC" = yes; then
3742 CFLAGS="-O2"
3743 else
3744 CFLAGS=
3745 fi
3746fi
3747{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3748echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3749if test "${ac_cv_prog_cc_c89+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3751else
3752 ac_cv_prog_cc_c89=no
3753ac_save_CC=$CC
3754cat >conftest.$ac_ext <<_ACEOF
3755/* confdefs.h. */
3756_ACEOF
3757cat confdefs.h >>conftest.$ac_ext
3758cat >>conftest.$ac_ext <<_ACEOF
3759/* end confdefs.h. */
3760#include <stdarg.h>
3761#include <stdio.h>
3762#include <sys/types.h>
3763#include <sys/stat.h>
3764/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3765struct buf { int x; };
3766FILE * (*rcsopen) (struct buf *, struct stat *, int);
3767static char *e (p, i)
3768 char **p;
3769 int i;
3770{
3771 return p[i];
3772}
3773static char *f (char * (*g) (char **, int), char **p, ...)
3774{
3775 char *s;
3776 va_list v;
3777 va_start (v,p);
3778 s = g (p, va_arg (v,int));
3779 va_end (v);
3780 return s;
3781}
3782
3783/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3784 function prototypes and stuff, but not '\xHH' hex character constants.
3785 These don't provoke an error unfortunately, instead are silently treated
3786 as 'x'. The following induces an error, until -std is added to get
3787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3788 array size at least. It's necessary to write '\x00'==0 to get something
3789 that's true only with -std. */
3790int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3791
3792/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3793 inside strings and character constants. */
3794#define FOO(x) 'x'
3795int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3796
3797int test (int i, double x);
3798struct s1 {int (*f) (int a);};
3799struct s2 {int (*f) (double a);};
3800int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3801int argc;
3802char **argv;
3803int
3804main ()
3805{
3806return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3807 ;
3808 return 0;
3809}
3810_ACEOF
3811for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3813do
3814 CC="$ac_save_CC $ac_arg"
3815 rm -f conftest.$ac_objext
3816if { (ac_try="$ac_compile"
3817case "(($ac_try" in
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3820esac
3821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3822 (eval "$ac_compile") 2>conftest.er1
3823 ac_status=$?
3824 grep -v '^ *+' conftest.er1 >conftest.err
3825 rm -f conftest.er1
3826 cat conftest.err >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } &&
3829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3830 { (case "(($ac_try" in
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3833esac
3834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835 (eval "$ac_try") 2>&5
3836 ac_status=$?
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try='test -s conftest.$ac_objext'
3840 { (case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843esac
3844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_try") 2>&5
3846 ac_status=$?
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; }; then
3849 ac_cv_prog_cc_c89=$ac_arg
3850else
3851 echo "$as_me: failed program was:" >&5
3852sed 's/^/| /' conftest.$ac_ext >&5
3853
3854
3855fi
3856
3857rm -f core conftest.err conftest.$ac_objext
3858 test "x$ac_cv_prog_cc_c89" != "xno" && break
3859done
3860rm -f conftest.$ac_ext
3861CC=$ac_save_CC
3862
3863fi
3864# AC_CACHE_VAL
3865case "x$ac_cv_prog_cc_c89" in
3866 x)
3867 { echo "$as_me:$LINENO: result: none needed" >&5
3868echo "${ECHO_T}none needed" >&6; } ;;
3869 xno)
3870 { echo "$as_me:$LINENO: result: unsupported" >&5
3871echo "${ECHO_T}unsupported" >&6; } ;;
3872 *)
3873 CC="$CC $ac_cv_prog_cc_c89"
3874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3875echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3876esac
3877
3878
3879ac_ext=c
3880ac_cpp='$CPP $CPPFLAGS'
3881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884
3885if test -n "$ac_tool_prefix"; then
3886 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3887set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3888{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3889echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3890if test "${ac_cv_prog_RANLIB+set}" = set; then
3891 echo $ECHO_N "(cached) $ECHO_C" >&6
3892else
3893 if test -n "$RANLIB"; then
3894 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3895else
3896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897for as_dir in $PATH
3898do
3899 IFS=$as_save_IFS
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3903 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 break 2
3906 fi
3907done
3908done
3909IFS=$as_save_IFS
3910
3911fi
3912fi
3913RANLIB=$ac_cv_prog_RANLIB
3914if test -n "$RANLIB"; then
3915 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3916echo "${ECHO_T}$RANLIB" >&6; }
3917else
3918 { echo "$as_me:$LINENO: result: no" >&5
3919echo "${ECHO_T}no" >&6; }
3920fi
3921
3922
3923fi
3924if test -z "$ac_cv_prog_RANLIB"; then
3925 ac_ct_RANLIB=$RANLIB
3926 # Extract the first word of "ranlib", so it can be a program name with args.
3927set dummy ranlib; ac_word=$2
3928{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3929echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3930if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3932else
3933 if test -n "$ac_ct_RANLIB"; then
3934 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3935else
3936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937for as_dir in $PATH
3938do
3939 IFS=$as_save_IFS
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3943 ac_cv_prog_ac_ct_RANLIB="ranlib"
3944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3946 fi
3947done
3948done
3949IFS=$as_save_IFS
3950
3951fi
3952fi
3953ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3954if test -n "$ac_ct_RANLIB"; then
3955 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3956echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3957else
3958 { echo "$as_me:$LINENO: result: no" >&5
3959echo "${ECHO_T}no" >&6; }
3960fi
3961
3962 if test "x$ac_ct_RANLIB" = x; then
3963 RANLIB=":"
3964 else
3965 case $cross_compiling:$ac_tool_warned in
3966yes:)
3967{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3968whose name does not start with the host triplet. If you think this
3969configuration is useful to you, please write to [email protected]." >&5
3970echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3971whose name does not start with the host triplet. If you think this
3972configuration is useful to you, please write to [email protected]." >&2;}
3973ac_tool_warned=yes ;;
3974esac
3975 RANLIB=$ac_ct_RANLIB
3976 fi
3977else
3978 RANLIB="$ac_cv_prog_RANLIB"
3979fi
3980
3981ac_aux_dir=
3982for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3983 if test -f "$ac_dir/install-sh"; then
3984 ac_aux_dir=$ac_dir
3985 ac_install_sh="$ac_aux_dir/install-sh -c"
3986 break
3987 elif test -f "$ac_dir/install.sh"; then
3988 ac_aux_dir=$ac_dir
3989 ac_install_sh="$ac_aux_dir/install.sh -c"
3990 break
3991 elif test -f "$ac_dir/shtool"; then
3992 ac_aux_dir=$ac_dir
3993 ac_install_sh="$ac_aux_dir/shtool install -c"
3994 break
3995 fi
3996done
3997if test -z "$ac_aux_dir"; then
3998 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3999echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4000 { (exit 1); exit 1; }; }
4001fi
4002
4003# These three variables are undocumented and unsupported,
4004# and are intended to be withdrawn in a future Autoconf release.
4005# They can cause serious problems if a builder's source tree is in a directory
4006# whose full name contains unusual characters.
4007ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4008ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4009ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4010
4011
4012# Find a good install program. We prefer a C program (faster),
4013# so one script is as good as another. But avoid the broken or
4014# incompatible versions:
4015# SysV /etc/install, /usr/sbin/install
4016# SunOS /usr/etc/install
4017# IRIX /sbin/install
4018# AIX /bin/install
4019# AmigaOS /C/install, which installs bootblocks on floppy discs
4020# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4021# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4022# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4023# OS/2's system install, which has a completely different semantic
4024# ./install, which can be erroneously created by make from ./install.sh.
4025{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4026echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4027if test -z "$INSTALL"; then
4028if test "${ac_cv_path_install+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032for as_dir in $PATH
4033do
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 # Account for people who put trailing slashes in PATH elements.
4037case $as_dir/ in
4038 ./ | .// | /cC/* | \
4039 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4040 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4041 /usr/ucb/* ) ;;
4042 *)
4043 # OSF1 and SCO ODT 3.0 have their own names for install.
4044 # Don't use installbsd from OSF since it installs stuff as root
4045 # by default.
4046 for ac_prog in ginstall scoinst install; do
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4049 if test $ac_prog = install &&
4050 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4051 # AIX install. It has an incompatible calling convention.
4052 :
4053 elif test $ac_prog = install &&
4054 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4055 # program-specific install script used by HP pwplus--don't use.
4056 :
4057 else
4058 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4059 break 3
4060 fi
4061 fi
4062 done
4063 done
4064 ;;
4065esac
4066done
4067IFS=$as_save_IFS
4068
4069
4070fi
4071 if test "${ac_cv_path_install+set}" = set; then
4072 INSTALL=$ac_cv_path_install
4073 else
4074 # As a last resort, use the slow shell script. Don't cache a
4075 # value for INSTALL within a source directory, because that will
4076 # break other packages using the cache if that directory is
4077 # removed, or if the value is a relative name.
4078 INSTALL=$ac_install_sh
4079 fi
4080fi
4081{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4082echo "${ECHO_T}$INSTALL" >&6; }
4083
4084# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4085# It thinks the first close brace ends the variable substitution.
4086test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4087
4088test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4089
4090test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4091
4092ac_ext=c
4093ac_cpp='$CPP $CPPFLAGS'
4094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4096ac_compiler_gnu=$ac_cv_c_compiler_gnu
4097{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4098echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4099# On Suns, sometimes $CPP names a directory.
4100if test -n "$CPP" && test -d "$CPP"; then
4101 CPP=
4102fi
4103if test -z "$CPP"; then
4104 if test "${ac_cv_prog_CPP+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4106else
4107 # Double quotes because CPP needs to be expanded
4108 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4109 do
4110 ac_preproc_ok=false
4111for ac_c_preproc_warn_flag in '' yes
4112do
4113 # Use a header file that comes with gcc, so configuring glibc
4114 # with a fresh cross-compiler works.
4115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4116 # <limits.h> exists even on freestanding compilers.
4117 # On the NeXT, cc -E runs the code through the compiler's parser,
4118 # not just through cpp. "Syntax error" is here to catch this case.
4119 cat >conftest.$ac_ext <<_ACEOF
4120/* confdefs.h. */
4121_ACEOF
4122cat confdefs.h >>conftest.$ac_ext
4123cat >>conftest.$ac_ext <<_ACEOF
4124/* end confdefs.h. */
4125#ifdef __STDC__
4126# include <limits.h>
4127#else
4128# include <assert.h>
4129#endif
4130 Syntax error
4131_ACEOF
4132if { (ac_try="$ac_cpp conftest.$ac_ext"
4133case "(($ac_try" in
4134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4135 *) ac_try_echo=$ac_try;;
4136esac
4137eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4139 ac_status=$?
4140 grep -v '^ *+' conftest.er1 >conftest.err
4141 rm -f conftest.er1
4142 cat conftest.err >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); } >/dev/null; then
4145 if test -s conftest.err; then
4146 ac_cpp_err=$ac_c_preproc_warn_flag
4147 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4148 else
4149 ac_cpp_err=
4150 fi
4151else
4152 ac_cpp_err=yes
4153fi
4154if test -z "$ac_cpp_err"; then
4155 :
4156else
4157 echo "$as_me: failed program was:" >&5
4158sed 's/^/| /' conftest.$ac_ext >&5
4159
4160 # Broken: fails on valid input.
4161continue
4162fi
4163
4164rm -f conftest.err conftest.$ac_ext
4165
4166 # OK, works on sane cases. Now check whether nonexistent headers
4167 # can be detected and how.
4168 cat >conftest.$ac_ext <<_ACEOF
4169/* confdefs.h. */
4170_ACEOF
4171cat confdefs.h >>conftest.$ac_ext
4172cat >>conftest.$ac_ext <<_ACEOF
4173/* end confdefs.h. */
4174#include <ac_nonexistent.h>
4175_ACEOF
4176if { (ac_try="$ac_cpp conftest.$ac_ext"
4177case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180esac
4181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4183 ac_status=$?
4184 grep -v '^ *+' conftest.er1 >conftest.err
4185 rm -f conftest.er1
4186 cat conftest.err >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); } >/dev/null; then
4189 if test -s conftest.err; then
4190 ac_cpp_err=$ac_c_preproc_warn_flag
4191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4192 else
4193 ac_cpp_err=
4194 fi
4195else
4196 ac_cpp_err=yes
4197fi
4198if test -z "$ac_cpp_err"; then
4199 # Broken: success on invalid input.
4200continue
4201else
4202 echo "$as_me: failed program was:" >&5
4203sed 's/^/| /' conftest.$ac_ext >&5
4204
4205 # Passes both tests.
4206ac_preproc_ok=:
4207break
4208fi
4209
4210rm -f conftest.err conftest.$ac_ext
4211
4212done
4213# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4214rm -f conftest.err conftest.$ac_ext
4215if $ac_preproc_ok; then
4216 break
4217fi
4218
4219 done
4220 ac_cv_prog_CPP=$CPP
4221
4222fi
4223 CPP=$ac_cv_prog_CPP
4224else
4225 ac_cv_prog_CPP=$CPP
4226fi
4227{ echo "$as_me:$LINENO: result: $CPP" >&5
4228echo "${ECHO_T}$CPP" >&6; }
4229ac_preproc_ok=false
4230for ac_c_preproc_warn_flag in '' yes
4231do
4232 # Use a header file that comes with gcc, so configuring glibc
4233 # with a fresh cross-compiler works.
4234 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4235 # <limits.h> exists even on freestanding compilers.
4236 # On the NeXT, cc -E runs the code through the compiler's parser,
4237 # not just through cpp. "Syntax error" is here to catch this case.
4238 cat >conftest.$ac_ext <<_ACEOF
4239/* confdefs.h. */
4240_ACEOF
4241cat confdefs.h >>conftest.$ac_ext
4242cat >>conftest.$ac_ext <<_ACEOF
4243/* end confdefs.h. */
4244#ifdef __STDC__
4245# include <limits.h>
4246#else
4247# include <assert.h>
4248#endif
4249 Syntax error
4250_ACEOF
4251if { (ac_try="$ac_cpp conftest.$ac_ext"
4252case "(($ac_try" in
4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4255esac
4256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4258 ac_status=$?
4259 grep -v '^ *+' conftest.er1 >conftest.err
4260 rm -f conftest.er1
4261 cat conftest.err >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } >/dev/null; then
4264 if test -s conftest.err; then
4265 ac_cpp_err=$ac_c_preproc_warn_flag
4266 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4267 else
4268 ac_cpp_err=
4269 fi
4270else
4271 ac_cpp_err=yes
4272fi
4273if test -z "$ac_cpp_err"; then
4274 :
4275else
4276 echo "$as_me: failed program was:" >&5
4277sed 's/^/| /' conftest.$ac_ext >&5
4278
4279 # Broken: fails on valid input.
4280continue
4281fi
4282
4283rm -f conftest.err conftest.$ac_ext
4284
4285 # OK, works on sane cases. Now check whether nonexistent headers
4286 # can be detected and how.
4287 cat >conftest.$ac_ext <<_ACEOF
4288/* confdefs.h. */
4289_ACEOF
4290cat confdefs.h >>conftest.$ac_ext
4291cat >>conftest.$ac_ext <<_ACEOF
4292/* end confdefs.h. */
4293#include <ac_nonexistent.h>
4294_ACEOF
4295if { (ac_try="$ac_cpp conftest.$ac_ext"
4296case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299esac
4300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4302 ac_status=$?
4303 grep -v '^ *+' conftest.er1 >conftest.err
4304 rm -f conftest.er1
4305 cat conftest.err >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } >/dev/null; then
4308 if test -s conftest.err; then
4309 ac_cpp_err=$ac_c_preproc_warn_flag
4310 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4311 else
4312 ac_cpp_err=
4313 fi
4314else
4315 ac_cpp_err=yes
4316fi
4317if test -z "$ac_cpp_err"; then
4318 # Broken: success on invalid input.
4319continue
4320else
4321 echo "$as_me: failed program was:" >&5
4322sed 's/^/| /' conftest.$ac_ext >&5
4323
4324 # Passes both tests.
4325ac_preproc_ok=:
4326break
4327fi
4328
4329rm -f conftest.err conftest.$ac_ext
4330
4331done
4332# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4333rm -f conftest.err conftest.$ac_ext
4334if $ac_preproc_ok; then
4335 :
4336else
4337 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4338See \`config.log' for more details." >&5
4339echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4340See \`config.log' for more details." >&2;}
4341 { (exit 1); exit 1; }; }
4342fi
4343
4344ac_ext=c
4345ac_cpp='$CPP $CPPFLAGS'
4346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349
4350
4351{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4352echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4353if test "${ac_cv_path_GREP+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355else
4356 # Extract the first word of "grep ggrep" to use in msg output
4357if test -z "$GREP"; then
4358set dummy grep ggrep; ac_prog_name=$2
4359if test "${ac_cv_path_GREP+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4361else
4362 ac_path_GREP_found=false
4363# Loop through the user's path and test for each of PROGNAME-LIST
4364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4366do
4367 IFS=$as_save_IFS
4368 test -z "$as_dir" && as_dir=.
4369 for ac_prog in grep ggrep; do
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4372 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4373 # Check for GNU ac_path_GREP and select it if it is found.
4374 # Check for GNU $ac_path_GREP
4375case `"$ac_path_GREP" --version 2>&1` in
4376*GNU*)
4377 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4378*)
4379 ac_count=0
4380 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4381 while :
4382 do
4383 cat "conftest.in" "conftest.in" >"conftest.tmp"
4384 mv "conftest.tmp" "conftest.in"
4385 cp "conftest.in" "conftest.nl"
4386 echo 'GREP' >> "conftest.nl"
4387 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4389 ac_count=`expr $ac_count + 1`
4390 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4391 # Best one so far, save it but keep looking for a better one
4392 ac_cv_path_GREP="$ac_path_GREP"
4393 ac_path_GREP_max=$ac_count
4394 fi
4395 # 10*(2^10) chars as input seems more than enough
4396 test $ac_count -gt 10 && break
4397 done
4398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4399esac
4400
4401
4402 $ac_path_GREP_found && break 3
4403 done
4404done
4405
4406done
4407IFS=$as_save_IFS
4408
4409
4410fi
4411
4412GREP="$ac_cv_path_GREP"
4413if test -z "$GREP"; then
4414 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4415echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4416 { (exit 1); exit 1; }; }
4417fi
4418
4419else
4420 ac_cv_path_GREP=$GREP
4421fi
4422
4423
4424fi
4425{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4426echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4427 GREP="$ac_cv_path_GREP"
4428
4429
4430{ echo "$as_me:$LINENO: checking for egrep" >&5
4431echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4432if test "${ac_cv_path_EGREP+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4434else
4435 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4436 then ac_cv_path_EGREP="$GREP -E"
4437 else
4438 # Extract the first word of "egrep" to use in msg output
4439if test -z "$EGREP"; then
4440set dummy egrep; ac_prog_name=$2
4441if test "${ac_cv_path_EGREP+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4443else
4444 ac_path_EGREP_found=false
4445# Loop through the user's path and test for each of PROGNAME-LIST
4446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4448do
4449 IFS=$as_save_IFS
4450 test -z "$as_dir" && as_dir=.
4451 for ac_prog in egrep; do
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4454 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4455 # Check for GNU ac_path_EGREP and select it if it is found.
4456 # Check for GNU $ac_path_EGREP
4457case `"$ac_path_EGREP" --version 2>&1` in
4458*GNU*)
4459 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4460*)
4461 ac_count=0
4462 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4463 while :
4464 do
4465 cat "conftest.in" "conftest.in" >"conftest.tmp"
4466 mv "conftest.tmp" "conftest.in"
4467 cp "conftest.in" "conftest.nl"
4468 echo 'EGREP' >> "conftest.nl"
4469 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4470 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4471 ac_count=`expr $ac_count + 1`
4472 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4473 # Best one so far, save it but keep looking for a better one
4474 ac_cv_path_EGREP="$ac_path_EGREP"
4475 ac_path_EGREP_max=$ac_count
4476 fi
4477 # 10*(2^10) chars as input seems more than enough
4478 test $ac_count -gt 10 && break
4479 done
4480 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4481esac
4482
4483
4484 $ac_path_EGREP_found && break 3
4485 done
4486done
4487
4488done
4489IFS=$as_save_IFS
4490
4491
4492fi
4493
4494EGREP="$ac_cv_path_EGREP"
4495if test -z "$EGREP"; then
4496 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4497echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4498 { (exit 1); exit 1; }; }
4499fi
4500
4501else
4502 ac_cv_path_EGREP=$EGREP
4503fi
4504
4505
4506 fi
4507fi
4508{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4509echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4510 EGREP="$ac_cv_path_EGREP"
4511
4512
4513{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4514echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4515if test "${ac_cv_header_stdc+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4517else
4518 cat >conftest.$ac_ext <<_ACEOF
4519/* confdefs.h. */
4520_ACEOF
4521cat confdefs.h >>conftest.$ac_ext
4522cat >>conftest.$ac_ext <<_ACEOF
4523/* end confdefs.h. */
4524#include <stdlib.h>
4525#include <stdarg.h>
4526#include <string.h>
4527#include <float.h>
4528
4529int
4530main ()
4531{
4532
4533 ;
4534 return 0;
4535}
4536_ACEOF
4537rm -f conftest.$ac_objext
4538if { (ac_try="$ac_compile"
4539case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542esac
4543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544 (eval "$ac_compile") 2>conftest.er1
4545 ac_status=$?
4546 grep -v '^ *+' conftest.er1 >conftest.err
4547 rm -f conftest.er1
4548 cat conftest.err >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); } &&
4551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4552 { (case "(($ac_try" in
4553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4555esac
4556eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4557 (eval "$ac_try") 2>&5
4558 ac_status=$?
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; } &&
4561 { ac_try='test -s conftest.$ac_objext'
4562 { (case "(($ac_try" in
4563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4564 *) ac_try_echo=$ac_try;;
4565esac
4566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4567 (eval "$ac_try") 2>&5
4568 ac_status=$?
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); }; }; then
4571 ac_cv_header_stdc=yes
4572else
4573 echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576 ac_cv_header_stdc=no
4577fi
4578
4579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580
4581if test $ac_cv_header_stdc = yes; then
4582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4583 cat >conftest.$ac_ext <<_ACEOF
4584/* confdefs.h. */
4585_ACEOF
4586cat confdefs.h >>conftest.$ac_ext
4587cat >>conftest.$ac_ext <<_ACEOF
4588/* end confdefs.h. */
4589#include <string.h>
4590
4591_ACEOF
4592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4593 $EGREP "memchr" >/dev/null 2>&1; then
4594 :
4595else
4596 ac_cv_header_stdc=no
4597fi
4598rm -f conftest*
4599
4600fi
4601
4602if test $ac_cv_header_stdc = yes; then
4603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4604 cat >conftest.$ac_ext <<_ACEOF
4605/* confdefs.h. */
4606_ACEOF
4607cat confdefs.h >>conftest.$ac_ext
4608cat >>conftest.$ac_ext <<_ACEOF
4609/* end confdefs.h. */
4610#include <stdlib.h>
4611
4612_ACEOF
4613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "free" >/dev/null 2>&1; then
4615 :
4616else
4617 ac_cv_header_stdc=no
4618fi
4619rm -f conftest*
4620
4621fi
4622
4623if test $ac_cv_header_stdc = yes; then
4624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4625 if test "$cross_compiling" = yes; then
4626 :
4627else
4628 cat >conftest.$ac_ext <<_ACEOF
4629/* confdefs.h. */
4630_ACEOF
4631cat confdefs.h >>conftest.$ac_ext
4632cat >>conftest.$ac_ext <<_ACEOF
4633/* end confdefs.h. */
4634#include <ctype.h>
4635#include <stdlib.h>
4636#if ((' ' & 0x0FF) == 0x020)
4637# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639#else
4640# define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4645#endif
4646
4647#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648int
4649main ()
4650{
4651 int i;
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4655 return 2;
4656 return 0;
4657}
4658_ACEOF
4659rm -f conftest$ac_exeext
4660if { (ac_try="$ac_link"
4661case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4664esac
4665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_link") 2>&5
4667 ac_status=$?
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4670 { (case "(($ac_try" in
4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4673esac
4674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675 (eval "$ac_try") 2>&5
4676 ac_status=$?
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4679 :
4680else
4681 echo "$as_me: program exited with status $ac_status" >&5
4682echo "$as_me: failed program was:" >&5
4683sed 's/^/| /' conftest.$ac_ext >&5
4684
4685( exit $ac_status )
4686ac_cv_header_stdc=no
4687fi
4688rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4689fi
4690
4691
4692fi
4693fi
4694{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4695echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4696if test $ac_cv_header_stdc = yes; then
4697
4698cat >>confdefs.h <<\_ACEOF
4699#define STDC_HEADERS 1
4700_ACEOF
4701
4702fi
4703
4704
4705# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4716 inttypes.h stdint.h unistd.h
4717do
4718as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4719{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4720echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4721if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4723else
4724 cat >conftest.$ac_ext <<_ACEOF
4725/* confdefs.h. */
4726_ACEOF
4727cat confdefs.h >>conftest.$ac_ext
4728cat >>conftest.$ac_ext <<_ACEOF
4729/* end confdefs.h. */
4730$ac_includes_default
4731
4732#include <$ac_header>
4733_ACEOF
4734rm -f conftest.$ac_objext
4735if { (ac_try="$ac_compile"
4736case "(($ac_try" in
4737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4738 *) ac_try_echo=$ac_try;;
4739esac
4740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4741 (eval "$ac_compile") 2>conftest.er1
4742 ac_status=$?
4743 grep -v '^ *+' conftest.er1 >conftest.err
4744 rm -f conftest.er1
4745 cat conftest.err >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } &&
4748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4749 { (case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752esac
4753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_try") 2>&5
4755 ac_status=$?
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; } &&
4758 { ac_try='test -s conftest.$ac_objext'
4759 { (case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762esac
4763eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764 (eval "$ac_try") 2>&5
4765 ac_status=$?
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; }; then
4768 eval "$as_ac_Header=yes"
4769else
4770 echo "$as_me: failed program was:" >&5
4771sed 's/^/| /' conftest.$ac_ext >&5
4772
4773 eval "$as_ac_Header=no"
4774fi
4775
4776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777fi
4778ac_res=`eval echo '${'$as_ac_Header'}'`
4779 { echo "$as_me:$LINENO: result: $ac_res" >&5
4780echo "${ECHO_T}$ac_res" >&6; }
4781if test `eval echo '${'$as_ac_Header'}'` = yes; then
4782 cat >>confdefs.h <<_ACEOF
4783#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4784_ACEOF
4785
4786fi
4787
4788done
4789
4790
4791{ echo "$as_me:$LINENO: checking for short" >&5
4792echo $ECHO_N "checking for short... $ECHO_C" >&6; }
4793if test "${ac_cv_type_short+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4795else
4796 cat >conftest.$ac_ext <<_ACEOF
4797/* confdefs.h. */
4798_ACEOF
4799cat confdefs.h >>conftest.$ac_ext
4800cat >>conftest.$ac_ext <<_ACEOF
4801/* end confdefs.h. */
4802$ac_includes_default
4803typedef short ac__type_new_;
4804int
4805main ()
4806{
4807if ((ac__type_new_ *) 0)
4808 return 0;
4809if (sizeof (ac__type_new_))
4810 return 0;
4811 ;
4812 return 0;
4813}
4814_ACEOF
4815rm -f conftest.$ac_objext
4816if { (ac_try="$ac_compile"
4817case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820esac
4821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_compile") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } &&
4829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4830 { (case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833esac
4834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_try") 2>&5
4836 ac_status=$?
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; } &&
4839 { ac_try='test -s conftest.$ac_objext'
4840 { (case "(($ac_try" in
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4843esac
4844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845 (eval "$ac_try") 2>&5
4846 ac_status=$?
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; }; then
4849 ac_cv_type_short=yes
4850else
4851 echo "$as_me: failed program was:" >&5
4852sed 's/^/| /' conftest.$ac_ext >&5
4853
4854 ac_cv_type_short=no
4855fi
4856
4857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858fi
4859{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
4860echo "${ECHO_T}$ac_cv_type_short" >&6; }
4861
4862{ echo "$as_me:$LINENO: checking size of short" >&5
4863echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
4864if test "${ac_cv_sizeof_short+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4866else
4867 if test "$ac_cv_type_short" = yes; then
4868 # The cast to long int works around a bug in the HP C Compiler
4869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4871 # This bug is HP SR number 8606223364.
4872 if test "$cross_compiling" = yes; then
4873 # Depending upon the size, compute the lo and hi bounds.
4874cat >conftest.$ac_ext <<_ACEOF
4875/* confdefs.h. */
4876_ACEOF
4877cat confdefs.h >>conftest.$ac_ext
4878cat >>conftest.$ac_ext <<_ACEOF
4879/* end confdefs.h. */
4880$ac_includes_default
4881 typedef short ac__type_sizeof_;
4882int
4883main ()
4884{
4885static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4886test_array [0] = 0
4887
4888 ;
4889 return 0;
4890}
4891_ACEOF
4892rm -f conftest.$ac_objext
4893if { (ac_try="$ac_compile"
4894case "(($ac_try" in
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4897esac
4898eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4899 (eval "$ac_compile") 2>conftest.er1
4900 ac_status=$?
4901 grep -v '^ *+' conftest.er1 >conftest.err
4902 rm -f conftest.er1
4903 cat conftest.err >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4907 { (case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910esac
4911eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4912 (eval "$ac_try") 2>&5
4913 ac_status=$?
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; } &&
4916 { ac_try='test -s conftest.$ac_objext'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4920esac
4921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4923 ac_status=$?
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 ac_lo=0 ac_mid=0
4927 while :; do
4928 cat >conftest.$ac_ext <<_ACEOF
4929/* confdefs.h. */
4930_ACEOF
4931cat confdefs.h >>conftest.$ac_ext
4932cat >>conftest.$ac_ext <<_ACEOF
4933/* end confdefs.h. */
4934$ac_includes_default
4935 typedef short ac__type_sizeof_;
4936int
4937main ()
4938{
4939static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4940test_array [0] = 0
4941
4942 ;
4943 return 0;
4944}
4945_ACEOF
4946rm -f conftest.$ac_objext
4947if { (ac_try="$ac_compile"
4948case "(($ac_try" in
4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4951esac
4952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4954 ac_status=$?
4955 grep -v '^ *+' conftest.er1 >conftest.err
4956 rm -f conftest.er1
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } &&
4960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4961 { (case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964esac
4965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_try") 2>&5
4967 ac_status=$?
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try='test -s conftest.$ac_objext'
4971 { (case "(($ac_try" in
4972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973 *) ac_try_echo=$ac_try;;
4974esac
4975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976 (eval "$ac_try") 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_hi=$ac_mid; break
4981else
4982 echo "$as_me: failed program was:" >&5
4983sed 's/^/| /' conftest.$ac_ext >&5
4984
4985 ac_lo=`expr $ac_mid + 1`
4986 if test $ac_lo -le $ac_mid; then
4987 ac_lo= ac_hi=
4988 break
4989 fi
4990 ac_mid=`expr 2 '*' $ac_mid + 1`
4991fi
4992
4993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4994 done
4995else
4996 echo "$as_me: failed program was:" >&5
4997sed 's/^/| /' conftest.$ac_ext >&5
4998
4999 cat >conftest.$ac_ext <<_ACEOF
5000/* confdefs.h. */
5001_ACEOF
5002cat confdefs.h >>conftest.$ac_ext
5003cat >>conftest.$ac_ext <<_ACEOF
5004/* end confdefs.h. */
5005$ac_includes_default
5006 typedef short ac__type_sizeof_;
5007int
5008main ()
5009{
5010static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5011test_array [0] = 0
5012
5013 ;
5014 return 0;
5015}
5016_ACEOF
5017rm -f conftest.$ac_objext
5018if { (ac_try="$ac_compile"
5019case "(($ac_try" in
5020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5022esac
5023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024 (eval "$ac_compile") 2>conftest.er1
5025 ac_status=$?
5026 grep -v '^ *+' conftest.er1 >conftest.err
5027 rm -f conftest.er1
5028 cat conftest.err >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } &&
5031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5032 { (case "(($ac_try" in
5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5035esac
5036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_try") 2>&5
5038 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; } &&
5041 { ac_try='test -s conftest.$ac_objext'
5042 { (case "(($ac_try" in
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5045esac
5046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5047 (eval "$ac_try") 2>&5
5048 ac_status=$?
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); }; }; then
5051 ac_hi=-1 ac_mid=-1
5052 while :; do
5053 cat >conftest.$ac_ext <<_ACEOF
5054/* confdefs.h. */
5055_ACEOF
5056cat confdefs.h >>conftest.$ac_ext
5057cat >>conftest.$ac_ext <<_ACEOF
5058/* end confdefs.h. */
5059$ac_includes_default
5060 typedef short ac__type_sizeof_;
5061int
5062main ()
5063{
5064static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5065test_array [0] = 0
5066
5067 ;
5068 return 0;
5069}
5070_ACEOF
5071rm -f conftest.$ac_objext
5072if { (ac_try="$ac_compile"
5073case "(($ac_try" in
5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075 *) ac_try_echo=$ac_try;;
5076esac
5077eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5078 (eval "$ac_compile") 2>conftest.er1
5079 ac_status=$?
5080 grep -v '^ *+' conftest.er1 >conftest.err
5081 rm -f conftest.er1
5082 cat conftest.err >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); } &&
5085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5086 { (case "(($ac_try" in
5087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088 *) ac_try_echo=$ac_try;;
5089esac
5090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091 (eval "$ac_try") 2>&5
5092 ac_status=$?
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; } &&
5095 { ac_try='test -s conftest.$ac_objext'
5096 { (case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099esac
5100eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101 (eval "$ac_try") 2>&5
5102 ac_status=$?
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; }; then
5105 ac_lo=$ac_mid; break
5106else
5107 echo "$as_me: failed program was:" >&5
5108sed 's/^/| /' conftest.$ac_ext >&5
5109
5110 ac_hi=`expr '(' $ac_mid ')' - 1`
5111 if test $ac_mid -le $ac_hi; then
5112 ac_lo= ac_hi=
5113 break
5114 fi
5115 ac_mid=`expr 2 '*' $ac_mid`
5116fi
5117
5118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5119 done
5120else
5121 echo "$as_me: failed program was:" >&5
5122sed 's/^/| /' conftest.$ac_ext >&5
5123
5124 ac_lo= ac_hi=
5125fi
5126
5127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5128fi
5129
5130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5131# Binary search between lo and hi bounds.
5132while test "x$ac_lo" != "x$ac_hi"; do
5133 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5134 cat >conftest.$ac_ext <<_ACEOF
5135/* confdefs.h. */
5136_ACEOF
5137cat confdefs.h >>conftest.$ac_ext
5138cat >>conftest.$ac_ext <<_ACEOF
5139/* end confdefs.h. */
5140$ac_includes_default
5141 typedef short ac__type_sizeof_;
5142int
5143main ()
5144{
5145static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5146test_array [0] = 0
5147
5148 ;
5149 return 0;
5150}
5151_ACEOF
5152rm -f conftest.$ac_objext
5153if { (ac_try="$ac_compile"
5154case "(($ac_try" in
5155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5156 *) ac_try_echo=$ac_try;;
5157esac
5158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5159 (eval "$ac_compile") 2>conftest.er1
5160 ac_status=$?
5161 grep -v '^ *+' conftest.er1 >conftest.err
5162 rm -f conftest.er1
5163 cat conftest.err >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } &&
5166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5167 { (case "(($ac_try" in
5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5169 *) ac_try_echo=$ac_try;;
5170esac
5171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5172 (eval "$ac_try") 2>&5
5173 ac_status=$?
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
5176 { ac_try='test -s conftest.$ac_objext'
5177 { (case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5180esac
5181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_try") 2>&5
5183 ac_status=$?
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; }; then
5186 ac_hi=$ac_mid
5187else
5188 echo "$as_me: failed program was:" >&5
5189sed 's/^/| /' conftest.$ac_ext >&5
5190
5191 ac_lo=`expr '(' $ac_mid ')' + 1`
5192fi
5193
5194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195done
5196case $ac_lo in
5197?*) ac_cv_sizeof_short=$ac_lo;;
5198'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5199See \`config.log' for more details." >&5
5200echo "$as_me: error: cannot compute sizeof (short)
5201See \`config.log' for more details." >&2;}
5202 { (exit 77); exit 77; }; } ;;
5203esac
5204else
5205 cat >conftest.$ac_ext <<_ACEOF
5206/* confdefs.h. */
5207_ACEOF
5208cat confdefs.h >>conftest.$ac_ext
5209cat >>conftest.$ac_ext <<_ACEOF
5210/* end confdefs.h. */
5211$ac_includes_default
5212 typedef short ac__type_sizeof_;
5213static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5214static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5215#include <stdio.h>
5216#include <stdlib.h>
5217int
5218main ()
5219{
5220
5221 FILE *f = fopen ("conftest.val", "w");
5222 if (! f)
5223 return 1;
5224 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5225 {
5226 long int i = longval ();
5227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5228 return 1;
5229 fprintf (f, "%ld\n", i);
5230 }
5231 else
5232 {
5233 unsigned long int i = ulongval ();
5234 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5235 return 1;
5236 fprintf (f, "%lu\n", i);
5237 }
5238 return ferror (f) || fclose (f) != 0;
5239
5240 ;
5241 return 0;
5242}
5243_ACEOF
5244rm -f conftest$ac_exeext
5245if { (ac_try="$ac_link"
5246case "(($ac_try" in
5247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5248 *) ac_try_echo=$ac_try;;
5249esac
5250eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5251 (eval "$ac_link") 2>&5
5252 ac_status=$?
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5255 { (case "(($ac_try" in
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257 *) ac_try_echo=$ac_try;;
5258esac
5259eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5260 (eval "$ac_try") 2>&5
5261 ac_status=$?
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }; }; then
5264 ac_cv_sizeof_short=`cat conftest.val`
5265else
5266 echo "$as_me: program exited with status $ac_status" >&5
5267echo "$as_me: failed program was:" >&5
5268sed 's/^/| /' conftest.$ac_ext >&5
5269
5270( exit $ac_status )
5271{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5272See \`config.log' for more details." >&5
5273echo "$as_me: error: cannot compute sizeof (short)
5274See \`config.log' for more details." >&2;}
5275 { (exit 77); exit 77; }; }
5276fi
5277rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5278fi
5279rm -f conftest.val
5280else
5281 ac_cv_sizeof_short=0
5282fi
5283fi
5284{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5285echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
5286cat >>confdefs.h <<_ACEOF
5287#define SIZEOF_SHORT $ac_cv_sizeof_short
5288_ACEOF
5289
5290
5291{ echo "$as_me:$LINENO: checking for int" >&5
5292echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5293if test "${ac_cv_type_int+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5295else
5296 cat >conftest.$ac_ext <<_ACEOF
5297/* confdefs.h. */
5298_ACEOF
5299cat confdefs.h >>conftest.$ac_ext
5300cat >>conftest.$ac_ext <<_ACEOF
5301/* end confdefs.h. */
5302$ac_includes_default
5303typedef int ac__type_new_;
5304int
5305main ()
5306{
5307if ((ac__type_new_ *) 0)
5308 return 0;
5309if (sizeof (ac__type_new_))
5310 return 0;
5311 ;
5312 return 0;
5313}
5314_ACEOF
5315rm -f conftest.$ac_objext
5316if { (ac_try="$ac_compile"
5317case "(($ac_try" in
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5320esac
5321eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_compile") 2>conftest.er1
5323 ac_status=$?
5324 grep -v '^ *+' conftest.er1 >conftest.err
5325 rm -f conftest.er1
5326 cat conftest.err >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } &&
5329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5330 { (case "(($ac_try" in
5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5333esac
5334eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5335 (eval "$ac_try") 2>&5
5336 ac_status=$?
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try='test -s conftest.$ac_objext'
5340 { (case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343esac
5344eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5345 (eval "$ac_try") 2>&5
5346 ac_status=$?
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); }; }; then
5349 ac_cv_type_int=yes
5350else
5351 echo "$as_me: failed program was:" >&5
5352sed 's/^/| /' conftest.$ac_ext >&5
5353
5354 ac_cv_type_int=no
5355fi
5356
5357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358fi
5359{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5360echo "${ECHO_T}$ac_cv_type_int" >&6; }
5361
5362{ echo "$as_me:$LINENO: checking size of int" >&5
5363echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5364if test "${ac_cv_sizeof_int+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5366else
5367 if test "$ac_cv_type_int" = yes; then
5368 # The cast to long int works around a bug in the HP C Compiler
5369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5371 # This bug is HP SR number 8606223364.
5372 if test "$cross_compiling" = yes; then
5373 # Depending upon the size, compute the lo and hi bounds.
5374cat >conftest.$ac_ext <<_ACEOF
5375/* confdefs.h. */
5376_ACEOF
5377cat confdefs.h >>conftest.$ac_ext
5378cat >>conftest.$ac_ext <<_ACEOF
5379/* end confdefs.h. */
5380$ac_includes_default
5381 typedef int ac__type_sizeof_;
5382int
5383main ()
5384{
5385static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5386test_array [0] = 0
5387
5388 ;
5389 return 0;
5390}
5391_ACEOF
5392rm -f conftest.$ac_objext
5393if { (ac_try="$ac_compile"
5394case "(($ac_try" in
5395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5396 *) ac_try_echo=$ac_try;;
5397esac
5398eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5399 (eval "$ac_compile") 2>conftest.er1
5400 ac_status=$?
5401 grep -v '^ *+' conftest.er1 >conftest.err
5402 rm -f conftest.er1
5403 cat conftest.err >&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } &&
5406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5407 { (case "(($ac_try" in
5408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5409 *) ac_try_echo=$ac_try;;
5410esac
5411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5412 (eval "$ac_try") 2>&5
5413 ac_status=$?
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }; } &&
5416 { ac_try='test -s conftest.$ac_objext'
5417 { (case "(($ac_try" in
5418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419 *) ac_try_echo=$ac_try;;
5420esac
5421eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$ac_try") 2>&5
5423 ac_status=$?
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }; }; then
5426 ac_lo=0 ac_mid=0
5427 while :; do
5428 cat >conftest.$ac_ext <<_ACEOF
5429/* confdefs.h. */
5430_ACEOF
5431cat confdefs.h >>conftest.$ac_ext
5432cat >>conftest.$ac_ext <<_ACEOF
5433/* end confdefs.h. */
5434$ac_includes_default
5435 typedef int ac__type_sizeof_;
5436int
5437main ()
5438{
5439static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5440test_array [0] = 0
5441
5442 ;
5443 return 0;
5444}
5445_ACEOF
5446rm -f conftest.$ac_objext
5447if { (ac_try="$ac_compile"
5448case "(($ac_try" in
5449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5451esac
5452eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5453 (eval "$ac_compile") 2>conftest.er1
5454 ac_status=$?
5455 grep -v '^ *+' conftest.er1 >conftest.err
5456 rm -f conftest.er1
5457 cat conftest.err >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } &&
5460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5461 { (case "(($ac_try" in
5462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5464esac
5465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_try") 2>&5
5467 ac_status=$?
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); }; } &&
5470 { ac_try='test -s conftest.$ac_objext'
5471 { (case "(($ac_try" in
5472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5474esac
5475eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_try") 2>&5
5477 ac_status=$?
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5480 ac_hi=$ac_mid; break
5481else
5482 echo "$as_me: failed program was:" >&5
5483sed 's/^/| /' conftest.$ac_ext >&5
5484
5485 ac_lo=`expr $ac_mid + 1`
5486 if test $ac_lo -le $ac_mid; then
5487 ac_lo= ac_hi=
5488 break
5489 fi
5490 ac_mid=`expr 2 '*' $ac_mid + 1`
5491fi
5492
5493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5494 done
5495else
5496 echo "$as_me: failed program was:" >&5
5497sed 's/^/| /' conftest.$ac_ext >&5
5498
5499 cat >conftest.$ac_ext <<_ACEOF
5500/* confdefs.h. */
5501_ACEOF
5502cat confdefs.h >>conftest.$ac_ext
5503cat >>conftest.$ac_ext <<_ACEOF
5504/* end confdefs.h. */
5505$ac_includes_default
5506 typedef int ac__type_sizeof_;
5507int
5508main ()
5509{
5510static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5511test_array [0] = 0
5512
5513 ;
5514 return 0;
5515}
5516_ACEOF
5517rm -f conftest.$ac_objext
5518if { (ac_try="$ac_compile"
5519case "(($ac_try" in
5520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5521 *) ac_try_echo=$ac_try;;
5522esac
5523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5524 (eval "$ac_compile") 2>conftest.er1
5525 ac_status=$?
5526 grep -v '^ *+' conftest.er1 >conftest.err
5527 rm -f conftest.er1
5528 cat conftest.err >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } &&
5531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5532 { (case "(($ac_try" in
5533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534 *) ac_try_echo=$ac_try;;
5535esac
5536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5537 (eval "$ac_try") 2>&5
5538 ac_status=$?
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; } &&
5541 { ac_try='test -s conftest.$ac_objext'
5542 { (case "(($ac_try" in
5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5544 *) ac_try_echo=$ac_try;;
5545esac
5546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5547 (eval "$ac_try") 2>&5
5548 ac_status=$?
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5551 ac_hi=-1 ac_mid=-1
5552 while :; do
5553 cat >conftest.$ac_ext <<_ACEOF
5554/* confdefs.h. */
5555_ACEOF
5556cat confdefs.h >>conftest.$ac_ext
5557cat >>conftest.$ac_ext <<_ACEOF
5558/* end confdefs.h. */
5559$ac_includes_default
5560 typedef int ac__type_sizeof_;
5561int
5562main ()
5563{
5564static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5565test_array [0] = 0
5566
5567 ;
5568 return 0;
5569}
5570_ACEOF
5571rm -f conftest.$ac_objext
5572if { (ac_try="$ac_compile"
5573case "(($ac_try" in
5574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5575 *) ac_try_echo=$ac_try;;
5576esac
5577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_compile") 2>conftest.er1
5579 ac_status=$?
5580 grep -v '^ *+' conftest.er1 >conftest.err
5581 rm -f conftest.er1
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5589esac
5590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest.$ac_objext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5599esac
5600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5602 ac_status=$?
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_lo=$ac_mid; break
5606else
5607 echo "$as_me: failed program was:" >&5
5608sed 's/^/| /' conftest.$ac_ext >&5
5609
5610 ac_hi=`expr '(' $ac_mid ')' - 1`
5611 if test $ac_mid -le $ac_hi; then
5612 ac_lo= ac_hi=
5613 break
5614 fi
5615 ac_mid=`expr 2 '*' $ac_mid`
5616fi
5617
5618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5619 done
5620else
5621 echo "$as_me: failed program was:" >&5
5622sed 's/^/| /' conftest.$ac_ext >&5
5623
5624 ac_lo= ac_hi=
5625fi
5626
5627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5628fi
5629
5630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5631# Binary search between lo and hi bounds.
5632while test "x$ac_lo" != "x$ac_hi"; do
5633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5634 cat >conftest.$ac_ext <<_ACEOF
5635/* confdefs.h. */
5636_ACEOF
5637cat confdefs.h >>conftest.$ac_ext
5638cat >>conftest.$ac_ext <<_ACEOF
5639/* end confdefs.h. */
5640$ac_includes_default
5641 typedef int ac__type_sizeof_;
5642int
5643main ()
5644{
5645static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5646test_array [0] = 0
5647
5648 ;
5649 return 0;
5650}
5651_ACEOF
5652rm -f conftest.$ac_objext
5653if { (ac_try="$ac_compile"
5654case "(($ac_try" in
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5657esac
5658eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_compile") 2>conftest.er1
5660 ac_status=$?
5661 grep -v '^ *+' conftest.er1 >conftest.err
5662 rm -f conftest.er1
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } &&
5666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5667 { (case "(($ac_try" in
5668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5670esac
5671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5672 (eval "$ac_try") 2>&5
5673 ac_status=$?
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; } &&
5676 { ac_try='test -s conftest.$ac_objext'
5677 { (case "(($ac_try" in
5678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5680esac
5681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_try") 2>&5
5683 ac_status=$?
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; }; then
5686 ac_hi=$ac_mid
5687else
5688 echo "$as_me: failed program was:" >&5
5689sed 's/^/| /' conftest.$ac_ext >&5
5690
5691 ac_lo=`expr '(' $ac_mid ')' + 1`
5692fi
5693
5694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5695done
5696case $ac_lo in
5697?*) ac_cv_sizeof_int=$ac_lo;;
5698'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5699See \`config.log' for more details." >&5
5700echo "$as_me: error: cannot compute sizeof (int)
5701See \`config.log' for more details." >&2;}
5702 { (exit 77); exit 77; }; } ;;
5703esac
5704else
5705 cat >conftest.$ac_ext <<_ACEOF
5706/* confdefs.h. */
5707_ACEOF
5708cat confdefs.h >>conftest.$ac_ext
5709cat >>conftest.$ac_ext <<_ACEOF
5710/* end confdefs.h. */
5711$ac_includes_default
5712 typedef int ac__type_sizeof_;
5713static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5714static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5715#include <stdio.h>
5716#include <stdlib.h>
5717int
5718main ()
5719{
5720
5721 FILE *f = fopen ("conftest.val", "w");
5722 if (! f)
5723 return 1;
5724 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5725 {
5726 long int i = longval ();
5727 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5728 return 1;
5729 fprintf (f, "%ld\n", i);
5730 }
5731 else
5732 {
5733 unsigned long int i = ulongval ();
5734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5735 return 1;
5736 fprintf (f, "%lu\n", i);
5737 }
5738 return ferror (f) || fclose (f) != 0;
5739
5740 ;
5741 return 0;
5742}
5743_ACEOF
5744rm -f conftest$ac_exeext
5745if { (ac_try="$ac_link"
5746case "(($ac_try" in
5747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5748 *) ac_try_echo=$ac_try;;
5749esac
5750eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5751 (eval "$ac_link") 2>&5
5752 ac_status=$?
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5755 { (case "(($ac_try" in
5756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757 *) ac_try_echo=$ac_try;;
5758esac
5759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5760 (eval "$ac_try") 2>&5
5761 ac_status=$?
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); }; }; then
5764 ac_cv_sizeof_int=`cat conftest.val`
5765else
5766 echo "$as_me: program exited with status $ac_status" >&5
5767echo "$as_me: failed program was:" >&5
5768sed 's/^/| /' conftest.$ac_ext >&5
5769
5770( exit $ac_status )
5771{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5772See \`config.log' for more details." >&5
5773echo "$as_me: error: cannot compute sizeof (int)
5774See \`config.log' for more details." >&2;}
5775 { (exit 77); exit 77; }; }
5776fi
5777rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5778fi
5779rm -f conftest.val
5780else
5781 ac_cv_sizeof_int=0
5782fi
5783fi
5784{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5785echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
5786cat >>confdefs.h <<_ACEOF
5787#define SIZEOF_INT $ac_cv_sizeof_int
5788_ACEOF
5789
5790
5791{ echo "$as_me:$LINENO: checking for long" >&5
5792echo $ECHO_N "checking for long... $ECHO_C" >&6; }
5793if test "${ac_cv_type_long+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5795else
5796 cat >conftest.$ac_ext <<_ACEOF
5797/* confdefs.h. */
5798_ACEOF
5799cat confdefs.h >>conftest.$ac_ext
5800cat >>conftest.$ac_ext <<_ACEOF
5801/* end confdefs.h. */
5802$ac_includes_default
5803typedef long ac__type_new_;
5804int
5805main ()
5806{
5807if ((ac__type_new_ *) 0)
5808 return 0;
5809if (sizeof (ac__type_new_))
5810 return 0;
5811 ;
5812 return 0;
5813}
5814_ACEOF
5815rm -f conftest.$ac_objext
5816if { (ac_try="$ac_compile"
5817case "(($ac_try" in
5818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819 *) ac_try_echo=$ac_try;;
5820esac
5821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5823 ac_status=$?
5824 grep -v '^ *+' conftest.er1 >conftest.err
5825 rm -f conftest.er1
5826 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5830 { (case "(($ac_try" in
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5833esac
5834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5835 (eval "$ac_try") 2>&5
5836 ac_status=$?
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; } &&
5839 { ac_try='test -s conftest.$ac_objext'
5840 { (case "(($ac_try" in
5841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5842 *) ac_try_echo=$ac_try;;
5843esac
5844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5845 (eval "$ac_try") 2>&5
5846 ac_status=$?
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; }; then
5849 ac_cv_type_long=yes
5850else
5851 echo "$as_me: failed program was:" >&5
5852sed 's/^/| /' conftest.$ac_ext >&5
5853
5854 ac_cv_type_long=no
5855fi
5856
5857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5858fi
5859{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5860echo "${ECHO_T}$ac_cv_type_long" >&6; }
5861
5862{ echo "$as_me:$LINENO: checking size of long" >&5
5863echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5864if test "${ac_cv_sizeof_long+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5866else
5867 if test "$ac_cv_type_long" = yes; then
5868 # The cast to long int works around a bug in the HP C Compiler
5869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5871 # This bug is HP SR number 8606223364.
5872 if test "$cross_compiling" = yes; then
5873 # Depending upon the size, compute the lo and hi bounds.
5874cat >conftest.$ac_ext <<_ACEOF
5875/* confdefs.h. */
5876_ACEOF
5877cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */
5880$ac_includes_default
5881 typedef long ac__type_sizeof_;
5882int
5883main ()
5884{
5885static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5886test_array [0] = 0
5887
5888 ;
5889 return 0;
5890}
5891_ACEOF
5892rm -f conftest.$ac_objext
5893if { (ac_try="$ac_compile"
5894case "(($ac_try" in
5895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896 *) ac_try_echo=$ac_try;;
5897esac
5898eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5899 (eval "$ac_compile") 2>conftest.er1
5900 ac_status=$?
5901 grep -v '^ *+' conftest.er1 >conftest.err
5902 rm -f conftest.er1
5903 cat conftest.err >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } &&
5906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5907 { (case "(($ac_try" in
5908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5909 *) ac_try_echo=$ac_try;;
5910esac
5911eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5912 (eval "$ac_try") 2>&5
5913 ac_status=$?
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; } &&
5916 { ac_try='test -s conftest.$ac_objext'
5917 { (case "(($ac_try" in
5918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5919 *) ac_try_echo=$ac_try;;
5920esac
5921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5922 (eval "$ac_try") 2>&5
5923 ac_status=$?
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_lo=0 ac_mid=0
5927 while :; do
5928 cat >conftest.$ac_ext <<_ACEOF
5929/* confdefs.h. */
5930_ACEOF
5931cat confdefs.h >>conftest.$ac_ext
5932cat >>conftest.$ac_ext <<_ACEOF
5933/* end confdefs.h. */
5934$ac_includes_default
5935 typedef long ac__type_sizeof_;
5936int
5937main ()
5938{
5939static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5940test_array [0] = 0
5941
5942 ;
5943 return 0;
5944}
5945_ACEOF
5946rm -f conftest.$ac_objext
5947if { (ac_try="$ac_compile"
5948case "(($ac_try" in
5949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5950 *) ac_try_echo=$ac_try;;
5951esac
5952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5953 (eval "$ac_compile") 2>conftest.er1
5954 ac_status=$?
5955 grep -v '^ *+' conftest.er1 >conftest.err
5956 rm -f conftest.er1
5957 cat conftest.err >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } &&
5960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5961 { (case "(($ac_try" in
5962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5963 *) ac_try_echo=$ac_try;;
5964esac
5965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5966 (eval "$ac_try") 2>&5
5967 ac_status=$?
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; } &&
5970 { ac_try='test -s conftest.$ac_objext'
5971 { (case "(($ac_try" in
5972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973 *) ac_try_echo=$ac_try;;
5974esac
5975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976 (eval "$ac_try") 2>&5
5977 ac_status=$?
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; }; then
5980 ac_hi=$ac_mid; break
5981else
5982 echo "$as_me: failed program was:" >&5
5983sed 's/^/| /' conftest.$ac_ext >&5
5984
5985 ac_lo=`expr $ac_mid + 1`
5986 if test $ac_lo -le $ac_mid; then
5987 ac_lo= ac_hi=
5988 break
5989 fi
5990 ac_mid=`expr 2 '*' $ac_mid + 1`
5991fi
5992
5993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5994 done
5995else
5996 echo "$as_me: failed program was:" >&5
5997sed 's/^/| /' conftest.$ac_ext >&5
5998
5999 cat >conftest.$ac_ext <<_ACEOF
6000/* confdefs.h. */
6001_ACEOF
6002cat confdefs.h >>conftest.$ac_ext
6003cat >>conftest.$ac_ext <<_ACEOF
6004/* end confdefs.h. */
6005$ac_includes_default
6006 typedef long ac__type_sizeof_;
6007int
6008main ()
6009{
6010static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6011test_array [0] = 0
6012
6013 ;
6014 return 0;
6015}
6016_ACEOF
6017rm -f conftest.$ac_objext
6018if { (ac_try="$ac_compile"
6019case "(($ac_try" in
6020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6021 *) ac_try_echo=$ac_try;;
6022esac
6023eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6024 (eval "$ac_compile") 2>conftest.er1
6025 ac_status=$?
6026 grep -v '^ *+' conftest.er1 >conftest.err
6027 rm -f conftest.er1
6028 cat conftest.err >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); } &&
6031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6032 { (case "(($ac_try" in
6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6034 *) ac_try_echo=$ac_try;;
6035esac
6036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6037 (eval "$ac_try") 2>&5
6038 ac_status=$?
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try='test -s conftest.$ac_objext'
6042 { (case "(($ac_try" in
6043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6044 *) ac_try_echo=$ac_try;;
6045esac
6046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6047 (eval "$ac_try") 2>&5
6048 ac_status=$?
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; }; then
6051 ac_hi=-1 ac_mid=-1
6052 while :; do
6053 cat >conftest.$ac_ext <<_ACEOF
6054/* confdefs.h. */
6055_ACEOF
6056cat confdefs.h >>conftest.$ac_ext
6057cat >>conftest.$ac_ext <<_ACEOF
6058/* end confdefs.h. */
6059$ac_includes_default
6060 typedef long ac__type_sizeof_;
6061int
6062main ()
6063{
6064static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6065test_array [0] = 0
6066
6067 ;
6068 return 0;
6069}
6070_ACEOF
6071rm -f conftest.$ac_objext
6072if { (ac_try="$ac_compile"
6073case "(($ac_try" in
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6076esac
6077eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_compile") 2>conftest.er1
6079 ac_status=$?
6080 grep -v '^ *+' conftest.er1 >conftest.err
6081 rm -f conftest.er1
6082 cat conftest.err >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } &&
6085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6086 { (case "(($ac_try" in
6087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088 *) ac_try_echo=$ac_try;;
6089esac
6090eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6091 (eval "$ac_try") 2>&5
6092 ac_status=$?
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try='test -s conftest.$ac_objext'
6096 { (case "(($ac_try" in
6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6098 *) ac_try_echo=$ac_try;;
6099esac
6100eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6101 (eval "$ac_try") 2>&5
6102 ac_status=$?
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; }; then
6105 ac_lo=$ac_mid; break
6106else
6107 echo "$as_me: failed program was:" >&5
6108sed 's/^/| /' conftest.$ac_ext >&5
6109
6110 ac_hi=`expr '(' $ac_mid ')' - 1`
6111 if test $ac_mid -le $ac_hi; then
6112 ac_lo= ac_hi=
6113 break
6114 fi
6115 ac_mid=`expr 2 '*' $ac_mid`
6116fi
6117
6118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6119 done
6120else
6121 echo "$as_me: failed program was:" >&5
6122sed 's/^/| /' conftest.$ac_ext >&5
6123
6124 ac_lo= ac_hi=
6125fi
6126
6127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6128fi
6129
6130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6131# Binary search between lo and hi bounds.
6132while test "x$ac_lo" != "x$ac_hi"; do
6133 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6134 cat >conftest.$ac_ext <<_ACEOF
6135/* confdefs.h. */
6136_ACEOF
6137cat confdefs.h >>conftest.$ac_ext
6138cat >>conftest.$ac_ext <<_ACEOF
6139/* end confdefs.h. */
6140$ac_includes_default
6141 typedef long ac__type_sizeof_;
6142int
6143main ()
6144{
6145static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6146test_array [0] = 0
6147
6148 ;
6149 return 0;
6150}
6151_ACEOF
6152rm -f conftest.$ac_objext
6153if { (ac_try="$ac_compile"
6154case "(($ac_try" in
6155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156 *) ac_try_echo=$ac_try;;
6157esac
6158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6160 ac_status=$?
6161 grep -v '^ *+' conftest.er1 >conftest.err
6162 rm -f conftest.er1
6163 cat conftest.err >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6167 { (case "(($ac_try" in
6168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6170esac
6171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6172 (eval "$ac_try") 2>&5
6173 ac_status=$?
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); }; } &&
6176 { ac_try='test -s conftest.$ac_objext'
6177 { (case "(($ac_try" in
6178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6179 *) ac_try_echo=$ac_try;;
6180esac
6181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182 (eval "$ac_try") 2>&5
6183 ac_status=$?
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 ac_hi=$ac_mid
6187else
6188 echo "$as_me: failed program was:" >&5
6189sed 's/^/| /' conftest.$ac_ext >&5
6190
6191 ac_lo=`expr '(' $ac_mid ')' + 1`
6192fi
6193
6194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6195done
6196case $ac_lo in
6197?*) ac_cv_sizeof_long=$ac_lo;;
6198'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6199See \`config.log' for more details." >&5
6200echo "$as_me: error: cannot compute sizeof (long)
6201See \`config.log' for more details." >&2;}
6202 { (exit 77); exit 77; }; } ;;
6203esac
6204else
6205 cat >conftest.$ac_ext <<_ACEOF
6206/* confdefs.h. */
6207_ACEOF
6208cat confdefs.h >>conftest.$ac_ext
6209cat >>conftest.$ac_ext <<_ACEOF
6210/* end confdefs.h. */
6211$ac_includes_default
6212 typedef long ac__type_sizeof_;
6213static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6214static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6215#include <stdio.h>
6216#include <stdlib.h>
6217int
6218main ()
6219{
6220
6221 FILE *f = fopen ("conftest.val", "w");
6222 if (! f)
6223 return 1;
6224 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6225 {
6226 long int i = longval ();
6227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6228 return 1;
6229 fprintf (f, "%ld\n", i);
6230 }
6231 else
6232 {
6233 unsigned long int i = ulongval ();
6234 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6235 return 1;
6236 fprintf (f, "%lu\n", i);
6237 }
6238 return ferror (f) || fclose (f) != 0;
6239
6240 ;
6241 return 0;
6242}
6243_ACEOF
6244rm -f conftest$ac_exeext
6245if { (ac_try="$ac_link"
6246case "(($ac_try" in
6247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6248 *) ac_try_echo=$ac_try;;
6249esac
6250eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6251 (eval "$ac_link") 2>&5
6252 ac_status=$?
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6255 { (case "(($ac_try" in
6256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6257 *) ac_try_echo=$ac_try;;
6258esac
6259eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6260 (eval "$ac_try") 2>&5
6261 ac_status=$?
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }; then
6264 ac_cv_sizeof_long=`cat conftest.val`
6265else
6266 echo "$as_me: program exited with status $ac_status" >&5
6267echo "$as_me: failed program was:" >&5
6268sed 's/^/| /' conftest.$ac_ext >&5
6269
6270( exit $ac_status )
6271{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6272See \`config.log' for more details." >&5
6273echo "$as_me: error: cannot compute sizeof (long)
6274See \`config.log' for more details." >&2;}
6275 { (exit 77); exit 77; }; }
6276fi
6277rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6278fi
6279rm -f conftest.val
6280else
6281 ac_cv_sizeof_long=0
6282fi
6283fi
6284{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6285echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6286cat >>confdefs.h <<_ACEOF
6287#define SIZEOF_LONG $ac_cv_sizeof_long
6288_ACEOF
6289
6290
6291
6292{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6293echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6294if test "${ac_cv_c_const+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296else
6297 cat >conftest.$ac_ext <<_ACEOF
6298/* confdefs.h. */
6299_ACEOF
6300cat confdefs.h >>conftest.$ac_ext
6301cat >>conftest.$ac_ext <<_ACEOF
6302/* end confdefs.h. */
6303
6304int
6305main ()
6306{
6307/* FIXME: Include the comments suggested by Paul. */
6308#ifndef __cplusplus
6309 /* Ultrix mips cc rejects this. */
6310 typedef int charset[2];
6311 const charset x;
6312 /* SunOS 4.1.1 cc rejects this. */
6313 char const *const *ccp;
6314 char **p;
6315 /* NEC SVR4.0.2 mips cc rejects this. */
6316 struct point {int x, y;};
6317 static struct point const zero = {0,0};
6318 /* AIX XL C 1.02.0.0 rejects this.
6319 It does not let you subtract one const X* pointer from another in
6320 an arm of an if-expression whose if-part is not a constant
6321 expression */
6322 const char *g = "string";
6323 ccp = &g + (g ? g-g : 0);
6324 /* HPUX 7.0 cc rejects these. */
6325 ++ccp;
6326 p = (char**) ccp;
6327 ccp = (char const *const *) p;
6328 { /* SCO 3.2v4 cc rejects this. */
6329 char *t;
6330 char const *s = 0 ? (char *) 0 : (char const *) 0;
6331
6332 *t++ = 0;
6333 if (s) return 0;
6334 }
6335 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6336 int x[] = {25, 17};
6337 const int *foo = &x[0];
6338 ++foo;
6339 }
6340 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6341 typedef const int *iptr;
6342 iptr p = 0;
6343 ++p;
6344 }
6345 { /* AIX XL C 1.02.0.0 rejects this saying
6346 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6347 struct s { int j; const int *ap[3]; };
6348 struct s *b; b->j = 5;
6349 }
6350 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6351 const int foo = 10;
6352 if (!foo) return 0;
6353 }
6354 return !x[0] && !zero.x;
6355#endif
6356
6357 ;
6358 return 0;
6359}
6360_ACEOF
6361rm -f conftest.$ac_objext
6362if { (ac_try="$ac_compile"
6363case "(($ac_try" in
6364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6365 *) ac_try_echo=$ac_try;;
6366esac
6367eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6368 (eval "$ac_compile") 2>conftest.er1
6369 ac_status=$?
6370 grep -v '^ *+' conftest.er1 >conftest.err
6371 rm -f conftest.er1
6372 cat conftest.err >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); } &&
6375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6376 { (case "(($ac_try" in
6377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6378 *) ac_try_echo=$ac_try;;
6379esac
6380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6381 (eval "$ac_try") 2>&5
6382 ac_status=$?
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); }; } &&
6385 { ac_try='test -s conftest.$ac_objext'
6386 { (case "(($ac_try" in
6387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6388 *) ac_try_echo=$ac_try;;
6389esac
6390eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6391 (eval "$ac_try") 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; }; then
6395 ac_cv_c_const=yes
6396else
6397 echo "$as_me: failed program was:" >&5
6398sed 's/^/| /' conftest.$ac_ext >&5
6399
6400 ac_cv_c_const=no
6401fi
6402
6403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404fi
6405{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6406echo "${ECHO_T}$ac_cv_c_const" >&6; }
6407if test $ac_cv_c_const = no; then
6408
6409cat >>confdefs.h <<\_ACEOF
6410#define const
6411_ACEOF
6412
6413fi
6414
6415{ echo "$as_me:$LINENO: checking for inline" >&5
6416echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6417if test "${ac_cv_c_inline+set}" = set; then
6418 echo $ECHO_N "(cached) $ECHO_C" >&6
6419else
6420 ac_cv_c_inline=no
6421for ac_kw in inline __inline__ __inline; do
6422 cat >conftest.$ac_ext <<_ACEOF
6423/* confdefs.h. */
6424_ACEOF
6425cat confdefs.h >>conftest.$ac_ext
6426cat >>conftest.$ac_ext <<_ACEOF
6427/* end confdefs.h. */
6428#ifndef __cplusplus
6429typedef int foo_t;
6430static $ac_kw foo_t static_foo () {return 0; }
6431$ac_kw foo_t foo () {return 0; }
6432#endif
6433
6434_ACEOF
6435rm -f conftest.$ac_objext
6436if { (ac_try="$ac_compile"
6437case "(($ac_try" in
6438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6439 *) ac_try_echo=$ac_try;;
6440esac
6441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6442 (eval "$ac_compile") 2>conftest.er1
6443 ac_status=$?
6444 grep -v '^ *+' conftest.er1 >conftest.err
6445 rm -f conftest.er1
6446 cat conftest.err >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); } &&
6449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6450 { (case "(($ac_try" in
6451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452 *) ac_try_echo=$ac_try;;
6453esac
6454eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6455 (eval "$ac_try") 2>&5
6456 ac_status=$?
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); }; } &&
6459 { ac_try='test -s conftest.$ac_objext'
6460 { (case "(($ac_try" in
6461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6462 *) ac_try_echo=$ac_try;;
6463esac
6464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6465 (eval "$ac_try") 2>&5
6466 ac_status=$?
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; }; then
6469 ac_cv_c_inline=$ac_kw
6470else
6471 echo "$as_me: failed program was:" >&5
6472sed 's/^/| /' conftest.$ac_ext >&5
6473
6474
6475fi
6476
6477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6478 test "$ac_cv_c_inline" != no && break
6479done
6480
6481fi
6482{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6483echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6484
6485
6486case $ac_cv_c_inline in
6487 inline | yes) ;;
6488 *)
6489 case $ac_cv_c_inline in
6490 no) ac_val=;;
6491 *) ac_val=$ac_cv_c_inline;;
6492 esac
6493 cat >>confdefs.h <<_ACEOF
6494#ifndef __cplusplus
6495#define inline $ac_val
6496#endif
6497_ACEOF
6498 ;;
6499esac
6500
6501
6502for ac_header in getopt.h
6503do
6504as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6505if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6507echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6508if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6510fi
6511ac_res=`eval echo '${'$as_ac_Header'}'`
6512 { echo "$as_me:$LINENO: result: $ac_res" >&5
6513echo "${ECHO_T}$ac_res" >&6; }
6514else
6515 # Is the header compilable?
6516{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6517echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6518cat >conftest.$ac_ext <<_ACEOF
6519/* confdefs.h. */
6520_ACEOF
6521cat confdefs.h >>conftest.$ac_ext
6522cat >>conftest.$ac_ext <<_ACEOF
6523/* end confdefs.h. */
6524$ac_includes_default
6525#include <$ac_header>
6526_ACEOF
6527rm -f conftest.$ac_objext
6528if { (ac_try="$ac_compile"
6529case "(($ac_try" in
6530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531 *) ac_try_echo=$ac_try;;
6532esac
6533eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534 (eval "$ac_compile") 2>conftest.er1
6535 ac_status=$?
6536 grep -v '^ *+' conftest.er1 >conftest.err
6537 rm -f conftest.er1
6538 cat conftest.err >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } &&
6541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6542 { (case "(($ac_try" in
6543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544 *) ac_try_echo=$ac_try;;
6545esac
6546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547 (eval "$ac_try") 2>&5
6548 ac_status=$?
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; } &&
6551 { ac_try='test -s conftest.$ac_objext'
6552 { (case "(($ac_try" in
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6555esac
6556eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_try") 2>&5
6558 ac_status=$?
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); }; }; then
6561 ac_header_compiler=yes
6562else
6563 echo "$as_me: failed program was:" >&5
6564sed 's/^/| /' conftest.$ac_ext >&5
6565
6566 ac_header_compiler=no
6567fi
6568
6569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6570{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6571echo "${ECHO_T}$ac_header_compiler" >&6; }
6572
6573# Is the header present?
6574{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6575echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6576cat >conftest.$ac_ext <<_ACEOF
6577/* confdefs.h. */
6578_ACEOF
6579cat confdefs.h >>conftest.$ac_ext
6580cat >>conftest.$ac_ext <<_ACEOF
6581/* end confdefs.h. */
6582#include <$ac_header>
6583_ACEOF
6584if { (ac_try="$ac_cpp conftest.$ac_ext"
6585case "(($ac_try" in
6586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6587 *) ac_try_echo=$ac_try;;
6588esac
6589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6591 ac_status=$?
6592 grep -v '^ *+' conftest.er1 >conftest.err
6593 rm -f conftest.er1
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } >/dev/null; then
6597 if test -s conftest.err; then
6598 ac_cpp_err=$ac_c_preproc_warn_flag
6599 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6600 else
6601 ac_cpp_err=
6602 fi
6603else
6604 ac_cpp_err=yes
6605fi
6606if test -z "$ac_cpp_err"; then
6607 ac_header_preproc=yes
6608else
6609 echo "$as_me: failed program was:" >&5
6610sed 's/^/| /' conftest.$ac_ext >&5
6611
6612 ac_header_preproc=no
6613fi
6614
6615rm -f conftest.err conftest.$ac_ext
6616{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6617echo "${ECHO_T}$ac_header_preproc" >&6; }
6618
6619# So? What about this header?
6620case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6621 yes:no: )
6622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6623echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6625echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6626 ac_header_preproc=yes
6627 ;;
6628 no:yes:* )
6629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6630echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6632echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6634echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6636echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6638echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6640echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6641
6642 ;;
6643esac
6644{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6645echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6646if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6648else
6649 eval "$as_ac_Header=\$ac_header_preproc"
6650fi
6651ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653echo "${ECHO_T}$ac_res" >&6; }
6654
6655fi
6656if test `eval echo '${'$as_ac_Header'}'` = yes; then
6657 cat >>confdefs.h <<_ACEOF
6658#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6659_ACEOF
6660
6661fi
6662
6663done
6664
6665
6666for ac_func in getopt_long
6667do
6668as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6669{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6670echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6671if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6673else
6674 cat >conftest.$ac_ext <<_ACEOF
6675/* confdefs.h. */
6676_ACEOF
6677cat confdefs.h >>conftest.$ac_ext
6678cat >>conftest.$ac_ext <<_ACEOF
6679/* end confdefs.h. */
6680/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6682#define $ac_func innocuous_$ac_func
6683
6684/* System header to define __stub macros and hopefully few prototypes,
6685 which can conflict with char $ac_func (); below.
6686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687 <limits.h> exists even on freestanding compilers. */
6688
6689#ifdef __STDC__
6690# include <limits.h>
6691#else
6692# include <assert.h>
6693#endif
6694
6695#undef $ac_func
6696
6697/* Override any GCC internal prototype to avoid an error.
6698 Use char because int might match the return type of a GCC
6699 builtin and then its argument prototype would still apply. */
6700#ifdef __cplusplus
6701extern "C"
6702#endif
6703char $ac_func ();
6704/* The GNU C library defines this for functions which it implements
6705 to always fail with ENOSYS. Some functions are actually named
6706 something starting with __ and the normal name is an alias. */
6707#if defined __stub_$ac_func || defined __stub___$ac_func
6708choke me
6709#endif
6710
6711int
6712main ()
6713{
6714return $ac_func ();
6715 ;
6716 return 0;
6717}
6718_ACEOF
6719rm -f conftest.$ac_objext conftest$ac_exeext
6720if { (ac_try="$ac_link"
6721case "(($ac_try" in
6722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;;
6724esac
6725eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6726 (eval "$ac_link") 2>conftest.er1
6727 ac_status=$?
6728 grep -v '^ *+' conftest.er1 >conftest.err
6729 rm -f conftest.er1
6730 cat conftest.err >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); } &&
6733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6734 { (case "(($ac_try" in
6735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6736 *) ac_try_echo=$ac_try;;
6737esac
6738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6739 (eval "$ac_try") 2>&5
6740 ac_status=$?
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; } &&
6743 { ac_try='test -s conftest$ac_exeext'
6744 { (case "(($ac_try" in
6745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6746 *) ac_try_echo=$ac_try;;
6747esac
6748eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6749 (eval "$ac_try") 2>&5
6750 ac_status=$?
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6753 eval "$as_ac_var=yes"
6754else
6755 echo "$as_me: failed program was:" >&5
6756sed 's/^/| /' conftest.$ac_ext >&5
6757
6758 eval "$as_ac_var=no"
6759fi
6760
6761rm -f core conftest.err conftest.$ac_objext \
6762 conftest$ac_exeext conftest.$ac_ext
6763fi
6764ac_res=`eval echo '${'$as_ac_var'}'`
6765 { echo "$as_me:$LINENO: result: $ac_res" >&5
6766echo "${ECHO_T}$ac_res" >&6; }
6767if test `eval echo '${'$as_ac_var'}'` = yes; then
6768 cat >>confdefs.h <<_ACEOF
6769#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6770_ACEOF
6771
6772fi
6773done
6774
6775
6776if test "$GCC" = yes; then
6777 CFLAGS="$CFLAGS -O3 -funroll-all-loops"
6778else
6779 { echo "$as_me:$LINENO: result: no gcc" >&5
6780echo "${ECHO_T}no gcc" >&6; }
6781fi
6782
6783ac_config_files="$ac_config_files Makefile"
6784
6785cat >confcache <<\_ACEOF
6786# This file is a shell script that caches the results of configure
6787# tests run on this system so they can be shared between configure
6788# scripts and configure runs, see configure's option --config-cache.
6789# It is not useful on other systems. If it contains results you don't
6790# want to keep, you may remove or edit it.
6791#
6792# config.status only pays attention to the cache file if you give it
6793# the --recheck option to rerun configure.
6794#
6795# `ac_cv_env_foo' variables (set or unset) will be overridden when
6796# loading this file, other *unset* `ac_cv_foo' will be assigned the
6797# following values.
6798
6799_ACEOF
6800
6801# The following way of writing the cache mishandles newlines in values,
6802# but we know of no workaround that is simple, portable, and efficient.
6803# So, we kill variables containing newlines.
6804# Ultrix sh set writes to stderr and can't be redirected directly,
6805# and sets the high bit in the cache file unless we assign to the vars.
6806(
6807 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6808 eval ac_val=\$$ac_var
6809 case $ac_val in #(
6810 *${as_nl}*)
6811 case $ac_var in #(
6812 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6813echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6814 esac
6815 case $ac_var in #(
6816 _ | IFS | as_nl) ;; #(
6817 *) $as_unset $ac_var ;;
6818 esac ;;
6819 esac
6820 done
6821
6822 (set) 2>&1 |
6823 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6824 *${as_nl}ac_space=\ *)
6825 # `set' does not quote correctly, so add quotes (double-quote
6826 # substitution turns \\\\ into \\, and sed turns \\ into \).
6827 sed -n \
6828 "s/'/'\\\\''/g;
6829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6830 ;; #(
6831 *)
6832 # `set' quotes correctly as required by POSIX, so do not add quotes.
6833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6834 ;;
6835 esac |
6836 sort
6837) |
6838 sed '
6839 /^ac_cv_env_/b end
6840 t clear
6841 :clear
6842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6843 t end
6844 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6845 :end' >>confcache
6846if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6847 if test -w "$cache_file"; then
6848 test "x$cache_file" != "x/dev/null" &&
6849 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6850echo "$as_me: updating cache $cache_file" >&6;}
6851 cat confcache >$cache_file
6852 else
6853 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6854echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6855 fi
6856fi
6857rm -f confcache
6858
6859test "x$prefix" = xNONE && prefix=$ac_default_prefix
6860# Let make expand exec_prefix.
6861test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6862
6863DEFS=-DHAVE_CONFIG_H
6864
6865ac_libobjs=
6866ac_ltlibobjs=
6867for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6868 # 1. Remove the extension, and $U if already installed.
6869 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6870 ac_i=`echo "$ac_i" | sed "$ac_script"`
6871 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6872 # will be set to the directory where LIBOBJS objects are built.
6873 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6874 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6875done
6876LIBOBJS=$ac_libobjs
6877
6878LTLIBOBJS=$ac_ltlibobjs
6879
6880
6881
6882: ${CONFIG_STATUS=./config.status}
6883ac_clean_files_save=$ac_clean_files
6884ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6885{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6886echo "$as_me: creating $CONFIG_STATUS" >&6;}
6887cat >$CONFIG_STATUS <<_ACEOF
6888#! $SHELL
6889# Generated by $as_me.
6890# Run this file to recreate the current configuration.
6891# Compiler output produced by configure, useful for debugging
6892# configure, is in config.log if it exists.
6893
6894debug=false
6895ac_cs_recheck=false
6896ac_cs_silent=false
6897SHELL=\${CONFIG_SHELL-$SHELL}
6898_ACEOF
6899
6900cat >>$CONFIG_STATUS <<\_ACEOF
6901## --------------------- ##
6902## M4sh Initialization. ##
6903## --------------------- ##
6904
6905# Be Bourne compatible
6906if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6907 emulate sh
6908 NULLCMD=:
6909 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6910 # is contrary to our usage. Disable this feature.
6911 alias -g '${1+"$@"}'='"$@"'
6912 setopt NO_GLOB_SUBST
6913else
6914 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6915fi
6916BIN_SH=xpg4; export BIN_SH # for Tru64
6917DUALCASE=1; export DUALCASE # for MKS sh
6918
6919
6920# PATH needs CR
6921# Avoid depending upon Character Ranges.
6922as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6923as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6924as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6925as_cr_digits='0123456789'
6926as_cr_alnum=$as_cr_Letters$as_cr_digits
6927
6928# The user is always right.
6929if test "${PATH_SEPARATOR+set}" != set; then
6930 echo "#! /bin/sh" >conf$$.sh
6931 echo "exit 0" >>conf$$.sh
6932 chmod +x conf$$.sh
6933 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6934 PATH_SEPARATOR=';'
6935 else
6936 PATH_SEPARATOR=:
6937 fi
6938 rm -f conf$$.sh
6939fi
6940
6941# Support unset when possible.
6942if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6943 as_unset=unset
6944else
6945 as_unset=false
6946fi
6947
6948
6949# IFS
6950# We need space, tab and new line, in precisely that order. Quoting is
6951# there to prevent editors from complaining about space-tab.
6952# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6953# splitting by setting IFS to empty value.)
6954as_nl='
6955'
6956IFS=" "" $as_nl"
6957
6958# Find who we are. Look in the path if we contain no directory separator.
6959case $0 in
6960 *[\\/]* ) as_myself=$0 ;;
6961 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962for as_dir in $PATH
6963do
6964 IFS=$as_save_IFS
6965 test -z "$as_dir" && as_dir=.
6966 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6967done
6968IFS=$as_save_IFS
6969
6970 ;;
6971esac
6972# We did not find ourselves, most probably we were run as `sh COMMAND'
6973# in which case we are not to be found in the path.
6974if test "x$as_myself" = x; then
6975 as_myself=$0
6976fi
6977if test ! -f "$as_myself"; then
6978 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6979 { (exit 1); exit 1; }
6980fi
6981
6982# Work around bugs in pre-3.0 UWIN ksh.
6983for as_var in ENV MAIL MAILPATH
6984do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6985done
6986PS1='$ '
6987PS2='> '
6988PS4='+ '
6989
6990# NLS nuisances.
6991for as_var in \
6992 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6993 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6994 LC_TELEPHONE LC_TIME
6995do
6996 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6997 eval $as_var=C; export $as_var
6998 else
6999 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7000 fi
7001done
7002
7003# Required to use basename.
7004if expr a : '\(a\)' >/dev/null 2>&1 &&
7005 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7006 as_expr=expr
7007else
7008 as_expr=false
7009fi
7010
7011if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7012 as_basename=basename
7013else
7014 as_basename=false
7015fi
7016
7017
7018# Name of the executable.
7019as_me=`$as_basename -- "$0" ||
7020$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7021 X"$0" : 'X\(//\)$' \| \
7022 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7023echo X/"$0" |
7024 sed '/^.*\/\([^/][^/]*\)\/*$/{
7025 s//\1/
7026 q
7027 }
7028 /^X\/\(\/\/\)$/{
7029 s//\1/
7030 q
7031 }
7032 /^X\/\(\/\).*/{
7033 s//\1/
7034 q
7035 }
7036 s/.*/./; q'`
7037
7038# CDPATH.
7039$as_unset CDPATH
7040
7041
7042
7043 as_lineno_1=$LINENO
7044 as_lineno_2=$LINENO
7045 test "x$as_lineno_1" != "x$as_lineno_2" &&
7046 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7047
7048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7049 # uniformly replaced by the line number. The first 'sed' inserts a
7050 # line-number line after each line using $LINENO; the second 'sed'
7051 # does the real work. The second script uses 'N' to pair each
7052 # line-number line with the line containing $LINENO, and appends
7053 # trailing '-' during substitution so that $LINENO is not a special
7054 # case at line end.
7055 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7056 # scripts with optimization help from Paolo Bonzini. Blame Lee
7057 # E. McMahon (1931-1989) for sed's syntax. :-)
7058 sed -n '
7059 p
7060 /[$]LINENO/=
7061 ' <$as_myself |
7062 sed '
7063 s/[$]LINENO.*/&-/
7064 t lineno
7065 b
7066 :lineno
7067 N
7068 :loop
7069 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7070 t loop
7071 s/-\n.*//
7072 ' >$as_me.lineno &&
7073 chmod +x "$as_me.lineno" ||
7074 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7075 { (exit 1); exit 1; }; }
7076
7077 # Don't try to exec as it changes $[0], causing all sort of problems
7078 # (the dirname of $[0] is not the place where we might find the
7079 # original and so on. Autoconf is especially sensitive to this).
7080 . "./$as_me.lineno"
7081 # Exit status is that of the last command.
7082 exit
7083}
7084
7085
7086if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7087 as_dirname=dirname
7088else
7089 as_dirname=false
7090fi
7091
7092ECHO_C= ECHO_N= ECHO_T=
7093case `echo -n x` in
7094-n*)
7095 case `echo 'x\c'` in
7096 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7097 *) ECHO_C='\c';;
7098 esac;;
7099*)
7100 ECHO_N='-n';;
7101esac
7102
7103if expr a : '\(a\)' >/dev/null 2>&1 &&
7104 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7105 as_expr=expr
7106else
7107 as_expr=false
7108fi
7109
7110rm -f conf$$ conf$$.exe conf$$.file
7111if test -d conf$$.dir; then
7112 rm -f conf$$.dir/conf$$.file
7113else
7114 rm -f conf$$.dir
7115 mkdir conf$$.dir
7116fi
7117echo >conf$$.file
7118if ln -s conf$$.file conf$$ 2>/dev/null; then
7119 as_ln_s='ln -s'
7120 # ... but there are two gotchas:
7121 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7122 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7123 # In both cases, we have to default to `cp -p'.
7124 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7125 as_ln_s='cp -p'
7126elif ln conf$$.file conf$$ 2>/dev/null; then
7127 as_ln_s=ln
7128else
7129 as_ln_s='cp -p'
7130fi
7131rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7132rmdir conf$$.dir 2>/dev/null
7133
7134if mkdir -p . 2>/dev/null; then
7135 as_mkdir_p=:
7136else
7137 test -d ./-p && rmdir ./-p
7138 as_mkdir_p=false
7139fi
7140
7141# Find out whether ``test -x'' works. Don't use a zero-byte file, as
7142# systems may use methods other than mode bits to determine executability.
7143cat >conf$$.file <<_ASEOF
7144#! /bin/sh
7145exit 0
7146_ASEOF
7147chmod +x conf$$.file
7148if test -x conf$$.file >/dev/null 2>&1; then
7149 as_executable_p="test -x"
7150else
7151 as_executable_p=:
7152fi
7153rm -f conf$$.file
7154
7155# Sed expression to map a string onto a valid CPP name.
7156as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7157
7158# Sed expression to map a string onto a valid variable name.
7159as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7160
7161
7162exec 6>&1
7163
7164# Save the log message, to keep $[0] and so on meaningful, and to
7165# report actual input values of CONFIG_FILES etc. instead of their
7166# values after options handling.
7167ac_log="
7168This file was extended by $as_me, which was
7169generated by GNU Autoconf 2.60. Invocation command line was
7170
7171 CONFIG_FILES = $CONFIG_FILES
7172 CONFIG_HEADERS = $CONFIG_HEADERS
7173 CONFIG_LINKS = $CONFIG_LINKS
7174 CONFIG_COMMANDS = $CONFIG_COMMANDS
7175 $ $0 $@
7176
7177on `(hostname || uname -n) 2>/dev/null | sed 1q`
7178"
7179
7180_ACEOF
7181
7182cat >>$CONFIG_STATUS <<_ACEOF
7183# Files that config.status was made for.
7184config_files="$ac_config_files"
7185config_headers="$ac_config_headers"
7186
7187_ACEOF
7188
7189cat >>$CONFIG_STATUS <<\_ACEOF
7190ac_cs_usage="\
7191\`$as_me' instantiates files from templates according to the
7192current configuration.
7193
7194Usage: $0 [OPTIONS] [FILE]...
7195
7196 -h, --help print this help, then exit
7197 -V, --version print version number, then exit
7198 -q, --quiet do not print progress messages
7199 -d, --debug don't remove temporary files
7200 --recheck update $as_me by reconfiguring in the same conditions
7201 --file=FILE[:TEMPLATE]
7202 instantiate the configuration file FILE
7203 --header=FILE[:TEMPLATE]
7204 instantiate the configuration header FILE
7205
7206Configuration files:
7207$config_files
7208
7209Configuration headers:
7210$config_headers
7211
7212Report bugs to <[email protected]>."
7213
7214_ACEOF
7215cat >>$CONFIG_STATUS <<_ACEOF
7216ac_cs_version="\\
7217config.status
7218configured by $0, generated by GNU Autoconf 2.60,
7219 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7220
7221Copyright (C) 2006 Free Software Foundation, Inc.
7222This config.status script is free software; the Free Software Foundation
7223gives unlimited permission to copy, distribute and modify it."
7224
7225ac_pwd='$ac_pwd'
7226srcdir='$srcdir'
7227INSTALL='$INSTALL'
7228_ACEOF
7229
7230cat >>$CONFIG_STATUS <<\_ACEOF
7231# If no file are specified by the user, then we need to provide default
7232# value. By we need to know if files were specified by the user.
7233ac_need_defaults=:
7234while test $# != 0
7235do
7236 case $1 in
7237 --*=*)
7238 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7239 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7240 ac_shift=:
7241 ;;
7242 *)
7243 ac_option=$1
7244 ac_optarg=$2
7245 ac_shift=shift
7246 ;;
7247 esac
7248
7249 case $ac_option in
7250 # Handling of the options.
7251 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7252 ac_cs_recheck=: ;;
7253 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7254 echo "$ac_cs_version"; exit ;;
7255 --debug | --debu | --deb | --de | --d | -d )
7256 debug=: ;;
7257 --file | --fil | --fi | --f )
7258 $ac_shift
7259 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7260 ac_need_defaults=false;;
7261 --header | --heade | --head | --hea )
7262 $ac_shift
7263 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7264 ac_need_defaults=false;;
7265 --he | --h)
7266 # Conflict between --help and --header
7267 { echo "$as_me: error: ambiguous option: $1
7268Try \`$0 --help' for more information." >&2
7269 { (exit 1); exit 1; }; };;
7270 --help | --hel | -h )
7271 echo "$ac_cs_usage"; exit ;;
7272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7273 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7274 ac_cs_silent=: ;;
7275
7276 # This is an error.
7277 -*) { echo "$as_me: error: unrecognized option: $1
7278Try \`$0 --help' for more information." >&2
7279 { (exit 1); exit 1; }; } ;;
7280
7281 *) ac_config_targets="$ac_config_targets $1"
7282 ac_need_defaults=false ;;
7283
7284 esac
7285 shift
7286done
7287
7288ac_configure_extra_args=
7289
7290if $ac_cs_silent; then
7291 exec 6>/dev/null
7292 ac_configure_extra_args="$ac_configure_extra_args --silent"
7293fi
7294
7295_ACEOF
7296cat >>$CONFIG_STATUS <<_ACEOF
7297if \$ac_cs_recheck; then
7298 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7299 CONFIG_SHELL=$SHELL
7300 export CONFIG_SHELL
7301 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7302fi
7303
7304_ACEOF
7305cat >>$CONFIG_STATUS <<\_ACEOF
7306exec 5>>config.log
7307{
7308 echo
7309 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7310## Running $as_me. ##
7311_ASBOX
7312 echo "$ac_log"
7313} >&5
7314
7315_ACEOF
7316cat >>$CONFIG_STATUS <<_ACEOF
7317_ACEOF
7318
7319cat >>$CONFIG_STATUS <<\_ACEOF
7320
7321# Handling of arguments.
7322for ac_config_target in $ac_config_targets
7323do
7324 case $ac_config_target in
7325 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7326 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7327
7328 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7329echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7330 { (exit 1); exit 1; }; };;
7331 esac
7332done
7333
7334
7335# If the user did not use the arguments to specify the items to instantiate,
7336# then the envvar interface is used. Set only those that are not.
7337# We use the long form for the default assignment because of an extremely
7338# bizarre bug on SunOS 4.1.3.
7339if $ac_need_defaults; then
7340 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7341 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7342fi
7343
7344# Have a temporary directory for convenience. Make it in the build tree
7345# simply because there is no reason against having it here, and in addition,
7346# creating and moving files from /tmp can sometimes cause problems.
7347# Hook for its removal unless debugging.
7348# Note that there is a small window in which the directory will not be cleaned:
7349# after its creation but before its name has been assigned to `$tmp'.
7350$debug ||
7351{
7352 tmp=
7353 trap 'exit_status=$?
7354 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7355' 0
7356 trap '{ (exit 1); exit 1; }' 1 2 13 15
7357}
7358# Create a (secure) tmp directory for tmp files.
7359
7360{
7361 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7362 test -n "$tmp" && test -d "$tmp"
7363} ||
7364{
7365 tmp=./conf$$-$RANDOM
7366 (umask 077 && mkdir "$tmp")
7367} ||
7368{
7369 echo "$me: cannot create a temporary directory in ." >&2
7370 { (exit 1); exit 1; }
7371}
7372
7373#
7374# Set up the sed scripts for CONFIG_FILES section.
7375#
7376
7377# No need to generate the scripts if there are no CONFIG_FILES.
7378# This happens for instance when ./config.status config.h
7379if test -n "$CONFIG_FILES"; then
7380
7381_ACEOF
7382
7383
7384
7385ac_delim='%!_!# '
7386for ac_last_try in false false false false false :; do
7387 cat >conf$$subs.sed <<_ACEOF
7388SHELL!$SHELL$ac_delim
7389PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7390PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7391PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7392PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7393PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7394PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7395exec_prefix!$exec_prefix$ac_delim
7396prefix!$prefix$ac_delim
7397program_transform_name!$program_transform_name$ac_delim
7398bindir!$bindir$ac_delim
7399sbindir!$sbindir$ac_delim
7400libexecdir!$libexecdir$ac_delim
7401datarootdir!$datarootdir$ac_delim
7402datadir!$datadir$ac_delim
7403sysconfdir!$sysconfdir$ac_delim
7404sharedstatedir!$sharedstatedir$ac_delim
7405localstatedir!$localstatedir$ac_delim
7406includedir!$includedir$ac_delim
7407oldincludedir!$oldincludedir$ac_delim
7408docdir!$docdir$ac_delim
7409infodir!$infodir$ac_delim
7410htmldir!$htmldir$ac_delim
7411dvidir!$dvidir$ac_delim
7412pdfdir!$pdfdir$ac_delim
7413psdir!$psdir$ac_delim
7414libdir!$libdir$ac_delim
7415localedir!$localedir$ac_delim
7416mandir!$mandir$ac_delim
7417DEFS!$DEFS$ac_delim
7418ECHO_C!$ECHO_C$ac_delim
7419ECHO_N!$ECHO_N$ac_delim
7420ECHO_T!$ECHO_T$ac_delim
7421LIBS!$LIBS$ac_delim
7422build_alias!$build_alias$ac_delim
7423host_alias!$host_alias$ac_delim
7424target_alias!$target_alias$ac_delim
7425CC!$CC$ac_delim
7426CFLAGS!$CFLAGS$ac_delim
7427LDFLAGS!$LDFLAGS$ac_delim
7428CPPFLAGS!$CPPFLAGS$ac_delim
7429ac_ct_CC!$ac_ct_CC$ac_delim
7430EXEEXT!$EXEEXT$ac_delim
7431OBJEXT!$OBJEXT$ac_delim
7432RANLIB!$RANLIB$ac_delim
7433INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7434INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7435INSTALL_DATA!$INSTALL_DATA$ac_delim
7436CPP!$CPP$ac_delim
7437GREP!$GREP$ac_delim
7438EGREP!$EGREP$ac_delim
7439LIBOBJS!$LIBOBJS$ac_delim
7440LTLIBOBJS!$LTLIBOBJS$ac_delim
7441_ACEOF
7442
7443 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
7444 break
7445 elif $ac_last_try; then
7446 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7447echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7448 { (exit 1); exit 1; }; }
7449 else
7450 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7451 fi
7452done
7453
7454ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7455if test -n "$ac_eof"; then
7456 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7457 ac_eof=`expr $ac_eof + 1`
7458fi
7459
7460cat >>$CONFIG_STATUS <<_ACEOF
7461cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7462/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7463_ACEOF
7464sed '
7465s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7466s/^/s,@/; s/!/@,|#_!!_#|/
7467:n
7468t n
7469s/'"$ac_delim"'$/,g/; t
7470s/$/\\/; p
7471N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7472' >>$CONFIG_STATUS <conf$$subs.sed
7473rm -f conf$$subs.sed
7474cat >>$CONFIG_STATUS <<_ACEOF
7475:end
7476s/|#_!!_#|//g
7477CEOF$ac_eof
7478_ACEOF
7479
7480
7481# VPATH may cause trouble with some makes, so we remove $(srcdir),
7482# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7483# trailing colons and then remove the whole line if VPATH becomes empty
7484# (actually we leave an empty line to preserve line numbers).
7485if test "x$srcdir" = x.; then
7486 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7487s/:*\$(srcdir):*/:/
7488s/:*\${srcdir}:*/:/
7489s/:*@srcdir@:*/:/
7490s/^\([^=]*=[ ]*\):*/\1/
7491s/:*$//
7492s/^[^=]*=[ ]*$//
7493}'
7494fi
7495
7496cat >>$CONFIG_STATUS <<\_ACEOF
7497fi # test -n "$CONFIG_FILES"
7498
7499
7500for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
7501do
7502 case $ac_tag in
7503 :[FHLC]) ac_mode=$ac_tag; continue;;
7504 esac
7505 case $ac_mode$ac_tag in
7506 :[FHL]*:*);;
7507 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7508echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7509 { (exit 1); exit 1; }; };;
7510 :[FH]-) ac_tag=-:-;;
7511 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7512 esac
7513 ac_save_IFS=$IFS
7514 IFS=:
7515 set x $ac_tag
7516 IFS=$ac_save_IFS
7517 shift
7518 ac_file=$1
7519 shift
7520
7521 case $ac_mode in
7522 :L) ac_source=$1;;
7523 :[FH])
7524 ac_file_inputs=
7525 for ac_f
7526 do
7527 case $ac_f in
7528 -) ac_f="$tmp/stdin";;
7529 *) # Look for the file first in the build tree, then in the source tree
7530 # (if the path is not absolute). The absolute path cannot be DOS-style,
7531 # because $ac_f cannot contain `:'.
7532 test -f "$ac_f" ||
7533 case $ac_f in
7534 [\\/$]*) false;;
7535 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7536 esac ||
7537 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7538echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7539 { (exit 1); exit 1; }; };;
7540 esac
7541 ac_file_inputs="$ac_file_inputs $ac_f"
7542 done
7543
7544 # Let's still pretend it is `configure' which instantiates (i.e., don't
7545 # use $as_me), people would be surprised to read:
7546 # /* config.h. Generated by config.status. */
7547 configure_input="Generated from "`IFS=:
7548 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7549 if test x"$ac_file" != x-; then
7550 configure_input="$ac_file. $configure_input"
7551 { echo "$as_me:$LINENO: creating $ac_file" >&5
7552echo "$as_me: creating $ac_file" >&6;}
7553 fi
7554
7555 case $ac_tag in
7556 *:-:* | *:-) cat >"$tmp/stdin";;
7557 esac
7558 ;;
7559 esac
7560
7561 ac_dir=`$as_dirname -- "$ac_file" ||
7562$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7563 X"$ac_file" : 'X\(//\)[^/]' \| \
7564 X"$ac_file" : 'X\(//\)$' \| \
7565 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7566echo X"$ac_file" |
7567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7568 s//\1/
7569 q
7570 }
7571 /^X\(\/\/\)[^/].*/{
7572 s//\1/
7573 q
7574 }
7575 /^X\(\/\/\)$/{
7576 s//\1/
7577 q
7578 }
7579 /^X\(\/\).*/{
7580 s//\1/
7581 q
7582 }
7583 s/.*/./; q'`
7584 { as_dir="$ac_dir"
7585 case $as_dir in #(
7586 -*) as_dir=./$as_dir;;
7587 esac
7588 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7589 as_dirs=
7590 while :; do
7591 case $as_dir in #(
7592 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7593 *) as_qdir=$as_dir;;
7594 esac
7595 as_dirs="'$as_qdir' $as_dirs"
7596 as_dir=`$as_dirname -- "$as_dir" ||
7597$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7598 X"$as_dir" : 'X\(//\)[^/]' \| \
7599 X"$as_dir" : 'X\(//\)$' \| \
7600 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7601echo X"$as_dir" |
7602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7603 s//\1/
7604 q
7605 }
7606 /^X\(\/\/\)[^/].*/{
7607 s//\1/
7608 q
7609 }
7610 /^X\(\/\/\)$/{
7611 s//\1/
7612 q
7613 }
7614 /^X\(\/\).*/{
7615 s//\1/
7616 q
7617 }
7618 s/.*/./; q'`
7619 test -d "$as_dir" && break
7620 done
7621 test -z "$as_dirs" || eval "mkdir $as_dirs"
7622 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7623echo "$as_me: error: cannot create directory $as_dir" >&2;}
7624 { (exit 1); exit 1; }; }; }
7625 ac_builddir=.
7626
7627case "$ac_dir" in
7628.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7629*)
7630 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7631 # A ".." for each directory in $ac_dir_suffix.
7632 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7633 case $ac_top_builddir_sub in
7634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7636 esac ;;
7637esac
7638ac_abs_top_builddir=$ac_pwd
7639ac_abs_builddir=$ac_pwd$ac_dir_suffix
7640# for backward compatibility:
7641ac_top_builddir=$ac_top_build_prefix
7642
7643case $srcdir in
7644 .) # We are building in place.
7645 ac_srcdir=.
7646 ac_top_srcdir=$ac_top_builddir_sub
7647 ac_abs_top_srcdir=$ac_pwd ;;
7648 [\\/]* | ?:[\\/]* ) # Absolute name.
7649 ac_srcdir=$srcdir$ac_dir_suffix;
7650 ac_top_srcdir=$srcdir
7651 ac_abs_top_srcdir=$srcdir ;;
7652 *) # Relative name.
7653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7654 ac_top_srcdir=$ac_top_build_prefix$srcdir
7655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7656esac
7657ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7658
7659
7660 case $ac_mode in
7661 :F)
7662 #
7663 # CONFIG_FILE
7664 #
7665
7666 case $INSTALL in
7667 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7668 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7669 esac
7670_ACEOF
7671
7672cat >>$CONFIG_STATUS <<\_ACEOF
7673# If the template does not know about datarootdir, expand it.
7674# FIXME: This hack should be removed a few years after 2.60.
7675ac_datarootdir_hack=; ac_datarootdir_seen=
7676
7677case `sed -n '/datarootdir/ {
7678 p
7679 q
7680}
7681/@datadir@/p
7682/@docdir@/p
7683/@infodir@/p
7684/@localedir@/p
7685/@mandir@/p
7686' $ac_file_inputs` in
7687*datarootdir*) ac_datarootdir_seen=yes;;
7688*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7689 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7690echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7691_ACEOF
7692cat >>$CONFIG_STATUS <<_ACEOF
7693 ac_datarootdir_hack='
7694 s&@datadir@&$datadir&g
7695 s&@docdir@&$docdir&g
7696 s&@infodir@&$infodir&g
7697 s&@localedir@&$localedir&g
7698 s&@mandir@&$mandir&g
7699 s&\\\${datarootdir}&$datarootdir&g' ;;
7700esac
7701_ACEOF
7702
7703# Neutralize VPATH when `$srcdir' = `.'.
7704# Shell code in configure.ac might set extrasub.
7705# FIXME: do we really want to maintain this feature?
7706cat >>$CONFIG_STATUS <<_ACEOF
7707 sed "$ac_vpsub
7708$extrasub
7709_ACEOF
7710cat >>$CONFIG_STATUS <<\_ACEOF
7711:t
7712/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7713s&@configure_input@&$configure_input&;t t
7714s&@top_builddir@&$ac_top_builddir_sub&;t t
7715s&@srcdir@&$ac_srcdir&;t t
7716s&@abs_srcdir@&$ac_abs_srcdir&;t t
7717s&@top_srcdir@&$ac_top_srcdir&;t t
7718s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7719s&@builddir@&$ac_builddir&;t t
7720s&@abs_builddir@&$ac_abs_builddir&;t t
7721s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7722s&@INSTALL@&$ac_INSTALL&;t t
7723$ac_datarootdir_hack
7724" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7725
7726test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7727 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7728 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7729 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7730which seems to be undefined. Please make sure it is defined." >&5
7731echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7732which seems to be undefined. Please make sure it is defined." >&2;}
7733
7734 rm -f "$tmp/stdin"
7735 case $ac_file in
7736 -) cat "$tmp/out"; rm -f "$tmp/out";;
7737 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7738 esac
7739 ;;
7740 :H)
7741 #
7742 # CONFIG_HEADER
7743 #
7744_ACEOF
7745
7746# Transform confdefs.h into a sed script `conftest.defines', that
7747# substitutes the proper values into config.h.in to produce config.h.
7748rm -f conftest.defines conftest.tail
7749# First, append a space to every undef/define line, to ease matching.
7750echo 's/$/ /' >conftest.defines
7751# Then, protect against being on the right side of a sed subst, or in
7752# an unquoted here document, in config.status. If some macros were
7753# called several times there might be several #defines for the same
7754# symbol, which is useless. But do not sort them, since the last
7755# AC_DEFINE must be honored.
7756ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7757# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7758# NAME is the cpp macro being defined, VALUE is the value it is being given.
7759# PARAMS is the parameter list in the macro definition--in most cases, it's
7760# just an empty string.
7761ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7762ac_dB='\\)[ (].*,\\1define\\2'
7763ac_dC=' '
7764ac_dD=' ,'
7765
7766uniq confdefs.h |
7767 sed -n '
7768 t rset
7769 :rset
7770 s/^[ ]*#[ ]*define[ ][ ]*//
7771 t ok
7772 d
7773 :ok
7774 s/[\\&,]/\\&/g
7775 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7776 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7777 ' >>conftest.defines
7778
7779# Remove the space that was appended to ease matching.
7780# Then replace #undef with comments. This is necessary, for
7781# example, in the case of _POSIX_SOURCE, which is predefined and required
7782# on some systems where configure will not decide to define it.
7783# (The regexp can be short, since the line contains either #define or #undef.)
7784echo 's/ $//
7785s,^[ #]*u.*,/* & */,' >>conftest.defines
7786
7787# Break up conftest.defines:
7788ac_max_sed_lines=50
7789
7790# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7791# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7792# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7793# et cetera.
7794ac_in='$ac_file_inputs'
7795ac_out='"$tmp/out1"'
7796ac_nxt='"$tmp/out2"'
7797
7798while :
7799do
7800 # Write a here document:
7801 cat >>$CONFIG_STATUS <<_ACEOF
7802 # First, check the format of the line:
7803 cat >"\$tmp/defines.sed" <<\\CEOF
7804/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7805/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7806b
7807:def
7808_ACEOF
7809 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7810 echo 'CEOF
7811 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7812 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7813 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7814 grep . conftest.tail >/dev/null || break
7815 rm -f conftest.defines
7816 mv conftest.tail conftest.defines
7817done
7818rm -f conftest.defines conftest.tail
7819
7820echo "ac_result=$ac_in" >>$CONFIG_STATUS
7821cat >>$CONFIG_STATUS <<\_ACEOF
7822 if test x"$ac_file" != x-; then
7823 echo "/* $configure_input */" >"$tmp/config.h"
7824 cat "$ac_result" >>"$tmp/config.h"
7825 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7826 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7827echo "$as_me: $ac_file is unchanged" >&6;}
7828 else
7829 rm -f $ac_file
7830 mv "$tmp/config.h" $ac_file
7831 fi
7832 else
7833 echo "/* $configure_input */"
7834 cat "$ac_result"
7835 fi
7836 rm -f "$tmp/out12"
7837 ;;
7838
7839
7840 esac
7841
7842done # for ac_tag
7843
7844
7845{ (exit 0); exit 0; }
7846_ACEOF
7847chmod +x $CONFIG_STATUS
7848ac_clean_files=$ac_clean_files_save
7849
7850
7851# configure is writing to config.log, and then calls config.status.
7852# config.status does its own redirection, appending to config.log.
7853# Unfortunately, on DOS this fails, as config.log is still kept open
7854# by configure, so config.status won't be able to write to it; its
7855# output is simply discarded. So we exec the FD to /dev/null,
7856# effectively closing config.log, so it can be properly (re)opened and
7857# appended to by config.status. When coming back to configure, we
7858# need to make the FD available again.
7859if test "$no_create" != yes; then
7860 ac_cs_success=:
7861 ac_config_status_args=
7862 test "$silent" = yes &&
7863 ac_config_status_args="$ac_config_status_args --quiet"
7864 exec 5>/dev/null
7865 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7866 exec 5>>config.log
7867 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7868 # would make configure fail if this is the last instruction.
7869 $ac_cs_success || { (exit 1); exit 1; }
7870fi
7871
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette