Debian Codegraph @

configure

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