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