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