/[svn]/ircd-hybrid-7.2/configure
ViewVC logotype

Contents of /ircd-hybrid-7.2/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 875 - (show annotations)
Tue Oct 23 11:40:09 2007 UTC (12 years, 9 months ago) by michael
File size: 325404 byte(s)
- Fix some compile warnings with gcc 4.2.2
- Update configure.ac

1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for ircd-hybrid 7.2.4.
4 #
5 # $Id$
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='ircd-hybrid'
576 PACKAGE_TARNAME='ircd-hybrid'
577 PACKAGE_VERSION='7.2.4'
578 PACKAGE_STRING='ircd-hybrid 7.2.4'
579 PACKAGE_BUGREPORT=''
580
581 ac_default_prefix=/usr/local/ircd
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
617
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 CC
656 CFLAGS
657 LDFLAGS
658 CPPFLAGS
659 ac_ct_CC
660 EXEEXT
661 OBJEXT
662 MKDEP
663 MAKEDEPEND
664 STDOUT
665 CPP
666 GREP
667 EGREP
668 SET_MAKE
669 INSTALL_PROGRAM
670 INSTALL_SCRIPT
671 INSTALL_DATA
672 RM
673 CP
674 MV
675 LN
676 SED
677 AR
678 LD
679 TEST
680 INET_MISC
681 CRYPT_C
682 CRYPT_LIB
683 SNPRINTF_C
684 ENCSPEED
685 ZLIB_LD
686 SELECT_TYPE
687 CLOBBER
688 BALLOC_C
689 EXAMPLE_CONF
690 MODULES_LIBS
691 MOD_TARGET
692 SSL_SRCS_ENABLE
693 SSL_INCLUDES
694 SSL_LIBS
695 PICFLAGS
696 IRC_CFLAGS
697 SEDOBJ
698 DYNLINK_C
699 LIBOBJS
700 LTLIBOBJS'
701 ac_subst_files=''
702 ac_precious_vars='build_alias
703 host_alias
704 target_alias
705 CC
706 CFLAGS
707 LDFLAGS
708 LIBS
709 CPPFLAGS
710 CPP'
711
712
713 # Initialize some variables set by options.
714 ac_init_help=
715 ac_init_version=false
716 # The variables have the same names as the options, with
717 # dashes changed to underlines.
718 cache_file=/dev/null
719 exec_prefix=NONE
720 no_create=
721 no_recursion=
722 prefix=NONE
723 program_prefix=NONE
724 program_suffix=NONE
725 program_transform_name=s,x,x,
726 silent=
727 site=
728 srcdir=
729 verbose=
730 x_includes=NONE
731 x_libraries=NONE
732
733 # Installation directory options.
734 # These are left unexpanded so users can "make install exec_prefix=/foo"
735 # and all the variables that are supposed to be based on exec_prefix
736 # by default will actually change.
737 # Use braces instead of parens because sh, perl, etc. also accept them.
738 # (The list follows the same order as the GNU Coding Standards.)
739 bindir='${exec_prefix}/bin'
740 sbindir='${exec_prefix}/sbin'
741 libexecdir='${exec_prefix}/libexec'
742 datarootdir='${prefix}/share'
743 datadir='${datarootdir}'
744 sysconfdir='${prefix}/etc'
745 sharedstatedir='${prefix}/com'
746 localstatedir='${prefix}/var'
747 includedir='${prefix}/include'
748 oldincludedir='/usr/include'
749 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
750 infodir='${datarootdir}/info'
751 htmldir='${docdir}'
752 dvidir='${docdir}'
753 pdfdir='${docdir}'
754 psdir='${docdir}'
755 libdir='${exec_prefix}/lib'
756 localedir='${datarootdir}/locale'
757 mandir='${datarootdir}/man'
758
759 ac_prev=
760 ac_dashdash=
761 for ac_option
762 do
763 # If the previous option needs an argument, assign it.
764 if test -n "$ac_prev"; then
765 eval $ac_prev=\$ac_option
766 ac_prev=
767 continue
768 fi
769
770 case $ac_option in
771 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 *) ac_optarg=yes ;;
773 esac
774
775 # Accept the important Cygnus configure options, so we can diagnose typos.
776
777 case $ac_dashdash$ac_option in
778 --)
779 ac_dashdash=yes ;;
780
781 -bindir | --bindir | --bindi | --bind | --bin | --bi)
782 ac_prev=bindir ;;
783 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 bindir=$ac_optarg ;;
785
786 -build | --build | --buil | --bui | --bu)
787 ac_prev=build_alias ;;
788 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
789 build_alias=$ac_optarg ;;
790
791 -cache-file | --cache-file | --cache-fil | --cache-fi \
792 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
793 ac_prev=cache_file ;;
794 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
795 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
796 cache_file=$ac_optarg ;;
797
798 --config-cache | -C)
799 cache_file=config.cache ;;
800
801 -datadir | --datadir | --datadi | --datad)
802 ac_prev=datadir ;;
803 -datadir=* | --datadir=* | --datadi=* | --datad=*)
804 datadir=$ac_optarg ;;
805
806 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
807 | --dataroo | --dataro | --datar)
808 ac_prev=datarootdir ;;
809 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
810 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
811 datarootdir=$ac_optarg ;;
812
813 -disable-* | --disable-*)
814 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
817 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
818 { (exit 1); exit 1; }; }
819 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
820 eval enable_$ac_feature=no ;;
821
822 -docdir | --docdir | --docdi | --doc | --do)
823 ac_prev=docdir ;;
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 docdir=$ac_optarg ;;
826
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828 ac_prev=dvidir ;;
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 dvidir=$ac_optarg ;;
831
832 -enable-* | --enable-*)
833 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
836 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
837 { (exit 1); exit 1; }; }
838 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
839 eval enable_$ac_feature=\$ac_optarg ;;
840
841 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
842 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
843 | --exec | --exe | --ex)
844 ac_prev=exec_prefix ;;
845 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
846 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
847 | --exec=* | --exe=* | --ex=*)
848 exec_prefix=$ac_optarg ;;
849
850 -gas | --gas | --ga | --g)
851 # Obsolete; use --with-gas.
852 with_gas=yes ;;
853
854 -help | --help | --hel | --he | -h)
855 ac_init_help=long ;;
856 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
857 ac_init_help=recursive ;;
858 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
859 ac_init_help=short ;;
860
861 -host | --host | --hos | --ho)
862 ac_prev=host_alias ;;
863 -host=* | --host=* | --hos=* | --ho=*)
864 host_alias=$ac_optarg ;;
865
866 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867 ac_prev=htmldir ;;
868 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869 | --ht=*)
870 htmldir=$ac_optarg ;;
871
872 -includedir | --includedir | --includedi | --included | --include \
873 | --includ | --inclu | --incl | --inc)
874 ac_prev=includedir ;;
875 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
876 | --includ=* | --inclu=* | --incl=* | --inc=*)
877 includedir=$ac_optarg ;;
878
879 -infodir | --infodir | --infodi | --infod | --info | --inf)
880 ac_prev=infodir ;;
881 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
882 infodir=$ac_optarg ;;
883
884 -libdir | --libdir | --libdi | --libd)
885 ac_prev=libdir ;;
886 -libdir=* | --libdir=* | --libdi=* | --libd=*)
887 libdir=$ac_optarg ;;
888
889 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
890 | --libexe | --libex | --libe)
891 ac_prev=libexecdir ;;
892 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
893 | --libexe=* | --libex=* | --libe=*)
894 libexecdir=$ac_optarg ;;
895
896 -localedir | --localedir | --localedi | --localed | --locale)
897 ac_prev=localedir ;;
898 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
899 localedir=$ac_optarg ;;
900
901 -localstatedir | --localstatedir | --localstatedi | --localstated \
902 | --localstate | --localstat | --localsta | --localst | --locals)
903 ac_prev=localstatedir ;;
904 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
905 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
906 localstatedir=$ac_optarg ;;
907
908 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909 ac_prev=mandir ;;
910 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 mandir=$ac_optarg ;;
912
913 -nfp | --nfp | --nf)
914 # Obsolete; use --without-fp.
915 with_fp=no ;;
916
917 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
918 | --no-cr | --no-c | -n)
919 no_create=yes ;;
920
921 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
922 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
923 no_recursion=yes ;;
924
925 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
926 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
927 | --oldin | --oldi | --old | --ol | --o)
928 ac_prev=oldincludedir ;;
929 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
930 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
931 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
932 oldincludedir=$ac_optarg ;;
933
934 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935 ac_prev=prefix ;;
936 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
937 prefix=$ac_optarg ;;
938
939 -program-prefix | --program-prefix | --program-prefi | --program-pref \
940 | --program-pre | --program-pr | --program-p)
941 ac_prev=program_prefix ;;
942 -program-prefix=* | --program-prefix=* | --program-prefi=* \
943 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
944 program_prefix=$ac_optarg ;;
945
946 -program-suffix | --program-suffix | --program-suffi | --program-suff \
947 | --program-suf | --program-su | --program-s)
948 ac_prev=program_suffix ;;
949 -program-suffix=* | --program-suffix=* | --program-suffi=* \
950 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
951 program_suffix=$ac_optarg ;;
952
953 -program-transform-name | --program-transform-name \
954 | --program-transform-nam | --program-transform-na \
955 | --program-transform-n | --program-transform- \
956 | --program-transform | --program-transfor \
957 | --program-transfo | --program-transf \
958 | --program-trans | --program-tran \
959 | --progr-tra | --program-tr | --program-t)
960 ac_prev=program_transform_name ;;
961 -program-transform-name=* | --program-transform-name=* \
962 | --program-transform-nam=* | --program-transform-na=* \
963 | --program-transform-n=* | --program-transform-=* \
964 | --program-transform=* | --program-transfor=* \
965 | --program-transfo=* | --program-transf=* \
966 | --program-trans=* | --program-tran=* \
967 | --progr-tra=* | --program-tr=* | --program-t=*)
968 program_transform_name=$ac_optarg ;;
969
970 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971 ac_prev=pdfdir ;;
972 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
973 pdfdir=$ac_optarg ;;
974
975 -psdir | --psdir | --psdi | --psd | --ps)
976 ac_prev=psdir ;;
977 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
978 psdir=$ac_optarg ;;
979
980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981 | -silent | --silent | --silen | --sile | --sil)
982 silent=yes ;;
983
984 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985 ac_prev=sbindir ;;
986 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987 | --sbi=* | --sb=*)
988 sbindir=$ac_optarg ;;
989
990 -sharedstatedir | --sharedstatedir | --sharedstatedi \
991 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
992 | --sharedst | --shareds | --shared | --share | --shar \
993 | --sha | --sh)
994 ac_prev=sharedstatedir ;;
995 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
996 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
997 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998 | --sha=* | --sh=*)
999 sharedstatedir=$ac_optarg ;;
1000
1001 -site | --site | --sit)
1002 ac_prev=site ;;
1003 -site=* | --site=* | --sit=*)
1004 site=$ac_optarg ;;
1005
1006 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007 ac_prev=srcdir ;;
1008 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1009 srcdir=$ac_optarg ;;
1010
1011 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1012 | --syscon | --sysco | --sysc | --sys | --sy)
1013 ac_prev=sysconfdir ;;
1014 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1015 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1016 sysconfdir=$ac_optarg ;;
1017
1018 -target | --target | --targe | --targ | --tar | --ta | --t)
1019 ac_prev=target_alias ;;
1020 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1021 target_alias=$ac_optarg ;;
1022
1023 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1024 verbose=yes ;;
1025
1026 -version | --version | --versio | --versi | --vers | -V)
1027 ac_init_version=: ;;
1028
1029 -with-* | --with-*)
1030 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1033 { echo "$as_me: error: invalid package name: $ac_package" >&2
1034 { (exit 1); exit 1; }; }
1035 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1036 eval with_$ac_package=\$ac_optarg ;;
1037
1038 -without-* | --without-*)
1039 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042 { echo "$as_me: error: invalid package name: $ac_package" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1045 eval with_$ac_package=no ;;
1046
1047 --x)
1048 # Obsolete; use --with-x.
1049 with_x=yes ;;
1050
1051 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1052 | --x-incl | --x-inc | --x-in | --x-i)
1053 ac_prev=x_includes ;;
1054 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1055 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1056 x_includes=$ac_optarg ;;
1057
1058 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1059 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1060 ac_prev=x_libraries ;;
1061 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1062 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1063 x_libraries=$ac_optarg ;;
1064
1065 -*) { echo "$as_me: error: unrecognized option: $ac_option
1066 Try \`$0 --help' for more information." >&2
1067 { (exit 1); exit 1; }; }
1068 ;;
1069
1070 *=*)
1071 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1074 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1075 { (exit 1); exit 1; }; }
1076 eval $ac_envvar=\$ac_optarg
1077 export $ac_envvar ;;
1078
1079 *)
1080 # FIXME: should be removed in autoconf 3.0.
1081 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1085 ;;
1086
1087 esac
1088 done
1089
1090 if test -n "$ac_prev"; then
1091 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1092 { echo "$as_me: error: missing argument to $ac_option" >&2
1093 { (exit 1); exit 1; }; }
1094 fi
1095
1096 # Be sure to have absolute directory names.
1097 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1101 do
1102 eval ac_val=\$$ac_var
1103 case $ac_val in
1104 [\\/$]* | ?:[\\/]* ) continue;;
1105 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1106 esac
1107 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1108 { (exit 1); exit 1; }; }
1109 done
1110
1111 # There might be people who depend on the old broken behavior: `$host'
1112 # used to hold the argument of --host etc.
1113 # FIXME: To remove some day.
1114 build=$build_alias
1115 host=$host_alias
1116 target=$target_alias
1117
1118 # FIXME: To remove some day.
1119 if test "x$host_alias" != x; then
1120 if test "x$build_alias" = x; then
1121 cross_compiling=maybe
1122 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1123 If a cross compiler is detected then cross compile mode will be used." >&2
1124 elif test "x$build_alias" != "x$host_alias"; then
1125 cross_compiling=yes
1126 fi
1127 fi
1128
1129 ac_tool_prefix=
1130 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131
1132 test "$silent" = yes && exec 6>/dev/null
1133
1134
1135 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1136 ac_ls_di=`ls -di .` &&
1137 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1138 { echo "$as_me: error: Working directory cannot be determined" >&2
1139 { (exit 1); exit 1; }; }
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141 { echo "$as_me: error: pwd does not report name of working directory" >&2
1142 { (exit 1); exit 1; }; }
1143
1144
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$0" ||
1150 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$0" : 'X\(//\)[^/]' \| \
1152 X"$0" : 'X\(//\)$' \| \
1153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1154 echo X"$0" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 s//\1/
1157 q
1158 }
1159 /^X\(\/\/\)[^/].*/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\/\)$/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\).*/{
1168 s//\1/
1169 q
1170 }
1171 s/.*/./; q'`
1172 srcdir=$ac_confdir
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 srcdir=..
1175 fi
1176 else
1177 ac_srcdir_defaulted=no
1178 fi
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1182 { (exit 1); exit 1; }; }
1183 fi
1184 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 ac_abs_confdir=`(
1186 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1187 { (exit 1); exit 1; }; }
1188 pwd)`
1189 # When building in place, set srcdir=.
1190 if test "$ac_abs_confdir" = "$ac_pwd"; then
1191 srcdir=.
1192 fi
1193 # Remove unnecessary trailing slashes from srcdir.
1194 # Double slashes in file names in object file debugging info
1195 # mess up M-x gdb in Emacs.
1196 case $srcdir in
1197 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198 esac
1199 for ac_var in $ac_precious_vars; do
1200 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_env_${ac_var}_value=\$${ac_var}
1202 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1204 done
1205
1206 #
1207 # Report the --help message.
1208 #
1209 if test "$ac_init_help" = "long"; then
1210 # Omit some internal or obsolete options to make the list less imposing.
1211 # This message is too long to be a string in the A/UX 3.1 sh.
1212 cat <<_ACEOF
1213 \`configure' configures ircd-hybrid 7.2.4 to adapt to many kinds of systems.
1214
1215 Usage: $0 [OPTION]... [VAR=VALUE]...
1216
1217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1218 VAR=VALUE. See below for descriptions of some of the useful variables.
1219
1220 Defaults for the options are specified in brackets.
1221
1222 Configuration:
1223 -h, --help display this help and exit
1224 --help=short display options specific to this package
1225 --help=recursive display the short help of all the included packages
1226 -V, --version display version information and exit
1227 -q, --quiet, --silent do not print \`checking...' messages
1228 --cache-file=FILE cache test results in FILE [disabled]
1229 -C, --config-cache alias for \`--cache-file=config.cache'
1230 -n, --no-create do not create output files
1231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1232
1233 Installation directories:
1234 --prefix=PREFIX install architecture-independent files in PREFIX
1235 [$ac_default_prefix]
1236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1237 [PREFIX]
1238
1239 By default, \`make install' will install all the files in
1240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1242 for instance \`--prefix=\$HOME'.
1243
1244 For better control, use the options below.
1245
1246 Fine tuning of the installation directories:
1247 --bindir=DIR user executables [EPREFIX/bin]
1248 --sbindir=DIR system admin executables [EPREFIX/sbin]
1249 --libexecdir=DIR program executables [EPREFIX/libexec]
1250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1253 --libdir=DIR object code libraries [EPREFIX/lib]
1254 --includedir=DIR C header files [PREFIX/include]
1255 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1256 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1257 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1258 --infodir=DIR info documentation [DATAROOTDIR/info]
1259 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1260 --mandir=DIR man documentation [DATAROOTDIR/man]
1261 --docdir=DIR documentation root [DATAROOTDIR/doc/ircd-hybrid]
1262 --htmldir=DIR html documentation [DOCDIR]
1263 --dvidir=DIR dvi documentation [DOCDIR]
1264 --pdfdir=DIR pdf documentation [DOCDIR]
1265 --psdir=DIR ps documentation [DOCDIR]
1266 _ACEOF
1267
1268 cat <<\_ACEOF
1269 _ACEOF
1270 fi
1271
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive ) echo "Configuration of ircd-hybrid 7.2.4:";;
1275 esac
1276 cat <<\_ACEOF
1277
1278 Optional Features:
1279 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1280 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1281 --enable-openssl=DIR Enable OpenSSL support (DIR optional).
1282 --disable-openssl Disable OpenSSL support.
1283 --disable-zlib Disable ziplinks support
1284 --enable-poll Force poll() usage.
1285 --enable-select Force select() usage.
1286 --enable-kqueue Force kqueue() usage.
1287 --enable-devpoll Force usage of /dev/poll.
1288 --enable-rtsigio Enable SIGIO with RT Signals (Linux only)
1289 --enable-epoll Enable Linux epoll support.
1290 --enable-clobber Don't preserve old binaries on make install
1291 --enable-assert Enable assert().
1292 --enable-profile Enable profiling
1293 --enable-efence Enable ElectricFence (memory debugger).
1294 --disable-block-alloc Disable the block allocator (Only useful with
1295 ElectricFence)
1296 --enable-warnings Enable all sorts of warnings for debugging.
1297 --enable-small-net Enable small network support.
1298 --enable-efnet For IRCDs running on EFnet.
1299 --disable-gline-voting Disable G-line voting.
1300 --enable-halfops Enable halfops support.
1301 --enable-syslog="EVENTS"
1302 Enable syslog for events: kill, squit, connect,
1303 users, oper, space separated in quotes (default:
1304 disabled)
1305 --disable-shared-modules
1306 Disable shared modules.
1307
1308 Optional Packages:
1309 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1310 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1311 --with-zlib-path=DIR Path to libz.so for ziplinks support.
1312 --with-syslog-facility=LOG
1313 Define the log facility to use with ircd's syslog
1314 output (default LOG_LOCAL4)
1315 --with-nicklen=LENGTH Set the nick length to LENGTH (default 9)
1316 --with-topiclen=NUMBER Set the max topic length to NUMBER (default 160, max
1317 390)
1318
1319 Some influential environment variables:
1320 CC C compiler command
1321 CFLAGS C compiler flags
1322 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1323 nonstandard directory <lib dir>
1324 LIBS libraries to pass to the linker, e.g. -l<library>
1325 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1326 you have headers in a nonstandard directory <include dir>
1327 CPP C preprocessor
1328
1329 Use these variables to override the choices made by `configure' or to help
1330 it to find libraries and programs with nonstandard names/locations.
1331
1332 _ACEOF
1333 ac_status=$?
1334 fi
1335
1336 if test "$ac_init_help" = "recursive"; then
1337 # If there are subdirs, report their specific --help.
1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1339 test -d "$ac_dir" || continue
1340 ac_builddir=.
1341
1342 case "$ac_dir" in
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *)
1345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 esac ;;
1352 esac
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1357
1358 case $srcdir in
1359 .) # We are building in place.
1360 ac_srcdir=.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1367 *) # Relative name.
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 esac
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1373
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for guested configure.
1376 if test -f "$ac_srcdir/configure.gnu"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1379 elif test -f "$ac_srcdir/configure"; then
1380 echo &&
1381 $SHELL "$ac_srcdir/configure" --help=recursive
1382 else
1383 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 fi || ac_status=$?
1385 cd "$ac_pwd" || { ac_status=$?; break; }
1386 done
1387 fi
1388
1389 test -n "$ac_init_help" && exit $ac_status
1390 if $ac_init_version; then
1391 cat <<\_ACEOF
1392 ircd-hybrid configure 7.2.4
1393 generated by GNU Autoconf 2.61
1394
1395 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1396 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1399
1400 $Id$
1401 _ACEOF
1402 exit
1403 fi
1404 cat >config.log <<_ACEOF
1405 This file contains any messages produced by compilers while
1406 running configure, to aid debugging if configure makes a mistake.
1407
1408 It was created by ircd-hybrid $as_me 7.2.4, which was
1409 generated by GNU Autoconf 2.61. Invocation command line was
1410
1411 $ $0 $@
1412
1413 _ACEOF
1414 exec 5>>config.log
1415 {
1416 cat <<_ASUNAME
1417 ## --------- ##
1418 ## Platform. ##
1419 ## --------- ##
1420
1421 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1422 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1423 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1424 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1425 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1426
1427 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1428 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1429
1430 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1431 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1432 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1433 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1434 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1435 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1436 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1437
1438 _ASUNAME
1439
1440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1441 for as_dir in $PATH
1442 do
1443 IFS=$as_save_IFS
1444 test -z "$as_dir" && as_dir=.
1445 echo "PATH: $as_dir"
1446 done
1447 IFS=$as_save_IFS
1448
1449 } >&5
1450
1451 cat >&5 <<_ACEOF
1452
1453
1454 ## ----------- ##
1455 ## Core tests. ##
1456 ## ----------- ##
1457
1458 _ACEOF
1459
1460
1461 # Keep a trace of the command line.
1462 # Strip out --no-create and --no-recursion so they do not pile up.
1463 # Strip out --silent because we don't want to record it for future runs.
1464 # Also quote any args containing shell meta-characters.
1465 # Make two passes to allow for proper duplicate-argument suppression.
1466 ac_configure_args=
1467 ac_configure_args0=
1468 ac_configure_args1=
1469 ac_must_keep_next=false
1470 for ac_pass in 1 2
1471 do
1472 for ac_arg
1473 do
1474 case $ac_arg in
1475 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1476 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1477 | -silent | --silent | --silen | --sile | --sil)
1478 continue ;;
1479 *\'*)
1480 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1481 esac
1482 case $ac_pass in
1483 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1484 2)
1485 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1486 if test $ac_must_keep_next = true; then
1487 ac_must_keep_next=false # Got value, back to normal.
1488 else
1489 case $ac_arg in
1490 *=* | --config-cache | -C | -disable-* | --disable-* \
1491 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1492 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1493 | -with-* | --with-* | -without-* | --without-* | --x)
1494 case "$ac_configure_args0 " in
1495 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1496 esac
1497 ;;
1498 -* ) ac_must_keep_next=true ;;
1499 esac
1500 fi
1501 ac_configure_args="$ac_configure_args '$ac_arg'"
1502 ;;
1503 esac
1504 done
1505 done
1506 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1507 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1508
1509 # When interrupted or exit'd, cleanup temporary files, and complete
1510 # config.log. We remove comments because anyway the quotes in there
1511 # would cause problems or look ugly.
1512 # WARNING: Use '\'' to represent an apostrophe within the trap.
1513 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1514 trap 'exit_status=$?
1515 # Save into config.log some information that might help in debugging.
1516 {
1517 echo
1518
1519 cat <<\_ASBOX
1520 ## ---------------- ##
1521 ## Cache variables. ##
1522 ## ---------------- ##
1523 _ASBOX
1524 echo
1525 # The following way of writing the cache mishandles newlines in values,
1526 (
1527 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1528 eval ac_val=\$$ac_var
1529 case $ac_val in #(
1530 *${as_nl}*)
1531 case $ac_var in #(
1532 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1533 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1534 esac
1535 case $ac_var in #(
1536 _ | IFS | as_nl) ;; #(
1537 *) $as_unset $ac_var ;;
1538 esac ;;
1539 esac
1540 done
1541 (set) 2>&1 |
1542 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1543 *${as_nl}ac_space=\ *)
1544 sed -n \
1545 "s/'\''/'\''\\\\'\'''\''/g;
1546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1547 ;; #(
1548 *)
1549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1550 ;;
1551 esac |
1552 sort
1553 )
1554 echo
1555
1556 cat <<\_ASBOX
1557 ## ----------------- ##
1558 ## Output variables. ##
1559 ## ----------------- ##
1560 _ASBOX
1561 echo
1562 for ac_var in $ac_subst_vars
1563 do
1564 eval ac_val=\$$ac_var
1565 case $ac_val in
1566 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567 esac
1568 echo "$ac_var='\''$ac_val'\''"
1569 done | sort
1570 echo
1571
1572 if test -n "$ac_subst_files"; then
1573 cat <<\_ASBOX
1574 ## ------------------- ##
1575 ## File substitutions. ##
1576 ## ------------------- ##
1577 _ASBOX
1578 echo
1579 for ac_var in $ac_subst_files
1580 do
1581 eval ac_val=\$$ac_var
1582 case $ac_val in
1583 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584 esac
1585 echo "$ac_var='\''$ac_val'\''"
1586 done | sort
1587 echo
1588 fi
1589
1590 if test -s confdefs.h; then
1591 cat <<\_ASBOX
1592 ## ----------- ##
1593 ## confdefs.h. ##
1594 ## ----------- ##
1595 _ASBOX
1596 echo
1597 cat confdefs.h
1598 echo
1599 fi
1600 test "$ac_signal" != 0 &&
1601 echo "$as_me: caught signal $ac_signal"
1602 echo "$as_me: exit $exit_status"
1603 } >&5
1604 rm -f core *.core core.conftest.* &&
1605 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1606 exit $exit_status
1607 ' 0
1608 for ac_signal in 1 2 13 15; do
1609 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1610 done
1611 ac_signal=0
1612
1613 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1614 rm -f -r conftest* confdefs.h
1615
1616 # Predefined preprocessor variables.
1617
1618 cat >>confdefs.h <<_ACEOF
1619 #define PACKAGE_NAME "$PACKAGE_NAME"
1620 _ACEOF
1621
1622
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1625 _ACEOF
1626
1627
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1630 _ACEOF
1631
1632
1633 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_STRING "$PACKAGE_STRING"
1635 _ACEOF
1636
1637
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1640 _ACEOF
1641
1642
1643 # Let the site file select an alternate cache file if it wants to.
1644 # Prefer explicitly selected file to automatically selected ones.
1645 if test -n "$CONFIG_SITE"; then
1646 set x "$CONFIG_SITE"
1647 elif test "x$prefix" != xNONE; then
1648 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1649 else
1650 set x "$ac_default_prefix/share/config.site" \
1651 "$ac_default_prefix/etc/config.site"
1652 fi
1653 shift
1654 for ac_site_file
1655 do
1656 if test -r "$ac_site_file"; then
1657 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1658 echo "$as_me: loading site script $ac_site_file" >&6;}
1659 sed 's/^/| /' "$ac_site_file" >&5
1660 . "$ac_site_file"
1661 fi
1662 done
1663
1664 if test -r "$cache_file"; then
1665 # Some versions of bash will fail to source /dev/null (special
1666 # files actually), so we avoid doing that.
1667 if test -f "$cache_file"; then
1668 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1669 echo "$as_me: loading cache $cache_file" >&6;}
1670 case $cache_file in
1671 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672 *) . "./$cache_file";;
1673 esac
1674 fi
1675 else
1676 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1677 echo "$as_me: creating cache $cache_file" >&6;}
1678 >$cache_file
1679 fi
1680
1681 # Check that the precious variables saved in the cache have kept the same
1682 # value.
1683 ac_cache_corrupted=false
1684 for ac_var in $ac_precious_vars; do
1685 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1686 eval ac_new_set=\$ac_env_${ac_var}_set
1687 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1688 eval ac_new_val=\$ac_env_${ac_var}_value
1689 case $ac_old_set,$ac_new_set in
1690 set,)
1691 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1693 ac_cache_corrupted=: ;;
1694 ,set)
1695 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1696 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1697 ac_cache_corrupted=: ;;
1698 ,);;
1699 *)
1700 if test "x$ac_old_val" != "x$ac_new_val"; then
1701 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1702 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1703 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1704 echo "$as_me: former value: $ac_old_val" >&2;}
1705 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1706 echo "$as_me: current value: $ac_new_val" >&2;}
1707 ac_cache_corrupted=:
1708 fi;;
1709 esac
1710 # Pass precious variables to config.status.
1711 if test "$ac_new_set" = set; then
1712 case $ac_new_val in
1713 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1714 *) ac_arg=$ac_var=$ac_new_val ;;
1715 esac
1716 case " $ac_configure_args " in
1717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1718 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1719 esac
1720 fi
1721 done
1722 if $ac_cache_corrupted; then
1723 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1724 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1725 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1726 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1727 { (exit 1); exit 1; }; }
1728 fi
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754 ac_ext=c
1755 ac_cpp='$CPP $CPPFLAGS'
1756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1759
1760
1761
1762 ac_config_headers="$ac_config_headers include/setup.h"
1763
1764
1765
1766
1767
1768 cat >>confdefs.h <<\_ACEOF
1769 #define _GNU_SOURCE 1
1770 _ACEOF
1771
1772
1773
1774 OLD_CFLAGS="$CFLAGS"
1775 ac_ext=c
1776 ac_cpp='$CPP $CPPFLAGS'
1777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1780 if test -n "$ac_tool_prefix"; then
1781 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1782 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1785 if test "${ac_cv_prog_CC+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 if test -n "$CC"; then
1789 ac_cv_prog_CC="$CC" # Let the user override the test.
1790 else
1791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 for as_dir in $PATH
1793 do
1794 IFS=$as_save_IFS
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1798 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 break 2
1801 fi
1802 done
1803 done
1804 IFS=$as_save_IFS
1805
1806 fi
1807 fi
1808 CC=$ac_cv_prog_CC
1809 if test -n "$CC"; then
1810 { echo "$as_me:$LINENO: result: $CC" >&5
1811 echo "${ECHO_T}$CC" >&6; }
1812 else
1813 { echo "$as_me:$LINENO: result: no" >&5
1814 echo "${ECHO_T}no" >&6; }
1815 fi
1816
1817
1818 fi
1819 if test -z "$ac_cv_prog_CC"; then
1820 ac_ct_CC=$CC
1821 # Extract the first word of "gcc", so it can be a program name with args.
1822 set dummy gcc; ac_word=$2
1823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 else
1828 if test -n "$ac_ct_CC"; then
1829 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 else
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834 IFS=$as_save_IFS
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1838 ac_cv_prog_ac_ct_CC="gcc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 break 2
1841 fi
1842 done
1843 done
1844 IFS=$as_save_IFS
1845
1846 fi
1847 fi
1848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1849 if test -n "$ac_ct_CC"; then
1850 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1851 echo "${ECHO_T}$ac_ct_CC" >&6; }
1852 else
1853 { echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6; }
1855 fi
1856
1857 if test "x$ac_ct_CC" = x; then
1858 CC=""
1859 else
1860 case $cross_compiling:$ac_tool_warned in
1861 yes:)
1862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1863 whose name does not start with the host triplet. If you think this
1864 configuration is useful to you, please write to autoconf@gnu.org." >&5
1865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1866 whose name does not start with the host triplet. If you think this
1867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1868 ac_tool_warned=yes ;;
1869 esac
1870 CC=$ac_ct_CC
1871 fi
1872 else
1873 CC="$ac_cv_prog_CC"
1874 fi
1875
1876 if test -z "$CC"; then
1877 if test -n "$ac_tool_prefix"; then
1878 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}cc; ac_word=$2
1880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882 if test "${ac_cv_prog_CC+set}" = set; then
1883 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885 if test -n "$CC"; then
1886 ac_cv_prog_CC="$CC" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1890 do
1891 IFS=$as_save_IFS
1892 test -z "$as_dir" && as_dir=.
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1895 ac_cv_prog_CC="${ac_tool_prefix}cc"
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 break 2
1898 fi
1899 done
1900 done
1901 IFS=$as_save_IFS
1902
1903 fi
1904 fi
1905 CC=$ac_cv_prog_CC
1906 if test -n "$CC"; then
1907 { echo "$as_me:$LINENO: result: $CC" >&5
1908 echo "${ECHO_T}$CC" >&6; }
1909 else
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1912 fi
1913
1914
1915 fi
1916 fi
1917 if test -z "$CC"; then
1918 # Extract the first word of "cc", so it can be a program name with args.
1919 set dummy cc; ac_word=$2
1920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 else
1925 if test -n "$CC"; then
1926 ac_cv_prog_CC="$CC" # Let the user override the test.
1927 else
1928 ac_prog_rejected=no
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 for as_dir in $PATH
1931 do
1932 IFS=$as_save_IFS
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1936 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1937 ac_prog_rejected=yes
1938 continue
1939 fi
1940 ac_cv_prog_CC="cc"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 break 2
1943 fi
1944 done
1945 done
1946 IFS=$as_save_IFS
1947
1948 if test $ac_prog_rejected = yes; then
1949 # We found a bogon in the path, so make sure we never use it.
1950 set dummy $ac_cv_prog_CC
1951 shift
1952 if test $# != 0; then
1953 # We chose a different compiler from the bogus one.
1954 # However, it has the same basename, so the bogon will be chosen
1955 # first if we set CC to just the basename; use the full file name.
1956 shift
1957 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1958 fi
1959 fi
1960 fi
1961 fi
1962 CC=$ac_cv_prog_CC
1963 if test -n "$CC"; then
1964 { echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6; }
1966 else
1967 { echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6; }
1969 fi
1970
1971
1972 fi
1973 if test -z "$CC"; then
1974 if test -n "$ac_tool_prefix"; then
1975 for ac_prog in cl.exe
1976 do
1977 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1978 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1981 if test "${ac_cv_prog_CC+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 if test -n "$CC"; then
1985 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 else
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 for as_dir in $PATH
1989 do
1990 IFS=$as_save_IFS
1991 test -z "$as_dir" && as_dir=.
1992 for ac_exec_ext in '' $ac_executable_extensions; do
1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1994 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 break 2
1997 fi
1998 done
1999 done
2000 IFS=$as_save_IFS
2001
2002 fi
2003 fi
2004 CC=$ac_cv_prog_CC
2005 if test -n "$CC"; then
2006 { echo "$as_me:$LINENO: result: $CC" >&5
2007 echo "${ECHO_T}$CC" >&6; }
2008 else
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2011 fi
2012
2013
2014 test -n "$CC" && break
2015 done
2016 fi
2017 if test -z "$CC"; then
2018 ac_ct_CC=$CC
2019 for ac_prog in cl.exe
2020 do
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy $ac_prog; ac_word=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 if test -n "$ac_ct_CC"; then
2029 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2033 do
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_ac_ct_CC="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2041 fi
2042 done
2043 done
2044 IFS=$as_save_IFS
2045
2046 fi
2047 fi
2048 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2049 if test -n "$ac_ct_CC"; then
2050 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2051 echo "${ECHO_T}$ac_ct_CC" >&6; }
2052 else
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2055 fi
2056
2057
2058 test -n "$ac_ct_CC" && break
2059 done
2060
2061 if test "x$ac_ct_CC" = x; then
2062 CC=""
2063 else
2064 case $cross_compiling:$ac_tool_warned in
2065 yes:)
2066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2067 whose name does not start with the host triplet. If you think this
2068 configuration is useful to you, please write to autoconf@gnu.org." >&5
2069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2070 whose name does not start with the host triplet. If you think this
2071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2072 ac_tool_warned=yes ;;
2073 esac
2074 CC=$ac_ct_CC
2075 fi
2076 fi
2077
2078 fi
2079
2080
2081 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2082 See \`config.log' for more details." >&5
2083 echo "$as_me: error: no acceptable C compiler found in \$PATH
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }
2086
2087 # Provide some information about the compiler.
2088 echo "$as_me:$LINENO: checking for C compiler version" >&5
2089 ac_compiler=`set X $ac_compile; echo $2`
2090 { (ac_try="$ac_compiler --version >&5"
2091 case "(($ac_try" in
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2093 *) ac_try_echo=$ac_try;;
2094 esac
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2096 (eval "$ac_compiler --version >&5") 2>&5
2097 ac_status=$?
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }
2100 { (ac_try="$ac_compiler -v >&5"
2101 case "(($ac_try" in
2102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2103 *) ac_try_echo=$ac_try;;
2104 esac
2105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2106 (eval "$ac_compiler -v >&5") 2>&5
2107 ac_status=$?
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2110 { (ac_try="$ac_compiler -V >&5"
2111 case "(($ac_try" in
2112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2114 esac
2115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2116 (eval "$ac_compiler -V >&5") 2>&5
2117 ac_status=$?
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }
2120
2121 cat >conftest.$ac_ext <<_ACEOF
2122 /* confdefs.h. */
2123 _ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2127
2128 int
2129 main ()
2130 {
2131
2132 ;
2133 return 0;
2134 }
2135 _ACEOF
2136 ac_clean_files_save=$ac_clean_files
2137 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2138 # Try to create an executable without -o first, disregard a.out.
2139 # It will help us diagnose broken compilers, and finding out an intuition
2140 # of exeext.
2141 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2142 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2143 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2144 #
2145 # List of possible output files, starting from the most likely.
2146 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2147 # only as a last resort. b.out is created by i960 compilers.
2148 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2149 #
2150 # The IRIX 6 linker writes into existing files which may not be
2151 # executable, retaining their permissions. Remove them first so a
2152 # subsequent execution test works.
2153 ac_rmfiles=
2154 for ac_file in $ac_files
2155 do
2156 case $ac_file in
2157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2158 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2159 esac
2160 done
2161 rm -f $ac_rmfiles
2162
2163 if { (ac_try="$ac_link_default"
2164 case "(($ac_try" in
2165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166 *) ac_try_echo=$ac_try;;
2167 esac
2168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2169 (eval "$ac_link_default") 2>&5
2170 ac_status=$?
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; then
2173 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2174 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2175 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2176 # so that the user can short-circuit this test for compilers unknown to
2177 # Autoconf.
2178 for ac_file in $ac_files ''
2179 do
2180 test -f "$ac_file" || continue
2181 case $ac_file in
2182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2183 ;;
2184 [ab].out )
2185 # We found the default executable, but exeext='' is most
2186 # certainly right.
2187 break;;
2188 *.* )
2189 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2190 then :; else
2191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2192 fi
2193 # We set ac_cv_exeext here because the later test for it is not
2194 # safe: cross compilers may not add the suffix if given an `-o'
2195 # argument, so we may need to know it at that point already.
2196 # Even if this section looks crufty: it has the advantage of
2197 # actually working.
2198 break;;
2199 * )
2200 break;;
2201 esac
2202 done
2203 test "$ac_cv_exeext" = no && ac_cv_exeext=
2204
2205 else
2206 ac_file=''
2207 fi
2208
2209 { echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6; }
2211 if test -z "$ac_file"; then
2212 echo "$as_me: failed program was:" >&5
2213 sed 's/^/| /' conftest.$ac_ext >&5
2214
2215 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2216 See \`config.log' for more details." >&5
2217 echo "$as_me: error: C compiler cannot create executables
2218 See \`config.log' for more details." >&2;}
2219 { (exit 77); exit 77; }; }
2220 fi
2221
2222 ac_exeext=$ac_cv_exeext
2223
2224 # Check that the compiler produces executables we can run. If not, either
2225 # the compiler is broken, or we cross compile.
2226 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2227 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2228 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2229 # If not cross compiling, check that we can run a simple program.
2230 if test "$cross_compiling" != yes; then
2231 if { ac_try='./$ac_file'
2232 { (case "(($ac_try" in
2233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2234 *) ac_try_echo=$ac_try;;
2235 esac
2236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2237 (eval "$ac_try") 2>&5
2238 ac_status=$?
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2241 cross_compiling=no
2242 else
2243 if test "$cross_compiling" = maybe; then
2244 cross_compiling=yes
2245 else
2246 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2247 If you meant to cross compile, use \`--host'.
2248 See \`config.log' for more details." >&5
2249 echo "$as_me: error: cannot run C compiled programs.
2250 If you meant to cross compile, use \`--host'.
2251 See \`config.log' for more details." >&2;}
2252 { (exit 1); exit 1; }; }
2253 fi
2254 fi
2255 fi
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2258
2259 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2260 ac_clean_files=$ac_clean_files_save
2261 # Check that the compiler produces executables we can run. If not, either
2262 # the compiler is broken, or we cross compile.
2263 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2264 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2265 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2266 echo "${ECHO_T}$cross_compiling" >&6; }
2267
2268 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2269 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2270 if { (ac_try="$ac_link"
2271 case "(($ac_try" in
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2274 esac
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276 (eval "$ac_link") 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; then
2280 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2281 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2282 # work properly (i.e., refer to `conftest.exe'), while it won't with
2283 # `rm'.
2284 for ac_file in conftest.exe conftest conftest.*; do
2285 test -f "$ac_file" || continue
2286 case $ac_file in
2287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2288 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2289 break;;
2290 * ) break;;
2291 esac
2292 done
2293 else
2294 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2295 See \`config.log' for more details." >&5
2296 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2297 See \`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2299 fi
2300
2301 rm -f conftest$ac_cv_exeext
2302 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2303 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2304
2305 rm -f conftest.$ac_ext
2306 EXEEXT=$ac_cv_exeext
2307 ac_exeext=$EXEEXT
2308 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2309 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2310 if test "${ac_cv_objext+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 cat >conftest.$ac_ext <<_ACEOF
2314 /* confdefs.h. */
2315 _ACEOF
2316 cat confdefs.h >>conftest.$ac_ext
2317 cat >>conftest.$ac_ext <<_ACEOF
2318 /* end confdefs.h. */
2319
2320 int
2321 main ()
2322 {
2323
2324 ;
2325 return 0;
2326 }
2327 _ACEOF
2328 rm -f conftest.o conftest.obj
2329 if { (ac_try="$ac_compile"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2335 (eval "$ac_compile") 2>&5
2336 ac_status=$?
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; then
2339 for ac_file in conftest.o conftest.obj conftest.*; do
2340 test -f "$ac_file" || continue;
2341 case $ac_file in
2342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2343 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2344 break;;
2345 esac
2346 done
2347 else
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2350
2351 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2356 fi
2357
2358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2359 fi
2360 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2361 echo "${ECHO_T}$ac_cv_objext" >&6; }
2362 OBJEXT=$ac_cv_objext
2363 ac_objext=$OBJEXT
2364 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2365 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2366 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 else
2369 cat >conftest.$ac_ext <<_ACEOF
2370 /* confdefs.h. */
2371 _ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2375
2376 int
2377 main ()
2378 {
2379 #ifndef __GNUC__
2380 choke me
2381 #endif
2382
2383 ;
2384 return 0;
2385 }
2386 _ACEOF
2387 rm -f conftest.$ac_objext
2388 if { (ac_try="$ac_compile"
2389 case "(($ac_try" in
2390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2391 *) ac_try_echo=$ac_try;;
2392 esac
2393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2394 (eval "$ac_compile") 2>conftest.er1
2395 ac_status=$?
2396 grep -v '^ *+' conftest.er1 >conftest.err
2397 rm -f conftest.er1
2398 cat conftest.err >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } && {
2401 test -z "$ac_c_werror_flag" ||
2402 test ! -s conftest.err
2403 } && test -s conftest.$ac_objext; then
2404 ac_compiler_gnu=yes
2405 else
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2408
2409 ac_compiler_gnu=no
2410 fi
2411
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2414
2415 fi
2416 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2417 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2418 GCC=`test $ac_compiler_gnu = yes && echo yes`
2419 ac_test_CFLAGS=${CFLAGS+set}
2420 ac_save_CFLAGS=$CFLAGS
2421 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2422 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2423 if test "${ac_cv_prog_cc_g+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 ac_save_c_werror_flag=$ac_c_werror_flag
2427 ac_c_werror_flag=yes
2428 ac_cv_prog_cc_g=no
2429 CFLAGS="-g"
2430 cat >conftest.$ac_ext <<_ACEOF
2431 /* confdefs.h. */
2432 _ACEOF
2433 cat confdefs.h >>conftest.$ac_ext
2434 cat >>conftest.$ac_ext <<_ACEOF
2435 /* end confdefs.h. */
2436
2437 int
2438 main ()
2439 {
2440
2441 ;
2442 return 0;
2443 }
2444 _ACEOF
2445 rm -f conftest.$ac_objext
2446 if { (ac_try="$ac_compile"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2452 (eval "$ac_compile") 2>conftest.er1
2453 ac_status=$?
2454 grep -v '^ *+' conftest.er1 >conftest.err
2455 rm -f conftest.er1
2456 cat conftest.err >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } && {
2459 test -z "$ac_c_werror_flag" ||
2460 test ! -s conftest.err
2461 } && test -s conftest.$ac_objext; then
2462 ac_cv_prog_cc_g=yes
2463 else
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.$ac_ext >&5
2466
2467 CFLAGS=""
2468 cat >conftest.$ac_ext <<_ACEOF
2469 /* confdefs.h. */
2470 _ACEOF
2471 cat confdefs.h >>conftest.$ac_ext
2472 cat >>conftest.$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2474
2475 int
2476 main ()
2477 {
2478
2479 ;
2480 return 0;
2481 }
2482 _ACEOF
2483 rm -f conftest.$ac_objext
2484 if { (ac_try="$ac_compile"
2485 case "(($ac_try" in
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2488 esac
2489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2490 (eval "$ac_compile") 2>conftest.er1
2491 ac_status=$?
2492 grep -v '^ *+' conftest.er1 >conftest.err
2493 rm -f conftest.er1
2494 cat conftest.err >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } && {
2497 test -z "$ac_c_werror_flag" ||
2498 test ! -s conftest.err
2499 } && test -s conftest.$ac_objext; then
2500 :
2501 else
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2505 ac_c_werror_flag=$ac_save_c_werror_flag
2506 CFLAGS="-g"
2507 cat >conftest.$ac_ext <<_ACEOF
2508 /* confdefs.h. */
2509 _ACEOF
2510 cat confdefs.h >>conftest.$ac_ext
2511 cat >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2513
2514 int
2515 main ()
2516 {
2517
2518 ;
2519 return 0;
2520 }
2521 _ACEOF
2522 rm -f conftest.$ac_objext
2523 if { (ac_try="$ac_compile"
2524 case "(($ac_try" in
2525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526 *) ac_try_echo=$ac_try;;
2527 esac
2528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2529 (eval "$ac_compile") 2>conftest.er1
2530 ac_status=$?
2531 grep -v '^ *+' conftest.er1 >conftest.err
2532 rm -f conftest.er1
2533 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } && {
2536 test -z "$ac_c_werror_flag" ||
2537 test ! -s conftest.err
2538 } && test -s conftest.$ac_objext; then
2539 ac_cv_prog_cc_g=yes
2540 else
2541 echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.$ac_ext >&5
2543
2544
2545 fi
2546
2547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 fi
2549
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 fi
2552
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 ac_c_werror_flag=$ac_save_c_werror_flag
2555 fi
2556 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2557 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2558 if test "$ac_test_CFLAGS" = set; then
2559 CFLAGS=$ac_save_CFLAGS
2560 elif test $ac_cv_prog_cc_g = yes; then
2561 if test "$GCC" = yes; then
2562 CFLAGS="-g -O2"
2563 else
2564 CFLAGS="-g"
2565 fi
2566 else
2567 if test "$GCC" = yes; then
2568 CFLAGS="-O2"
2569 else
2570 CFLAGS=
2571 fi
2572 fi
2573 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2574 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2575 if test "${ac_cv_prog_cc_c89+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 ac_cv_prog_cc_c89=no
2579 ac_save_CC=$CC
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2586 #include <stdarg.h>
2587 #include <stdio.h>
2588 #include <sys/types.h>
2589 #include <sys/stat.h>
2590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2591 struct buf { int x; };
2592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2593 static char *e (p, i)
2594 char **p;
2595 int i;
2596 {
2597 return p[i];
2598 }
2599 static char *f (char * (*g) (char **, int), char **p, ...)
2600 {
2601 char *s;
2602 va_list v;
2603 va_start (v,p);
2604 s = g (p, va_arg (v,int));
2605 va_end (v);
2606 return s;
2607 }
2608
2609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2610 function prototypes and stuff, but not '\xHH' hex character constants.
2611 These don't provoke an error unfortunately, instead are silently treated
2612 as 'x'. The following induces an error, until -std is added to get
2613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2614 array size at least. It's necessary to write '\x00'==0 to get something
2615 that's true only with -std. */
2616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2617
2618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2619 inside strings and character constants. */
2620 #define FOO(x) 'x'
2621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2622
2623 int test (int i, double x);
2624 struct s1 {int (*f) (int a);};
2625 struct s2 {int (*f) (double a);};
2626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2627 int argc;
2628 char **argv;
2629 int
2630 main ()
2631 {
2632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2633 ;
2634 return 0;
2635 }
2636 _ACEOF
2637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 do
2640 CC="$ac_save_CC $ac_arg"
2641 rm -f conftest.$ac_objext
2642 if { (ac_try="$ac_compile"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_compile") 2>conftest.er1
2649 ac_status=$?
2650 grep -v '^ *+' conftest.er1 >conftest.err
2651 rm -f conftest.er1
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } && {
2655 test -z "$ac_c_werror_flag" ||
2656 test ! -s conftest.err
2657 } && test -s conftest.$ac_objext; then
2658 ac_cv_prog_cc_c89=$ac_arg
2659 else
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2662
2663
2664 fi
2665
2666 rm -f core conftest.err conftest.$ac_objext
2667 test "x$ac_cv_prog_cc_c89" != "xno" && break
2668 done
2669 rm -f conftest.$ac_ext
2670 CC=$ac_save_CC
2671
2672 fi
2673 # AC_CACHE_VAL
2674 case "x$ac_cv_prog_cc_c89" in
2675 x)
2676 { echo "$as_me:$LINENO: result: none needed" >&5
2677 echo "${ECHO_T}none needed" >&6; } ;;
2678 xno)
2679 { echo "$as_me:$LINENO: result: unsupported" >&5
2680 echo "${ECHO_T}unsupported" >&6; } ;;
2681 *)
2682 CC="$CC $ac_cv_prog_cc_c89"
2683 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2684 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2685 esac
2686
2687
2688 ac_ext=c
2689 ac_cpp='$CPP $CPPFLAGS'
2690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2693
2694 ac_ext=c
2695 ac_cpp='$CPP $CPPFLAGS'
2696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2699
2700
2701 CFLAGS="$OLD_CFLAGS"
2702
2703
2704 if test "$ac_cv_c_compiler_gnu" != yes; then
2705
2706 SGS=no
2707 { echo "$as_me:$LINENO: checking $CC -version for TenDRA or MIPSpro" >&5
2708 echo $ECHO_N "checking $CC -version for TenDRA or MIPSpro... $ECHO_C" >&6; }
2709 case `$CC -version 2>&1` in
2710 *TenDRA*)
2711 { echo "$as_me:$LINENO: result: yes, TenDRA" >&5
2712 echo "${ECHO_T}yes, TenDRA" >&6; }
2713 IRC_CFLAGS=""
2714 CPPFLAGS="$CPPFLAGS -Ylonglong -Yansi -Ysystem"
2715 SGS=yes
2716 TenDRA=yes
2717 ;;
2718 *MIPSpro*)
2719 { echo "$as_me:$LINENO: result: yes, MIPSpro" >&5
2720 echo "${ECHO_T}yes, MIPSpro" >&6; }
2721 MIPSpro=yes
2722 SGS=yes
2723 ;;
2724 *)
2725 { echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6; }
2727 TenDRA=no
2728 MIPSpro=no
2729 ;;
2730 esac
2731
2732 { echo "$as_me:$LINENO: checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc" >&5
2733 echo $ECHO_N "checking $CC -V for Sun Workshop, Forte, HPUX or Tru64 cc... $ECHO_C" >&6; }
2734 case `$CC -V 2>&1` in
2735 *Sun*WorkShop* | *Forte*Developer* | *Sun*C*)
2736 { echo "$as_me:$LINENO: result: Sun Workshop/Forte" >&5
2737 echo "${ECHO_T}Sun Workshop/Forte" >&6; }
2738 IRC_CFLAGS="-xO3 -xdepend -xinline=dlinkAdd,dlinkAddBefore,dlinkAddTail,dlinkDelete,dlink_list_length,dlink_node,dlinkMoveList,_MyMalloc,_MyRealloc,_MyFree,_DupString"
2739 SunWorkShop=yes
2740 SGS=yes
2741 ;;
2742 *Tru64*)
2743 { echo "$as_me:$LINENO: result: Tru64 cc" >&5
2744 echo "${ECHO_T}Tru64 cc" >&6; }
2745 IRC_CFLAGS=""
2746 CPPFLAGS="-I/usr/local/include"
2747 Tru=yes
2748 ;;
2749 *HP*ANSI*)
2750 { echo "$as_me:$LINENO: result: HPUX cc" >&5
2751 echo "${ECHO_T}HPUX cc" >&6; }
2752 HPUX=yes
2753 IRC_CFLAGS="+e"
2754 ;;
2755 *)
2756 { echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6; }
2758 ;;
2759 esac
2760
2761 fi
2762
2763 { echo "$as_me:$LINENO: checking uname -s for Cygwin, Solaris or HPUX" >&5
2764 echo $ECHO_N "checking uname -s for Cygwin, Solaris or HPUX... $ECHO_C" >&6; }
2765 case `uname -s` in
2766 HP-UX*)
2767
2768 if test "$HPUX" != yes -a "$ac_cv_c_compiler_gnu" = no; then
2769 { echo "$as_me:$LINENO: result: assuming old HPUX with its own cc" >&5
2770 echo "${ECHO_T}assuming old HPUX with its own cc" >&6; }
2771 IRC_CFLAGS="$IRC_CFLAGS +e"
2772 HPUX=yes
2773 else
2774 { echo "$as_me:$LINENO: result: already using newer HPUX" >&5
2775 echo "${ECHO_T}already using newer HPUX" >&6; }
2776 fi
2777 ;;
2778 CYGWIN*)
2779 { echo "$as_me:$LINENO: result: Cygwin" >&5
2780 echo "${ECHO_T}Cygwin" >&6; }
2781 CYGWIN=yes
2782 ;;
2783 SunOS*)
2784 { echo "$as_me:$LINENO: result: SunOS or Solaris" >&5
2785 echo "${ECHO_T}SunOS or Solaris" >&6; }
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __EXTENSIONS__ 1
2789 _ACEOF
2790
2791 ;;
2792 *)
2793 { echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6; }
2795 ;;
2796 esac
2797
2798 if test "$ac_cv_c_compiler_gnu" = yes; then
2799 { echo "$as_me:$LINENO: checking if $CC is Apple GCC" >&5
2800 echo $ECHO_N "checking if $CC is Apple GCC... $ECHO_C" >&6; }
2801
2802 if expr "`$CC -v 2>&1 | tail -1`" : ".*Apple" >/dev/null; then
2803 AppleGCC=yes
2804 else
2805 AppleGCC=no
2806 fi
2807
2808 { echo "$as_me:$LINENO: result: $AppleGCC" >&5
2809 echo "${ECHO_T}$AppleGCC" >&6; }
2810
2811 IRC_CFLAGS="$IRC_CFLAGS -Wall -O2"
2812 fi
2813
2814 if test "$ac_cv_prog_cc_g" = yes; then
2815 if test "$Tru" = yes; then
2816 IRC_CFLAGS="$IRC_CFLAGS -g3"
2817 else
2818 IRC_CFLAGS="$IRC_CFLAGS -g"
2819 fi
2820 fi
2821
2822 { echo "$as_me:$LINENO: checking if $CC supports the SVR4 SGS interfaces" >&5
2823 echo $ECHO_N "checking if $CC supports the SVR4 SGS interfaces... $ECHO_C" >&6; }
2824 if test "$SGS" = "yes"; then
2825 { echo "$as_me:$LINENO: result: yes" >&5
2826 echo "${ECHO_T}yes" >&6; }
2827 else
2828 { echo "$as_me:$LINENO: result: no" >&5
2829 echo "${ECHO_T}no" >&6; }
2830 fi
2831
2832 # Extract the first word of "mkdep", so it can be a program name with args.
2833 set dummy mkdep; ac_word=$2
2834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2836 if test "${ac_cv_path_MKDEP+set}" = set; then
2837 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 else
2839 case $MKDEP in
2840 [\\/]* | ?:[\\/]*)
2841 ac_cv_path_MKDEP="$MKDEP" # Let the user override the test with a path.
2842 ;;
2843 *)
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845 for as_dir in $PATH
2846 do
2847 IFS=$as_save_IFS
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2851 ac_cv_path_MKDEP="$as_dir/$ac_word$ac_exec_ext"
2852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 break 2
2854 fi
2855 done
2856 done
2857 IFS=$as_save_IFS
2858
2859 ;;
2860 esac
2861 fi
2862 MKDEP=$ac_cv_path_MKDEP
2863 if test -n "$MKDEP"; then
2864 { echo "$as_me:$LINENO: result: $MKDEP" >&5
2865 echo "${ECHO_T}$MKDEP" >&6; }
2866 else
2867 { echo "$as_me:$LINENO: result: no" >&5
2868 echo "${ECHO_T}no" >&6; }
2869 fi
2870
2871
2872 # Extract the first word of "makedepend", so it can be a program name with args.
2873 set dummy makedepend; ac_word=$2
2874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2876 if test "${ac_cv_path_MAKEDEPEND+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 else
2879 case $MAKEDEPEND in
2880 [\\/]* | ?:[\\/]*)
2881 ac_cv_path_MAKEDEPEND="$MAKEDEPEND" # Let the user override the test with a path.
2882 ;;
2883 *)
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH
2886 do
2887 IFS=$as_save_IFS
2888 test -z "$as_dir" && as_dir=.
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891 ac_cv_path_MAKEDEPEND="$as_dir/$ac_word$ac_exec_ext"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 break 2
2894 fi
2895 done
2896 done
2897 IFS=$as_save_IFS
2898
2899 ;;
2900 esac
2901 fi
2902 MAKEDEPEND=$ac_cv_path_MAKEDEPEND
2903 if test -n "$MAKEDEPEND"; then
2904 { echo "$as_me:$LINENO: result: $MAKEDEPEND" >&5
2905 echo "${ECHO_T}$MAKEDEPEND" >&6; }
2906 else
2907 { echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6; }
2909 fi
2910
2911
2912
2913 { echo "$as_me:$LINENO: checking how to generate dependency info" >&5
2914 echo $ECHO_N "checking how to generate dependency info... $ECHO_C" >&6; }
2915
2916 STDOUT="> .depend"
2917
2918 if test "$ac_cv_c_compiler_gnu" = yes; then
2919 { echo "$as_me:$LINENO: result: gcc -MM" >&5
2920 echo "${ECHO_T}gcc -MM" >&6; }
2921 MKDEP="$CC -MM"
2922 elif test ! -z "$MKDEP"; then
2923 { echo "$as_me:$LINENO: result: mkdep" >&5
2924 echo "${ECHO_T}mkdep" >&6; }
2925
2926 if test -z "$Tru"; then
2927 STDOUT=""
2928 else
2929 STDOUT=" 2> /dev/null"
2930 fi
2931 elif test "$SunWorkShop" = yes; then
2932 { echo "$as_me:$LINENO: result: $CC -xM" >&5
2933 echo "${ECHO_T}$CC -xM" >&6; }
2934 MKDEP="$CC -xM"
2935 STDOUT="> .depend 2> /dev/null"
2936 elif test ! -z "$MAKEDEPEND"; then
2937 { echo "$as_me:$LINENO: result: makedepend" >&5
2938 echo "${ECHO_T}makedepend" >&6; }
2939 MKDEP="$MAKEDEPEND -f-"
2940 else
2941 { echo "$as_me:$LINENO: result: nothing suitable.. forget it!" >&5
2942 echo "${ECHO_T}nothing suitable.. forget it!" >&6; }
2943 MKDEP=":"
2944 fi
2945
2946
2947
2948
2949 { echo "$as_me:$LINENO: checking for /dev/null" >&5
2950 echo $ECHO_N "checking for /dev/null... $ECHO_C" >&6; }
2951 if test -c /dev/null ; then
2952
2953 cat >>confdefs.h <<\_ACEOF
2954 #define PATH_DEVNULL "/dev/null"
2955 _ACEOF
2956
2957 { echo "$as_me:$LINENO: result: yes" >&5
2958 echo "${ECHO_T}yes" >&6; }
2959 else
2960
2961 cat >>confdefs.h <<\_ACEOF
2962 #define PATH_DEVNULL "devnull.log"
2963 _ACEOF
2964
2965 { echo "$as_me:$LINENO: result: no - using devnull.log" >&5
2966 echo "${ECHO_T}no - using devnull.log" >&6; }
2967 fi
2968
2969 if test ! -z "$CFLAGS"; then
2970 IRC_CFLAGS="$IRC_CFLAGS $CFLAGS"
2971 fi
2972
2973
2974 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2975 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2976 if test "${ac_cv_search_strerror+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 else
2979 ac_func_search_save_LIBS=$LIBS
2980 cat >conftest.$ac_ext <<_ACEOF
2981 /* confdefs.h. */
2982 _ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986
2987 /* Override any GCC internal prototype to avoid an error.
2988 Use char because int might match the return type of a GCC
2989 builtin and then its argument prototype would still apply. */
2990 #ifdef __cplusplus
2991 extern "C"
2992 #endif
2993 char strerror ();
2994 int
2995 main ()
2996 {
2997 return strerror ();
2998 ;
2999 return 0;
3000 }
3001 _ACEOF
3002 for ac_lib in '' cposix; do
3003 if test -z "$ac_lib"; then
3004 ac_res="none required"
3005 else
3006 ac_res=-l$ac_lib
3007 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3008 fi
3009 rm -f conftest.$ac_objext conftest$ac_exeext
3010 if { (ac_try="$ac_link"
3011 case "(($ac_try" in
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3014 esac
3015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3016 (eval "$ac_link") 2>conftest.er1
3017 ac_status=$?
3018 grep -v '^ *+' conftest.er1 >conftest.err
3019 rm -f conftest.er1
3020 cat conftest.err >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } && {
3023 test -z "$ac_c_werror_flag" ||
3024 test ! -s conftest.err
3025 } && test -s conftest$ac_exeext &&
3026 $as_test_x conftest$ac_exeext; then
3027 ac_cv_search_strerror=$ac_res
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3031
3032
3033 fi
3034
3035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3036 conftest$ac_exeext
3037 if test "${ac_cv_search_strerror+set}" = set; then
3038 break
3039 fi
3040 done
3041 if test "${ac_cv_search_strerror+set}" = set; then
3042 :
3043 else
3044 ac_cv_search_strerror=no
3045 fi
3046 rm conftest.$ac_ext
3047 LIBS=$ac_func_search_save_LIBS
3048 fi
3049 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3050 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3051 ac_res=$ac_cv_search_strerror
3052 if test "$ac_res" != no; then
3053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3054
3055 fi
3056
3057 { echo "$as_me:$LINENO: checking for inline" >&5
3058 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3059 if test "${ac_cv_c_inline+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 else
3062 ac_cv_c_inline=no
3063 for ac_kw in inline __inline__ __inline; do
3064 cat >conftest.$ac_ext <<_ACEOF
3065 /* confdefs.h. */
3066 _ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 #ifndef __cplusplus
3071 typedef int foo_t;
3072 static $ac_kw foo_t static_foo () {return 0; }
3073 $ac_kw foo_t foo () {return 0; }
3074 #endif
3075
3076 _ACEOF
3077 rm -f conftest.$ac_objext
3078 if { (ac_try="$ac_compile"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3085 ac_status=$?
3086 grep -v '^ *+' conftest.er1 >conftest.err
3087 rm -f conftest.er1
3088 cat conftest.err >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3094 ac_cv_c_inline=$ac_kw
3095 else
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3098
3099
3100 fi
3101
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 test "$ac_cv_c_inline" != no && break
3104 done
3105
3106 fi
3107 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3108 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3109
3110
3111 case $ac_cv_c_inline in
3112 inline | yes) ;;
3113 *)
3114 case $ac_cv_c_inline in
3115 no) ac_val=;;
3116 *) ac_val=$ac_cv_c_inline;;
3117 esac
3118 cat >>confdefs.h <<_ACEOF
3119 #ifndef __cplusplus
3120 #define inline $ac_val
3121 #endif
3122 _ACEOF
3123 ;;
3124 esac
3125
3126 ac_ext=c
3127 ac_cpp='$CPP $CPPFLAGS'
3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3132 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3133 # On Suns, sometimes $CPP names a directory.
3134 if test -n "$CPP" && test -d "$CPP"; then
3135 CPP=
3136 fi
3137 if test -z "$CPP"; then
3138 if test "${ac_cv_prog_CPP+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 else
3141 # Double quotes because CPP needs to be expanded
3142 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3143 do
3144 ac_preproc_ok=false
3145 for ac_c_preproc_warn_flag in '' yes
3146 do
3147 # Use a header file that comes with gcc, so configuring glibc
3148 # with a fresh cross-compiler works.
3149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3150 # <limits.h> exists even on freestanding compilers.
3151 # On the NeXT, cc -E runs the code through the compiler's parser,
3152 # not just through cpp. "Syntax error" is here to catch this case.
3153 cat >conftest.$ac_ext <<_ACEOF
3154 /* confdefs.h. */
3155 _ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3159 #ifdef __STDC__
3160 # include <limits.h>
3161 #else
3162 # include <assert.h>
3163 #endif
3164 Syntax error
3165 _ACEOF
3166 if { (ac_try="$ac_cpp conftest.$ac_ext"
3167 case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3170 esac
3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3173 ac_status=$?
3174 grep -v '^ *+' conftest.er1 >conftest.err
3175 rm -f conftest.er1
3176 cat conftest.err >&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } >/dev/null && {
3179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3180 test ! -s conftest.err
3181 }; then
3182 :
3183 else
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3186
3187 # Broken: fails on valid input.
3188 continue
3189 fi
3190
3191 rm -f conftest.err conftest.$ac_ext
3192
3193 # OK, works on sane cases. Now check whether nonexistent headers
3194 # can be detected and how.
3195 cat >conftest.$ac_ext <<_ACEOF
3196 /* confdefs.h. */
3197 _ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3201 #include <ac_nonexistent.h>
3202 _ACEOF
3203 if { (ac_try="$ac_cpp conftest.$ac_ext"
3204 case "(($ac_try" in
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3207 esac
3208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3210 ac_status=$?
3211 grep -v '^ *+' conftest.er1 >conftest.err
3212 rm -f conftest.er1
3213 cat conftest.err >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } >/dev/null && {
3216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 }; then
3219 # Broken: success on invalid input.
3220 continue
3221 else
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3224
3225 # Passes both tests.
3226 ac_preproc_ok=:
3227 break
3228 fi
3229
3230 rm -f conftest.err conftest.$ac_ext
3231
3232 done
3233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3234 rm -f conftest.err conftest.$ac_ext
3235 if $ac_preproc_ok; then
3236 break
3237 fi
3238
3239 done
3240 ac_cv_prog_CPP=$CPP
3241
3242 fi
3243 CPP=$ac_cv_prog_CPP
3244 else
3245 ac_cv_prog_CPP=$CPP
3246 fi
3247 { echo "$as_me:$LINENO: result: $CPP" >&5
3248 echo "${ECHO_T}$CPP" >&6; }
3249 ac_preproc_ok=false
3250 for ac_c_preproc_warn_flag in '' yes
3251 do
3252 # Use a header file that comes with gcc, so configuring glibc
3253 # with a fresh cross-compiler works.
3254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3255 # <limits.h> exists even on freestanding compilers.
3256 # On the NeXT, cc -E runs the code through the compiler's parser,
3257 # not just through cpp. "Syntax error" is here to catch this case.
3258 cat >conftest.$ac_ext <<_ACEOF
3259 /* confdefs.h. */
3260 _ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3264 #ifdef __STDC__
3265 # include <limits.h>
3266 #else
3267 # include <assert.h>
3268 #endif
3269 Syntax error
3270 _ACEOF
3271 if { (ac_try="$ac_cpp conftest.$ac_ext"
3272 case "(($ac_try" in
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3275 esac
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3278 ac_status=$?
3279 grep -v '^ *+' conftest.er1 >conftest.err
3280 rm -f conftest.er1
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } >/dev/null && {
3284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3285 test ! -s conftest.err
3286 }; then
3287 :
3288 else
3289 echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3291
3292 # Broken: fails on valid input.
3293 continue
3294 fi
3295
3296 rm -f conftest.err conftest.$ac_ext
3297
3298 # OK, works on sane cases. Now check whether nonexistent headers
3299 # can be detected and how.
3300 cat >conftest.$ac_ext <<_ACEOF
3301 /* confdefs.h. */
3302 _ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3306 #include <ac_nonexistent.h>
3307 _ACEOF
3308 if { (ac_try="$ac_cpp conftest.$ac_ext"
3309 case "(($ac_try" in
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3312 esac
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3315 ac_status=$?
3316 grep -v '^ *+' conftest.er1 >conftest.err
3317 rm -f conftest.er1
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } >/dev/null && {
3321 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3323 }; then
3324 # Broken: success on invalid input.
3325 continue
3326 else
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3329
3330 # Passes both tests.
3331 ac_preproc_ok=:
3332 break
3333 fi
3334
3335 rm -f conftest.err conftest.$ac_ext
3336
3337 done
3338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3339 rm -f conftest.err conftest.$ac_ext
3340 if $ac_preproc_ok; then
3341 :
3342 else
3343 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3344 See \`config.log' for more details." >&5
3345 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3346 See \`config.log' for more details." >&2;}
3347 { (exit 1); exit 1; }; }
3348 fi
3349
3350 ac_ext=c
3351 ac_cpp='$CPP $CPPFLAGS'
3352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355
3356
3357 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3358 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3359 if test "${ac_cv_path_GREP+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 else
3362 # Extract the first word of "grep ggrep" to use in msg output
3363 if test -z "$GREP"; then
3364 set dummy grep ggrep; ac_prog_name=$2
3365 if test "${ac_cv_path_GREP+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 else
3368 ac_path_GREP_found=false
3369 # Loop through the user's path and test for each of PROGNAME-LIST
3370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3372 do
3373 IFS=$as_save_IFS
3374 test -z "$as_dir" && as_dir=.
3375 for ac_prog in grep ggrep; do
3376 for ac_exec_ext in '' $ac_executable_extensions; do
3377 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3378 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3379 # Check for GNU ac_path_GREP and select it if it is found.
3380 # Check for GNU $ac_path_GREP
3381 case `"$ac_path_GREP" --version 2>&1` in
3382 *GNU*)
3383 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3384 *)
3385 ac_count=0
3386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3387 while :
3388 do
3389 cat "conftest.in" "conftest.in" >"conftest.tmp"
3390 mv "conftest.tmp" "conftest.in"
3391 cp "conftest.in" "conftest.nl"
3392 echo 'GREP' >> "conftest.nl"
3393 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3395 ac_count=`expr $ac_count + 1`
3396 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3397 # Best one so far, save it but keep looking for a better one
3398 ac_cv_path_GREP="$ac_path_GREP"
3399 ac_path_GREP_max=$ac_count
3400 fi
3401 # 10*(2^10) chars as input seems more than enough
3402 test $ac_count -gt 10 && break
3403 done
3404 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3405 esac
3406
3407
3408 $ac_path_GREP_found && break 3
3409 done
3410 done
3411
3412 done
3413 IFS=$as_save_IFS
3414
3415
3416 fi
3417
3418 GREP="$ac_cv_path_GREP"
3419 if test -z "$GREP"; then
3420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3422 { (exit 1); exit 1; }; }
3423 fi
3424
3425 else
3426 ac_cv_path_GREP=$GREP
3427 fi
3428
3429
3430 fi
3431 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3432 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3433 GREP="$ac_cv_path_GREP"
3434
3435
3436 { echo "$as_me:$LINENO: checking for egrep" >&5
3437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3438 if test "${ac_cv_path_EGREP+set}" = set; then
3439 echo $ECHO_N "(cached) $ECHO_C" >&6
3440 else
3441 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3442 then ac_cv_path_EGREP="$GREP -E"
3443 else
3444 # Extract the first word of "egrep" to use in msg output
3445 if test -z "$EGREP"; then
3446 set dummy egrep; ac_prog_name=$2
3447 if test "${ac_cv_path_EGREP+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 ac_path_EGREP_found=false
3451 # Loop through the user's path and test for each of PROGNAME-LIST
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3454 do
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_prog in egrep; do
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3460 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3461 # Check for GNU ac_path_EGREP and select it if it is found.
3462 # Check for GNU $ac_path_EGREP
3463 case `"$ac_path_EGREP" --version 2>&1` in
3464 *GNU*)
3465 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3466 *)
3467 ac_count=0
3468 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3469 while :
3470 do
3471 cat "conftest.in" "conftest.in" >"conftest.tmp"
3472 mv "conftest.tmp" "conftest.in"
3473 cp "conftest.in" "conftest.nl"
3474 echo 'EGREP' >> "conftest.nl"
3475 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3476 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3477 ac_count=`expr $ac_count + 1`
3478 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3479 # Best one so far, save it but keep looking for a better one
3480 ac_cv_path_EGREP="$ac_path_EGREP"
3481 ac_path_EGREP_max=$ac_count
3482 fi
3483 # 10*(2^10) chars as input seems more than enough
3484 test $ac_count -gt 10 && break
3485 done
3486 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3487 esac
3488
3489
3490 $ac_path_EGREP_found && break 3
3491 done
3492 done
3493
3494 done
3495 IFS=$as_save_IFS
3496
3497
3498 fi
3499
3500 EGREP="$ac_cv_path_EGREP"
3501 if test -z "$EGREP"; then
3502 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3503 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3504 { (exit 1); exit 1; }; }
3505 fi
3506
3507 else
3508 ac_cv_path_EGREP=$EGREP
3509 fi
3510
3511
3512 fi
3513 fi
3514 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3515 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3516 EGREP="$ac_cv_path_EGREP"
3517
3518
3519 if test $ac_cv_c_compiler_gnu = yes; then
3520 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3521 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3522 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 else
3525 ac_pattern="Autoconf.*'x'"
3526 cat >conftest.$ac_ext <<_ACEOF
3527 /* confdefs.h. */
3528 _ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3532 #include <sgtty.h>
3533 Autoconf TIOCGETP
3534 _ACEOF
3535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3536 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3537 ac_cv_prog_gcc_traditional=yes
3538 else
3539 ac_cv_prog_gcc_traditional=no
3540 fi
3541 rm -f conftest*
3542
3543
3544 if test $ac_cv_prog_gcc_traditional = no; then
3545 cat >conftest.$ac_ext <<_ACEOF
3546 /* confdefs.h. */
3547 _ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3551 #include <termio.h>
3552 Autoconf TCGETA
3553 _ACEOF
3554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3555 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3556 ac_cv_prog_gcc_traditional=yes
3557 fi
3558 rm -f conftest*
3559
3560 fi
3561 fi
3562 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3563 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3564 if test $ac_cv_prog_gcc_traditional = yes; then
3565 CC="$CC -traditional"
3566 fi
3567 fi
3568
3569 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3570 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3571 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3572 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 cat >conftest.make <<\_ACEOF
3576 SHELL = /bin/sh
3577 all:
3578 @echo '@@@%%%=$(MAKE)=@@@%%%'
3579 _ACEOF
3580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3581 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3582 *@@@%%%=?*=@@@%%%*)
3583 eval ac_cv_prog_make_${ac_make}_set=yes;;
3584 *)
3585 eval ac_cv_prog_make_${ac_make}_set=no;;
3586 esac
3587 rm -f conftest.make
3588 fi
3589 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 SET_MAKE=
3593 else
3594 { echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6; }
3596 SET_MAKE="MAKE=${MAKE-make}"
3597 fi
3598
3599 ac_aux_dir=
3600 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3601 if test -f "$ac_dir/install-sh"; then
3602 ac_aux_dir=$ac_dir
3603 ac_install_sh="$ac_aux_dir/install-sh -c"
3604 break
3605 elif test -f "$ac_dir/install.sh"; then
3606 ac_aux_dir=$ac_dir
3607 ac_install_sh="$ac_aux_dir/install.sh -c"
3608 break
3609 elif test -f "$ac_dir/shtool"; then
3610 ac_aux_dir=$ac_dir
3611 ac_install_sh="$ac_aux_dir/shtool install -c"
3612 break
3613 fi
3614 done
3615 if test -z "$ac_aux_dir"; then
3616 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3617 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621 # These three variables are undocumented and unsupported,
3622 # and are intended to be withdrawn in a future Autoconf release.
3623 # They can cause serious problems if a builder's source tree is in a directory
3624 # whose full name contains unusual characters.
3625 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3626 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3627 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3628
3629
3630 # Find a good install program. We prefer a C program (faster),
3631 # so one script is as good as another. But avoid the broken or
3632 # incompatible versions:
3633 # SysV /etc/install, /usr/sbin/install
3634 # SunOS /usr/etc/install
3635 # IRIX /sbin/install
3636 # AIX /bin/install
3637 # AmigaOS /C/install, which installs bootblocks on floppy discs
3638 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3639 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3640 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3641 # OS/2's system install, which has a completely different semantic
3642 # ./install, which can be erroneously created by make from ./install.sh.
3643 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3644 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3645 if test -z "$INSTALL"; then
3646 if test "${ac_cv_path_install+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3651 do
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 # Account for people who put trailing slashes in PATH elements.
3655 case $as_dir/ in
3656 ./ | .// | /cC/* | \
3657 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3658 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3659 /usr/ucb/* ) ;;
3660 *)
3661 # OSF1 and SCO ODT 3.0 have their own names for install.
3662 # Don't use installbsd from OSF since it installs stuff as root
3663 # by default.
3664 for ac_prog in ginstall scoinst install; do
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3667 if test $ac_prog = install &&
3668 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3669 # AIX install. It has an incompatible calling convention.
3670 :
3671 elif test $ac_prog = install &&
3672 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3673 # program-specific install script used by HP pwplus--don't use.
3674 :
3675 else
3676 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3677 break 3
3678 fi
3679 fi
3680 done
3681 done
3682 ;;
3683 esac
3684 done
3685 IFS=$as_save_IFS
3686
3687
3688 fi
3689 if test "${ac_cv_path_install+set}" = set; then
3690 INSTALL=$ac_cv_path_install
3691 else
3692 # As a last resort, use the slow shell script. Don't cache a
3693 # value for INSTALL within a source directory, because that will
3694 # break other packages using the cache if that directory is
3695 # removed, or if the value is a relative name.
3696 INSTALL=$ac_install_sh
3697 fi
3698 fi
3699 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3700 echo "${ECHO_T}$INSTALL" >&6; }
3701
3702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3703 # It thinks the first close brace ends the variable substitution.
3704 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3705
3706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3707
3708 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3709
3710 # Extract the first word of "rm", so it can be a program name with args.
3711 set dummy rm; ac_word=$2
3712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3714 if test "${ac_cv_path_RM+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 else
3717 case $RM in
3718 [\\/]* | ?:[\\/]*)
3719 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3720 ;;
3721 *)
3722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH
3724 do
3725 IFS=$as_save_IFS
3726 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 break 2
3732 fi
3733 done
3734 done
3735 IFS=$as_save_IFS
3736
3737 ;;
3738 esac
3739 fi
3740 RM=$ac_cv_path_RM
3741 if test -n "$RM"; then
3742 { echo "$as_me:$LINENO: result: $RM" >&5
3743 echo "${ECHO_T}$RM" >&6; }
3744 else
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3747 fi
3748
3749
3750 # Extract the first word of "cp", so it can be a program name with args.
3751 set dummy cp; ac_word=$2
3752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3754 if test "${ac_cv_path_CP+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3756 else
3757 case $CP in
3758 [\\/]* | ?:[\\/]*)
3759 ac_cv_path_CP="$CP" # Let the user override the test with a path.
3760 ;;
3761 *)
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3764 do
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
3770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3772 fi
3773 done
3774 done
3775 IFS=$as_save_IFS
3776
3777 ;;
3778 esac
3779 fi
3780 CP=$ac_cv_path_CP
3781 if test -n "$CP"; then
3782 { echo "$as_me:$LINENO: result: $CP" >&5
3783 echo "${ECHO_T}$CP" >&6; }
3784 else
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3787 fi
3788
3789
3790 # Extract the first word of "mv", so it can be a program name with args.
3791 set dummy mv; ac_word=$2
3792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3794 if test "${ac_cv_path_MV+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3796 else
3797 case $MV in
3798 [\\/]* | ?:[\\/]*)
3799 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3800 ;;
3801 *)
3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 for as_dir in $PATH
3804 do
3805 IFS=$as_save_IFS
3806 test -z "$as_dir" && as_dir=.
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
3810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 break 2
3812 fi
3813 done
3814 done
3815 IFS=$as_save_IFS
3816
3817 ;;
3818 esac
3819 fi
3820 MV=$ac_cv_path_MV
3821 if test -n "$MV"; then
3822 { echo "$as_me:$LINENO: result: $MV" >&5
3823 echo "${ECHO_T}$MV" >&6; }
3824 else
3825 { echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6; }
3827 fi
3828
3829
3830 # Extract the first word of "ln", so it can be a program name with args.
3831 set dummy ln; ac_word=$2
3832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3834 if test "${ac_cv_path_LN+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 case $LN in
3838 [\\/]* | ?:[\\/]*)
3839 ac_cv_path_LN="$LN" # Let the user override the test with a path.
3840 ;;
3841 *)
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3844 do
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
3850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 break 2
3852 fi
3853 done
3854 done
3855 IFS=$as_save_IFS
3856
3857 ;;
3858 esac
3859 fi
3860 LN=$ac_cv_path_LN
3861 if test -n "$LN"; then
3862 { echo "$as_me:$LINENO: result: $LN" >&5
3863 echo "${ECHO_T}$LN" >&6; }
3864 else
3865 { echo "$as_me:$LINENO: result: no" >&5
3866 echo "${ECHO_T}no" >&6; }
3867 fi
3868
3869
3870 # Extract the first word of "sed", so it can be a program name with args.
3871 set dummy sed; ac_word=$2
3872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3874 if