Debian Codegraph @

configure

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