Initial sauer
[SauerbratenRemote.git] / src / enet / configure
blob1491587600aa2a20632631a2bbd62f901c076d0a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libenet 10-12-2007.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='libenet'
574 PACKAGE_TARNAME='libenet'
575 PACKAGE_VERSION='10-12-2007'
576 PACKAGE_STRING='libenet 10-12-2007'
577 PACKAGE_BUGREPORT=''
579 ac_subst_vars='SHELL
580 PATH_SEPARATOR
581 PACKAGE_NAME
582 PACKAGE_TARNAME
583 PACKAGE_VERSION
584 PACKAGE_STRING
585 PACKAGE_BUGREPORT
586 exec_prefix
587 prefix
588 program_transform_name
589 bindir
590 sbindir
591 libexecdir
592 datarootdir
593 datadir
594 sysconfdir
595 sharedstatedir
596 localstatedir
597 includedir
598 oldincludedir
599 docdir
600 infodir
601 htmldir
602 dvidir
603 pdfdir
604 psdir
605 libdir
606 localedir
607 mandir
608 DEFS
609 ECHO_C
610 ECHO_N
611 ECHO_T
612 LIBS
613 build_alias
614 host_alias
615 target_alias
616 INSTALL_PROGRAM
617 INSTALL_SCRIPT
618 INSTALL_DATA
619 CYGPATH_W
620 PACKAGE
621 VERSION
622 ACLOCAL
623 AUTOCONF
624 AUTOMAKE
625 AUTOHEADER
626 MAKEINFO
627 install_sh
628 STRIP
629 INSTALL_STRIP_PROGRAM
630 mkdir_p
632 SET_MAKE
633 am__leading_dot
634 AMTAR
635 am__tar
636 am__untar
638 CFLAGS
639 LDFLAGS
640 CPPFLAGS
641 ac_ct_CC
642 EXEEXT
643 OBJEXT
644 DEPDIR
645 am__include
646 am__quote
647 AMDEP_TRUE
648 AMDEP_FALSE
649 AMDEPBACKSLASH
650 CCDEPMODE
651 am__fastdepCC_TRUE
652 am__fastdepCC_FALSE
653 RANLIB
655 GREP
656 EGREP
657 LIBOBJS
658 LTLIBOBJS'
659 ac_subst_files=''
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias
664 CFLAGS
665 LDFLAGS
666 LIBS
667 CPPFLAGS
668 CPP'
671 # Initialize some variables set by options.
672 ac_init_help=
673 ac_init_version=false
674 # The variables have the same names as the options, with
675 # dashes changed to underlines.
676 cache_file=/dev/null
677 exec_prefix=NONE
678 no_create=
679 no_recursion=
680 prefix=NONE
681 program_prefix=NONE
682 program_suffix=NONE
683 program_transform_name=s,x,x,
684 silent=
685 site=
686 srcdir=
687 verbose=
688 x_includes=NONE
689 x_libraries=NONE
691 # Installation directory options.
692 # These are left unexpanded so users can "make install exec_prefix=/foo"
693 # and all the variables that are supposed to be based on exec_prefix
694 # by default will actually change.
695 # Use braces instead of parens because sh, perl, etc. also accept them.
696 # (The list follows the same order as the GNU Coding Standards.)
697 bindir='${exec_prefix}/bin'
698 sbindir='${exec_prefix}/sbin'
699 libexecdir='${exec_prefix}/libexec'
700 datarootdir='${prefix}/share'
701 datadir='${datarootdir}'
702 sysconfdir='${prefix}/etc'
703 sharedstatedir='${prefix}/com'
704 localstatedir='${prefix}/var'
705 includedir='${prefix}/include'
706 oldincludedir='/usr/include'
707 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
708 infodir='${datarootdir}/info'
709 htmldir='${docdir}'
710 dvidir='${docdir}'
711 pdfdir='${docdir}'
712 psdir='${docdir}'
713 libdir='${exec_prefix}/lib'
714 localedir='${datarootdir}/locale'
715 mandir='${datarootdir}/man'
717 ac_prev=
718 ac_dashdash=
719 for ac_option
721 # If the previous option needs an argument, assign it.
722 if test -n "$ac_prev"; then
723 eval $ac_prev=\$ac_option
724 ac_prev=
725 continue
728 case $ac_option in
729 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 *) ac_optarg=yes ;;
731 esac
733 # Accept the important Cygnus configure options, so we can diagnose typos.
735 case $ac_dashdash$ac_option in
737 ac_dashdash=yes ;;
739 -bindir | --bindir | --bindi | --bind | --bin | --bi)
740 ac_prev=bindir ;;
741 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
742 bindir=$ac_optarg ;;
744 -build | --build | --buil | --bui | --bu)
745 ac_prev=build_alias ;;
746 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
747 build_alias=$ac_optarg ;;
749 -cache-file | --cache-file | --cache-fil | --cache-fi \
750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
751 ac_prev=cache_file ;;
752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
754 cache_file=$ac_optarg ;;
756 --config-cache | -C)
757 cache_file=config.cache ;;
759 -datadir | --datadir | --datadi | --datad)
760 ac_prev=datadir ;;
761 -datadir=* | --datadir=* | --datadi=* | --datad=*)
762 datadir=$ac_optarg ;;
764 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
765 | --dataroo | --dataro | --datar)
766 ac_prev=datarootdir ;;
767 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
768 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
769 datarootdir=$ac_optarg ;;
771 -disable-* | --disable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=no ;;
780 -docdir | --docdir | --docdi | --doc | --do)
781 ac_prev=docdir ;;
782 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 docdir=$ac_optarg ;;
785 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 ac_prev=dvidir ;;
787 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 dvidir=$ac_optarg ;;
790 -enable-* | --enable-*)
791 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
795 { (exit 1); exit 1; }; }
796 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
797 eval enable_$ac_feature=\$ac_optarg ;;
799 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801 | --exec | --exe | --ex)
802 ac_prev=exec_prefix ;;
803 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805 | --exec=* | --exe=* | --ex=*)
806 exec_prefix=$ac_optarg ;;
808 -gas | --gas | --ga | --g)
809 # Obsolete; use --with-gas.
810 with_gas=yes ;;
812 -help | --help | --hel | --he | -h)
813 ac_init_help=long ;;
814 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815 ac_init_help=recursive ;;
816 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817 ac_init_help=short ;;
819 -host | --host | --hos | --ho)
820 ac_prev=host_alias ;;
821 -host=* | --host=* | --hos=* | --ho=*)
822 host_alias=$ac_optarg ;;
824 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
825 ac_prev=htmldir ;;
826 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
827 | --ht=*)
828 htmldir=$ac_optarg ;;
830 -includedir | --includedir | --includedi | --included | --include \
831 | --includ | --inclu | --incl | --inc)
832 ac_prev=includedir ;;
833 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834 | --includ=* | --inclu=* | --incl=* | --inc=*)
835 includedir=$ac_optarg ;;
837 -infodir | --infodir | --infodi | --infod | --info | --inf)
838 ac_prev=infodir ;;
839 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840 infodir=$ac_optarg ;;
842 -libdir | --libdir | --libdi | --libd)
843 ac_prev=libdir ;;
844 -libdir=* | --libdir=* | --libdi=* | --libd=*)
845 libdir=$ac_optarg ;;
847 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848 | --libexe | --libex | --libe)
849 ac_prev=libexecdir ;;
850 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851 | --libexe=* | --libex=* | --libe=*)
852 libexecdir=$ac_optarg ;;
854 -localedir | --localedir | --localedi | --localed | --locale)
855 ac_prev=localedir ;;
856 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857 localedir=$ac_optarg ;;
859 -localstatedir | --localstatedir | --localstatedi | --localstated \
860 | --localstate | --localstat | --localsta | --localst | --locals)
861 ac_prev=localstatedir ;;
862 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
863 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
864 localstatedir=$ac_optarg ;;
866 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
867 ac_prev=mandir ;;
868 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
869 mandir=$ac_optarg ;;
871 -nfp | --nfp | --nf)
872 # Obsolete; use --without-fp.
873 with_fp=no ;;
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c | -n)
877 no_create=yes ;;
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881 no_recursion=yes ;;
883 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885 | --oldin | --oldi | --old | --ol | --o)
886 ac_prev=oldincludedir ;;
887 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890 oldincludedir=$ac_optarg ;;
892 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
893 ac_prev=prefix ;;
894 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895 prefix=$ac_optarg ;;
897 -program-prefix | --program-prefix | --program-prefi | --program-pref \
898 | --program-pre | --program-pr | --program-p)
899 ac_prev=program_prefix ;;
900 -program-prefix=* | --program-prefix=* | --program-prefi=* \
901 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902 program_prefix=$ac_optarg ;;
904 -program-suffix | --program-suffix | --program-suffi | --program-suff \
905 | --program-suf | --program-su | --program-s)
906 ac_prev=program_suffix ;;
907 -program-suffix=* | --program-suffix=* | --program-suffi=* \
908 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909 program_suffix=$ac_optarg ;;
911 -program-transform-name | --program-transform-name \
912 | --program-transform-nam | --program-transform-na \
913 | --program-transform-n | --program-transform- \
914 | --program-transform | --program-transfor \
915 | --program-transfo | --program-transf \
916 | --program-trans | --program-tran \
917 | --progr-tra | --program-tr | --program-t)
918 ac_prev=program_transform_name ;;
919 -program-transform-name=* | --program-transform-name=* \
920 | --program-transform-nam=* | --program-transform-na=* \
921 | --program-transform-n=* | --program-transform-=* \
922 | --program-transform=* | --program-transfor=* \
923 | --program-transfo=* | --program-transf=* \
924 | --program-trans=* | --program-tran=* \
925 | --progr-tra=* | --program-tr=* | --program-t=*)
926 program_transform_name=$ac_optarg ;;
928 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
929 ac_prev=pdfdir ;;
930 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931 pdfdir=$ac_optarg ;;
933 -psdir | --psdir | --psdi | --psd | --ps)
934 ac_prev=psdir ;;
935 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936 psdir=$ac_optarg ;;
938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939 | -silent | --silent | --silen | --sile | --sil)
940 silent=yes ;;
942 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
943 ac_prev=sbindir ;;
944 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
945 | --sbi=* | --sb=*)
946 sbindir=$ac_optarg ;;
948 -sharedstatedir | --sharedstatedir | --sharedstatedi \
949 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950 | --sharedst | --shareds | --shared | --share | --shar \
951 | --sha | --sh)
952 ac_prev=sharedstatedir ;;
953 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
956 | --sha=* | --sh=*)
957 sharedstatedir=$ac_optarg ;;
959 -site | --site | --sit)
960 ac_prev=site ;;
961 -site=* | --site=* | --sit=*)
962 site=$ac_optarg ;;
964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
965 ac_prev=srcdir ;;
966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967 srcdir=$ac_optarg ;;
969 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970 | --syscon | --sysco | --sysc | --sys | --sy)
971 ac_prev=sysconfdir ;;
972 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974 sysconfdir=$ac_optarg ;;
976 -target | --target | --targe | --targ | --tar | --ta | --t)
977 ac_prev=target_alias ;;
978 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979 target_alias=$ac_optarg ;;
981 -v | -verbose | --verbose | --verbos | --verbo | --verb)
982 verbose=yes ;;
984 -version | --version | --versio | --versi | --vers | -V)
985 ac_init_version=: ;;
987 -with-* | --with-*)
988 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
991 { echo "$as_me: error: invalid package name: $ac_package" >&2
992 { (exit 1); exit 1; }; }
993 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
994 eval with_$ac_package=\$ac_optarg ;;
996 -without-* | --without-*)
997 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1000 { echo "$as_me: error: invalid package name: $ac_package" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1003 eval with_$ac_package=no ;;
1005 --x)
1006 # Obsolete; use --with-x.
1007 with_x=yes ;;
1009 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1010 | --x-incl | --x-inc | --x-in | --x-i)
1011 ac_prev=x_includes ;;
1012 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1013 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1014 x_includes=$ac_optarg ;;
1016 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1017 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1018 ac_prev=x_libraries ;;
1019 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1020 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1021 x_libraries=$ac_optarg ;;
1023 -*) { echo "$as_me: error: unrecognized option: $ac_option
1024 Try \`$0 --help' for more information." >&2
1025 { (exit 1); exit 1; }; }
1028 *=*)
1029 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1032 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1033 { (exit 1); exit 1; }; }
1034 eval $ac_envvar=\$ac_optarg
1035 export $ac_envvar ;;
1038 # FIXME: should be removed in autoconf 3.0.
1039 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1040 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1042 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1045 esac
1046 done
1048 if test -n "$ac_prev"; then
1049 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1050 { echo "$as_me: error: missing argument to $ac_option" >&2
1051 { (exit 1); exit 1; }; }
1054 # Be sure to have absolute directory names.
1055 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 datadir sysconfdir sharedstatedir localstatedir includedir \
1057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 libdir localedir mandir
1060 eval ac_val=\$$ac_var
1061 case $ac_val in
1062 [\\/$]* | ?:[\\/]* ) continue;;
1063 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064 esac
1065 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1066 { (exit 1); exit 1; }; }
1067 done
1069 # There might be people who depend on the old broken behavior: `$host'
1070 # used to hold the argument of --host etc.
1071 # FIXME: To remove some day.
1072 build=$build_alias
1073 host=$host_alias
1074 target=$target_alias
1076 # FIXME: To remove some day.
1077 if test "x$host_alias" != x; then
1078 if test "x$build_alias" = x; then
1079 cross_compiling=maybe
1080 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1081 If a cross compiler is detected then cross compile mode will be used." >&2
1082 elif test "x$build_alias" != "x$host_alias"; then
1083 cross_compiling=yes
1087 ac_tool_prefix=
1088 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1090 test "$silent" = yes && exec 6>/dev/null
1093 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1094 ac_ls_di=`ls -di .` &&
1095 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1096 { echo "$as_me: error: Working directory cannot be determined" >&2
1097 { (exit 1); exit 1; }; }
1098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099 { echo "$as_me: error: pwd does not report name of working directory" >&2
1100 { (exit 1); exit 1; }; }
1103 # Find the source files, if location was not specified.
1104 if test -z "$srcdir"; then
1105 ac_srcdir_defaulted=yes
1106 # Try the directory containing this script, then the parent directory.
1107 ac_confdir=`$as_dirname -- "$0" ||
1108 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109 X"$0" : 'X\(//\)[^/]' \| \
1110 X"$0" : 'X\(//\)$' \| \
1111 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1112 echo X"$0" |
1113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1114 s//\1/
1117 /^X\(\/\/\)[^/].*/{
1118 s//\1/
1121 /^X\(\/\/\)$/{
1122 s//\1/
1125 /^X\(\/\).*/{
1126 s//\1/
1129 s/.*/./; q'`
1130 srcdir=$ac_confdir
1131 if test ! -r "$srcdir/$ac_unique_file"; then
1132 srcdir=..
1134 else
1135 ac_srcdir_defaulted=no
1137 if test ! -r "$srcdir/$ac_unique_file"; then
1138 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1140 { (exit 1); exit 1; }; }
1142 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1143 ac_abs_confdir=`(
1144 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1145 { (exit 1); exit 1; }; }
1146 pwd)`
1147 # When building in place, set srcdir=.
1148 if test "$ac_abs_confdir" = "$ac_pwd"; then
1149 srcdir=.
1151 # Remove unnecessary trailing slashes from srcdir.
1152 # Double slashes in file names in object file debugging info
1153 # mess up M-x gdb in Emacs.
1154 case $srcdir in
1155 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1156 esac
1157 for ac_var in $ac_precious_vars; do
1158 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1159 eval ac_env_${ac_var}_value=\$${ac_var}
1160 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1161 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1162 done
1165 # Report the --help message.
1167 if test "$ac_init_help" = "long"; then
1168 # Omit some internal or obsolete options to make the list less imposing.
1169 # This message is too long to be a string in the A/UX 3.1 sh.
1170 cat <<_ACEOF
1171 \`configure' configures libenet 10-12-2007 to adapt to many kinds of systems.
1173 Usage: $0 [OPTION]... [VAR=VALUE]...
1175 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1176 VAR=VALUE. See below for descriptions of some of the useful variables.
1178 Defaults for the options are specified in brackets.
1180 Configuration:
1181 -h, --help display this help and exit
1182 --help=short display options specific to this package
1183 --help=recursive display the short help of all the included packages
1184 -V, --version display version information and exit
1185 -q, --quiet, --silent do not print \`checking...' messages
1186 --cache-file=FILE cache test results in FILE [disabled]
1187 -C, --config-cache alias for \`--cache-file=config.cache'
1188 -n, --no-create do not create output files
1189 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1191 Installation directories:
1192 --prefix=PREFIX install architecture-independent files in PREFIX
1193 [$ac_default_prefix]
1194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1195 [PREFIX]
1197 By default, \`make install' will install all the files in
1198 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1199 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1200 for instance \`--prefix=\$HOME'.
1202 For better control, use the options below.
1204 Fine tuning of the installation directories:
1205 --bindir=DIR user executables [EPREFIX/bin]
1206 --sbindir=DIR system admin executables [EPREFIX/sbin]
1207 --libexecdir=DIR program executables [EPREFIX/libexec]
1208 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1209 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1210 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1211 --libdir=DIR object code libraries [EPREFIX/lib]
1212 --includedir=DIR C header files [PREFIX/include]
1213 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1214 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1215 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1216 --infodir=DIR info documentation [DATAROOTDIR/info]
1217 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1218 --mandir=DIR man documentation [DATAROOTDIR/man]
1219 --docdir=DIR documentation root [DATAROOTDIR/doc/libenet]
1220 --htmldir=DIR html documentation [DOCDIR]
1221 --dvidir=DIR dvi documentation [DOCDIR]
1222 --pdfdir=DIR pdf documentation [DOCDIR]
1223 --psdir=DIR ps documentation [DOCDIR]
1224 _ACEOF
1226 cat <<\_ACEOF
1228 Program names:
1229 --program-prefix=PREFIX prepend PREFIX to installed program names
1230 --program-suffix=SUFFIX append SUFFIX to installed program names
1231 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1232 _ACEOF
1235 if test -n "$ac_init_help"; then
1236 case $ac_init_help in
1237 short | recursive ) echo "Configuration of libenet 10-12-2007:";;
1238 esac
1239 cat <<\_ACEOF
1241 Optional Features:
1242 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1243 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1244 --disable-dependency-tracking speeds up one-time build
1245 --enable-dependency-tracking do not reject slow dependency extractors
1246 --enable-crc32 enable CRC32 packet verification
1248 Some influential environment variables:
1249 CC C compiler command
1250 CFLAGS C compiler flags
1251 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1252 nonstandard directory <lib dir>
1253 LIBS libraries to pass to the linker, e.g. -l<library>
1254 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1255 you have headers in a nonstandard directory <include dir>
1256 CPP C preprocessor
1258 Use these variables to override the choices made by `configure' or to help
1259 it to find libraries and programs with nonstandard names/locations.
1261 _ACEOF
1262 ac_status=$?
1265 if test "$ac_init_help" = "recursive"; then
1266 # If there are subdirs, report their specific --help.
1267 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1268 test -d "$ac_dir" || continue
1269 ac_builddir=.
1271 case "$ac_dir" in
1272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1275 # A ".." for each directory in $ac_dir_suffix.
1276 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1277 case $ac_top_builddir_sub in
1278 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1280 esac ;;
1281 esac
1282 ac_abs_top_builddir=$ac_pwd
1283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 # for backward compatibility:
1285 ac_top_builddir=$ac_top_build_prefix
1287 case $srcdir in
1288 .) # We are building in place.
1289 ac_srcdir=.
1290 ac_top_srcdir=$ac_top_builddir_sub
1291 ac_abs_top_srcdir=$ac_pwd ;;
1292 [\\/]* | ?:[\\/]* ) # Absolute name.
1293 ac_srcdir=$srcdir$ac_dir_suffix;
1294 ac_top_srcdir=$srcdir
1295 ac_abs_top_srcdir=$srcdir ;;
1296 *) # Relative name.
1297 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1298 ac_top_srcdir=$ac_top_build_prefix$srcdir
1299 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1300 esac
1301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1303 cd "$ac_dir" || { ac_status=$?; continue; }
1304 # Check for guested configure.
1305 if test -f "$ac_srcdir/configure.gnu"; then
1306 echo &&
1307 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1308 elif test -f "$ac_srcdir/configure"; then
1309 echo &&
1310 $SHELL "$ac_srcdir/configure" --help=recursive
1311 else
1312 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1313 fi || ac_status=$?
1314 cd "$ac_pwd" || { ac_status=$?; break; }
1315 done
1318 test -n "$ac_init_help" && exit $ac_status
1319 if $ac_init_version; then
1320 cat <<\_ACEOF
1321 libenet configure 10-12-2007
1322 generated by GNU Autoconf 2.61
1324 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1325 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1326 This configure script is free software; the Free Software Foundation
1327 gives unlimited permission to copy, distribute and modify it.
1328 _ACEOF
1329 exit
1331 cat >config.log <<_ACEOF
1332 This file contains any messages produced by compilers while
1333 running configure, to aid debugging if configure makes a mistake.
1335 It was created by libenet $as_me 10-12-2007, which was
1336 generated by GNU Autoconf 2.61. Invocation command line was
1338 $ $0 $@
1340 _ACEOF
1341 exec 5>>config.log
1343 cat <<_ASUNAME
1344 ## --------- ##
1345 ## Platform. ##
1346 ## --------- ##
1348 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1349 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1350 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1351 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1352 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1355 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1358 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1359 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1360 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1361 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1362 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1363 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365 _ASUNAME
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1368 for as_dir in $PATH
1370 IFS=$as_save_IFS
1371 test -z "$as_dir" && as_dir=.
1372 echo "PATH: $as_dir"
1373 done
1374 IFS=$as_save_IFS
1376 } >&5
1378 cat >&5 <<_ACEOF
1381 ## ----------- ##
1382 ## Core tests. ##
1383 ## ----------- ##
1385 _ACEOF
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1393 ac_configure_args=
1394 ac_configure_args0=
1395 ac_configure_args1=
1396 ac_must_keep_next=false
1397 for ac_pass in 1 2
1399 for ac_arg
1401 case $ac_arg in
1402 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1404 | -silent | --silent | --silen | --sile | --sil)
1405 continue ;;
1406 *\'*)
1407 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1408 esac
1409 case $ac_pass in
1410 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1412 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1413 if test $ac_must_keep_next = true; then
1414 ac_must_keep_next=false # Got value, back to normal.
1415 else
1416 case $ac_arg in
1417 *=* | --config-cache | -C | -disable-* | --disable-* \
1418 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1419 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1420 | -with-* | --with-* | -without-* | --without-* | --x)
1421 case "$ac_configure_args0 " in
1422 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1423 esac
1425 -* ) ac_must_keep_next=true ;;
1426 esac
1428 ac_configure_args="$ac_configure_args '$ac_arg'"
1430 esac
1431 done
1432 done
1433 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1434 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log. We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Use '\'' to represent an apostrophe within the trap.
1440 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1441 trap 'exit_status=$?
1442 # Save into config.log some information that might help in debugging.
1444 echo
1446 cat <<\_ASBOX
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1450 _ASBOX
1451 echo
1452 # The following way of writing the cache mishandles newlines in values,
1454 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1455 eval ac_val=\$$ac_var
1456 case $ac_val in #(
1457 *${as_nl}*)
1458 case $ac_var in #(
1459 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1460 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1461 esac
1462 case $ac_var in #(
1463 _ | IFS | as_nl) ;; #(
1464 *) $as_unset $ac_var ;;
1465 esac ;;
1466 esac
1467 done
1468 (set) 2>&1 |
1469 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1470 *${as_nl}ac_space=\ *)
1471 sed -n \
1472 "s/'\''/'\''\\\\'\'''\''/g;
1473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1474 ;; #(
1476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1478 esac |
1479 sort
1481 echo
1483 cat <<\_ASBOX
1484 ## ----------------- ##
1485 ## Output variables. ##
1486 ## ----------------- ##
1487 _ASBOX
1488 echo
1489 for ac_var in $ac_subst_vars
1491 eval ac_val=\$$ac_var
1492 case $ac_val in
1493 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1494 esac
1495 echo "$ac_var='\''$ac_val'\''"
1496 done | sort
1497 echo
1499 if test -n "$ac_subst_files"; then
1500 cat <<\_ASBOX
1501 ## ------------------- ##
1502 ## File substitutions. ##
1503 ## ------------------- ##
1504 _ASBOX
1505 echo
1506 for ac_var in $ac_subst_files
1508 eval ac_val=\$$ac_var
1509 case $ac_val in
1510 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511 esac
1512 echo "$ac_var='\''$ac_val'\''"
1513 done | sort
1514 echo
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 cat confdefs.h
1525 echo
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core core.conftest.* &&
1532 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -f -r conftest* confdefs.h
1543 # Predefined preprocessor variables.
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1547 _ACEOF
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1552 _ACEOF
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1557 _ACEOF
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1562 _ACEOF
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1567 _ACEOF
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -n "$CONFIG_SITE"; then
1573 set x "$CONFIG_SITE"
1574 elif test "x$prefix" != xNONE; then
1575 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1576 else
1577 set x "$ac_default_prefix/share/config.site" \
1578 "$ac_default_prefix/etc/config.site"
1580 shift
1581 for ac_site_file
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1587 . "$ac_site_file"
1589 done
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1597 case $cache_file in
1598 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1599 *) . "./$cache_file";;
1600 esac
1602 else
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1605 >$cache_file
1608 # Check that the precious variables saved in the cache have kept the same
1609 # value.
1610 ac_cache_corrupted=false
1611 for ac_var in $ac_precious_vars; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1615 eval ac_new_val=\$ac_env_${ac_var}_value
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1642 esac
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 esac
1648 done
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1681 ac_ext=c
1682 ac_cpp='$CPP $CPPFLAGS'
1683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1688 am__api_version="1.9"
1689 ac_aux_dir=
1690 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1691 if test -f "$ac_dir/install-sh"; then
1692 ac_aux_dir=$ac_dir
1693 ac_install_sh="$ac_aux_dir/install-sh -c"
1694 break
1695 elif test -f "$ac_dir/install.sh"; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install.sh -c"
1698 break
1699 elif test -f "$ac_dir/shtool"; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/shtool install -c"
1702 break
1704 done
1705 if test -z "$ac_aux_dir"; then
1706 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1707 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1708 { (exit 1); exit 1; }; }
1711 # These three variables are undocumented and unsupported,
1712 # and are intended to be withdrawn in a future Autoconf release.
1713 # They can cause serious problems if a builder's source tree is in a directory
1714 # whose full name contains unusual characters.
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1717 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1720 # Find a good install program. We prefer a C program (faster),
1721 # so one script is as good as another. But avoid the broken or
1722 # incompatible versions:
1723 # SysV /etc/install, /usr/sbin/install
1724 # SunOS /usr/etc/install
1725 # IRIX /sbin/install
1726 # AIX /bin/install
1727 # AmigaOS /C/install, which installs bootblocks on floppy discs
1728 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1729 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1730 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1731 # OS/2's system install, which has a completely different semantic
1732 # ./install, which can be erroneously created by make from ./install.sh.
1733 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1734 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1735 if test -z "$INSTALL"; then
1736 if test "${ac_cv_path_install+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 else
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 for as_dir in $PATH
1742 IFS=$as_save_IFS
1743 test -z "$as_dir" && as_dir=.
1744 # Account for people who put trailing slashes in PATH elements.
1745 case $as_dir/ in
1746 ./ | .// | /cC/* | \
1747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1748 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1749 /usr/ucb/* ) ;;
1751 # OSF1 and SCO ODT 3.0 have their own names for install.
1752 # Don't use installbsd from OSF since it installs stuff as root
1753 # by default.
1754 for ac_prog in ginstall scoinst install; do
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1757 if test $ac_prog = install &&
1758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1759 # AIX install. It has an incompatible calling convention.
1761 elif test $ac_prog = install &&
1762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763 # program-specific install script used by HP pwplus--don't use.
1765 else
1766 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1767 break 3
1770 done
1771 done
1773 esac
1774 done
1775 IFS=$as_save_IFS
1779 if test "${ac_cv_path_install+set}" = set; then
1780 INSTALL=$ac_cv_path_install
1781 else
1782 # As a last resort, use the slow shell script. Don't cache a
1783 # value for INSTALL within a source directory, because that will
1784 # break other packages using the cache if that directory is
1785 # removed, or if the value is a relative name.
1786 INSTALL=$ac_install_sh
1789 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1790 echo "${ECHO_T}$INSTALL" >&6; }
1792 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1793 # It thinks the first close brace ends the variable substitution.
1794 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1796 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1798 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1800 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1801 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1802 # Just in case
1803 sleep 1
1804 echo timestamp > conftest.file
1805 # Do `set' in a subshell so we don't clobber the current shell's
1806 # arguments. Must try -L first in case configure is actually a
1807 # symlink; some systems play weird games with the mod time of symlinks
1808 # (eg FreeBSD returns the mod time of the symlink's containing
1809 # directory).
1810 if (
1811 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1812 if test "$*" = "X"; then
1813 # -L didn't work.
1814 set X `ls -t $srcdir/configure conftest.file`
1816 rm -f conftest.file
1817 if test "$*" != "X $srcdir/configure conftest.file" \
1818 && test "$*" != "X conftest.file $srcdir/configure"; then
1820 # If neither matched, then we have a broken ls. This can happen
1821 # if, for instance, CONFIG_SHELL is bash and it inherits a
1822 # broken ls alias from the environment. This has actually
1823 # happened. Such a system could not be considered "sane".
1824 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1825 alias in your environment" >&5
1826 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1827 alias in your environment" >&2;}
1828 { (exit 1); exit 1; }; }
1831 test "$2" = conftest.file
1833 then
1834 # Ok.
1836 else
1837 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1838 Check your system clock" >&5
1839 echo "$as_me: error: newly created file is older than distributed files!
1840 Check your system clock" >&2;}
1841 { (exit 1); exit 1; }; }
1843 { echo "$as_me:$LINENO: result: yes" >&5
1844 echo "${ECHO_T}yes" >&6; }
1845 test "$program_prefix" != NONE &&
1846 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1847 # Use a double $ so make ignores it.
1848 test "$program_suffix" != NONE &&
1849 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1850 # Double any \ or $. echo might interpret backslashes.
1851 # By default was `s,x,x', remove it if useless.
1852 cat <<\_ACEOF >conftest.sed
1853 s/[\\$]/&&/g;s/;s,x,x,$//
1854 _ACEOF
1855 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1856 rm -f conftest.sed
1858 # expand $ac_aux_dir to an absolute path
1859 am_aux_dir=`cd $ac_aux_dir && pwd`
1861 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1862 # Use eval to expand $SHELL
1863 if eval "$MISSING --run true"; then
1864 am_missing_run="$MISSING --run "
1865 else
1866 am_missing_run=
1867 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1868 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1871 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1872 # We used to keeping the `.' as first argument, in order to
1873 # allow $(mkdir_p) to be used without argument. As in
1874 # $(mkdir_p) $(somedir)
1875 # where $(somedir) is conditionally defined. However this is wrong
1876 # for two reasons:
1877 # 1. if the package is installed by a user who cannot write `.'
1878 # make install will fail,
1879 # 2. the above comment should most certainly read
1880 # $(mkdir_p) $(DESTDIR)$(somedir)
1881 # so it does not work when $(somedir) is undefined and
1882 # $(DESTDIR) is not.
1883 # To support the latter case, we have to write
1884 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1885 # so the `.' trick is pointless.
1886 mkdir_p='mkdir -p --'
1887 else
1888 # On NextStep and OpenStep, the `mkdir' command does not
1889 # recognize any option. It will interpret all options as
1890 # directories to create, and then abort because `.' already
1891 # exists.
1892 for d in ./-p ./--version;
1894 test -d $d && rmdir $d
1895 done
1896 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1897 if test -f "$ac_aux_dir/mkinstalldirs"; then
1898 mkdir_p='$(mkinstalldirs)'
1899 else
1900 mkdir_p='$(install_sh) -d'
1904 for ac_prog in gawk mawk nawk awk
1906 # Extract the first word of "$ac_prog", so it can be a program name with args.
1907 set dummy $ac_prog; ac_word=$2
1908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1910 if test "${ac_cv_prog_AWK+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 else
1913 if test -n "$AWK"; then
1914 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1915 else
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH
1919 IFS=$as_save_IFS
1920 test -z "$as_dir" && as_dir=.
1921 for ac_exec_ext in '' $ac_executable_extensions; do
1922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1923 ac_cv_prog_AWK="$ac_prog"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 break 2
1927 done
1928 done
1929 IFS=$as_save_IFS
1933 AWK=$ac_cv_prog_AWK
1934 if test -n "$AWK"; then
1935 { echo "$as_me:$LINENO: result: $AWK" >&5
1936 echo "${ECHO_T}$AWK" >&6; }
1937 else
1938 { echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6; }
1943 test -n "$AWK" && break
1944 done
1946 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1947 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1948 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1949 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 else
1952 cat >conftest.make <<\_ACEOF
1953 SHELL = /bin/sh
1954 all:
1955 @echo '@@@%%%=$(MAKE)=@@@%%%'
1956 _ACEOF
1957 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1958 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1959 *@@@%%%=?*=@@@%%%*)
1960 eval ac_cv_prog_make_${ac_make}_set=yes;;
1962 eval ac_cv_prog_make_${ac_make}_set=no;;
1963 esac
1964 rm -f conftest.make
1966 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1967 { echo "$as_me:$LINENO: result: yes" >&5
1968 echo "${ECHO_T}yes" >&6; }
1969 SET_MAKE=
1970 else
1971 { echo "$as_me:$LINENO: result: no" >&5
1972 echo "${ECHO_T}no" >&6; }
1973 SET_MAKE="MAKE=${MAKE-make}"
1976 rm -rf .tst 2>/dev/null
1977 mkdir .tst 2>/dev/null
1978 if test -d .tst; then
1979 am__leading_dot=.
1980 else
1981 am__leading_dot=_
1983 rmdir .tst 2>/dev/null
1985 # test to see if srcdir already configured
1986 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1987 test -f $srcdir/config.status; then
1988 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1989 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1990 { (exit 1); exit 1; }; }
1993 # test whether we have cygpath
1994 if test -z "$CYGPATH_W"; then
1995 if (cygpath --version) >/dev/null 2>/dev/null; then
1996 CYGPATH_W='cygpath -w'
1997 else
1998 CYGPATH_W=echo
2003 # Define the identity of the package.
2004 PACKAGE=libenet.a
2005 VERSION=10-12-2007
2008 cat >>confdefs.h <<_ACEOF
2009 #define PACKAGE "$PACKAGE"
2010 _ACEOF
2013 cat >>confdefs.h <<_ACEOF
2014 #define VERSION "$VERSION"
2015 _ACEOF
2017 # Some tools Automake needs.
2019 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2022 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2025 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2028 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2031 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2033 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2035 # Installed binaries are usually stripped using `strip' when the user
2036 # run `make install-strip'. However `strip' might not be the right
2037 # tool to use in cross-compilation environments, therefore Automake
2038 # will honor the `STRIP' environment variable to overrule this program.
2039 if test "$cross_compiling" != no; then
2040 if test -n "$ac_tool_prefix"; then
2041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2042 set dummy ${ac_tool_prefix}strip; ac_word=$2
2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045 if test "${ac_cv_prog_STRIP+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 else
2048 if test -n "$STRIP"; then
2049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2050 else
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 for as_dir in $PATH
2054 IFS=$as_save_IFS
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 break 2
2062 done
2063 done
2064 IFS=$as_save_IFS
2068 STRIP=$ac_cv_prog_STRIP
2069 if test -n "$STRIP"; then
2070 { echo "$as_me:$LINENO: result: $STRIP" >&5
2071 echo "${ECHO_T}$STRIP" >&6; }
2072 else
2073 { echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6; }
2079 if test -z "$ac_cv_prog_STRIP"; then
2080 ac_ct_STRIP=$STRIP
2081 # Extract the first word of "strip", so it can be a program name with args.
2082 set dummy strip; ac_word=$2
2083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 else
2088 if test -n "$ac_ct_STRIP"; then
2089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2090 else
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 for as_dir in $PATH
2094 IFS=$as_save_IFS
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_ac_ct_STRIP="strip"
2099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 break 2
2102 done
2103 done
2104 IFS=$as_save_IFS
2108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2109 if test -n "$ac_ct_STRIP"; then
2110 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2111 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2112 else
2113 { echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6; }
2117 if test "x$ac_ct_STRIP" = x; then
2118 STRIP=":"
2119 else
2120 case $cross_compiling:$ac_tool_warned in
2121 yes:)
2122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2123 whose name does not start with the host triplet. If you think this
2124 configuration is useful to you, please write to autoconf@gnu.org." >&5
2125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2128 ac_tool_warned=yes ;;
2129 esac
2130 STRIP=$ac_ct_STRIP
2132 else
2133 STRIP="$ac_cv_prog_STRIP"
2137 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2139 # We need awk for the "check" target. The system "awk" is bad on
2140 # some platforms.
2141 # Always define AMTAR for backward compatibility.
2143 AMTAR=${AMTAR-"${am_missing_run}tar"}
2145 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2152 ac_ext=c
2153 ac_cpp='$CPP $CPPFLAGS'
2154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2157 if test -n "$ac_tool_prefix"; then
2158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2159 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC="$CC" # Let the user override the test.
2167 else
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 for as_dir in $PATH
2171 IFS=$as_save_IFS
2172 test -z "$as_dir" && as_dir=.
2173 for ac_exec_ext in '' $ac_executable_extensions; do
2174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 break 2
2179 done
2180 done
2181 IFS=$as_save_IFS
2185 CC=$ac_cv_prog_CC
2186 if test -n "$CC"; then
2187 { echo "$as_me:$LINENO: result: $CC" >&5
2188 echo "${ECHO_T}$CC" >&6; }
2189 else
2190 { echo "$as_me:$LINENO: result: no" >&5
2191 echo "${ECHO_T}no" >&6; }
2196 if test -z "$ac_cv_prog_CC"; then
2197 ac_ct_CC=$CC
2198 # Extract the first word of "gcc", so it can be a program name with args.
2199 set dummy gcc; ac_word=$2
2200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$ac_ct_CC"; then
2206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2207 else
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2211 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_ac_ct_CC="gcc"
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 break 2
2219 done
2220 done
2221 IFS=$as_save_IFS
2225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2226 if test -n "$ac_ct_CC"; then
2227 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2228 echo "${ECHO_T}$ac_ct_CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2234 if test "x$ac_ct_CC" = x; then
2235 CC=""
2236 else
2237 case $cross_compiling:$ac_tool_warned in
2238 yes:)
2239 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2240 whose name does not start with the host triplet. If you think this
2241 configuration is useful to you, please write to autoconf@gnu.org." >&5
2242 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2243 whose name does not start with the host triplet. If you think this
2244 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2245 ac_tool_warned=yes ;;
2246 esac
2247 CC=$ac_ct_CC
2249 else
2250 CC="$ac_cv_prog_CC"
2253 if test -z "$CC"; then
2254 if test -n "$ac_tool_prefix"; then
2255 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2256 set dummy ${ac_tool_prefix}cc; ac_word=$2
2257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272 ac_cv_prog_CC="${ac_tool_prefix}cc"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2278 IFS=$as_save_IFS
2282 CC=$ac_cv_prog_CC
2283 if test -n "$CC"; then
2284 { echo "$as_me:$LINENO: result: $CC" >&5
2285 echo "${ECHO_T}$CC" >&6; }
2286 else
2287 { echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6; }
2294 if test -z "$CC"; then
2295 # Extract the first word of "cc", so it can be a program name with args.
2296 set dummy cc; ac_word=$2
2297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 else
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2304 else
2305 ac_prog_rejected=no
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2309 IFS=$as_save_IFS
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2314 ac_prog_rejected=yes
2315 continue
2317 ac_cv_prog_CC="cc"
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 break 2
2321 done
2322 done
2323 IFS=$as_save_IFS
2325 if test $ac_prog_rejected = yes; then
2326 # We found a bogon in the path, so make sure we never use it.
2327 set dummy $ac_cv_prog_CC
2328 shift
2329 if test $# != 0; then
2330 # We chose a different compiler from the bogus one.
2331 # However, it has the same basename, so the bogon will be chosen
2332 # first if we set CC to just the basename; use the full file name.
2333 shift
2334 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2339 CC=$ac_cv_prog_CC
2340 if test -n "$CC"; then
2341 { echo "$as_me:$LINENO: result: $CC" >&5
2342 echo "${ECHO_T}$CC" >&6; }
2343 else
2344 { echo "$as_me:$LINENO: result: no" >&5
2345 echo "${ECHO_T}no" >&6; }
2350 if test -z "$CC"; then
2351 if test -n "$ac_tool_prefix"; then
2352 for ac_prog in cl.exe
2354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358 if test "${ac_cv_prog_CC+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2360 else
2361 if test -n "$CC"; then
2362 ac_cv_prog_CC="$CC" # Let the user override the test.
2363 else
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 for as_dir in $PATH
2367 IFS=$as_save_IFS
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 break 2
2375 done
2376 done
2377 IFS=$as_save_IFS
2381 CC=$ac_cv_prog_CC
2382 if test -n "$CC"; then
2383 { echo "$as_me:$LINENO: result: $CC" >&5
2384 echo "${ECHO_T}$CC" >&6; }
2385 else
2386 { echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6; }
2391 test -n "$CC" && break
2392 done
2394 if test -z "$CC"; then
2395 ac_ct_CC=$CC
2396 for ac_prog in cl.exe
2398 # Extract the first word of "$ac_prog", so it can be a program name with args.
2399 set dummy $ac_prog; ac_word=$2
2400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 else
2405 if test -n "$ac_ct_CC"; then
2406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2407 else
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 for as_dir in $PATH
2411 IFS=$as_save_IFS
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415 ac_cv_prog_ac_ct_CC="$ac_prog"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 break 2
2419 done
2420 done
2421 IFS=$as_save_IFS
2425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2426 if test -n "$ac_ct_CC"; then
2427 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2428 echo "${ECHO_T}$ac_ct_CC" >&6; }
2429 else
2430 { echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6; }
2435 test -n "$ac_ct_CC" && break
2436 done
2438 if test "x$ac_ct_CC" = x; then
2439 CC=""
2440 else
2441 case $cross_compiling:$ac_tool_warned in
2442 yes:)
2443 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2444 whose name does not start with the host triplet. If you think this
2445 configuration is useful to you, please write to autoconf@gnu.org." >&5
2446 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2447 whose name does not start with the host triplet. If you think this
2448 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2449 ac_tool_warned=yes ;;
2450 esac
2451 CC=$ac_ct_CC
2458 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: no acceptable C compiler found in \$PATH
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2464 # Provide some information about the compiler.
2465 echo "$as_me:$LINENO: checking for C compiler version" >&5
2466 ac_compiler=`set X $ac_compile; echo $2`
2467 { (ac_try="$ac_compiler --version >&5"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_compiler --version >&5") 2>&5
2474 ac_status=$?
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }
2477 { (ac_try="$ac_compiler -v >&5"
2478 case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2481 esac
2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_compiler -v >&5") 2>&5
2484 ac_status=$?
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2487 { (ac_try="$ac_compiler -V >&5"
2488 case "(($ac_try" in
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2491 esac
2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493 (eval "$ac_compiler -V >&5") 2>&5
2494 ac_status=$?
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }
2498 cat >conftest.$ac_ext <<_ACEOF
2499 /* confdefs.h. */
2500 _ACEOF
2501 cat confdefs.h >>conftest.$ac_ext
2502 cat >>conftest.$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2506 main ()
2510 return 0;
2512 _ACEOF
2513 ac_clean_files_save=$ac_clean_files
2514 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2515 # Try to create an executable without -o first, disregard a.out.
2516 # It will help us diagnose broken compilers, and finding out an intuition
2517 # of exeext.
2518 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2519 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2520 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2522 # List of possible output files, starting from the most likely.
2523 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2524 # only as a last resort. b.out is created by i960 compilers.
2525 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2527 # The IRIX 6 linker writes into existing files which may not be
2528 # executable, retaining their permissions. Remove them first so a
2529 # subsequent execution test works.
2530 ac_rmfiles=
2531 for ac_file in $ac_files
2533 case $ac_file in
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2535 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2536 esac
2537 done
2538 rm -f $ac_rmfiles
2540 if { (ac_try="$ac_link_default"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_link_default") 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2551 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2552 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2553 # so that the user can short-circuit this test for compilers unknown to
2554 # Autoconf.
2555 for ac_file in $ac_files ''
2557 test -f "$ac_file" || continue
2558 case $ac_file in
2559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2561 [ab].out )
2562 # We found the default executable, but exeext='' is most
2563 # certainly right.
2564 break;;
2565 *.* )
2566 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2567 then :; else
2568 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2570 # We set ac_cv_exeext here because the later test for it is not
2571 # safe: cross compilers may not add the suffix if given an `-o'
2572 # argument, so we may need to know it at that point already.
2573 # Even if this section looks crufty: it has the advantage of
2574 # actually working.
2575 break;;
2577 break;;
2578 esac
2579 done
2580 test "$ac_cv_exeext" = no && ac_cv_exeext=
2582 else
2583 ac_file=''
2586 { echo "$as_me:$LINENO: result: $ac_file" >&5
2587 echo "${ECHO_T}$ac_file" >&6; }
2588 if test -z "$ac_file"; then
2589 echo "$as_me: failed program was:" >&5
2590 sed 's/^/| /' conftest.$ac_ext >&5
2592 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: C compiler cannot create executables
2595 See \`config.log' for more details." >&2;}
2596 { (exit 77); exit 77; }; }
2599 ac_exeext=$ac_cv_exeext
2601 # Check that the compiler produces executables we can run. If not, either
2602 # the compiler is broken, or we cross compile.
2603 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2604 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2605 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2606 # If not cross compiling, check that we can run a simple program.
2607 if test "$cross_compiling" != yes; then
2608 if { ac_try='./$ac_file'
2609 { (case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 (eval "$ac_try") 2>&5
2615 ac_status=$?
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2618 cross_compiling=no
2619 else
2620 if test "$cross_compiling" = maybe; then
2621 cross_compiling=yes
2622 else
2623 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2624 If you meant to cross compile, use \`--host'.
2625 See \`config.log' for more details." >&5
2626 echo "$as_me: error: cannot run C compiled programs.
2627 If you meant to cross compile, use \`--host'.
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2633 { echo "$as_me:$LINENO: result: yes" >&5
2634 echo "${ECHO_T}yes" >&6; }
2636 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2637 ac_clean_files=$ac_clean_files_save
2638 # Check that the compiler produces executables we can run. If not, either
2639 # the compiler is broken, or we cross compile.
2640 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2641 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2642 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2643 echo "${ECHO_T}$cross_compiling" >&6; }
2645 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2646 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2647 if { (ac_try="$ac_link"
2648 case "(($ac_try" in
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2651 esac
2652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2653 (eval "$ac_link") 2>&5
2654 ac_status=$?
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; then
2657 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2658 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2659 # work properly (i.e., refer to `conftest.exe'), while it won't with
2660 # `rm'.
2661 for ac_file in conftest.exe conftest conftest.*; do
2662 test -f "$ac_file" || continue
2663 case $ac_file in
2664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2665 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2666 break;;
2667 * ) break;;
2668 esac
2669 done
2670 else
2671 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2672 See \`config.log' for more details." >&5
2673 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2674 See \`config.log' for more details." >&2;}
2675 { (exit 1); exit 1; }; }
2678 rm -f conftest$ac_cv_exeext
2679 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2680 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2682 rm -f conftest.$ac_ext
2683 EXEEXT=$ac_cv_exeext
2684 ac_exeext=$EXEEXT
2685 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2686 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2687 if test "${ac_cv_objext+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 cat >conftest.$ac_ext <<_ACEOF
2691 /* confdefs.h. */
2692 _ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2698 main ()
2702 return 0;
2704 _ACEOF
2705 rm -f conftest.o conftest.obj
2706 if { (ac_try="$ac_compile"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>&5
2713 ac_status=$?
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; then
2716 for ac_file in conftest.o conftest.obj conftest.*; do
2717 test -f "$ac_file" || continue;
2718 case $ac_file in
2719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2720 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2721 break;;
2722 esac
2723 done
2724 else
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2728 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2729 See \`config.log' for more details." >&5
2730 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2731 See \`config.log' for more details." >&2;}
2732 { (exit 1); exit 1; }; }
2735 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2737 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2738 echo "${ECHO_T}$ac_cv_objext" >&6; }
2739 OBJEXT=$ac_cv_objext
2740 ac_objext=$OBJEXT
2741 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2742 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2743 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746 cat >conftest.$ac_ext <<_ACEOF
2747 /* confdefs.h. */
2748 _ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2754 main ()
2756 #ifndef __GNUC__
2757 choke me
2758 #endif
2761 return 0;
2763 _ACEOF
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2772 ac_status=$?
2773 grep -v '^ *+' conftest.er1 >conftest.err
2774 rm -f conftest.er1
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); } && {
2778 test -z "$ac_c_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest.$ac_objext; then
2781 ac_compiler_gnu=yes
2782 else
2783 echo "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_compiler_gnu=no
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2793 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2794 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2795 GCC=`test $ac_compiler_gnu = yes && echo yes`
2796 ac_test_CFLAGS=${CFLAGS+set}
2797 ac_save_CFLAGS=$CFLAGS
2798 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2799 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2800 if test "${ac_cv_prog_cc_g+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 else
2803 ac_save_c_werror_flag=$ac_c_werror_flag
2804 ac_c_werror_flag=yes
2805 ac_cv_prog_cc_g=no
2806 CFLAGS="-g"
2807 cat >conftest.$ac_ext <<_ACEOF
2808 /* confdefs.h. */
2809 _ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2815 main ()
2819 return 0;
2821 _ACEOF
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2824 case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827 esac
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2830 ac_status=$?
2831 grep -v '^ *+' conftest.er1 >conftest.err
2832 rm -f conftest.er1
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.$ac_objext; then
2839 ac_cv_prog_cc_g=yes
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 CFLAGS=""
2845 cat >conftest.$ac_ext <<_ACEOF
2846 /* confdefs.h. */
2847 _ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2853 main ()
2857 return 0;
2859 _ACEOF
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2862 case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2867 (eval "$ac_compile") 2>conftest.er1
2868 ac_status=$?
2869 grep -v '^ *+' conftest.er1 >conftest.err
2870 rm -f conftest.er1
2871 cat conftest.err >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then
2878 else
2879 echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_c_werror_flag=$ac_save_c_werror_flag
2883 CFLAGS="-g"
2884 cat >conftest.$ac_ext <<_ACEOF
2885 /* confdefs.h. */
2886 _ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2892 main ()
2896 return 0;
2898 _ACEOF
2899 rm -f conftest.$ac_objext
2900 if { (ac_try="$ac_compile"
2901 case "(($ac_try" in
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2904 esac
2905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2906 (eval "$ac_compile") 2>conftest.er1
2907 ac_status=$?
2908 grep -v '^ *+' conftest.er1 >conftest.err
2909 rm -f conftest.er1
2910 cat conftest.err >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); } && {
2913 test -z "$ac_c_werror_flag" ||
2914 test ! -s conftest.err
2915 } && test -s conftest.$ac_objext; then
2916 ac_cv_prog_cc_g=yes
2917 else
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2934 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2935 if test "$ac_test_CFLAGS" = set; then
2936 CFLAGS=$ac_save_CFLAGS
2937 elif test $ac_cv_prog_cc_g = yes; then
2938 if test "$GCC" = yes; then
2939 CFLAGS="-g -O2"
2940 else
2941 CFLAGS="-g"
2943 else
2944 if test "$GCC" = yes; then
2945 CFLAGS="-O2"
2946 else
2947 CFLAGS=
2950 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2951 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2952 if test "${ac_cv_prog_cc_c89+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2954 else
2955 ac_cv_prog_cc_c89=no
2956 ac_save_CC=$CC
2957 cat >conftest.$ac_ext <<_ACEOF
2958 /* confdefs.h. */
2959 _ACEOF
2960 cat confdefs.h >>conftest.$ac_ext
2961 cat >>conftest.$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2963 #include <stdarg.h>
2964 #include <stdio.h>
2965 #include <sys/types.h>
2966 #include <sys/stat.h>
2967 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2968 struct buf { int x; };
2969 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2970 static char *e (p, i)
2971 char **p;
2972 int i;
2974 return p[i];
2976 static char *f (char * (*g) (char **, int), char **p, ...)
2978 char *s;
2979 va_list v;
2980 va_start (v,p);
2981 s = g (p, va_arg (v,int));
2982 va_end (v);
2983 return s;
2986 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2987 function prototypes and stuff, but not '\xHH' hex character constants.
2988 These don't provoke an error unfortunately, instead are silently treated
2989 as 'x'. The following induces an error, until -std is added to get
2990 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2991 array size at least. It's necessary to write '\x00'==0 to get something
2992 that's true only with -std. */
2993 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2995 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2996 inside strings and character constants. */
2997 #define FOO(x) 'x'
2998 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3000 int test (int i, double x);
3001 struct s1 {int (*f) (int a);};
3002 struct s2 {int (*f) (double a);};
3003 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3004 int argc;
3005 char **argv;
3007 main ()
3009 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3011 return 0;
3013 _ACEOF
3014 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3015 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3017 CC="$ac_save_CC $ac_arg"
3018 rm -f conftest.$ac_objext
3019 if { (ac_try="$ac_compile"
3020 case "(($ac_try" in
3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3023 esac
3024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3025 (eval "$ac_compile") 2>conftest.er1
3026 ac_status=$?
3027 grep -v '^ *+' conftest.er1 >conftest.err
3028 rm -f conftest.er1
3029 cat conftest.err >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } && {
3032 test -z "$ac_c_werror_flag" ||
3033 test ! -s conftest.err
3034 } && test -s conftest.$ac_objext; then
3035 ac_cv_prog_cc_c89=$ac_arg
3036 else
3037 echo "$as_me: failed program was:" >&5
3038 sed 's/^/| /' conftest.$ac_ext >&5
3043 rm -f core conftest.err conftest.$ac_objext
3044 test "x$ac_cv_prog_cc_c89" != "xno" && break
3045 done
3046 rm -f conftest.$ac_ext
3047 CC=$ac_save_CC
3050 # AC_CACHE_VAL
3051 case "x$ac_cv_prog_cc_c89" in
3053 { echo "$as_me:$LINENO: result: none needed" >&5
3054 echo "${ECHO_T}none needed" >&6; } ;;
3055 xno)
3056 { echo "$as_me:$LINENO: result: unsupported" >&5
3057 echo "${ECHO_T}unsupported" >&6; } ;;
3059 CC="$CC $ac_cv_prog_cc_c89"
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3062 esac
3065 ac_ext=c
3066 ac_cpp='$CPP $CPPFLAGS'
3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3070 DEPDIR="${am__leading_dot}deps"
3072 ac_config_commands="$ac_config_commands depfiles"
3075 am_make=${MAKE-make}
3076 cat > confinc << 'END'
3077 am__doit:
3078 @echo done
3079 .PHONY: am__doit
3081 # If we don't find an include directive, just comment out the code.
3082 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3083 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3084 am__include="#"
3085 am__quote=
3086 _am_result=none
3087 # First try GNU make style include.
3088 echo "include confinc" > confmf
3089 # We grep out `Entering directory' and `Leaving directory'
3090 # messages which can occur if `w' ends up in MAKEFLAGS.
3091 # In particular we don't look at `^make:' because GNU make might
3092 # be invoked under some other name (usually "gmake"), in which
3093 # case it prints its new name instead of `make'.
3094 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3095 am__include=include
3096 am__quote=
3097 _am_result=GNU
3099 # Now try BSD make style include.
3100 if test "$am__include" = "#"; then
3101 echo '.include "confinc"' > confmf
3102 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3103 am__include=.include
3104 am__quote="\""
3105 _am_result=BSD
3110 { echo "$as_me:$LINENO: result: $_am_result" >&5
3111 echo "${ECHO_T}$_am_result" >&6; }
3112 rm -f confinc confmf
3114 # Check whether --enable-dependency-tracking was given.
3115 if test "${enable_dependency_tracking+set}" = set; then
3116 enableval=$enable_dependency_tracking;
3119 if test "x$enable_dependency_tracking" != xno; then
3120 am_depcomp="$ac_aux_dir/depcomp"
3121 AMDEPBACKSLASH='\'
3125 if test "x$enable_dependency_tracking" != xno; then
3126 AMDEP_TRUE=
3127 AMDEP_FALSE='#'
3128 else
3129 AMDEP_TRUE='#'
3130 AMDEP_FALSE=
3136 depcc="$CC" am_compiler_list=
3138 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3139 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3140 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3142 else
3143 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3144 # We make a subdir and do the tests there. Otherwise we can end up
3145 # making bogus files that we don't know about and never remove. For
3146 # instance it was reported that on HP-UX the gcc test will end up
3147 # making a dummy file named `D' -- because `-MD' means `put the output
3148 # in D'.
3149 mkdir conftest.dir
3150 # Copy depcomp to subdir because otherwise we won't find it if we're
3151 # using a relative directory.
3152 cp "$am_depcomp" conftest.dir
3153 cd conftest.dir
3154 # We will build objects and dependencies in a subdirectory because
3155 # it helps to detect inapplicable dependency modes. For instance
3156 # both Tru64's cc and ICC support -MD to output dependencies as a
3157 # side effect of compilation, but ICC will put the dependencies in
3158 # the current directory while Tru64 will put them in the object
3159 # directory.
3160 mkdir sub
3162 am_cv_CC_dependencies_compiler_type=none
3163 if test "$am_compiler_list" = ""; then
3164 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3166 for depmode in $am_compiler_list; do
3167 # Setup a source with many dependencies, because some compilers
3168 # like to wrap large dependency lists on column 80 (with \), and
3169 # we should not choose a depcomp mode which is confused by this.
3171 # We need to recreate these files for each test, as the compiler may
3172 # overwrite some of them when testing with obscure command lines.
3173 # This happens at least with the AIX C compiler.
3174 : > sub/conftest.c
3175 for i in 1 2 3 4 5 6; do
3176 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3177 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3178 # Solaris 8's {/usr,}/bin/sh.
3179 touch sub/conftst$i.h
3180 done
3181 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3183 case $depmode in
3184 nosideeffect)
3185 # after this tag, mechanisms are not by side-effect, so they'll
3186 # only be used when explicitly requested
3187 if test "x$enable_dependency_tracking" = xyes; then
3188 continue
3189 else
3190 break
3193 none) break ;;
3194 esac
3195 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3196 # mode. It turns out that the SunPro C++ compiler does not properly
3197 # handle `-M -o', and we need to detect this.
3198 if depmode=$depmode \
3199 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3200 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3201 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3202 >/dev/null 2>conftest.err &&
3203 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3204 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3205 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3206 # icc doesn't choke on unknown options, it will just issue warnings
3207 # or remarks (even with -Werror). So we grep stderr for any message
3208 # that says an option was ignored or not supported.
3209 # When given -MP, icc 7.0 and 7.1 complain thusly:
3210 # icc: Command line warning: ignoring option '-M'; no argument required
3211 # The diagnosis changed in icc 8.0:
3212 # icc: Command line remark: option '-MP' not supported
3213 if (grep 'ignoring option' conftest.err ||
3214 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3215 am_cv_CC_dependencies_compiler_type=$depmode
3216 break
3219 done
3221 cd ..
3222 rm -rf conftest.dir
3223 else
3224 am_cv_CC_dependencies_compiler_type=none
3228 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3229 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3230 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3235 test "x$enable_dependency_tracking" != xno \
3236 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3237 am__fastdepCC_TRUE=
3238 am__fastdepCC_FALSE='#'
3239 else
3240 am__fastdepCC_TRUE='#'
3241 am__fastdepCC_FALSE=
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3250 if test "${ac_cv_prog_RANLIB+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3252 else
3253 if test -n "$RANLIB"; then
3254 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3259 IFS=$as_save_IFS
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 break 2
3267 done
3268 done
3269 IFS=$as_save_IFS
3273 RANLIB=$ac_cv_prog_RANLIB
3274 if test -n "$RANLIB"; then
3275 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3276 echo "${ECHO_T}$RANLIB" >&6; }
3277 else
3278 { echo "$as_me:$LINENO: result: no" >&5
3279 echo "${ECHO_T}no" >&6; }
3284 if test -z "$ac_cv_prog_RANLIB"; then
3285 ac_ct_RANLIB=$RANLIB
3286 # Extract the first word of "ranlib", so it can be a program name with args.
3287 set dummy ranlib; ac_word=$2
3288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3290 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3291 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293 if test -n "$ac_ct_RANLIB"; then
3294 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_RANLIB="ranlib"
3304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3314 if test -n "$ac_ct_RANLIB"; then
3315 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3316 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3317 else
3318 { echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6; }
3322 if test "x$ac_ct_RANLIB" = x; then
3323 RANLIB=":"
3324 else
3325 case $cross_compiling:$ac_tool_warned in
3326 yes:)
3327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3328 whose name does not start with the host triplet. If you think this
3329 configuration is useful to you, please write to autoconf@gnu.org." >&5
3330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3331 whose name does not start with the host triplet. If you think this
3332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 RANLIB=$ac_ct_RANLIB
3337 else
3338 RANLIB="$ac_cv_prog_RANLIB"
3343 { echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
3344 echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6; }
3345 if test "${ac_cv_func_gethostbyaddr_r+set}" = set; then
3346 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 else
3348 cat >conftest.$ac_ext <<_ACEOF
3349 /* confdefs.h. */
3350 _ACEOF
3351 cat confdefs.h >>conftest.$ac_ext
3352 cat >>conftest.$ac_ext <<_ACEOF
3353 /* end confdefs.h. */
3354 /* Define gethostbyaddr_r to an innocuous variant, in case <limits.h> declares gethostbyaddr_r.
3355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3356 #define gethostbyaddr_r innocuous_gethostbyaddr_r
3358 /* System header to define __stub macros and hopefully few prototypes,
3359 which can conflict with char gethostbyaddr_r (); below.
3360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3361 <limits.h> exists even on freestanding compilers. */
3363 #ifdef __STDC__
3364 # include <limits.h>
3365 #else
3366 # include <assert.h>
3367 #endif
3369 #undef gethostbyaddr_r
3371 /* Override any GCC internal prototype to avoid an error.
3372 Use char because int might match the return type of a GCC
3373 builtin and then its argument prototype would still apply. */
3374 #ifdef __cplusplus
3375 extern "C"
3376 #endif
3377 char gethostbyaddr_r ();
3378 /* The GNU C library defines this for functions which it implements
3379 to always fail with ENOSYS. Some functions are actually named
3380 something starting with __ and the normal name is an alias. */
3381 #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
3382 choke me
3383 #endif
3386 main ()
3388 return gethostbyaddr_r ();
3390 return 0;
3392 _ACEOF
3393 rm -f conftest.$ac_objext conftest$ac_exeext
3394 if { (ac_try="$ac_link"
3395 case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3398 esac
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_link") 2>conftest.er1
3401 ac_status=$?
3402 grep -v '^ *+' conftest.er1 >conftest.err
3403 rm -f conftest.er1
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } && {
3407 test -z "$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3409 } && test -s conftest$ac_exeext &&
3410 $as_test_x conftest$ac_exeext; then
3411 ac_cv_func_gethostbyaddr_r=yes
3412 else
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 ac_cv_func_gethostbyaddr_r=no
3419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3420 conftest$ac_exeext conftest.$ac_ext
3422 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_r" >&5
3423 echo "${ECHO_T}$ac_cv_func_gethostbyaddr_r" >&6; }
3424 if test $ac_cv_func_gethostbyaddr_r = yes; then
3425 cat >>confdefs.h <<\_ACEOF
3426 #define HAS_GETHOSTBYADDR_R 1
3427 _ACEOF
3431 { echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
3432 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
3433 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 else
3436 cat >conftest.$ac_ext <<_ACEOF
3437 /* confdefs.h. */
3438 _ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3442 /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
3443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3444 #define gethostbyname_r innocuous_gethostbyname_r
3446 /* System header to define __stub macros and hopefully few prototypes,
3447 which can conflict with char gethostbyname_r (); below.
3448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3449 <limits.h> exists even on freestanding compilers. */
3451 #ifdef __STDC__
3452 # include <limits.h>
3453 #else
3454 # include <assert.h>
3455 #endif
3457 #undef gethostbyname_r
3459 /* Override any GCC internal prototype to avoid an error.
3460 Use char because int might match the return type of a GCC
3461 builtin and then its argument prototype would still apply. */
3462 #ifdef __cplusplus
3463 extern "C"
3464 #endif
3465 char gethostbyname_r ();
3466 /* The GNU C library defines this for functions which it implements
3467 to always fail with ENOSYS. Some functions are actually named
3468 something starting with __ and the normal name is an alias. */
3469 #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
3470 choke me
3471 #endif
3474 main ()
3476 return gethostbyname_r ();
3478 return 0;
3480 _ACEOF
3481 rm -f conftest.$ac_objext conftest$ac_exeext
3482 if { (ac_try="$ac_link"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_link") 2>conftest.er1
3489 ac_status=$?
3490 grep -v '^ *+' conftest.er1 >conftest.err
3491 rm -f conftest.er1
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && {
3495 test -z "$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 } && test -s conftest$ac_exeext &&
3498 $as_test_x conftest$ac_exeext; then
3499 ac_cv_func_gethostbyname_r=yes
3500 else
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 ac_cv_func_gethostbyname_r=no
3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3508 conftest$ac_exeext conftest.$ac_ext
3510 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
3511 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6; }
3512 if test $ac_cv_func_gethostbyname_r = yes; then
3513 cat >>confdefs.h <<\_ACEOF
3514 #define HAS_GETHOSTBYNAME_R 1
3515 _ACEOF
3519 { echo "$as_me:$LINENO: checking for poll" >&5
3520 echo $ECHO_N "checking for poll... $ECHO_C" >&6; }
3521 if test "${ac_cv_func_poll+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 else
3524 cat >conftest.$ac_ext <<_ACEOF
3525 /* confdefs.h. */
3526 _ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 /* Define poll to an innocuous variant, in case <limits.h> declares poll.
3531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3532 #define poll innocuous_poll
3534 /* System header to define __stub macros and hopefully few prototypes,
3535 which can conflict with char poll (); below.
3536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3537 <limits.h> exists even on freestanding compilers. */
3539 #ifdef __STDC__
3540 # include <limits.h>
3541 #else
3542 # include <assert.h>
3543 #endif
3545 #undef poll
3547 /* Override any GCC internal prototype to avoid an error.
3548 Use char because int might match the return type of a GCC
3549 builtin and then its argument prototype would still apply. */
3550 #ifdef __cplusplus
3551 extern "C"
3552 #endif
3553 char poll ();
3554 /* The GNU C library defines this for functions which it implements
3555 to always fail with ENOSYS. Some functions are actually named
3556 something starting with __ and the normal name is an alias. */
3557 #if defined __stub_poll || defined __stub___poll
3558 choke me
3559 #endif
3562 main ()
3564 return poll ();
3566 return 0;
3568 _ACEOF
3569 rm -f conftest.$ac_objext conftest$ac_exeext
3570 if { (ac_try="$ac_link"
3571 case "(($ac_try" in
3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3573 *) ac_try_echo=$ac_try;;
3574 esac
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3576 (eval "$ac_link") 2>conftest.er1
3577 ac_status=$?
3578 grep -v '^ *+' conftest.er1 >conftest.err
3579 rm -f conftest.er1
3580 cat conftest.err >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } && {
3583 test -z "$ac_c_werror_flag" ||
3584 test ! -s conftest.err
3585 } && test -s conftest$ac_exeext &&
3586 $as_test_x conftest$ac_exeext; then
3587 ac_cv_func_poll=yes
3588 else
3589 echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3592 ac_cv_func_poll=no
3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3596 conftest$ac_exeext conftest.$ac_ext
3598 { echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5
3599 echo "${ECHO_T}$ac_cv_func_poll" >&6; }
3600 if test $ac_cv_func_poll = yes; then
3601 cat >>confdefs.h <<\_ACEOF
3602 #define HAS_POLL 1
3603 _ACEOF
3607 { echo "$as_me:$LINENO: checking for fcntl" >&5
3608 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6; }
3609 if test "${ac_cv_func_fcntl+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 else
3612 cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h. */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 /* Define fcntl to an innocuous variant, in case <limits.h> declares fcntl.
3619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3620 #define fcntl innocuous_fcntl
3622 /* System header to define __stub macros and hopefully few prototypes,
3623 which can conflict with char fcntl (); below.
3624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3625 <limits.h> exists even on freestanding compilers. */
3627 #ifdef __STDC__
3628 # include <limits.h>
3629 #else
3630 # include <assert.h>
3631 #endif
3633 #undef fcntl
3635 /* Override any GCC internal prototype to avoid an error.
3636 Use char because int might match the return type of a GCC
3637 builtin and then its argument prototype would still apply. */
3638 #ifdef __cplusplus
3639 extern "C"
3640 #endif
3641 char fcntl ();
3642 /* The GNU C library defines this for functions which it implements
3643 to always fail with ENOSYS. Some functions are actually named
3644 something starting with __ and the normal name is an alias. */
3645 #if defined __stub_fcntl || defined __stub___fcntl
3646 choke me
3647 #endif
3650 main ()
3652 return fcntl ();
3654 return 0;
3656 _ACEOF
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (ac_try="$ac_link"
3659 case "(($ac_try" in
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3662 esac
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_link") 2>conftest.er1
3665 ac_status=$?
3666 grep -v '^ *+' conftest.er1 >conftest.err
3667 rm -f conftest.er1
3668 cat conftest.err >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_c_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest$ac_exeext &&
3674 $as_test_x conftest$ac_exeext; then
3675 ac_cv_func_fcntl=yes
3676 else
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.$ac_ext >&5
3680 ac_cv_func_fcntl=no
3683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3684 conftest$ac_exeext conftest.$ac_ext
3686 { echo "$as_me:$LINENO: result: $ac_cv_func_fcntl" >&5
3687 echo "${ECHO_T}$ac_cv_func_fcntl" >&6; }
3688 if test $ac_cv_func_fcntl = yes; then
3689 cat >>confdefs.h <<\_ACEOF
3690 #define HAS_FCNTL 1
3691 _ACEOF
3695 { echo "$as_me:$LINENO: checking for inet_pton" >&5
3696 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6; }
3697 if test "${ac_cv_func_inet_pton+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 cat >conftest.$ac_ext <<_ACEOF
3701 /* confdefs.h. */
3702 _ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3706 /* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton.
3707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3708 #define inet_pton innocuous_inet_pton
3710 /* System header to define __stub macros and hopefully few prototypes,
3711 which can conflict with char inet_pton (); below.
3712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 <limits.h> exists even on freestanding compilers. */
3715 #ifdef __STDC__
3716 # include <limits.h>
3717 #else
3718 # include <assert.h>
3719 #endif
3721 #undef inet_pton
3723 /* Override any GCC internal prototype to avoid an error.
3724 Use char because int might match the return type of a GCC
3725 builtin and then its argument prototype would still apply. */
3726 #ifdef __cplusplus
3727 extern "C"
3728 #endif
3729 char inet_pton ();
3730 /* The GNU C library defines this for functions which it implements
3731 to always fail with ENOSYS. Some functions are actually named
3732 something starting with __ and the normal name is an alias. */
3733 #if defined __stub_inet_pton || defined __stub___inet_pton
3734 choke me
3735 #endif
3738 main ()
3740 return inet_pton ();
3742 return 0;
3744 _ACEOF
3745 rm -f conftest.$ac_objext conftest$ac_exeext
3746 if { (ac_try="$ac_link"
3747 case "(($ac_try" in
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3750 esac
3751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_link") 2>conftest.er1
3753 ac_status=$?
3754 grep -v '^ *+' conftest.er1 >conftest.err
3755 rm -f conftest.er1
3756 cat conftest.err >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); } && {
3759 test -z "$ac_c_werror_flag" ||
3760 test ! -s conftest.err
3761 } && test -s conftest$ac_exeext &&
3762 $as_test_x conftest$ac_exeext; then
3763 ac_cv_func_inet_pton=yes
3764 else
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 ac_cv_func_inet_pton=no
3771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3772 conftest$ac_exeext conftest.$ac_ext
3774 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
3775 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6; }
3776 if test $ac_cv_func_inet_pton = yes; then
3777 cat >>confdefs.h <<\_ACEOF
3778 #define HAS_INET_PTON 1
3779 _ACEOF
3783 { echo "$as_me:$LINENO: checking for inet_ntop" >&5
3784 echo $ECHO_N "checking for inet_ntop... $ECHO_C" >&6; }
3785 if test "${ac_cv_func_inet_ntop+set}" = set; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 else
3788 cat >conftest.$ac_ext <<_ACEOF
3789 /* confdefs.h. */
3790 _ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 /* Define inet_ntop to an innocuous variant, in case <limits.h> declares inet_ntop.
3795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3796 #define inet_ntop innocuous_inet_ntop
3798 /* System header to define __stub macros and hopefully few prototypes,
3799 which can conflict with char inet_ntop (); below.
3800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3801 <limits.h> exists even on freestanding compilers. */
3803 #ifdef __STDC__
3804 # include <limits.h>
3805 #else
3806 # include <assert.h>
3807 #endif
3809 #undef inet_ntop
3811 /* Override any GCC internal prototype to avoid an error.
3812 Use char because int might match the return type of a GCC
3813 builtin and then its argument prototype would still apply. */
3814 #ifdef __cplusplus
3815 extern "C"
3816 #endif
3817 char inet_ntop ();
3818 /* The GNU C library defines this for functions which it implements
3819 to always fail with ENOSYS. Some functions are actually named
3820 something starting with __ and the normal name is an alias. */
3821 #if defined __stub_inet_ntop || defined __stub___inet_ntop
3822 choke me
3823 #endif
3826 main ()
3828 return inet_ntop ();
3830 return 0;
3832 _ACEOF
3833 rm -f conftest.$ac_objext conftest$ac_exeext
3834 if { (ac_try="$ac_link"
3835 case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3838 esac
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_link") 2>conftest.er1
3841 ac_status=$?
3842 grep -v '^ *+' conftest.er1 >conftest.err
3843 rm -f conftest.er1
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } && {
3847 test -z "$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 } && test -s conftest$ac_exeext &&
3850 $as_test_x conftest$ac_exeext; then
3851 ac_cv_func_inet_ntop=yes
3852 else
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3856 ac_cv_func_inet_ntop=no
3859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3860 conftest$ac_exeext conftest.$ac_ext
3862 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntop" >&5
3863 echo "${ECHO_T}$ac_cv_func_inet_ntop" >&6; }
3864 if test $ac_cv_func_inet_ntop = yes; then
3865 cat >>confdefs.h <<\_ACEOF
3866 #define HAS_INET_NTOP 1
3867 _ACEOF
3872 { echo "$as_me:$LINENO: checking for struct msghdr.msg_flags" >&5
3873 echo $ECHO_N "checking for struct msghdr.msg_flags... $ECHO_C" >&6; }
3874 if test "${ac_cv_member_struct_msghdr_msg_flags+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 else
3877 cat >conftest.$ac_ext <<_ACEOF
3878 /* confdefs.h. */
3879 _ACEOF
3880 cat confdefs.h >>conftest.$ac_ext
3881 cat >>conftest.$ac_ext <<_ACEOF
3882 /* end confdefs.h. */
3883 #include <sys/socket.h>
3886 main ()
3888 static struct msghdr ac_aggr;
3889 if (ac_aggr.msg_flags)
3890 return 0;
3892 return 0;
3894 _ACEOF
3895 rm -f conftest.$ac_objext
3896 if { (ac_try="$ac_compile"
3897 case "(($ac_try" in
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3900 esac
3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3902 (eval "$ac_compile") 2>conftest.er1
3903 ac_status=$?
3904 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } && {
3909 test -z "$ac_c_werror_flag" ||
3910 test ! -s conftest.err
3911 } && test -s conftest.$ac_objext; then
3912 ac_cv_member_struct_msghdr_msg_flags=yes
3913 else
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 cat >conftest.$ac_ext <<_ACEOF
3918 /* confdefs.h. */
3919 _ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3923 #include <sys/socket.h>
3926 main ()
3928 static struct msghdr ac_aggr;
3929 if (sizeof ac_aggr.msg_flags)
3930 return 0;
3932 return 0;
3934 _ACEOF
3935 rm -f conftest.$ac_objext
3936 if { (ac_try="$ac_compile"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3942 (eval "$ac_compile") 2>conftest.er1
3943 ac_status=$?
3944 grep -v '^ *+' conftest.er1 >conftest.err
3945 rm -f conftest.er1
3946 cat conftest.err >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } && {
3949 test -z "$ac_c_werror_flag" ||
3950 test ! -s conftest.err
3951 } && test -s conftest.$ac_objext; then
3952 ac_cv_member_struct_msghdr_msg_flags=yes
3953 else
3954 echo "$as_me: failed program was:" >&5
3955 sed 's/^/| /' conftest.$ac_ext >&5
3957 ac_cv_member_struct_msghdr_msg_flags=no
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_flags" >&5
3966 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_flags" >&6; }
3967 if test $ac_cv_member_struct_msghdr_msg_flags = yes; then
3968 cat >>confdefs.h <<\_ACEOF
3969 #define HAS_MSGHDR_FLAGS 1
3970 _ACEOF
3975 { echo "$as_me:$LINENO: checking for socklen_t" >&5
3976 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
3977 if test "${ac_cv_type_socklen_t+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3979 else
3980 cat >conftest.$ac_ext <<_ACEOF
3981 /* confdefs.h. */
3982 _ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3986 #include <sys/types.h>
3987 #include <sys/socket.h>
3990 typedef socklen_t ac__type_new_;
3992 main ()
3994 if ((ac__type_new_ *) 0)
3995 return 0;
3996 if (sizeof (ac__type_new_))
3997 return 0;
3999 return 0;
4001 _ACEOF
4002 rm -f conftest.$ac_objext
4003 if { (ac_try="$ac_compile"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4009 (eval "$ac_compile") 2>conftest.er1
4010 ac_status=$?
4011 grep -v '^ *+' conftest.er1 >conftest.err
4012 rm -f conftest.er1
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } && {
4016 test -z "$ac_c_werror_flag" ||
4017 test ! -s conftest.err
4018 } && test -s conftest.$ac_objext; then
4019 ac_cv_type_socklen_t=yes
4020 else
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 ac_cv_type_socklen_t=no
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4029 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
4030 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
4031 if test $ac_cv_type_socklen_t = yes; then
4032 cat >>confdefs.h <<\_ACEOF
4033 #define HAS_SOCKLEN_T 1
4034 _ACEOF
4039 ac_ext=c
4040 ac_cpp='$CPP $CPPFLAGS'
4041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4045 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4046 # On Suns, sometimes $CPP names a directory.
4047 if test -n "$CPP" && test -d "$CPP"; then
4048 CPP=
4050 if test -z "$CPP"; then
4051 if test "${ac_cv_prog_CPP+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 else
4054 # Double quotes because CPP needs to be expanded
4055 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4057 ac_preproc_ok=false
4058 for ac_c_preproc_warn_flag in '' yes
4060 # Use a header file that comes with gcc, so configuring glibc
4061 # with a fresh cross-compiler works.
4062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4063 # <limits.h> exists even on freestanding compilers.
4064 # On the NeXT, cc -E runs the code through the compiler's parser,
4065 # not just through cpp. "Syntax error" is here to catch this case.
4066 cat >conftest.$ac_ext <<_ACEOF
4067 /* confdefs.h. */
4068 _ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4072 #ifdef __STDC__
4073 # include <limits.h>
4074 #else
4075 # include <assert.h>
4076 #endif
4077 Syntax error
4078 _ACEOF
4079 if { (ac_try="$ac_cpp conftest.$ac_ext"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4086 ac_status=$?
4087 grep -v '^ *+' conftest.er1 >conftest.err
4088 rm -f conftest.er1
4089 cat conftest.err >&5
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); } >/dev/null && {
4092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4093 test ! -s conftest.err
4094 }; then
4096 else
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.$ac_ext >&5
4100 # Broken: fails on valid input.
4101 continue
4104 rm -f conftest.err conftest.$ac_ext
4106 # OK, works on sane cases. Now check whether nonexistent headers
4107 # can be detected and how.
4108 cat >conftest.$ac_ext <<_ACEOF
4109 /* confdefs.h. */
4110 _ACEOF
4111 cat confdefs.h >>conftest.$ac_ext
4112 cat >>conftest.$ac_ext <<_ACEOF
4113 /* end confdefs.h. */
4114 #include <ac_nonexistent.h>
4115 _ACEOF
4116 if { (ac_try="$ac_cpp conftest.$ac_ext"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4123 ac_status=$?
4124 grep -v '^ *+' conftest.er1 >conftest.err
4125 rm -f conftest.er1
4126 cat conftest.err >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } >/dev/null && {
4129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4131 }; then
4132 # Broken: success on invalid input.
4133 continue
4134 else
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 # Passes both tests.
4139 ac_preproc_ok=:
4140 break
4143 rm -f conftest.err conftest.$ac_ext
4145 done
4146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4147 rm -f conftest.err conftest.$ac_ext
4148 if $ac_preproc_ok; then
4149 break
4152 done
4153 ac_cv_prog_CPP=$CPP
4156 CPP=$ac_cv_prog_CPP
4157 else
4158 ac_cv_prog_CPP=$CPP
4160 { echo "$as_me:$LINENO: result: $CPP" >&5
4161 echo "${ECHO_T}$CPP" >&6; }
4162 ac_preproc_ok=false
4163 for ac_c_preproc_warn_flag in '' yes
4165 # Use a header file that comes with gcc, so configuring glibc
4166 # with a fresh cross-compiler works.
4167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4168 # <limits.h> exists even on freestanding compilers.
4169 # On the NeXT, cc -E runs the code through the compiler's parser,
4170 # not just through cpp. "Syntax error" is here to catch this case.
4171 cat >conftest.$ac_ext <<_ACEOF
4172 /* confdefs.h. */
4173 _ACEOF
4174 cat confdefs.h >>conftest.$ac_ext
4175 cat >>conftest.$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4177 #ifdef __STDC__
4178 # include <limits.h>
4179 #else
4180 # include <assert.h>
4181 #endif
4182 Syntax error
4183 _ACEOF
4184 if { (ac_try="$ac_cpp conftest.$ac_ext"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } >/dev/null && {
4197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 }; then
4201 else
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 # Broken: fails on valid input.
4206 continue
4209 rm -f conftest.err conftest.$ac_ext
4211 # OK, works on sane cases. Now check whether nonexistent headers
4212 # can be detected and how.
4213 cat >conftest.$ac_ext <<_ACEOF
4214 /* confdefs.h. */
4215 _ACEOF
4216 cat confdefs.h >>conftest.$ac_ext
4217 cat >>conftest.$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4219 #include <ac_nonexistent.h>
4220 _ACEOF
4221 if { (ac_try="$ac_cpp conftest.$ac_ext"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4228 ac_status=$?
4229 grep -v '^ *+' conftest.er1 >conftest.err
4230 rm -f conftest.er1
4231 cat conftest.err >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } >/dev/null && {
4234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4235 test ! -s conftest.err
4236 }; then
4237 # Broken: success on invalid input.
4238 continue
4239 else
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 # Passes both tests.
4244 ac_preproc_ok=:
4245 break
4248 rm -f conftest.err conftest.$ac_ext
4250 done
4251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4252 rm -f conftest.err conftest.$ac_ext
4253 if $ac_preproc_ok; then
4255 else
4256 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4257 See \`config.log' for more details." >&5
4258 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4259 See \`config.log' for more details." >&2;}
4260 { (exit 1); exit 1; }; }
4263 ac_ext=c
4264 ac_cpp='$CPP $CPPFLAGS'
4265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4271 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4272 if test "${ac_cv_path_GREP+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275 # Extract the first word of "grep ggrep" to use in msg output
4276 if test -z "$GREP"; then
4277 set dummy grep ggrep; ac_prog_name=$2
4278 if test "${ac_cv_path_GREP+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 else
4281 ac_path_GREP_found=false
4282 # Loop through the user's path and test for each of PROGNAME-LIST
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4286 IFS=$as_save_IFS
4287 test -z "$as_dir" && as_dir=.
4288 for ac_prog in grep ggrep; do
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4291 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4292 # Check for GNU ac_path_GREP and select it if it is found.
4293 # Check for GNU $ac_path_GREP
4294 case `"$ac_path_GREP" --version 2>&1` in
4295 *GNU*)
4296 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4298 ac_count=0
4299 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4300 while :
4302 cat "conftest.in" "conftest.in" >"conftest.tmp"
4303 mv "conftest.tmp" "conftest.in"
4304 cp "conftest.in" "conftest.nl"
4305 echo 'GREP' >> "conftest.nl"
4306 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4308 ac_count=`expr $ac_count + 1`
4309 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4310 # Best one so far, save it but keep looking for a better one
4311 ac_cv_path_GREP="$ac_path_GREP"
4312 ac_path_GREP_max=$ac_count
4314 # 10*(2^10) chars as input seems more than enough
4315 test $ac_count -gt 10 && break
4316 done
4317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4318 esac
4321 $ac_path_GREP_found && break 3
4322 done
4323 done
4325 done
4326 IFS=$as_save_IFS
4331 GREP="$ac_cv_path_GREP"
4332 if test -z "$GREP"; then
4333 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4334 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4335 { (exit 1); exit 1; }; }
4338 else
4339 ac_cv_path_GREP=$GREP
4344 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4345 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4346 GREP="$ac_cv_path_GREP"
4349 { echo "$as_me:$LINENO: checking for egrep" >&5
4350 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4351 if test "${ac_cv_path_EGREP+set}" = set; then
4352 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 else
4354 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4355 then ac_cv_path_EGREP="$GREP -E"
4356 else
4357 # Extract the first word of "egrep" to use in msg output
4358 if test -z "$EGREP"; then
4359 set dummy egrep; ac_prog_name=$2
4360 if test "${ac_cv_path_EGREP+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 else
4363 ac_path_EGREP_found=false
4364 # Loop through the user's path and test for each of PROGNAME-LIST
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4368 IFS=$as_save_IFS
4369 test -z "$as_dir" && as_dir=.
4370 for ac_prog in egrep; do
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4373 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4374 # Check for GNU ac_path_EGREP and select it if it is found.
4375 # Check for GNU $ac_path_EGREP
4376 case `"$ac_path_EGREP" --version 2>&1` in
4377 *GNU*)
4378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4380 ac_count=0
4381 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4382 while :
4384 cat "conftest.in" "conftest.in" >"conftest.tmp"
4385 mv "conftest.tmp" "conftest.in"
4386 cp "conftest.in" "conftest.nl"
4387 echo 'EGREP' >> "conftest.nl"
4388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390 ac_count=`expr $ac_count + 1`
4391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392 # Best one so far, save it but keep looking for a better one
4393 ac_cv_path_EGREP="$ac_path_EGREP"
4394 ac_path_EGREP_max=$ac_count
4396 # 10*(2^10) chars as input seems more than enough
4397 test $ac_count -gt 10 && break
4398 done
4399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400 esac
4403 $ac_path_EGREP_found && break 3
4404 done
4405 done
4407 done
4408 IFS=$as_save_IFS
4413 EGREP="$ac_cv_path_EGREP"
4414 if test -z "$EGREP"; then
4415 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4416 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4417 { (exit 1); exit 1; }; }
4420 else
4421 ac_cv_path_EGREP=$EGREP
4427 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4428 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4429 EGREP="$ac_cv_path_EGREP"
4432 cat >conftest.$ac_ext <<_ACEOF
4433 /* confdefs.h. */
4434 _ACEOF
4435 cat confdefs.h >>conftest.$ac_ext
4436 cat >>conftest.$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 #include </usr/include/sys/socket.h>
4440 _ACEOF
4441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442 $EGREP "MSG_MAXIOVLEN" >/dev/null 2>&1; then
4443 cat >>confdefs.h <<\_ACEOF
4444 #define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN
4445 _ACEOF
4448 rm -f conftest*
4450 cat >conftest.$ac_ext <<_ACEOF
4451 /* confdefs.h. */
4452 _ACEOF
4453 cat confdefs.h >>conftest.$ac_ext
4454 cat >>conftest.$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 #include <socket.h>
4458 _ACEOF
4459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4460 $EGREP "MSG_MAXIOVLEN" >/dev/null 2>&1; then
4461 cat >>confdefs.h <<\_ACEOF
4462 #define ENET_BUFFER_MAXIMUM MSG_MAXIOVLEN
4463 _ACEOF
4466 rm -f conftest*
4469 { echo "$as_me:$LINENO: checking whether to use CRC32" >&5
4470 echo $ECHO_N "checking whether to use CRC32... $ECHO_C" >&6; }
4471 # Check whether --enable-crc32 was given.
4472 if test "${enable_crc32+set}" = set; then
4473 enableval=$enable_crc32; if test "$enableval" = yes; then
4474 { echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6; }
4476 cat >>confdefs.h <<\_ACEOF
4477 #define USE_CRC32 1
4478 _ACEOF
4480 else
4481 { echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6; }
4484 else
4485 { echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6; }
4490 ac_config_files="$ac_config_files Makefile include/Makefile include/enet/Makefile"
4492 cat >confcache <<\_ACEOF
4493 # This file is a shell script that caches the results of configure
4494 # tests run on this system so they can be shared between configure
4495 # scripts and configure runs, see configure's option --config-cache.
4496 # It is not useful on other systems. If it contains results you don't
4497 # want to keep, you may remove or edit it.
4499 # config.status only pays attention to the cache file if you give it
4500 # the --recheck option to rerun configure.
4502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4504 # following values.
4506 _ACEOF
4508 # The following way of writing the cache mishandles newlines in values,
4509 # but we know of no workaround that is simple, portable, and efficient.
4510 # So, we kill variables containing newlines.
4511 # Ultrix sh set writes to stderr and can't be redirected directly,
4512 # and sets the high bit in the cache file unless we assign to the vars.
4514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4515 eval ac_val=\$$ac_var
4516 case $ac_val in #(
4517 *${as_nl}*)
4518 case $ac_var in #(
4519 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4520 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4521 esac
4522 case $ac_var in #(
4523 _ | IFS | as_nl) ;; #(
4524 *) $as_unset $ac_var ;;
4525 esac ;;
4526 esac
4527 done
4529 (set) 2>&1 |
4530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4531 *${as_nl}ac_space=\ *)
4532 # `set' does not quote correctly, so add quotes (double-quote
4533 # substitution turns \\\\ into \\, and sed turns \\ into \).
4534 sed -n \
4535 "s/'/'\\\\''/g;
4536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4537 ;; #(
4539 # `set' quotes correctly as required by POSIX, so do not add quotes.
4540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4542 esac |
4543 sort
4545 sed '
4546 /^ac_cv_env_/b end
4547 t clear
4548 :clear
4549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4550 t end
4551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4552 :end' >>confcache
4553 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4554 if test -w "$cache_file"; then
4555 test "x$cache_file" != "x/dev/null" &&
4556 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4557 echo "$as_me: updating cache $cache_file" >&6;}
4558 cat confcache >$cache_file
4559 else
4560 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4561 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4564 rm -f confcache
4566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4567 # Let make expand exec_prefix.
4568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4570 # Transform confdefs.h into DEFS.
4571 # Protect against shell expansion while executing Makefile rules.
4572 # Protect against Makefile macro expansion.
4574 # If the first sed substitution is executed (which looks for macros that
4575 # take arguments), then branch to the quote section. Otherwise,
4576 # look for a macro that doesn't take arguments.
4577 ac_script='
4578 t clear
4579 :clear
4580 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4581 t quote
4582 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4583 t quote
4584 b any
4585 :quote
4586 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4587 s/\[/\\&/g
4588 s/\]/\\&/g
4589 s/\$/$$/g
4591 :any
4594 s/^\n//
4595 s/\n/ /g
4599 DEFS=`sed -n "$ac_script" confdefs.h`
4602 ac_libobjs=
4603 ac_ltlibobjs=
4604 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4605 # 1. Remove the extension, and $U if already installed.
4606 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4607 ac_i=`echo "$ac_i" | sed "$ac_script"`
4608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4609 # will be set to the directory where LIBOBJS objects are built.
4610 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4611 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4612 done
4613 LIBOBJS=$ac_libobjs
4615 LTLIBOBJS=$ac_ltlibobjs
4618 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4619 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4620 Usually this means the macro was only invoked conditionally." >&5
4621 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4622 Usually this means the macro was only invoked conditionally." >&2;}
4623 { (exit 1); exit 1; }; }
4625 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4626 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4627 Usually this means the macro was only invoked conditionally." >&5
4628 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4629 Usually this means the macro was only invoked conditionally." >&2;}
4630 { (exit 1); exit 1; }; }
4633 : ${CONFIG_STATUS=./config.status}
4634 ac_clean_files_save=$ac_clean_files
4635 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4636 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4637 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4638 cat >$CONFIG_STATUS <<_ACEOF
4639 #! $SHELL
4640 # Generated by $as_me.
4641 # Run this file to recreate the current configuration.
4642 # Compiler output produced by configure, useful for debugging
4643 # configure, is in config.log if it exists.
4645 debug=false
4646 ac_cs_recheck=false
4647 ac_cs_silent=false
4648 SHELL=\${CONFIG_SHELL-$SHELL}
4649 _ACEOF
4651 cat >>$CONFIG_STATUS <<\_ACEOF
4652 ## --------------------- ##
4653 ## M4sh Initialization. ##
4654 ## --------------------- ##
4656 # Be more Bourne compatible
4657 DUALCASE=1; export DUALCASE # for MKS sh
4658 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4659 emulate sh
4660 NULLCMD=:
4661 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4662 # is contrary to our usage. Disable this feature.
4663 alias -g '${1+"$@"}'='"$@"'
4664 setopt NO_GLOB_SUBST
4665 else
4666 case `(set -o) 2>/dev/null` in
4667 *posix*) set -o posix ;;
4668 esac
4675 # PATH needs CR
4676 # Avoid depending upon Character Ranges.
4677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4680 as_cr_digits='0123456789'
4681 as_cr_alnum=$as_cr_Letters$as_cr_digits
4683 # The user is always right.
4684 if test "${PATH_SEPARATOR+set}" != set; then
4685 echo "#! /bin/sh" >conf$$.sh
4686 echo "exit 0" >>conf$$.sh
4687 chmod +x conf$$.sh
4688 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4689 PATH_SEPARATOR=';'
4690 else
4691 PATH_SEPARATOR=:
4693 rm -f conf$$.sh
4696 # Support unset when possible.
4697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4698 as_unset=unset
4699 else
4700 as_unset=false
4704 # IFS
4705 # We need space, tab and new line, in precisely that order. Quoting is
4706 # there to prevent editors from complaining about space-tab.
4707 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4708 # splitting by setting IFS to empty value.)
4709 as_nl='
4711 IFS=" "" $as_nl"
4713 # Find who we are. Look in the path if we contain no directory separator.
4714 case $0 in
4715 *[\\/]* ) as_myself=$0 ;;
4716 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 test -z "$as_dir" && as_dir=.
4721 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4722 done
4723 IFS=$as_save_IFS
4726 esac
4727 # We did not find ourselves, most probably we were run as `sh COMMAND'
4728 # in which case we are not to be found in the path.
4729 if test "x$as_myself" = x; then
4730 as_myself=$0
4732 if test ! -f "$as_myself"; then
4733 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4734 { (exit 1); exit 1; }
4737 # Work around bugs in pre-3.0 UWIN ksh.
4738 for as_var in ENV MAIL MAILPATH
4739 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4740 done
4741 PS1='$ '
4742 PS2='> '
4743 PS4='+ '
4745 # NLS nuisances.
4746 for as_var in \
4747 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4748 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4749 LC_TELEPHONE LC_TIME
4751 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4752 eval $as_var=C; export $as_var
4753 else
4754 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4756 done
4758 # Required to use basename.
4759 if expr a : '\(a\)' >/dev/null 2>&1 &&
4760 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4761 as_expr=expr
4762 else
4763 as_expr=false
4766 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4767 as_basename=basename
4768 else
4769 as_basename=false
4773 # Name of the executable.
4774 as_me=`$as_basename -- "$0" ||
4775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4776 X"$0" : 'X\(//\)$' \| \
4777 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4778 echo X/"$0" |
4779 sed '/^.*\/\([^/][^/]*\)\/*$/{
4780 s//\1/
4783 /^X\/\(\/\/\)$/{
4784 s//\1/
4787 /^X\/\(\/\).*/{
4788 s//\1/
4791 s/.*/./; q'`
4793 # CDPATH.
4794 $as_unset CDPATH
4798 as_lineno_1=$LINENO
4799 as_lineno_2=$LINENO
4800 test "x$as_lineno_1" != "x$as_lineno_2" &&
4801 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4803 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4804 # uniformly replaced by the line number. The first 'sed' inserts a
4805 # line-number line after each line using $LINENO; the second 'sed'
4806 # does the real work. The second script uses 'N' to pair each
4807 # line-number line with the line containing $LINENO, and appends
4808 # trailing '-' during substitution so that $LINENO is not a special
4809 # case at line end.
4810 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4811 # scripts with optimization help from Paolo Bonzini. Blame Lee
4812 # E. McMahon (1931-1989) for sed's syntax. :-)
4813 sed -n '
4815 /[$]LINENO/=
4816 ' <$as_myself |
4817 sed '
4818 s/[$]LINENO.*/&-/
4819 t lineno
4821 :lineno
4823 :loop
4824 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4825 t loop
4826 s/-\n.*//
4827 ' >$as_me.lineno &&
4828 chmod +x "$as_me.lineno" ||
4829 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4830 { (exit 1); exit 1; }; }
4832 # Don't try to exec as it changes $[0], causing all sort of problems
4833 # (the dirname of $[0] is not the place where we might find the
4834 # original and so on. Autoconf is especially sensitive to this).
4835 . "./$as_me.lineno"
4836 # Exit status is that of the last command.
4837 exit
4841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4842 as_dirname=dirname
4843 else
4844 as_dirname=false
4847 ECHO_C= ECHO_N= ECHO_T=
4848 case `echo -n x` in
4849 -n*)
4850 case `echo 'x\c'` in
4851 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4852 *) ECHO_C='\c';;
4853 esac;;
4855 ECHO_N='-n';;
4856 esac
4858 if expr a : '\(a\)' >/dev/null 2>&1 &&
4859 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4860 as_expr=expr
4861 else
4862 as_expr=false
4865 rm -f conf$$ conf$$.exe conf$$.file
4866 if test -d conf$$.dir; then
4867 rm -f conf$$.dir/conf$$.file
4868 else
4869 rm -f conf$$.dir
4870 mkdir conf$$.dir
4872 echo >conf$$.file
4873 if ln -s conf$$.file conf$$ 2>/dev/null; then
4874 as_ln_s='ln -s'
4875 # ... but there are two gotchas:
4876 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4877 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4878 # In both cases, we have to default to `cp -p'.
4879 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4880 as_ln_s='cp -p'
4881 elif ln conf$$.file conf$$ 2>/dev/null; then
4882 as_ln_s=ln
4883 else
4884 as_ln_s='cp -p'
4886 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4887 rmdir conf$$.dir 2>/dev/null
4889 if mkdir -p . 2>/dev/null; then
4890 as_mkdir_p=:
4891 else
4892 test -d ./-p && rmdir ./-p
4893 as_mkdir_p=false
4896 if test -x / >/dev/null 2>&1; then
4897 as_test_x='test -x'
4898 else
4899 if ls -dL / >/dev/null 2>&1; then
4900 as_ls_L_option=L
4901 else
4902 as_ls_L_option=
4904 as_test_x='
4905 eval sh -c '\''
4906 if test -d "$1"; then
4907 test -d "$1/.";
4908 else
4909 case $1 in
4910 -*)set "./$1";;
4911 esac;
4912 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4913 ???[sx]*):;;*)false;;esac;fi
4914 '\'' sh
4917 as_executable_p=$as_test_x
4919 # Sed expression to map a string onto a valid CPP name.
4920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4922 # Sed expression to map a string onto a valid variable name.
4923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4926 exec 6>&1
4928 # Save the log message, to keep $[0] and so on meaningful, and to
4929 # report actual input values of CONFIG_FILES etc. instead of their
4930 # values after options handling.
4931 ac_log="
4932 This file was extended by libenet $as_me 10-12-2007, which was
4933 generated by GNU Autoconf 2.61. Invocation command line was
4935 CONFIG_FILES = $CONFIG_FILES
4936 CONFIG_HEADERS = $CONFIG_HEADERS
4937 CONFIG_LINKS = $CONFIG_LINKS
4938 CONFIG_COMMANDS = $CONFIG_COMMANDS
4939 $ $0 $@
4941 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4944 _ACEOF
4946 cat >>$CONFIG_STATUS <<_ACEOF
4947 # Files that config.status was made for.
4948 config_files="$ac_config_files"
4949 config_commands="$ac_config_commands"
4951 _ACEOF
4953 cat >>$CONFIG_STATUS <<\_ACEOF
4954 ac_cs_usage="\
4955 \`$as_me' instantiates files from templates according to the
4956 current configuration.
4958 Usage: $0 [OPTIONS] [FILE]...
4960 -h, --help print this help, then exit
4961 -V, --version print version number and configuration settings, then exit
4962 -q, --quiet do not print progress messages
4963 -d, --debug don't remove temporary files
4964 --recheck update $as_me by reconfiguring in the same conditions
4965 --file=FILE[:TEMPLATE]
4966 instantiate the configuration file FILE
4968 Configuration files:
4969 $config_files
4971 Configuration commands:
4972 $config_commands
4974 Report bugs to <bug-autoconf@gnu.org>."
4976 _ACEOF
4977 cat >>$CONFIG_STATUS <<_ACEOF
4978 ac_cs_version="\\
4979 libenet config.status 10-12-2007
4980 configured by $0, generated by GNU Autoconf 2.61,
4981 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4983 Copyright (C) 2006 Free Software Foundation, Inc.
4984 This config.status script is free software; the Free Software Foundation
4985 gives unlimited permission to copy, distribute and modify it."
4987 ac_pwd='$ac_pwd'
4988 srcdir='$srcdir'
4989 INSTALL='$INSTALL'
4990 _ACEOF
4992 cat >>$CONFIG_STATUS <<\_ACEOF
4993 # If no file are specified by the user, then we need to provide default
4994 # value. By we need to know if files were specified by the user.
4995 ac_need_defaults=:
4996 while test $# != 0
4998 case $1 in
4999 --*=*)
5000 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5001 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5002 ac_shift=:
5005 ac_option=$1
5006 ac_optarg=$2
5007 ac_shift=shift
5009 esac
5011 case $ac_option in
5012 # Handling of the options.
5013 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5014 ac_cs_recheck=: ;;
5015 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5016 echo "$ac_cs_version"; exit ;;
5017 --debug | --debu | --deb | --de | --d | -d )
5018 debug=: ;;
5019 --file | --fil | --fi | --f )
5020 $ac_shift
5021 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5022 ac_need_defaults=false;;
5023 --he | --h | --help | --hel | -h )
5024 echo "$ac_cs_usage"; exit ;;
5025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5026 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5027 ac_cs_silent=: ;;
5029 # This is an error.
5030 -*) { echo "$as_me: error: unrecognized option: $1
5031 Try \`$0 --help' for more information." >&2
5032 { (exit 1); exit 1; }; } ;;
5034 *) ac_config_targets="$ac_config_targets $1"
5035 ac_need_defaults=false ;;
5037 esac
5038 shift
5039 done
5041 ac_configure_extra_args=
5043 if $ac_cs_silent; then
5044 exec 6>/dev/null
5045 ac_configure_extra_args="$ac_configure_extra_args --silent"
5048 _ACEOF
5049 cat >>$CONFIG_STATUS <<_ACEOF
5050 if \$ac_cs_recheck; then
5051 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5052 CONFIG_SHELL=$SHELL
5053 export CONFIG_SHELL
5054 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5057 _ACEOF
5058 cat >>$CONFIG_STATUS <<\_ACEOF
5059 exec 5>>config.log
5061 echo
5062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5063 ## Running $as_me. ##
5064 _ASBOX
5065 echo "$ac_log"
5066 } >&5
5068 _ACEOF
5069 cat >>$CONFIG_STATUS <<_ACEOF
5071 # INIT-COMMANDS
5073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5075 _ACEOF
5077 cat >>$CONFIG_STATUS <<\_ACEOF
5079 # Handling of arguments.
5080 for ac_config_target in $ac_config_targets
5082 case $ac_config_target in
5083 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5084 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5085 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
5086 "include/enet/Makefile") CONFIG_FILES="$CONFIG_FILES include/enet/Makefile" ;;
5088 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5089 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5090 { (exit 1); exit 1; }; };;
5091 esac
5092 done
5095 # If the user did not use the arguments to specify the items to instantiate,
5096 # then the envvar interface is used. Set only those that are not.
5097 # We use the long form for the default assignment because of an extremely
5098 # bizarre bug on SunOS 4.1.3.
5099 if $ac_need_defaults; then
5100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5101 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5104 # Have a temporary directory for convenience. Make it in the build tree
5105 # simply because there is no reason against having it here, and in addition,
5106 # creating and moving files from /tmp can sometimes cause problems.
5107 # Hook for its removal unless debugging.
5108 # Note that there is a small window in which the directory will not be cleaned:
5109 # after its creation but before its name has been assigned to `$tmp'.
5110 $debug ||
5112 tmp=
5113 trap 'exit_status=$?
5114 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5116 trap '{ (exit 1); exit 1; }' 1 2 13 15
5118 # Create a (secure) tmp directory for tmp files.
5121 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5122 test -n "$tmp" && test -d "$tmp"
5123 } ||
5125 tmp=./conf$$-$RANDOM
5126 (umask 077 && mkdir "$tmp")
5127 } ||
5129 echo "$me: cannot create a temporary directory in ." >&2
5130 { (exit 1); exit 1; }
5134 # Set up the sed scripts for CONFIG_FILES section.
5137 # No need to generate the scripts if there are no CONFIG_FILES.
5138 # This happens for instance when ./config.status config.h
5139 if test -n "$CONFIG_FILES"; then
5141 _ACEOF
5145 ac_delim='%!_!# '
5146 for ac_last_try in false false false false false :; do
5147 cat >conf$$subs.sed <<_ACEOF
5148 SHELL!$SHELL$ac_delim
5149 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5150 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5151 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5152 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5153 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5154 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5155 exec_prefix!$exec_prefix$ac_delim
5156 prefix!$prefix$ac_delim
5157 program_transform_name!$program_transform_name$ac_delim
5158 bindir!$bindir$ac_delim
5159 sbindir!$sbindir$ac_delim
5160 libexecdir!$libexecdir$ac_delim
5161 datarootdir!$datarootdir$ac_delim
5162 datadir!$datadir$ac_delim
5163 sysconfdir!$sysconfdir$ac_delim
5164 sharedstatedir!$sharedstatedir$ac_delim
5165 localstatedir!$localstatedir$ac_delim
5166 includedir!$includedir$ac_delim
5167 oldincludedir!$oldincludedir$ac_delim
5168 docdir!$docdir$ac_delim
5169 infodir!$infodir$ac_delim
5170 htmldir!$htmldir$ac_delim
5171 dvidir!$dvidir$ac_delim
5172 pdfdir!$pdfdir$ac_delim
5173 psdir!$psdir$ac_delim
5174 libdir!$libdir$ac_delim
5175 localedir!$localedir$ac_delim
5176 mandir!$mandir$ac_delim
5177 DEFS!$DEFS$ac_delim
5178 ECHO_C!$ECHO_C$ac_delim
5179 ECHO_N!$ECHO_N$ac_delim
5180 ECHO_T!$ECHO_T$ac_delim
5181 LIBS!$LIBS$ac_delim
5182 build_alias!$build_alias$ac_delim
5183 host_alias!$host_alias$ac_delim
5184 target_alias!$target_alias$ac_delim
5185 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5186 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5187 INSTALL_DATA!$INSTALL_DATA$ac_delim
5188 CYGPATH_W!$CYGPATH_W$ac_delim
5189 PACKAGE!$PACKAGE$ac_delim
5190 VERSION!$VERSION$ac_delim
5191 ACLOCAL!$ACLOCAL$ac_delim
5192 AUTOCONF!$AUTOCONF$ac_delim
5193 AUTOMAKE!$AUTOMAKE$ac_delim
5194 AUTOHEADER!$AUTOHEADER$ac_delim
5195 MAKEINFO!$MAKEINFO$ac_delim
5196 install_sh!$install_sh$ac_delim
5197 STRIP!$STRIP$ac_delim
5198 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5199 mkdir_p!$mkdir_p$ac_delim
5200 AWK!$AWK$ac_delim
5201 SET_MAKE!$SET_MAKE$ac_delim
5202 am__leading_dot!$am__leading_dot$ac_delim
5203 AMTAR!$AMTAR$ac_delim
5204 am__tar!$am__tar$ac_delim
5205 am__untar!$am__untar$ac_delim
5206 CC!$CC$ac_delim
5207 CFLAGS!$CFLAGS$ac_delim
5208 LDFLAGS!$LDFLAGS$ac_delim
5209 CPPFLAGS!$CPPFLAGS$ac_delim
5210 ac_ct_CC!$ac_ct_CC$ac_delim
5211 EXEEXT!$EXEEXT$ac_delim
5212 OBJEXT!$OBJEXT$ac_delim
5213 DEPDIR!$DEPDIR$ac_delim
5214 am__include!$am__include$ac_delim
5215 am__quote!$am__quote$ac_delim
5216 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5217 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5218 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5219 CCDEPMODE!$CCDEPMODE$ac_delim
5220 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5221 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5222 RANLIB!$RANLIB$ac_delim
5223 CPP!$CPP$ac_delim
5224 GREP!$GREP$ac_delim
5225 EGREP!$EGREP$ac_delim
5226 LIBOBJS!$LIBOBJS$ac_delim
5227 LTLIBOBJS!$LTLIBOBJS$ac_delim
5228 _ACEOF
5230 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
5231 break
5232 elif $ac_last_try; then
5233 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5234 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5235 { (exit 1); exit 1; }; }
5236 else
5237 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5239 done
5241 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5242 if test -n "$ac_eof"; then
5243 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5244 ac_eof=`expr $ac_eof + 1`
5247 cat >>$CONFIG_STATUS <<_ACEOF
5248 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5249 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5250 _ACEOF
5251 sed '
5252 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5253 s/^/s,@/; s/!/@,|#_!!_#|/
5256 s/'"$ac_delim"'$/,g/; t
5257 s/$/\\/; p
5258 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5259 ' >>$CONFIG_STATUS <conf$$subs.sed
5260 rm -f conf$$subs.sed
5261 cat >>$CONFIG_STATUS <<_ACEOF
5262 :end
5263 s/|#_!!_#|//g
5264 CEOF$ac_eof
5265 _ACEOF
5268 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5269 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5270 # trailing colons and then remove the whole line if VPATH becomes empty
5271 # (actually we leave an empty line to preserve line numbers).
5272 if test "x$srcdir" = x.; then
5273 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5274 s/:*\$(srcdir):*/:/
5275 s/:*\${srcdir}:*/:/
5276 s/:*@srcdir@:*/:/
5277 s/^\([^=]*=[ ]*\):*/\1/
5278 s/:*$//
5279 s/^[^=]*=[ ]*$//
5283 cat >>$CONFIG_STATUS <<\_ACEOF
5284 fi # test -n "$CONFIG_FILES"
5287 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5289 case $ac_tag in
5290 :[FHLC]) ac_mode=$ac_tag; continue;;
5291 esac
5292 case $ac_mode$ac_tag in
5293 :[FHL]*:*);;
5294 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5295 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5296 { (exit 1); exit 1; }; };;
5297 :[FH]-) ac_tag=-:-;;
5298 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5299 esac
5300 ac_save_IFS=$IFS
5301 IFS=:
5302 set x $ac_tag
5303 IFS=$ac_save_IFS
5304 shift
5305 ac_file=$1
5306 shift
5308 case $ac_mode in
5309 :L) ac_source=$1;;
5310 :[FH])
5311 ac_file_inputs=
5312 for ac_f
5314 case $ac_f in
5315 -) ac_f="$tmp/stdin";;
5316 *) # Look for the file first in the build tree, then in the source tree
5317 # (if the path is not absolute). The absolute path cannot be DOS-style,
5318 # because $ac_f cannot contain `:'.
5319 test -f "$ac_f" ||
5320 case $ac_f in
5321 [\\/$]*) false;;
5322 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5323 esac ||
5324 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5325 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5326 { (exit 1); exit 1; }; };;
5327 esac
5328 ac_file_inputs="$ac_file_inputs $ac_f"
5329 done
5331 # Let's still pretend it is `configure' which instantiates (i.e., don't
5332 # use $as_me), people would be surprised to read:
5333 # /* config.h. Generated by config.status. */
5334 configure_input="Generated from "`IFS=:
5335 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5336 if test x"$ac_file" != x-; then
5337 configure_input="$ac_file. $configure_input"
5338 { echo "$as_me:$LINENO: creating $ac_file" >&5
5339 echo "$as_me: creating $ac_file" >&6;}
5342 case $ac_tag in
5343 *:-:* | *:-) cat >"$tmp/stdin";;
5344 esac
5346 esac
5348 ac_dir=`$as_dirname -- "$ac_file" ||
5349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5350 X"$ac_file" : 'X\(//\)[^/]' \| \
5351 X"$ac_file" : 'X\(//\)$' \| \
5352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5353 echo X"$ac_file" |
5354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5355 s//\1/
5358 /^X\(\/\/\)[^/].*/{
5359 s//\1/
5362 /^X\(\/\/\)$/{
5363 s//\1/
5366 /^X\(\/\).*/{
5367 s//\1/
5370 s/.*/./; q'`
5371 { as_dir="$ac_dir"
5372 case $as_dir in #(
5373 -*) as_dir=./$as_dir;;
5374 esac
5375 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5376 as_dirs=
5377 while :; do
5378 case $as_dir in #(
5379 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5380 *) as_qdir=$as_dir;;
5381 esac
5382 as_dirs="'$as_qdir' $as_dirs"
5383 as_dir=`$as_dirname -- "$as_dir" ||
5384 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5385 X"$as_dir" : 'X\(//\)[^/]' \| \
5386 X"$as_dir" : 'X\(//\)$' \| \
5387 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5388 echo X"$as_dir" |
5389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5390 s//\1/
5393 /^X\(\/\/\)[^/].*/{
5394 s//\1/
5397 /^X\(\/\/\)$/{
5398 s//\1/
5401 /^X\(\/\).*/{
5402 s//\1/
5405 s/.*/./; q'`
5406 test -d "$as_dir" && break
5407 done
5408 test -z "$as_dirs" || eval "mkdir $as_dirs"
5409 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5410 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5411 { (exit 1); exit 1; }; }; }
5412 ac_builddir=.
5414 case "$ac_dir" in
5415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5417 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5418 # A ".." for each directory in $ac_dir_suffix.
5419 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5420 case $ac_top_builddir_sub in
5421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5423 esac ;;
5424 esac
5425 ac_abs_top_builddir=$ac_pwd
5426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5427 # for backward compatibility:
5428 ac_top_builddir=$ac_top_build_prefix
5430 case $srcdir in
5431 .) # We are building in place.
5432 ac_srcdir=.
5433 ac_top_srcdir=$ac_top_builddir_sub
5434 ac_abs_top_srcdir=$ac_pwd ;;
5435 [\\/]* | ?:[\\/]* ) # Absolute name.
5436 ac_srcdir=$srcdir$ac_dir_suffix;
5437 ac_top_srcdir=$srcdir
5438 ac_abs_top_srcdir=$srcdir ;;
5439 *) # Relative name.
5440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5441 ac_top_srcdir=$ac_top_build_prefix$srcdir
5442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5443 esac
5444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5447 case $ac_mode in
5450 # CONFIG_FILE
5453 case $INSTALL in
5454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5456 esac
5457 _ACEOF
5459 cat >>$CONFIG_STATUS <<\_ACEOF
5460 # If the template does not know about datarootdir, expand it.
5461 # FIXME: This hack should be removed a few years after 2.60.
5462 ac_datarootdir_hack=; ac_datarootdir_seen=
5464 case `sed -n '/datarootdir/ {
5468 /@datadir@/p
5469 /@docdir@/p
5470 /@infodir@/p
5471 /@localedir@/p
5472 /@mandir@/p
5473 ' $ac_file_inputs` in
5474 *datarootdir*) ac_datarootdir_seen=yes;;
5475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5476 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5477 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5478 _ACEOF
5479 cat >>$CONFIG_STATUS <<_ACEOF
5480 ac_datarootdir_hack='
5481 s&@datadir@&$datadir&g
5482 s&@docdir@&$docdir&g
5483 s&@infodir@&$infodir&g
5484 s&@localedir@&$localedir&g
5485 s&@mandir@&$mandir&g
5486 s&\\\${datarootdir}&$datarootdir&g' ;;
5487 esac
5488 _ACEOF
5490 # Neutralize VPATH when `$srcdir' = `.'.
5491 # Shell code in configure.ac might set extrasub.
5492 # FIXME: do we really want to maintain this feature?
5493 cat >>$CONFIG_STATUS <<_ACEOF
5494 sed "$ac_vpsub
5495 $extrasub
5496 _ACEOF
5497 cat >>$CONFIG_STATUS <<\_ACEOF
5499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5500 s&@configure_input@&$configure_input&;t t
5501 s&@top_builddir@&$ac_top_builddir_sub&;t t
5502 s&@srcdir@&$ac_srcdir&;t t
5503 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5504 s&@top_srcdir@&$ac_top_srcdir&;t t
5505 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5506 s&@builddir@&$ac_builddir&;t t
5507 s&@abs_builddir@&$ac_abs_builddir&;t t
5508 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5509 s&@INSTALL@&$ac_INSTALL&;t t
5510 $ac_datarootdir_hack
5511 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5513 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5514 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5515 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5516 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5517 which seems to be undefined. Please make sure it is defined." >&5
5518 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5519 which seems to be undefined. Please make sure it is defined." >&2;}
5521 rm -f "$tmp/stdin"
5522 case $ac_file in
5523 -) cat "$tmp/out"; rm -f "$tmp/out";;
5524 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5525 esac
5529 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5530 echo "$as_me: executing $ac_file commands" >&6;}
5532 esac
5535 case $ac_file$ac_mode in
5536 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5537 # Strip MF so we end up with the name of the file.
5538 mf=`echo "$mf" | sed -e 's/:.*$//'`
5539 # Check whether this is an Automake generated Makefile or not.
5540 # We used to match only the files named `Makefile.in', but
5541 # some people rename them; so instead we look at the file content.
5542 # Grep'ing the first line is not enough: some people post-process
5543 # each Makefile.in and add a new line on top of each file to say so.
5544 # So let's grep whole file.
5545 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5546 dirpart=`$as_dirname -- "$mf" ||
5547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5548 X"$mf" : 'X\(//\)[^/]' \| \
5549 X"$mf" : 'X\(//\)$' \| \
5550 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5551 echo X"$mf" |
5552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5553 s//\1/
5556 /^X\(\/\/\)[^/].*/{
5557 s//\1/
5560 /^X\(\/\/\)$/{
5561 s//\1/
5564 /^X\(\/\).*/{
5565 s//\1/
5568 s/.*/./; q'`
5569 else
5570 continue
5572 # Extract the definition of DEPDIR, am__include, and am__quote
5573 # from the Makefile without running `make'.
5574 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5575 test -z "$DEPDIR" && continue
5576 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5577 test -z "am__include" && continue
5578 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5579 # When using ansi2knr, U may be empty or an underscore; expand it
5580 U=`sed -n 's/^U = //p' < "$mf"`
5581 # Find all dependency output files, they are included files with
5582 # $(DEPDIR) in their names. We invoke sed twice because it is the
5583 # simplest approach to changing $(DEPDIR) to its actual value in the
5584 # expansion.
5585 for file in `sed -n "
5586 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5587 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5588 # Make sure the directory exists.
5589 test -f "$dirpart/$file" && continue
5590 fdir=`$as_dirname -- "$file" ||
5591 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5592 X"$file" : 'X\(//\)[^/]' \| \
5593 X"$file" : 'X\(//\)$' \| \
5594 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5595 echo X"$file" |
5596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5597 s//\1/
5600 /^X\(\/\/\)[^/].*/{
5601 s//\1/
5604 /^X\(\/\/\)$/{
5605 s//\1/
5608 /^X\(\/\).*/{
5609 s//\1/
5612 s/.*/./; q'`
5613 { as_dir=$dirpart/$fdir
5614 case $as_dir in #(
5615 -*) as_dir=./$as_dir;;
5616 esac
5617 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5618 as_dirs=
5619 while :; do
5620 case $as_dir in #(
5621 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5622 *) as_qdir=$as_dir;;
5623 esac
5624 as_dirs="'$as_qdir' $as_dirs"
5625 as_dir=`$as_dirname -- "$as_dir" ||
5626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5627 X"$as_dir" : 'X\(//\)[^/]' \| \
5628 X"$as_dir" : 'X\(//\)$' \| \
5629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5630 echo X"$as_dir" |
5631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5632 s//\1/
5635 /^X\(\/\/\)[^/].*/{
5636 s//\1/
5639 /^X\(\/\/\)$/{
5640 s//\1/
5643 /^X\(\/\).*/{
5644 s//\1/
5647 s/.*/./; q'`
5648 test -d "$as_dir" && break
5649 done
5650 test -z "$as_dirs" || eval "mkdir $as_dirs"
5651 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5652 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5653 { (exit 1); exit 1; }; }; }
5654 # echo "creating $dirpart/$file"
5655 echo '# dummy' > "$dirpart/$file"
5656 done
5657 done
5660 esac
5661 done # for ac_tag
5664 { (exit 0); exit 0; }
5665 _ACEOF
5666 chmod +x $CONFIG_STATUS
5667 ac_clean_files=$ac_clean_files_save
5670 # configure is writing to config.log, and then calls config.status.
5671 # config.status does its own redirection, appending to config.log.
5672 # Unfortunately, on DOS this fails, as config.log is still kept open
5673 # by configure, so config.status won't be able to write to it; its
5674 # output is simply discarded. So we exec the FD to /dev/null,
5675 # effectively closing config.log, so it can be properly (re)opened and
5676 # appended to by config.status. When coming back to configure, we
5677 # need to make the FD available again.
5678 if test "$no_create" != yes; then
5679 ac_cs_success=:
5680 ac_config_status_args=
5681 test "$silent" = yes &&
5682 ac_config_status_args="$ac_config_status_args --quiet"
5683 exec 5>/dev/null
5684 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5685 exec 5>>config.log
5686 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5687 # would make configure fail if this is the last instruction.
5688 $ac_cs_success || { (exit 1); exit 1; }