2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
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 Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself
=$0 ;;
69 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir
=.
74 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x
; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var
in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C
; export $as_var
107 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
119 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me
=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x
; then
151 if (eval ":") 2>/dev
/null
; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev
/null
; then
217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
224 for as_base
in sh bash ksh sh5
; do
225 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
232 for as_shell
in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
247 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
248 DUALCASE
=1; export DUALCASE
# for MKS sh
253 CONFIG_SHELL
=$as_shell
255 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
267 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
268 DUALCASE
=1; export DUALCASE
# for MKS sh
280 as_func_ret_success
() {
283 as_func_ret_failure
() {
288 if as_func_success
; then
292 echo as_func_success failed.
295 if as_func_failure
; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success
; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure
; then
309 echo as_func_ret_failure succeeded.
312 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) ||
{ (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x
; then
337 for as_var
in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no
; then
346 echo This
script requires a shell
more modern than all the
347 echo shells that I found on your system. Please
install a
348 echo modern shell
, or manually run the
script under such a
349 echo shell
if you
do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") ||
{
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system
,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
466 ECHO_C
= ECHO_N
= ECHO_T
=
470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
511 test -d .
/-p && rmdir .
/-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.
file <<_ASEOF
522 if test -x conf$$.
file >/dev
/null
2>&1; then
523 as_executable_p
="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
555 SHELL
=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file
="server.c"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
569 # include <sys/types.h>
572 # include <sys/stat.h>
583 # if !STDC_HEADERS && HAVE_MEMORY_H
589 # include <strings.h>
592 # include <inttypes.h>
610 program_transform_name
670 ac_precious_vars
='build_alias
680 # Initialize some variables set by options.
682 ac_init_version
=false
683 # The variables have the same names as the options, with
684 # dashes changed to underlines.
692 program_transform_name
=s
,x
,x
,
700 # Installation directory options.
701 # These are left unexpanded so users can "make install exec_prefix=/foo"
702 # and all the variables that are supposed to be based on exec_prefix
703 # by default will actually change.
704 # Use braces instead of parens because sh, perl, etc. also accept them.
705 # (The list follows the same order as the GNU Coding Standards.)
706 bindir
='${exec_prefix}/bin'
707 sbindir
='${exec_prefix}/sbin'
708 libexecdir
='${exec_prefix}/libexec'
709 datarootdir
='${prefix}/share'
710 datadir
='${datarootdir}'
711 sysconfdir
='${prefix}/etc'
712 sharedstatedir
='${prefix}/com'
713 localstatedir
='${prefix}/var'
714 includedir
='${prefix}/include'
715 oldincludedir
='/usr/include'
716 docdir
='${datarootdir}/doc/${PACKAGE}'
717 infodir
='${datarootdir}/info'
722 libdir
='${exec_prefix}/lib'
723 localedir
='${datarootdir}/locale'
724 mandir
='${datarootdir}/man'
730 # If the previous option needs an argument, assign it.
731 if test -n "$ac_prev"; then
732 eval $ac_prev=\
$ac_option
738 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 # Accept the important Cygnus configure options, so we can diagnose typos.
744 case $ac_dashdash$ac_option in
748 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
750 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
753 -build |
--build |
--buil |
--bui |
--bu)
754 ac_prev
=build_alias
;;
755 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
756 build_alias
=$ac_optarg ;;
758 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
759 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
760 ac_prev
=cache_file
;;
761 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
762 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
763 cache_file
=$ac_optarg ;;
766 cache_file
=config.cache
;;
768 -datadir |
--datadir |
--datadi |
--datad)
770 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
771 datadir
=$ac_optarg ;;
773 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
774 |
--dataroo |
--dataro |
--datar)
775 ac_prev
=datarootdir
;;
776 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
777 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
778 datarootdir
=$ac_optarg ;;
780 -disable-* |
--disable-*)
781 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
785 { (exit 1); exit 1; }; }
786 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
787 eval enable_
$ac_feature=no
;;
789 -docdir |
--docdir |
--docdi |
--doc |
--do)
791 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
794 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
796 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
799 -enable-* |
--enable-*)
800 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
803 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
804 { (exit 1); exit 1; }; }
805 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
806 eval enable_
$ac_feature=\
$ac_optarg ;;
808 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
809 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
810 |
--exec |
--exe |
--ex)
811 ac_prev
=exec_prefix
;;
812 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
813 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
814 |
--exec=* |
--exe=* |
--ex=*)
815 exec_prefix
=$ac_optarg ;;
817 -gas |
--gas |
--ga |
--g)
818 # Obsolete; use --with-gas.
821 -help |
--help |
--hel |
--he |
-h)
823 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
824 ac_init_help
=recursive
;;
825 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
826 ac_init_help
=short
;;
828 -host |
--host |
--hos |
--ho)
829 ac_prev
=host_alias
;;
830 -host=* |
--host=* |
--hos=* |
--ho=*)
831 host_alias
=$ac_optarg ;;
833 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
835 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
837 htmldir
=$ac_optarg ;;
839 -includedir |
--includedir |
--includedi |
--included |
--include \
840 |
--includ |
--inclu |
--incl |
--inc)
841 ac_prev
=includedir
;;
842 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
843 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
844 includedir
=$ac_optarg ;;
846 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
848 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
849 infodir
=$ac_optarg ;;
851 -libdir |
--libdir |
--libdi |
--libd)
853 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
856 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
857 |
--libexe |
--libex |
--libe)
858 ac_prev
=libexecdir
;;
859 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
860 |
--libexe=* |
--libex=* |
--libe=*)
861 libexecdir
=$ac_optarg ;;
863 -localedir |
--localedir |
--localedi |
--localed |
--locale)
865 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
866 localedir
=$ac_optarg ;;
868 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
869 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
870 ac_prev
=localstatedir
;;
871 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
872 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
873 localstatedir
=$ac_optarg ;;
875 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
877 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
881 # Obsolete; use --without-fp.
884 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
885 |
--no-cr |
--no-c |
-n)
888 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
889 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
892 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
893 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
894 |
--oldin |
--oldi |
--old |
--ol |
--o)
895 ac_prev
=oldincludedir
;;
896 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
897 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
898 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
899 oldincludedir
=$ac_optarg ;;
901 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
903 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
906 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
907 |
--program-pre |
--program-pr |
--program-p)
908 ac_prev
=program_prefix
;;
909 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
910 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
911 program_prefix
=$ac_optarg ;;
913 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
914 |
--program-suf |
--program-su |
--program-s)
915 ac_prev
=program_suffix
;;
916 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
917 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
918 program_suffix
=$ac_optarg ;;
920 -program-transform-name |
--program-transform-name \
921 |
--program-transform-nam |
--program-transform-na \
922 |
--program-transform-n |
--program-transform- \
923 |
--program-transform |
--program-transfor \
924 |
--program-transfo |
--program-transf \
925 |
--program-trans |
--program-tran \
926 |
--progr-tra |
--program-tr |
--program-t)
927 ac_prev
=program_transform_name
;;
928 -program-transform-name=* |
--program-transform-name=* \
929 |
--program-transform-nam=* |
--program-transform-na=* \
930 |
--program-transform-n=* |
--program-transform-=* \
931 |
--program-transform=* |
--program-transfor=* \
932 |
--program-transfo=* |
--program-transf=* \
933 |
--program-trans=* |
--program-tran=* \
934 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
935 program_transform_name
=$ac_optarg ;;
937 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
939 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
942 -psdir |
--psdir |
--psdi |
--psd |
--ps)
944 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
948 |
-silent |
--silent |
--silen |
--sile |
--sil)
951 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
953 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
955 sbindir
=$ac_optarg ;;
957 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
958 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
959 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
961 ac_prev
=sharedstatedir
;;
962 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
963 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
964 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
966 sharedstatedir
=$ac_optarg ;;
968 -site |
--site |
--sit)
970 -site=* |
--site=* |
--sit=*)
973 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
975 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
978 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
979 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
980 ac_prev
=sysconfdir
;;
981 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
982 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
983 sysconfdir
=$ac_optarg ;;
985 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
986 ac_prev
=target_alias
;;
987 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
988 target_alias
=$ac_optarg ;;
990 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
993 -version |
--version |
--versio |
--versi |
--vers |
-V)
997 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\
$ac_optarg ;;
1005 -without-* |
--without-*)
1006 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1009 { echo "$as_me: error: invalid package name: $ac_package" >&2
1010 { (exit 1); exit 1; }; }
1011 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1012 eval with_
$ac_package=no
;;
1015 # Obsolete; use --with-x.
1018 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1019 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1020 ac_prev
=x_includes
;;
1021 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1022 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1023 x_includes
=$ac_optarg ;;
1025 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1026 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1027 ac_prev
=x_libraries
;;
1028 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1029 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1030 x_libraries
=$ac_optarg ;;
1032 -*) { echo "$as_me: error: unrecognized option: $ac_option
1033 Try \`$0 --help' for more information." >&2
1034 { (exit 1); exit 1; }; }
1038 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1041 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1042 { (exit 1); exit 1; }; }
1043 eval $ac_envvar=\
$ac_optarg
1044 export $ac_envvar ;;
1047 # FIXME: should be removed in autoconf 3.0.
1048 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1049 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1050 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1051 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057 if test -n "$ac_prev"; then
1058 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1059 { echo "$as_me: error: missing argument to $ac_option" >&2
1060 { (exit 1); exit 1; }; }
1063 # Be sure to have absolute directory names.
1064 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1065 datadir sysconfdir sharedstatedir localstatedir includedir \
1066 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1067 libdir localedir mandir
1069 eval ac_val
=\$
$ac_var
1071 [\\/$
]* | ?
:[\\/]* ) continue;;
1072 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1074 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1075 { (exit 1); exit 1; }; }
1078 # There might be people who depend on the old broken behavior: `$host'
1079 # used to hold the argument of --host etc.
1080 # FIXME: To remove some day.
1083 target
=$target_alias
1085 # FIXME: To remove some day.
1086 if test "x$host_alias" != x
; then
1087 if test "x$build_alias" = x
; then
1088 cross_compiling
=maybe
1089 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1090 If a cross compiler is detected then cross compile mode will be used." >&2
1091 elif test "x$build_alias" != "x$host_alias"; then
1097 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1099 test "$silent" = yes && exec 6>/dev
/null
1102 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di
=`ls -di .` &&
1104 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1105 { echo "$as_me: error: Working directory cannot be determined" >&2
1106 { (exit 1); exit 1; }; }
1107 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1108 { echo "$as_me: error: pwd does not report name of working directory" >&2
1109 { (exit 1); exit 1; }; }
1112 # Find the source files, if location was not specified.
1113 if test -z "$srcdir"; then
1114 ac_srcdir_defaulted
=yes
1115 # Try the directory containing this script, then the parent directory.
1116 ac_confdir
=`$as_dirname -- "$0" ||
1117 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1118 X"$0" : 'X\(//\)[^/]' \| \
1119 X"$0" : 'X\(//\)$' \| \
1120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140 if test ! -r "$srcdir/$ac_unique_file"; then
1144 ac_srcdir_defaulted
=no
1146 if test ! -r "$srcdir/$ac_unique_file"; then
1147 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1148 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1149 { (exit 1); exit 1; }; }
1151 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1153 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1154 { (exit 1); exit 1; }; }
1156 # When building in place, set srcdir=.
1157 if test "$ac_abs_confdir" = "$ac_pwd"; then
1160 # Remove unnecessary trailing slashes from srcdir.
1161 # Double slashes in file names in object file debugging info
1162 # mess up M-x gdb in Emacs.
1164 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166 for ac_var
in $ac_precious_vars; do
1167 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1168 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1169 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1170 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1174 # Report the --help message.
1176 if test "$ac_init_help" = "long"; then
1177 # Omit some internal or obsolete options to make the list less imposing.
1178 # This message is too long to be a string in the A/UX 3.1 sh.
1180 \`configure' configures this package to adapt to many kinds of systems.
1182 Usage: $0 [OPTION]... [VAR=VALUE]...
1184 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185 VAR=VALUE. See below for descriptions of some of the useful variables.
1187 Defaults for the options are specified in brackets.
1190 -h, --help display this help and exit
1191 --help=short display options specific to this package
1192 --help=recursive display the short help of all the included packages
1193 -V, --version display version information and exit
1194 -q, --quiet, --silent do not print \`checking...' messages
1195 --cache-file=FILE cache test results in FILE [disabled]
1196 -C, --config-cache alias for \`--cache-file=config.cache'
1197 -n, --no-create do not create output files
1198 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1200 Installation directories:
1201 --prefix=PREFIX install architecture-independent files in PREFIX
1202 [$ac_default_prefix]
1203 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1206 By default, \`make install' will install all the files in
1207 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1208 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209 for instance \`--prefix=\$HOME'.
1211 For better control, use the options below.
1213 Fine tuning of the installation directories:
1214 --bindir=DIR user executables [EPREFIX/bin]
1215 --sbindir=DIR system admin executables [EPREFIX/sbin]
1216 --libexecdir=DIR program executables [EPREFIX/libexec]
1217 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1218 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1219 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1220 --libdir=DIR object code libraries [EPREFIX/lib]
1221 --includedir=DIR C header files [PREFIX/include]
1222 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1223 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1224 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1225 --infodir=DIR info documentation [DATAROOTDIR/info]
1226 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1227 --mandir=DIR man documentation [DATAROOTDIR/man]
1228 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1229 --htmldir=DIR html documentation [DOCDIR]
1230 --dvidir=DIR dvi documentation [DOCDIR]
1231 --pdfdir=DIR pdf documentation [DOCDIR]
1232 --psdir=DIR ps documentation [DOCDIR]
1238 --program-prefix=PREFIX prepend PREFIX to installed program names
1239 --program-suffix=SUFFIX append SUFFIX to installed program names
1240 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1243 --build=BUILD configure
for building on BUILD
[guessed
]
1244 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1245 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1249 if test -n "$ac_init_help"; then
1253 Some influential environment variables
:
1254 CC C compiler
command
1255 CFLAGS C compiler flags
1256 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1257 nonstandard directory
<lib dir
>
1258 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1259 you have headers
in a nonstandard directory
<include dir
>
1262 Use these variables to override the choices made by
`configure' or to help
1263 it to find libraries and programs with nonstandard names/locations.
1269 if test "$ac_init_help" = "recursive"; then
1270 # If there are subdirs, report their specific --help.
1271 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1272 test -d "$ac_dir" || continue
1276 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1278 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1279 # A ".." for each directory in $ac_dir_suffix.
1280 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1281 case $ac_top_builddir_sub in
1282 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1283 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1286 ac_abs_top_builddir=$ac_pwd
1287 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1288 # for backward compatibility:
1289 ac_top_builddir=$ac_top_build_prefix
1292 .) # We are building in place.
1294 ac_top_srcdir=$ac_top_builddir_sub
1295 ac_abs_top_srcdir=$ac_pwd ;;
1296 [\\/]* | ?:[\\/]* ) # Absolute name.
1297 ac_srcdir=$srcdir$ac_dir_suffix;
1298 ac_top_srcdir=$srcdir
1299 ac_abs_top_srcdir=$srcdir ;;
1301 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1302 ac_top_srcdir=$ac_top_build_prefix$srcdir
1303 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1305 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1307 cd "$ac_dir" || { ac_status=$?; continue; }
1308 # Check for guested configure.
1309 if test -f "$ac_srcdir/configure.gnu"; then
1311 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1312 elif test -f "$ac_srcdir/configure"; then
1314 $SHELL "$ac_srcdir/configure" --help=recursive
1316 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1318 cd "$ac_pwd" || { ac_status=$?; break; }
1322 test -n "$ac_init_help" && exit $ac_status
1323 if $ac_init_version; then
1326 generated by GNU Autoconf 2.60
1328 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1329 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1330 This configure script is free software; the Free Software Foundation
1331 gives unlimited permission to copy, distribute and modify it.
1335 cat >config.log <<_ACEOF
1336 This file contains any messages produced by compilers while
1337 running configure, to aid debugging if configure makes a mistake.
1339 It was created by $as_me, which was
1340 generated by GNU Autoconf 2.60. Invocation command line was
1352 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1353 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1354 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1355 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1356 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1358 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1359 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1361 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1362 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1363 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1364 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1365 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1366 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1367 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375 test -z "$as_dir" && as_dir=.
1376 echo "PATH: $as_dir"
1392 # Keep a trace of the command line.
1393 # Strip out --no-create and --no-recursion so they do not pile up.
1394 # Strip out --silent because we don't want to record it for future runs.
1395 # Also quote any args containing shell meta-characters.
1396 # Make two passes to allow for proper duplicate-argument suppression.
1400 ac_must_keep_next=false
1406 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1407 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1408 | -silent | --silent | --silen | --sile | --sil)
1411 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1414 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1416 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1417 if test $ac_must_keep_next = true; then
1418 ac_must_keep_next=false # Got value, back to normal.
1421 *=* | --config-cache | -C | -disable-* | --disable-* \
1422 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1423 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1424 | -with-* | --with-* | -without-* | --without-* | --x)
1425 case "$ac_configure_args0 " in
1426 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1429 -* ) ac_must_keep_next=true ;;
1432 ac_configure_args="$ac_configure_args '$ac_arg'"
1437 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1438 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1440 # When interrupted or exit'd, cleanup temporary files, and complete
1441 # config.log. We remove comments because anyway the quotes in there
1442 # would cause problems or look ugly.
1443 # WARNING: Use '\'' to represent an apostrophe within the trap.
1444 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1445 trap 'exit_status=$?
1446 # Save into config.log some information that might help in debugging.
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1456 # The following way of writing the cache mishandles newlines in values,
1458 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1459 eval ac_val=\$$ac_var
1463 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1464 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1467 _ | IFS | as_nl) ;; #(
1468 *) $as_unset $ac_var ;;
1473 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1474 *${as_nl}ac_space=\ *)
1476 "s/'\''/'\''\\\\'\'''\''/g;
1477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1488 ## ----------------- ##
1489 ## Output variables. ##
1490 ## ----------------- ##
1493 for ac_var in $ac_subst_vars
1495 eval ac_val=\$$ac_var
1497 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1499 echo "$ac_var='\''$ac_val'\''"
1503 if test -n "$ac_subst_files"; then
1505 ## ------------------- ##
1506 ## File substitutions. ##
1507 ## ------------------- ##
1510 for ac_var in $ac_subst_files
1512 eval ac_val=\$$ac_var
1514 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1516 echo "$ac_var='\''$ac_val'\''"
1521 if test -s confdefs.h; then
1531 test "$ac_signal" != 0 &&
1532 echo "$as_me: caught signal $ac_signal"
1533 echo "$as_me: exit $exit_status"
1535 rm -f core *.core core.conftest.* &&
1536 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1539 for ac_signal in 1 2 13 15; do
1540 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1544 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1545 rm -f -r conftest* confdefs.h
1547 # Predefined preprocessor variables.
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_NAME "$PACKAGE_NAME"
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1569 cat >>confdefs.h <<_ACEOF
1570 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1574 # Let the site file select an alternate cache file if it wants to.
1575 # Prefer explicitly selected file to automatically selected ones.
1576 if test -n "$CONFIG_SITE"; then
1577 set x "$CONFIG_SITE"
1578 elif test "x$prefix" != xNONE; then
1579 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1581 set x "$ac_default_prefix/share/config.site" \
1582 "$ac_default_prefix/etc/config.site"
1587 if test -r "$ac_site_file"; then
1588 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1589 echo "$as_me: loading site script $ac_site_file" >&6;}
1590 sed 's/^/| /' "$ac_site_file" >&5
1595 if test -r "$cache_file"; then
1596 # Some versions of bash will fail to source /dev/null (special
1597 # files actually), so we avoid doing that.
1598 if test -f "$cache_file"; then
1599 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1600 echo "$as_me: loading cache $cache_file" >&6;}
1602 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1603 *) . "./$cache_file";;
1607 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1608 echo "$as_me: creating cache $cache_file" >&6;}
1612 # Check that the precious variables saved in the cache have kept the same
1614 ac_cache_corrupted=false
1615 for ac_var in $ac_precious_vars; do
1616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617 eval ac_new_set=\$ac_env_${ac_var}_set
1618 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1619 eval ac_new_val=\$ac_env_${ac_var}_value
1620 case $ac_old_set,$ac_new_set in
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1623 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1627 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1631 if test "x$ac_old_val" != "x$ac_new_val"; then
1632 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1633 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1634 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1635 echo "$as_me: former value
: $ac_old_val" >&2;}
1636 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1637 echo "$as_me: current value
: $ac_new_val" >&2;}
1638 ac_cache_corrupted=:
1641 # Pass precious variables to config.status.
1642 if test "$ac_new_set" = set; then
1644 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1645 *) ac_arg=$ac_var=$ac_new_val ;;
1647 case " $ac_configure_args " in
1648 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1649 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1653 if $ac_cache_corrupted; then
1654 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1655 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1656 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1657 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1658 { (exit 1); exit 1; }; }
1678 ac_cpp='$CPP $CPPFLAGS'
1679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1684 ac_config_headers="$ac_config_headers config.h:config.in"
1688 ac_cpp='$CPP $CPPFLAGS'
1689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1692 if test -n "$ac_tool_prefix"; then
1693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1694 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1695 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1697 if test "${ac_cv_prog_CC+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 if test -n "$CC"; then
1701 ac_cv_prog_CC="$CC" # Let the user override the test.
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1710 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 if test -n "$CC"; then
1722 { echo "$as_me:$LINENO: result: $CC" >&5
1723 echo "${ECHO_T}$CC" >&6; }
1725 { echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6; }
1731 if test -z "$ac_cv_prog_CC"; then
1733 # Extract the first word of "gcc", so it can be a program name with args.
1734 set dummy gcc; ac_word=$2
1735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$ac_ct_CC"; then
1741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1750 ac_cv_prog_ac_ct_CC="gcc"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1761 if test -n "$ac_ct_CC"; then
1762 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1763 echo "${ECHO_T}$ac_ct_CC" >&6; }
1765 { echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6; }
1769 if test "x$ac_ct_CC" = x; then
1772 case $cross_compiling:$ac_tool_warned in
1774 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1775 whose name does not start with the host triplet. If you think this
1776 configuration is useful to you, please write to autoconf@gnu.org." >&5
1777 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1778 whose name does not start with the host triplet. If you think this
1779 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1780 ac_tool_warned=yes ;;
1788 if test -z "$CC"; then
1789 if test -n "$ac_tool_prefix"; then
1790 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1791 set dummy ${ac_tool_prefix}cc; ac_word=$2
1792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1794 if test "${ac_cv_prog_CC+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test -n "$CC"; then
1798 ac_cv_prog_CC="$CC" # Let the user override the test.
1800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804 test -z "$as_dir" && as_dir=.
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1807 ac_cv_prog_CC="${ac_tool_prefix}cc"
1808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818 if test -n "$CC"; then
1819 { echo "$as_me:$LINENO: result: $CC" >&5
1820 echo "${ECHO_T}$CC" >&6; }
1822 { echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6; }
1829 if test -z "$CC"; then
1830 # Extract the first word of "cc", so it can be a program name with args.
1831 set dummy cc; ac_word=$2
1832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1834 if test "${ac_cv_prog_CC+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 if test -n "$CC"; then
1838 ac_cv_prog_CC="$CC" # Let the user override the test.
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1848 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1849 ac_prog_rejected=yes
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test $ac_prog_rejected = yes; then
1861 # We found a bogon in the path, so make sure we never use it.
1862 set dummy $ac_cv_prog_CC
1864 if test $# != 0; then
1865 # We chose a different compiler from the bogus one.
1866 # However, it has the same basename, so the bogon will be chosen
1867 # first if we set CC to just the basename; use the full file name.
1869 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1875 if test -n "$CC"; then
1876 { echo "$as_me:$LINENO: result: $CC" >&5
1877 echo "${ECHO_T}$CC" >&6; }
1879 { echo "$as_me:$LINENO: result: no" >&5
1880 echo "${ECHO_T}no" >&6; }
1885 if test -z "$CC"; then
1886 if test -n "$ac_tool_prefix"; then
1887 for ac_prog in cl.exe
1889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1890 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1906 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 if test -n "$CC"; then
1918 { echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6; }
1921 { echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6; }
1926 test -n "$CC" && break
1929 if test -z "$CC"; then
1931 for ac_prog in cl.exe
1933 # Extract the first word of "$ac_prog", so it can be a program name with args.
1934 set dummy $ac_prog; ac_word=$2
1935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test -n "$ac_ct_CC"; then
1941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 for ac_exec_ext in '' $ac_executable_extensions; do
1949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1950 ac_cv_prog_ac_ct_CC="$ac_prog"
1951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1961 if test -n "$ac_ct_CC"; then
1962 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1963 echo "${ECHO_T}$ac_ct_CC" >&6; }
1965 { echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6; }
1970 test -n "$ac_ct_CC" && break
1973 if test "x$ac_ct_CC" = x; then
1976 case $cross_compiling:$ac_tool_warned in
1978 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1979 whose name does not start with the host triplet. If you think this
1980 configuration is useful to you, please write to autoconf@gnu.org." >&5
1981 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1982 whose name does not start with the host triplet. If you think this
1983 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1984 ac_tool_warned=yes ;;
1993 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1994 See \`config.log
' for more details." >&5
1995 echo "$as_me: error: no acceptable C compiler found in \$PATH
1996 See \`config.log' for more details.
" >&2;}
1997 { (exit 1); exit 1; }; }
1999 # Provide some information about the compiler.
2000 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2001 ac_compiler=`set X $ac_compile; echo $2`
2002 { (ac_try="$ac_compiler --version >&5"
2004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2008 (eval "$ac_compiler --version >&5") 2>&5
2010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2011 (exit $ac_status); }
2012 { (ac_try="$ac_compiler -v >&5"
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2017 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2018 (eval "$ac_compiler -v >&5") 2>&5
2020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2021 (exit $ac_status); }
2022 { (ac_try="$ac_compiler -V >&5"
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2028 (eval "$ac_compiler -V >&5") 2>&5
2030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2031 (exit $ac_status); }
2033 cat >conftest.$ac_ext <<_ACEOF
2036 cat confdefs.h >>conftest.$ac_ext
2037 cat >>conftest.$ac_ext <<_ACEOF
2038 /* end confdefs.h. */
2048 ac_clean_files_save=$ac_clean_files
2049 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2050 # Try to create an executable without -o first, disregard a.out.
2051 # It will help us diagnose broken compilers, and finding out an intuition
2053 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2054 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2055 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2057 # List of possible output files, starting from the most likely.
2058 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2059 # only as a last resort. b.out is created by i960 compilers.
2060 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2062 # The IRIX 6 linker writes into existing files which may not be
2063 # executable, retaining their permissions. Remove them first so a
2064 # subsequent execution test works.
2066 for ac_file in $ac_files
2069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2070 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2075 if { (ac_try="$ac_link_default"
2077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2078 *) ac_try_echo=$ac_try;;
2080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2081 (eval "$ac_link_default") 2>&5
2083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2084 (exit $ac_status); }; then
2085 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2087 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2088 # so that the user can short-circuit this test for compilers unknown to
2090 for ac_file in $ac_files
2092 test -f "$ac_file" || continue
2094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2097 # We found the default executable, but exeext='' is most
2101 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2105 # We set ac_cv_exeext here because the later test for it is not
2106 # safe: cross compilers may not add the suffix if given an `-o'
2107 # argument, so we may need to know it at that point already.
2108 # Even if this section looks crufty: it has the advantage of
2115 test "$ac_cv_exeext" = no && ac_cv_exeext=
2118 echo "$as_me: failed program was
:" >&5
2119 sed 's/^/| /' conftest.$ac_ext >&5
2121 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2122 See \
`config.log' for more details." >&5
2123 echo "$as_me: error: C compiler cannot create executables
2124 See \`config.log
' for more details." >&2;}
2125 { (exit 77); exit 77; }; }
2128 ac_exeext=$ac_cv_exeext
2129 { echo "$as_me:$LINENO: result: $ac_file" >&5
2130 echo "${ECHO_T}$ac_file" >&6; }
2132 # Check that the compiler produces executables we can run. If not, either
2133 # the compiler is broken, or we cross compile.
2134 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2135 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2136 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137 # If not cross compiling, check that we can run a simple program.
2138 if test "$cross_compiling" != yes; then
2139 if { ac_try='.
/$ac_file'
2140 { (case "(($ac_try" in
2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2142 *) ac_try_echo=$ac_try;;
2144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2145 (eval "$ac_try") 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; }; then
2151 if test "$cross_compiling" = maybe; then
2154 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2155 If you meant to cross compile, use \`--host'.
2156 See \
`config.log' for more details." >&5
2157 echo "$as_me: error: cannot run C compiled programs.
2158 If you meant to cross compile, use \`--host'.
2159 See \`config.log' for more details.
" >&2;}
2160 { (exit 1); exit 1; }; }
2164 { echo "$as_me:$LINENO: result
: yes" >&5
2165 echo "${ECHO_T}yes" >&6; }
2167 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2168 ac_clean_files=$ac_clean_files_save
2169 # Check that the compiler produces executables we can run. If not, either
2170 # the compiler is broken, or we cross compile.
2171 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2172 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2173 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2174 echo "${ECHO_T}$cross_compiling" >&6; }
2176 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2177 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2178 if { (ac_try="$ac_link"
2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181 *) ac_try_echo=$ac_try;;
2183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2184 (eval "$ac_link") 2>&5
2186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2187 (exit $ac_status); }; then
2188 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2189 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2190 # work properly (i.e., refer to `conftest.exe'), while it won't with
2192 for ac_file in conftest.exe conftest conftest.*; do
2193 test -f "$ac_file" || continue
2195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2196 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2202 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2203 See \
`config.log' for more details." >&5
2204 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2205 See \`config.log
' for more details." >&2;}
2206 { (exit 1); exit 1; }; }
2209 rm -f conftest$ac_cv_exeext
2210 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2211 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2213 rm -f conftest.$ac_ext
2214 EXEEXT=$ac_cv_exeext
2216 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2217 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2218 if test "${ac_cv_objext+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.$ac_ext <<_ACEOF
2224 cat confdefs.h >>conftest.$ac_ext
2225 cat >>conftest.$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2236 rm -f conftest.o conftest.obj
2237 if { (ac_try="$ac_compile"
2239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2240 *) ac_try_echo=$ac_try;;
2242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2243 (eval "$ac_compile") 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 for ac_file in conftest.o conftest.obj conftest.*; do
2248 test -f "$ac_file" || continue;
2250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2251 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2256 echo "$as_me: failed program was:" >&5
2257 sed 's
/^
/|
/' conftest.$ac_ext >&5
2259 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2260 See \`config.log' for more details.
" >&5
2261 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2262 See \
`config.log' for more details." >&2;}
2263 { (exit 1); exit 1; }; }
2266 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2268 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2269 echo "${ECHO_T}$ac_cv_objext" >&6; }
2270 OBJEXT=$ac_cv_objext
2272 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2273 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2274 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 cat >conftest.$ac_ext <<_ACEOF
2280 cat confdefs.h >>conftest.$ac_ext
2281 cat >>conftest.$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2295 rm -f conftest.$ac_objext
2296 if { (ac_try="$ac_compile"
2298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2299 *) ac_try_echo
=$ac_try;;
2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302 (eval "$ac_compile") 2>conftest.er1
2304 grep -v '^ *+' conftest.er1
>conftest.err
2306 cat conftest.err
>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); } &&
2309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2310 { (case "(($ac_try" in
2311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2312 *) ac_try_echo=$ac_try;;
2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315 (eval "$ac_try") 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; } &&
2319 { ac_try='test -s conftest.$ac_objext'
2320 { (case "(($ac_try" in
2321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2322 *) ac_try_echo
=$ac_try;;
2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2325 (eval "$ac_try") 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2338 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2341 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2342 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2343 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2344 ac_test_CFLAGS
=${CFLAGS+set}
2345 ac_save_CFLAGS
=$CFLAGS
2346 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2347 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_cc_g+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 ac_save_c_werror_flag
=$ac_c_werror_flag
2352 ac_c_werror_flag
=yes
2355 cat >conftest.
$ac_ext <<_ACEOF
2358 cat confdefs.h
>>conftest.
$ac_ext
2359 cat >>conftest.
$ac_ext <<_ACEOF
2360 /* end confdefs.h. */
2370 rm -f conftest.
$ac_objext
2371 if { (ac_try
="$ac_compile"
2373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_compile") 2>conftest.er1
2379 grep -v '^ *+' conftest.er1 >conftest.err
2381 cat conftest.err >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2385 { (case "(($ac_try" in
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2390 (eval "$ac_try") 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (case "(($ac_try" in
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2400 (eval "$ac_try") 2>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; }; then
2406 echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2410 cat >conftest.$ac_ext <<_ACEOF
2413 cat confdefs.h >>conftest.$ac_ext
2414 cat >>conftest.$ac_ext <<_ACEOF
2415 /* end confdefs.h. */
2425 rm -f conftest.$ac_objext
2426 if { (ac_try="$ac_compile"
2428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2429 *) ac_try_echo
=$ac_try;;
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_compile") 2>conftest.er1
2434 grep -v '^ *+' conftest.er1
>conftest.err
2436 cat conftest.err
>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2440 { (case "(($ac_try" in
2441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2445 (eval "$ac_try") 2>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; } &&
2449 { ac_try='test -s conftest.$ac_objext'
2450 { (case "(($ac_try" in
2451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2452 *) ac_try_echo
=$ac_try;;
2454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_try") 2>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.
$ac_ext >&5
2464 ac_c_werror_flag
=$ac_save_c_werror_flag
2466 cat >conftest.
$ac_ext <<_ACEOF
2469 cat confdefs.h
>>conftest.
$ac_ext
2470 cat >>conftest.
$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2481 rm -f conftest.
$ac_objext
2482 if { (ac_try
="$ac_compile"
2484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488 (eval "$ac_compile") 2>conftest.er1
2490 grep -v '^ *+' conftest.er1 >conftest.err
2492 cat conftest.err >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); } &&
2495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2498 *) ac_try_echo
=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; } &&
2505 { ac_try
='test -s conftest.$ac_objext'
2506 { (case "(($ac_try" in
2507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2511 (eval "$ac_try") 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.$ac_ext >&5
2523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2530 ac_c_werror_flag=$ac_save_c_werror_flag
2532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2534 if test "$ac_test_CFLAGS" = set; then
2535 CFLAGS=$ac_save_CFLAGS
2536 elif test $ac_cv_prog_cc_g = yes; then
2537 if test "$GCC" = yes; then
2543 if test "$GCC" = yes; then
2549 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2550 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2551 if test "${ac_cv_prog_cc_c89+set}" = set; then
2552 echo $ECHO_N "(cached) $ECHO_C" >&6
2554 ac_cv_prog_cc_c89=no
2556 cat >conftest.$ac_ext <<_ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2564 #include <sys/types.h>
2565 #include <sys/stat.h>
2566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2567 struct buf { int x; };
2568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2569 static char *e (p, i)
2575 static char *f (char * (*g) (char **, int), char **p, ...)
2580 s = g (p, va_arg (v,int));
2585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2586 function prototypes and stuff, but not '\xHH' hex character constants.
2587 These don't provoke an error unfortunately, instead are silently treated
2588 as 'x'. The following induces an error, until -std is added to get
2589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2590 array size at least. It's necessary to write '\x00'==0 to get something
2591 that's true only with -std. */
2592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2595 inside strings and character constants. */
2597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2599 int test (int i, double x);
2600 struct s1 {int (*f) (int a);};
2601 struct s2 {int (*f) (double a);};
2602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2616 CC="$ac_save_CC $ac_arg"
2617 rm -f conftest.$ac_objext
2618 if { (ac_try="$ac_compile"
2620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2621 *) ac_try_echo
=$ac_try;;
2623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624 (eval "$ac_compile") 2>conftest.er1
2626 grep -v '^ *+' conftest.er1
>conftest.err
2628 cat conftest.err
>&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); } &&
2631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2632 { (case "(($ac_try" in
2633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_try") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (case "(($ac_try" in
2643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2644 *) ac_try_echo
=$ac_try;;
2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_try") 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 ac_cv_prog_cc_c89
=$ac_arg
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.
$ac_ext >&5
2659 rm -f core conftest.err conftest.
$ac_objext
2660 test "x$ac_cv_prog_cc_c89" != "xno" && break
2662 rm -f conftest.
$ac_ext
2667 case "x$ac_cv_prog_cc_c89" in
2669 { echo "$as_me:$LINENO: result: none needed" >&5
2670 echo "${ECHO_T}none needed" >&6; } ;;
2672 { echo "$as_me:$LINENO: result: unsupported" >&5
2673 echo "${ECHO_T}unsupported" >&6; } ;;
2675 CC
="$CC $ac_cv_prog_cc_c89"
2676 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2677 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2682 ac_cpp
='$CPP $CPPFLAGS'
2683 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2689 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2690 if test -f "$ac_dir/install-sh"; then
2692 ac_install_sh
="$ac_aux_dir/install-sh -c"
2694 elif test -f "$ac_dir/install.sh"; then
2696 ac_install_sh
="$ac_aux_dir/install.sh -c"
2698 elif test -f "$ac_dir/shtool"; then
2700 ac_install_sh
="$ac_aux_dir/shtool install -c"
2704 if test -z "$ac_aux_dir"; then
2705 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2706 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2707 { (exit 1); exit 1; }; }
2710 # These three variables are undocumented and unsupported,
2711 # and are intended to be withdrawn in a future Autoconf release.
2712 # They can cause serious problems if a builder's source tree is in a directory
2713 # whose full name contains unusual characters.
2714 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2715 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2716 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2719 # Make sure we can run config.sub.
2720 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2721 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2722 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2723 { (exit 1); exit 1; }; }
2725 { echo "$as_me:$LINENO: checking build system type" >&5
2726 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2727 if test "${ac_cv_build+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 ac_build_alias
=$build_alias
2731 test "x$ac_build_alias" = x
&&
2732 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2733 test "x$ac_build_alias" = x
&&
2734 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2735 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2736 { (exit 1); exit 1; }; }
2737 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2738 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2739 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2740 { (exit 1); exit 1; }; }
2743 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2744 echo "${ECHO_T}$ac_cv_build" >&6; }
2745 case $ac_cv_build in
2747 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2748 echo "$as_me: error: invalid value of canonical build" >&2;}
2749 { (exit 1); exit 1; }; };;
2752 ac_save_IFS
=$IFS; IFS
='-'
2758 # Remember, the first character of IFS is used to create $*,
2759 # except with old shells:
2762 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2765 { echo "$as_me:$LINENO: checking host system type" >&5
2766 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2767 if test "${ac_cv_host+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 if test "x$host_alias" = x
; then
2771 ac_cv_host
=$ac_cv_build
2773 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2774 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2775 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2776 { (exit 1); exit 1; }; }
2780 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2781 echo "${ECHO_T}$ac_cv_host" >&6; }
2784 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2785 echo "$as_me: error: invalid value of canonical host" >&2;}
2786 { (exit 1); exit 1; }; };;
2789 ac_save_IFS
=$IFS; IFS
='-'
2795 # Remember, the first character of IFS is used to create $*,
2796 # except with old shells:
2799 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2802 { echo "$as_me:$LINENO: checking target system type" >&5
2803 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2804 if test "${ac_cv_target+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test "x$target_alias" = x
; then
2808 ac_cv_target
=$ac_cv_host
2810 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2811 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2812 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2813 { (exit 1); exit 1; }; }
2817 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2818 echo "${ECHO_T}$ac_cv_target" >&6; }
2819 case $ac_cv_target in
2821 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2822 echo "$as_me: error: invalid value of canonical target" >&2;}
2823 { (exit 1); exit 1; }; };;
2825 target
=$ac_cv_target
2826 ac_save_IFS
=$IFS; IFS
='-'
2832 # Remember, the first character of IFS is used to create $*,
2833 # except with old shells:
2836 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2839 # The aliases save the names the user supplied, while $host etc.
2840 # will get canonicalized.
2841 test -n "$target_alias" &&
2842 test "$program_prefix$program_suffix$program_transform_name" = \
2844 program_prefix
=${target_alias}-
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2860 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2861 if test -z "$INSTALL"; then
2862 if test "${ac_cv_path_install+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 # Account for people who put trailing slashes in PATH elements.
2872 .
/ | .
// |
/cC
/* | \
2873 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2874 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2877 # OSF1 and SCO ODT 3.0 have their own names for install.
2878 # Don't use installbsd from OSF since it installs stuff as root
2880 for ac_prog
in ginstall scoinst
install; do
2881 for ac_exec_ext
in '' $ac_executable_extensions; do
2882 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
2883 if test $ac_prog = install &&
2884 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2885 # AIX install. It has an incompatible calling convention.
2887 elif test $ac_prog = install &&
2888 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2889 # program-specific install script used by HP pwplus--don't use.
2892 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2905 if test "${ac_cv_path_install+set}" = set; then
2906 INSTALL
=$ac_cv_path_install
2908 # As a last resort, use the slow shell script. Don't cache a
2909 # value for INSTALL within a source directory, because that will
2910 # break other packages using the cache if that directory is
2911 # removed, or if the value is a relative name.
2912 INSTALL
=$ac_install_sh
2915 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2916 echo "${ECHO_T}$INSTALL" >&6; }
2918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2919 # It thinks the first close brace ends the variable substitution.
2920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2924 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2927 test "$program_prefix" != NONE
&&
2928 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2929 # Use a double $ so make ignores it.
2930 test "$program_suffix" != NONE
&&
2931 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2932 # Double any \ or $. echo might interpret backslashes.
2933 # By default was `s,x,x', remove it if useless.
2934 cat <<\_ACEOF
>conftest.
sed
2935 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2937 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2947 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2948 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2949 # On Suns, sometimes $CPP names a directory.
2950 if test -n "$CPP" && test -d "$CPP"; then
2953 if test -z "$CPP"; then
2954 if test "${ac_cv_prog_CPP+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 # Double quotes because CPP needs to be expanded
2958 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2961 for ac_c_preproc_warn_flag
in '' yes
2963 # Use a header file that comes with gcc, so configuring glibc
2964 # with a fresh cross-compiler works.
2965 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2966 # <limits.h> exists even on freestanding compilers.
2967 # On the NeXT, cc -E runs the code through the compiler's parser,
2968 # not just through cpp. "Syntax error" is here to catch this case.
2969 cat >conftest.
$ac_ext <<_ACEOF
2972 cat confdefs.h
>>conftest.
$ac_ext
2973 cat >>conftest.
$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2976 # include <limits.h>
2978 # include <assert.h>
2982 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev/null; then
2995 if test -s conftest.err; then
2996 ac_cpp_err=$ac_c_preproc_warn_flag
2997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3007 echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 # Broken: fails on valid input.
3014 rm -f conftest.err conftest.$ac_ext
3016 # OK, works on sane cases. Now check whether nonexistent headers
3017 # can be detected and how.
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3024 #include <ac_nonexistent.h>
3026 if { (ac_try="$ac_cpp conftest.$ac_ext"
3028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3029 *) ac_try_echo
=$ac_try;;
3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3034 grep -v '^ *+' conftest.er1
>conftest.err
3036 cat conftest.err
>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } >/dev
/null
; then
3039 if test -s conftest.err
; then
3040 ac_cpp_err
=$ac_c_preproc_warn_flag
3041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3048 if test -z "$ac_cpp_err"; then
3049 # Broken: success on invalid input.
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.
$ac_ext >&5
3055 # Passes both tests.
3060 rm -f conftest.err conftest.
$ac_ext
3063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3064 rm -f conftest.err conftest.
$ac_ext
3065 if $ac_preproc_ok; then
3077 { echo "$as_me:$LINENO: result: $CPP" >&5
3078 echo "${ECHO_T}$CPP" >&6; }
3080 for ac_c_preproc_warn_flag
in '' yes
3082 # Use a header file that comes with gcc, so configuring glibc
3083 # with a fresh cross-compiler works.
3084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3085 # <limits.h> exists even on freestanding compilers.
3086 # On the NeXT, cc -E runs the code through the compiler's parser,
3087 # not just through cpp. "Syntax error" is here to catch this case.
3088 cat >conftest.
$ac_ext <<_ACEOF
3091 cat confdefs.h
>>conftest.
$ac_ext
3092 cat >>conftest.
$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3095 # include <limits.h>
3097 # include <assert.h>
3101 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3109 grep -v '^ *+' conftest.er1 >conftest.err
3111 cat conftest.err >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } >/dev/null; then
3114 if test -s conftest.err; then
3115 ac_cpp_err=$ac_c_preproc_warn_flag
3116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3123 if test -z "$ac_cpp_err"; then
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.$ac_ext
3135 # OK, works on sane cases. Now check whether nonexistent headers
3136 # can be detected and how.
3137 cat >conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3145 if { (ac_try="$ac_cpp conftest.$ac_ext"
3147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3148 *) ac_try_echo
=$ac_try;;
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3153 grep -v '^ *+' conftest.er1
>conftest.err
3155 cat conftest.err
>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } >/dev
/null
; then
3158 if test -s conftest.err
; then
3159 ac_cpp_err
=$ac_c_preproc_warn_flag
3160 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3167 if test -z "$ac_cpp_err"; then
3168 # Broken: success on invalid input.
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.
$ac_ext >&5
3174 # Passes both tests.
3179 rm -f conftest.err conftest.
$ac_ext
3182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3183 rm -f conftest.err conftest.
$ac_ext
3184 if $ac_preproc_ok; then
3187 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3188 See \`config.log' for more details." >&5
3189 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3190 See \`config.log' for more details." >&2;}
3191 { (exit 1); exit 1; }; }
3195 ac_cpp
='$CPP $CPPFLAGS'
3196 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3201 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3202 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3203 if test "${ac_cv_path_GREP+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 # Extract the first word of "grep ggrep" to use in msg output
3207 if test -z "$GREP"; then
3208 set dummy
grep ggrep
; ac_prog_name
=$2
3209 if test "${ac_cv_path_GREP+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 ac_path_GREP_found
=false
3213 # Loop through the user's path and test for each of PROGNAME-LIST
3214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3215 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3218 test -z "$as_dir" && as_dir
=.
3219 for ac_prog
in grep ggrep
; do
3220 for ac_exec_ext
in '' $ac_executable_extensions; do
3221 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3222 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3223 # Check for GNU ac_path_GREP and select it if it is found.
3224 # Check for GNU $ac_path_GREP
3225 case `"$ac_path_GREP" --version 2>&1` in
3227 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3230 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3233 cat "conftest.in" "conftest.in" >"conftest.tmp"
3234 mv "conftest.tmp" "conftest.in"
3235 cp "conftest.in" "conftest.nl"
3236 echo 'GREP' >> "conftest.nl"
3237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3238 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3239 ac_count
=`expr $ac_count + 1`
3240 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3241 # Best one so far, save it but keep looking for a better one
3242 ac_cv_path_GREP
="$ac_path_GREP"
3243 ac_path_GREP_max
=$ac_count
3245 # 10*(2^10) chars as input seems more than enough
3246 test $ac_count -gt 10 && break
3248 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3252 $ac_path_GREP_found && break 3
3262 GREP
="$ac_cv_path_GREP"
3263 if test -z "$GREP"; then
3264 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3265 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3266 { (exit 1); exit 1; }; }
3270 ac_cv_path_GREP
=$GREP
3275 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3276 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3277 GREP
="$ac_cv_path_GREP"
3280 { echo "$as_me:$LINENO: checking for egrep" >&5
3281 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3282 if test "${ac_cv_path_EGREP+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3286 then ac_cv_path_EGREP
="$GREP -E"
3288 # Extract the first word of "egrep" to use in msg output
3289 if test -z "$EGREP"; then
3290 set dummy
egrep; ac_prog_name
=$2
3291 if test "${ac_cv_path_EGREP+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 ac_path_EGREP_found
=false
3295 # Loop through the user's path and test for each of PROGNAME-LIST
3296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3297 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3300 test -z "$as_dir" && as_dir
=.
3301 for ac_prog
in egrep; do
3302 for ac_exec_ext
in '' $ac_executable_extensions; do
3303 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3304 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3305 # Check for GNU ac_path_EGREP and select it if it is found.
3306 # Check for GNU $ac_path_EGREP
3307 case `"$ac_path_EGREP" --version 2>&1` in
3309 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3312 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3315 cat "conftest.in" "conftest.in" >"conftest.tmp"
3316 mv "conftest.tmp" "conftest.in"
3317 cp "conftest.in" "conftest.nl"
3318 echo 'EGREP' >> "conftest.nl"
3319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3320 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3321 ac_count
=`expr $ac_count + 1`
3322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3323 # Best one so far, save it but keep looking for a better one
3324 ac_cv_path_EGREP
="$ac_path_EGREP"
3325 ac_path_EGREP_max
=$ac_count
3327 # 10*(2^10) chars as input seems more than enough
3328 test $ac_count -gt 10 && break
3330 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3334 $ac_path_EGREP_found && break 3
3344 EGREP
="$ac_cv_path_EGREP"
3345 if test -z "$EGREP"; then
3346 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3347 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3348 { (exit 1); exit 1; }; }
3352 ac_cv_path_EGREP
=$EGREP
3358 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3359 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3360 EGREP
="$ac_cv_path_EGREP"
3363 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3364 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3365 if test "${ac_cv_header_stdc+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 cat >conftest.
$ac_ext <<_ACEOF
3371 cat confdefs.h
>>conftest.
$ac_ext
3372 cat >>conftest.
$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3387 rm -f conftest.
$ac_objext
3388 if { (ac_try
="$ac_compile"
3390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3404 *) ac_try_echo
=$ac_try;;
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try
='test -s conftest.$ac_objext'
3412 { (case "(($ac_try" in
3413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_header_stdc=yes
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3426 ac_cv_header_stdc=no
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 if test $ac_cv_header_stdc = yes; then
3432 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3433 cat >conftest.$ac_ext <<_ACEOF
3436 cat confdefs.h >>conftest.$ac_ext
3437 cat >>conftest.$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3443 $EGREP "memchr" >/dev/null 2>&1; then
3446 ac_cv_header_stdc=no
3452 if test $ac_cv_header_stdc = yes; then
3453 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3464 $EGREP "free" >/dev/null 2>&1; then
3467 ac_cv_header_stdc=no
3473 if test $ac_cv_header_stdc = yes; then
3474 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3475 if test "$cross_compiling" = yes; then
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3486 #if ((' ' & 0x0FF) == 0x020)
3487 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3488 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3490 # define ISLOWER(c) \
3491 (('a' <= (c) && (c) <= 'i') \
3492 || ('j' <= (c) && (c) <= 'r') \
3493 || ('s' <= (c) && (c) <= 'z'))
3494 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3497 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3502 for (i = 0; i < 256; i++)
3503 if (XOR (islower (i), ISLOWER (i))
3504 || toupper (i) != TOUPPER (i))
3509 rm -f conftest$ac_exeext
3510 if { (ac_try="$ac_link"
3512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3513 *) ac_try_echo
=$ac_try;;
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_link") 2>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3520 { (case "(($ac_try" in
3521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_try") 2>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; }; then
3531 echo "$as_me: program exited with status $ac_status" >&5
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.$ac_ext >&5
3536 ac_cv_header_stdc=no
3538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3544 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3545 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3546 if test $ac_cv_header_stdc = yes; then
3548 cat >>confdefs.h <<\_ACEOF
3549 #define STDC_HEADERS 1
3555 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3565 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3566 inttypes.h stdint.h unistd.h
3568 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3580 $ac_includes_default
3582 #include <$ac_header>
3584 rm -f conftest.$ac_objext
3585 if { (ac_try="$ac_compile"
3587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3588 *) ac_try_echo
=$ac_try;;
3590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3591 (eval "$ac_compile") 2>conftest.er1
3593 grep -v '^ *+' conftest.er1
>conftest.err
3595 cat conftest.err
>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3599 { (case "(($ac_try" in
3600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3604 (eval "$ac_try") 2>&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try='test -s conftest.$ac_objext'
3609 { (case "(($ac_try" in
3610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3611 *) ac_try_echo
=$ac_try;;
3613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3614 (eval "$ac_try") 2>&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 eval "$as_ac_Header=yes"
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.
$ac_ext >&5
3623 eval "$as_ac_Header=no"
3626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3628 ac_res
=`eval echo '${'$as_ac_Header'}'`
3629 { echo "$as_me:$LINENO: result: $ac_res" >&5
3630 echo "${ECHO_T}$ac_res" >&6; }
3631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3632 cat >>confdefs.h
<<_ACEOF
3633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3660 for ac_header
in sgtty.h termio.h termios.h sys
/reg.h string.h proc_service.h sys
/procfs.h thread_db.h linux
/elf.h stdlib.h unistd.h terminal.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h sys
/wait.h
3662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3663 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3666 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 ac_res
=`eval echo '${'$as_ac_Header'}'`
3670 { echo "$as_me:$LINENO: result: $ac_res" >&5
3671 echo "${ECHO_T}$ac_res" >&6; }
3673 # Is the header compilable?
3674 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3676 cat >conftest.
$ac_ext <<_ACEOF
3679 cat confdefs.h
>>conftest.
$ac_ext
3680 cat >>conftest.
$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3682 $ac_includes_default
3683 #include <$ac_header>
3685 rm -f conftest.
$ac_objext
3686 if { (ac_try
="$ac_compile"
3688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3692 (eval "$ac_compile") 2>conftest.er1
3694 grep -v '^ *+' conftest.er1 >conftest.err
3696 cat conftest.err >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3700 { (case "(($ac_try" in
3701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3702 *) ac_try_echo
=$ac_try;;
3704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705 (eval "$ac_try") 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; } &&
3709 { ac_try
='test -s conftest.$ac_objext'
3710 { (case "(($ac_try" in
3711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3715 (eval "$ac_try") 2>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; }; then
3719 ac_header_compiler=yes
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3724 ac_header_compiler=no
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3729 echo "${ECHO_T}$ac_header_compiler" >&6; }
3731 # Is the header present?
3732 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3734 cat >conftest.$ac_ext <<_ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #include <$ac_header>
3742 if { (ac_try="$ac_cpp conftest.$ac_ext"
3744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3745 *) ac_try_echo
=$ac_try;;
3747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3750 grep -v '^ *+' conftest.er1
>conftest.err
3752 cat conftest.err
>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } >/dev
/null
; then
3755 if test -s conftest.err
; then
3756 ac_cpp_err
=$ac_c_preproc_warn_flag
3757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3764 if test -z "$ac_cpp_err"; then
3765 ac_header_preproc
=yes
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3770 ac_header_preproc
=no
3773 rm -f conftest.err conftest.
$ac_ext
3774 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3775 echo "${ECHO_T}$ac_header_preproc" >&6; }
3777 # So? What about this header?
3778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3784 ac_header_preproc
=yes
3787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3804 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 eval "$as_ac_Header=\$ac_header_preproc"
3809 ac_res
=`eval echo '${'$as_ac_Header'}'`
3810 { echo "$as_me:$LINENO: result: $ac_res" >&5
3811 echo "${ECHO_T}$ac_res" >&6; }
3814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3815 cat >>confdefs.h
<<_ACEOF
3816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3824 { echo "$as_me:$LINENO: checking whether strerror is declared" >&5
3825 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6; }
3826 if test "${ac_cv_have_decl_strerror+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 cat >conftest.
$ac_ext <<_ACEOF
3832 cat confdefs.h
>>conftest.
$ac_ext
3833 cat >>conftest.
$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 $ac_includes_default
3840 char *p = (char *) strerror;
3848 rm -f conftest.
$ac_objext
3849 if { (ac_try
="$ac_compile"
3851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } &&
3862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3863 { (case "(($ac_try" in
3864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3865 *) ac_try_echo
=$ac_try;;
3867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3868 (eval "$ac_try") 2>&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; } &&
3872 { ac_try
='test -s conftest.$ac_objext'
3873 { (case "(($ac_try" in
3874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3875 *) ac_try_echo=$ac_try;;
3877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3878 (eval "$ac_try") 2>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 ac_cv_have_decl_strerror=yes
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.$ac_ext >&5
3887 ac_cv_have_decl_strerror=no
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
3893 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6; }
3894 if test $ac_cv_have_decl_strerror = yes; then
3896 cat >>confdefs.h <<_ACEOF
3897 #define HAVE_DECL_STRERROR 1
3902 cat >>confdefs.h <<_ACEOF
3903 #define HAVE_DECL_STRERROR 0
3911 { echo "$as_me:$LINENO: checking for socklen_t" >&5
3912 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
3913 if test "${ac_cv_type_socklen_t+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 cat >conftest.$ac_ext <<_ACEOF
3919 cat confdefs.h >>conftest.$ac_ext
3920 cat >>conftest.$ac_ext <<_ACEOF
3921 /* end confdefs.h. */
3922 #include <sys/types.h>
3923 #include <sys/socket.h>
3926 typedef socklen_t ac__type_new_;
3930 if ((ac__type_new_ *) 0)
3932 if (sizeof (ac__type_new_))
3938 rm -f conftest.$ac_objext
3939 if { (ac_try="$ac_compile"
3941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3942 *) ac_try_echo
=$ac_try;;
3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3945 (eval "$ac_compile") 2>conftest.er1
3947 grep -v '^ *+' conftest.er1
>conftest.err
3949 cat conftest.err
>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } &&
3952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3953 { (case "(($ac_try" in
3954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_try") 2>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; } &&
3962 { ac_try='test -s conftest.$ac_objext'
3963 { (case "(($ac_try" in
3964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3965 *) ac_try_echo
=$ac_try;;
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968 (eval "$ac_try") 2>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; }; then
3972 ac_cv_type_socklen_t
=yes
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 ac_cv_type_socklen_t
=no
3980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3982 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
3983 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
3984 if test $ac_cv_type_socklen_t = yes; then
3986 cat >>confdefs.h
<<_ACEOF
3987 #define HAVE_SOCKLEN_T 1
3993 .
${srcdir}/configure.srv
3995 if test "${srv_mingw}" = "yes"; then
3996 LIBS
="$LIBS -lwsock32"
3998 cat >>confdefs.h
<<\_ACEOF
3999 #define USE_WIN32API 1
4004 if test "${srv_linux_usrregs}" = "yes"; then
4006 cat >>confdefs.h
<<\_ACEOF
4007 #define HAVE_LINUX_USRREGS 1
4012 if test "${srv_linux_regsets}" = "yes"; then
4014 cat >>confdefs.h
<<\_ACEOF
4015 #define HAVE_LINUX_REGSETS 1
4019 { echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
4020 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6; }
4021 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 cat >conftest.
$ac_ext <<_ACEOF
4027 cat confdefs.h
>>conftest.
$ac_ext
4028 cat >>conftest.
$ac_ext <<_ACEOF
4029 /* end confdefs.h. */
4030 #include <sys/ptrace.h>
4039 rm -f conftest.
$ac_objext
4040 if { (ac_try
="$ac_compile"
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_compile") 2>conftest.er1
4048 grep -v '^ *+' conftest.er1 >conftest.err
4050 cat conftest.err >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); } &&
4053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4054 { (case "(($ac_try" in
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4059 (eval "$ac_try") 2>&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; } &&
4063 { ac_try
='test -s conftest.$ac_objext'
4064 { (case "(($ac_try" in
4065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4069 (eval "$ac_try") 2>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); }; }; then
4073 gdbsrv_cv_have_ptrace_getregs=yes
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 gdbsrv_cv_have_ptrace_getregs=no
4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 { echo "$as_me:$LINENO: result: $gdbsrv_cv_have_ptrace_getregs" >&5
4085 echo "${ECHO_T}$gdbsrv_cv_have_ptrace_getregs" >&6; }
4086 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
4088 cat >>confdefs.h <<\_ACEOF
4089 #define HAVE_PTRACE_GETREGS 1
4094 { echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
4095 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6; }
4096 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 cat >conftest.$ac_ext <<_ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 #include <sys/ptrace.h>
4114 rm -f conftest.$ac_objext
4115 if { (ac_try="$ac_compile"
4117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4118 *) ac_try_echo
=$ac_try;;
4120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4121 (eval "$ac_compile") 2>conftest.er1
4123 grep -v '^ *+' conftest.er1
>conftest.err
4125 cat conftest.err
>&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4129 { (case "(($ac_try" in
4130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4134 (eval "$ac_try") 2>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); }; } &&
4138 { ac_try='test -s conftest.$ac_objext'
4139 { (case "(($ac_try" in
4140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4141 *) ac_try_echo
=$ac_try;;
4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4144 (eval "$ac_try") 2>&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); }; }; then
4148 gdbsrv_cv_have_ptrace_getfpxregs
=yes
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.
$ac_ext >&5
4153 gdbsrv_cv_have_ptrace_getfpxregs
=no
4156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4159 { echo "$as_me:$LINENO: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
4160 echo "${ECHO_T}$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
4161 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
4163 cat >>confdefs.h
<<\_ACEOF
4164 #define HAVE_PTRACE_GETFPXREGS 1
4170 if test "$ac_cv_header_sys_procfs_h" = yes; then
4171 { echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
4172 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6; }
4173 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 cat >conftest.
$ac_ext <<_ACEOF
4179 cat confdefs.h
>>conftest.
$ac_ext
4180 cat >>conftest.
$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4184 #include <sys/procfs.h>
4193 rm -f conftest.
$ac_objext
4194 if { (ac_try
="$ac_compile"
4196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4197 *) ac_try_echo=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_compile") 2>conftest.er1
4202 grep -v '^ *+' conftest.er1 >conftest.err
4204 cat conftest.err >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } &&
4207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4208 { (case "(($ac_try" in
4209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4210 *) ac_try_echo
=$ac_try;;
4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213 (eval "$ac_try") 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; } &&
4217 { ac_try
='test -s conftest.$ac_objext'
4218 { (case "(($ac_try" in
4219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_try") 2>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; }; then
4227 bfd_cv_have_sys_procfs_type_lwpid_t=yes
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 bfd_cv_have_sys_procfs_type_lwpid_t=no
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
4241 cat >>confdefs.h <<\_ACEOF
4242 #define HAVE_LWPID_T 1
4246 { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
4247 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
4249 { echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
4250 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6; }
4251 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 cat >conftest.$ac_ext <<_ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4262 #include <sys/procfs.h>
4271 rm -f conftest.$ac_objext
4272 if { (ac_try="$ac_compile"
4274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4275 *) ac_try_echo
=$ac_try;;
4277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4278 (eval "$ac_compile") 2>conftest.er1
4280 grep -v '^ *+' conftest.er1
>conftest.err
4282 cat conftest.err
>&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } &&
4285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4286 { (case "(($ac_try" in
4287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4291 (eval "$ac_try") 2>&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try='test -s conftest.$ac_objext'
4296 { (case "(($ac_try" in
4297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4298 *) ac_try_echo
=$ac_try;;
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_try") 2>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); }; }; then
4305 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
4307 echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.
$ac_ext >&5
4310 bfd_cv_have_sys_procfs_type_psaddr_t
=no
4314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4317 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
4319 cat >>confdefs.h
<<\_ACEOF
4320 #define HAVE_PSADDR_T 1
4324 { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
4325 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
4327 { echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
4328 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6; }
4329 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 cat >conftest.
$ac_ext <<_ACEOF
4335 cat confdefs.h
>>conftest.
$ac_ext
4336 cat >>conftest.
$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4340 #include <sys/procfs.h>
4349 rm -f conftest.
$ac_objext
4350 if { (ac_try
="$ac_compile"
4352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4356 (eval "$ac_compile") 2>conftest.er1
4358 grep -v '^ *+' conftest.er1 >conftest.err
4360 cat conftest.err >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); } &&
4363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4364 { (case "(($ac_try" in
4365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4366 *) ac_try_echo
=$ac_try;;
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_try") 2>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); }; } &&
4373 { ac_try
='test -s conftest.$ac_objext'
4374 { (case "(($ac_try" in
4375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 bfd_cv_have_sys_procfs_type_prgregset_t=yes
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.$ac_ext >&5
4388 bfd_cv_have_sys_procfs_type_prgregset_t=no
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
4397 cat >>confdefs.h <<\_ACEOF
4398 #define HAVE_PRGREGSET_T 1
4402 { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
4403 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
4405 { echo "$as_me:$LINENO: checking for elf_fpregset_t in sys/procfs.h" >&5
4406 echo $ECHO_N "checking for elf_fpregset_t in sys/procfs.h... $ECHO_C" >&6; }
4407 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4418 #include <sys/procfs.h>
4427 rm -f conftest.$ac_objext
4428 if { (ac_try="$ac_compile"
4430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4431 *) ac_try_echo
=$ac_try;;
4433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4434 (eval "$ac_compile") 2>conftest.er1
4436 grep -v '^ *+' conftest.er1
>conftest.err
4438 cat conftest.err
>&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); } &&
4441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4442 { (case "(($ac_try" in
4443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_try") 2>&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); }; } &&
4451 { ac_try='test -s conftest.$ac_objext'
4452 { (case "(($ac_try" in
4453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4454 *) ac_try_echo
=$ac_try;;
4456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4457 (eval "$ac_try") 2>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4466 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
4470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4473 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4475 cat >>confdefs.h
<<\_ACEOF
4476 #define HAVE_ELF_FPREGSET_T 1
4480 { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
4481 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4485 srv_thread_depfiles
=
4489 if test "$srv_linux_thread_db" = "yes"; then
4490 { echo "$as_me:$LINENO: checking for libthread_db" >&5
4491 echo $ECHO_N "checking for libthread_db... $ECHO_C" >&6; }
4492 if test "${srv_cv_thread_db+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 LIBS
="$LIBS -lthread_db"
4497 cat >conftest.
$ac_ext <<_ACEOF
4500 cat confdefs.h
>>conftest.
$ac_ext
4501 cat >>conftest.
$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 void ps_pglobal_lookup() {}
4505 void ps_pdwrite() {}
4506 void ps_lgetregs() {}
4507 void ps_lsetregs() {}
4508 void ps_lgetfpregs() {}
4509 void ps_lsetfpregs() {}
4510 void ps_get_thread_area() {}
4520 rm -f conftest.
$ac_objext conftest
$ac_exeext
4521 if { (ac_try
="$ac_link"
4523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4524 *) ac_try_echo=$ac_try;;
4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4527 (eval "$ac_link") 2>conftest.er1
4529 grep -v '^ *+' conftest.er1 >conftest.err
4531 cat conftest.err >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); } &&
4534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4535 { (case "(($ac_try" in
4536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4537 *) ac_try_echo
=$ac_try;;
4539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540 (eval "$ac_try") 2>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try
='test -s conftest$ac_exeext'
4545 { (case "(($ac_try" in
4546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4550 (eval "$ac_try") 2>&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; }; then
4554 srv_cv_thread_db="-lthread_db"
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4561 if test "$prefix" = "/usr" || test "$prefix" = "NONE"; then
4562 thread_db="/lib/libthread_db.so.1"
4564 thread_db='$prefix/lib/libthread_db.so.1'
4566 LIBS="$old_LIBS `eval echo "$thread_db"`"
4567 cat >conftest.$ac_ext <<_ACEOF
4570 cat confdefs.h >>conftest.$ac_ext
4571 cat >>conftest.$ac_ext <<_ACEOF
4572 /* end confdefs.h. */
4573 void ps_pglobal_lookup() {}
4575 void ps_pdwrite() {}
4576 void ps_lgetregs() {}
4577 void ps_lsetregs() {}
4578 void ps_lgetfpregs() {}
4579 void ps_lsetfpregs() {}
4580 void ps_get_thread_area() {}
4590 rm -f conftest.$ac_objext conftest$ac_exeext
4591 if { (ac_try="$ac_link"
4593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4594 *) ac_try_echo
=$ac_try;;
4596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4597 (eval "$ac_link") 2>conftest.er1
4599 grep -v '^ *+' conftest.er1
>conftest.err
4601 cat conftest.err
>&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } &&
4604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4605 { (case "(($ac_try" in
4606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4607 *) ac_try_echo=$ac_try;;
4609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4610 (eval "$ac_try") 2>&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; } &&
4614 { ac_try='test -s conftest$ac_exeext'
4615 { (case "(($ac_try" in
4616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4617 *) ac_try_echo
=$ac_try;;
4619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4620 (eval "$ac_try") 2>&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
4624 srv_cv_thread_db
="$thread_db"
4626 echo "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.
$ac_ext >&5
4632 rm -f core conftest.err conftest.
$ac_objext \
4633 conftest
$ac_exeext conftest.
$ac_ext
4637 rm -f core conftest.err conftest.
$ac_objext \
4638 conftest
$ac_exeext conftest.
$ac_ext
4642 { echo "$as_me:$LINENO: result: $srv_cv_thread_db" >&5
4643 echo "${ECHO_T}$srv_cv_thread_db" >&6; }
4644 if test "$srv_cv_thread_db" = no
; then
4645 { echo "$as_me:$LINENO: WARNING: Could not find libthread_db." >&5
4646 echo "$as_me: WARNING: Could not find libthread_db." >&2;}
4647 { echo "$as_me:$LINENO: WARNING: Disabling thread support in gdbserver." >&5
4648 echo "$as_me: WARNING: Disabling thread support in gdbserver." >&2;}
4649 srv_linux_thread_db
=no
4651 srv_libs
="$srv_cv_thread_db"
4653 old_LDFLAGS
="$LDFLAGS"
4654 LDFLAGS
="$LDFLAGS -rdynamic"
4655 cat >conftest.
$ac_ext <<_ACEOF
4658 cat confdefs.h
>>conftest.
$ac_ext
4659 cat >>conftest.
$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4670 rm -f conftest.
$ac_objext conftest
$ac_exeext
4671 if { (ac_try
="$ac_link"
4673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_link") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } &&
4684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4685 { (case "(($ac_try" in
4686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4687 *) ac_try_echo
=$ac_try;;
4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4690 (eval "$ac_try") 2>&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; } &&
4694 { ac_try
='test -s conftest$ac_exeext'
4695 { (case "(($ac_try" in
4696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_try") 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4712 rm -f core conftest.err conftest.$ac_objext \
4713 conftest$ac_exeext conftest.$ac_ext
4715 LDFLAGS="$old_LDFLAGS"
4718 if test "$srv_linux_thread_db" = "yes"; then
4719 srv_thread_depfiles="thread-db.o proc-service.o"
4720 USE_THREAD_DB="-DUSE_THREAD_DB"
4721 { echo "$as_me:$LINENO: checking for TD_VERSION" >&5
4722 echo $ECHO_N "checking for TD_VERSION... $ECHO_C" >&6; }
4723 if test "${gdbsrv_cv_have_td_version+set}" = set; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 cat >conftest.$ac_ext <<_ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 #include <thread_db.h>
4741 rm -f conftest.$ac_objext
4742 if { (ac_try="$ac_compile"
4744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4745 *) ac_try_echo
=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_compile") 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4756 { (case "(($ac_try" in
4757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4761 (eval "$ac_try") 2>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; } &&
4765 { ac_try='test -s conftest.$ac_objext'
4766 { (case "(($ac_try" in
4767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4768 *) ac_try_echo
=$ac_try;;
4770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771 (eval "$ac_try") 2>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; }; then
4775 gdbsrv_cv_have_td_version
=yes
4777 echo "$as_me: failed program was:" >&5
4778 sed 's/^/| /' conftest.
$ac_ext >&5
4780 gdbsrv_cv_have_td_version
=no
4783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4785 { echo "$as_me:$LINENO: result: $gdbsrv_cv_have_td_version" >&5
4786 echo "${ECHO_T}$gdbsrv_cv_have_td_version" >&6; }
4787 if test $gdbsrv_cv_have_td_version = yes; then
4789 cat >>confdefs.h
<<\_ACEOF
4790 #define HAVE_TD_VERSION 1
4796 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_thread_depfiles"
4797 GDBSERVER_LIBS
="$srv_libs"
4803 ac_config_files
="$ac_config_files Makefile"
4805 ac_config_commands
="$ac_config_commands default"
4807 cat >confcache
<<\_ACEOF
4808 # This file is a shell script that caches the results of configure
4809 # tests run on this system so they can be shared between configure
4810 # scripts and configure runs, see configure's option --config-cache.
4811 # It is not useful on other systems. If it contains results you don't
4812 # want to keep, you may remove or edit it.
4814 # config.status only pays attention to the cache file if you give it
4815 # the --recheck option to rerun configure.
4817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4823 # The following way of writing the cache mishandles newlines in values,
4824 # but we know of no workaround that is simple, portable, and efficient.
4825 # So, we kill variables containing newlines.
4826 # Ultrix sh set writes to stderr and can't be redirected directly,
4827 # and sets the high bit in the cache file unless we assign to the vars.
4829 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4830 eval ac_val
=\$
$ac_var
4834 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4835 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4838 _ | IFS | as_nl
) ;; #(
4839 *) $as_unset $ac_var ;;
4845 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4846 *${as_nl}ac_space
=\
*)
4847 # `set' does not quote correctly, so add quotes (double-quote
4848 # substitution turns \\\\ into \\, and sed turns \\ into \).
4851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4854 # `set' quotes correctly as required by POSIX, so do not add quotes.
4855 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4864 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4866 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4868 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4869 if test -w "$cache_file"; then
4870 test "x$cache_file" != "x/dev/null" &&
4871 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4872 echo "$as_me: updating cache $cache_file" >&6;}
4873 cat confcache
>$cache_file
4875 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4876 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4881 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4882 # Let make expand exec_prefix.
4883 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4885 DEFS
=-DHAVE_CONFIG_H
4889 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4890 # 1. Remove the extension, and $U if already installed.
4891 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4892 ac_i
=`echo "$ac_i" | sed "$ac_script"`
4893 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4894 # will be set to the directory where LIBOBJS objects are built.
4895 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4896 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4900 LTLIBOBJS
=$ac_ltlibobjs
4904 : ${CONFIG_STATUS=./config.status}
4905 ac_clean_files_save
=$ac_clean_files
4906 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4907 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4908 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4909 cat >$CONFIG_STATUS <<_ACEOF
4911 # Generated by $as_me.
4912 # Run this file to recreate the current configuration.
4913 # Compiler output produced by configure, useful for debugging
4914 # configure, is in config.log if it exists.
4919 SHELL=\${CONFIG_SHELL-$SHELL}
4922 cat >>$CONFIG_STATUS <<\_ACEOF
4923 ## --------------------- ##
4924 ## M4sh Initialization. ##
4925 ## --------------------- ##
4927 # Be Bourne compatible
4928 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4931 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4932 # is contrary to our usage. Disable this feature.
4933 alias -g '${1+"$@"}'='"$@"'
4934 setopt NO_GLOB_SUBST
4936 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
4938 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
4939 DUALCASE
=1; export DUALCASE
# for MKS sh
4943 # Avoid depending upon Character Ranges.
4944 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4945 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4946 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4947 as_cr_digits
='0123456789'
4948 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4950 # The user is always right.
4951 if test "${PATH_SEPARATOR+set}" != set; then
4952 echo "#! /bin/sh" >conf$$.sh
4953 echo "exit 0" >>conf$$.sh
4955 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4963 # Support unset when possible.
4964 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4972 # We need space, tab and new line, in precisely that order. Quoting is
4973 # there to prevent editors from complaining about space-tab.
4974 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4975 # splitting by setting IFS to empty value.)
4980 # Find who we are. Look in the path if we contain no directory separator.
4982 *[\\/]* ) as_myself
=$0 ;;
4983 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4987 test -z "$as_dir" && as_dir
=.
4988 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4994 # We did not find ourselves, most probably we were run as `sh COMMAND'
4995 # in which case we are not to be found in the path.
4996 if test "x$as_myself" = x
; then
4999 if test ! -f "$as_myself"; then
5000 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5001 { (exit 1); exit 1; }
5004 # Work around bugs in pre-3.0 UWIN ksh.
5005 for as_var
in ENV MAIL MAILPATH
5006 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5014 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5015 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5016 LC_TELEPHONE LC_TIME
5018 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5019 eval $as_var=C
; export $as_var
5021 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
5025 # Required to use basename.
5026 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5027 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5033 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5034 as_basename
=basename
5040 # Name of the executable.
5041 as_me
=`$as_basename -- "$0" ||
5042 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5043 X"$0" : 'X\(//\)$' \| \
5044 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5046 sed '/^.*\/\([^/][^/]*\)\/*$/{
5067 test "x$as_lineno_1" != "x$as_lineno_2" &&
5068 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
5070 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5071 # uniformly replaced by the line number. The first 'sed' inserts a
5072 # line-number line after each line using $LINENO; the second 'sed'
5073 # does the real work. The second script uses 'N' to pair each
5074 # line-number line with the line containing $LINENO, and appends
5075 # trailing '-' during substitution so that $LINENO is not a special
5077 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5078 # scripts with optimization help from Paolo Bonzini. Blame Lee
5079 # E. McMahon (1931-1989) for sed's syntax. :-)
5091 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5095 chmod +x
"$as_me.lineno" ||
5096 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5097 { (exit 1); exit 1; }; }
5099 # Don't try to exec as it changes $[0], causing all sort of problems
5100 # (the dirname of $[0] is not the place where we might find the
5101 # original and so on. Autoconf is especially sensitive to this).
5103 # Exit status is that of the last command.
5108 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5114 ECHO_C
= ECHO_N
= ECHO_T
=
5117 case `echo 'x\c'` in
5118 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5125 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5126 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5132 rm -f conf$$ conf$$.exe conf$$.
file
5133 if test -d conf$$.dir
; then
5134 rm -f conf$$.dir
/conf$$.
file
5140 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5142 # ... but there are two gotchas:
5143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5145 # In both cases, we have to default to `cp -p'.
5146 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5148 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5153 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5154 rmdir conf$$.dir
2>/dev
/null
5156 if mkdir
-p .
2>/dev
/null
; then
5159 test -d .
/-p && rmdir .
/-p
5163 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
5164 # systems may use methods other than mode bits to determine executability.
5165 cat >conf$$.
file <<_ASEOF
5169 chmod +x conf$$.
file
5170 if test -x conf$$.
file >/dev
/null
2>&1; then
5171 as_executable_p
="test -x"
5177 # Sed expression to map a string onto a valid CPP name.
5178 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5180 # Sed expression to map a string onto a valid variable name.
5181 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5186 # Save the log message, to keep $[0] and so on meaningful, and to
5187 # report actual input values of CONFIG_FILES etc. instead of their
5188 # values after options handling.
5190 This file was extended by $as_me, which was
5191 generated by GNU Autoconf 2.60. Invocation command line was
5193 CONFIG_FILES = $CONFIG_FILES
5194 CONFIG_HEADERS = $CONFIG_HEADERS
5195 CONFIG_LINKS = $CONFIG_LINKS
5196 CONFIG_COMMANDS = $CONFIG_COMMANDS
5199 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5204 cat >>$CONFIG_STATUS <<_ACEOF
5205 # Files that config.status was made for.
5206 config_files="$ac_config_files"
5207 config_headers="$ac_config_headers"
5208 config_commands="$ac_config_commands"
5212 cat >>$CONFIG_STATUS <<\_ACEOF
5214 \`$as_me' instantiates files from templates according to the
5215 current configuration.
5217 Usage: $0 [OPTIONS] [FILE]...
5219 -h, --help print this help, then exit
5220 -V, --version print version number, then exit
5221 -q, --quiet do not print progress messages
5222 -d, --debug don't remove temporary files
5223 --recheck update $as_me by reconfiguring in the same conditions
5224 --file=FILE[:TEMPLATE]
5225 instantiate the configuration file FILE
5226 --header=FILE[:TEMPLATE]
5227 instantiate the configuration header FILE
5229 Configuration files:
5232 Configuration headers:
5235 Configuration commands:
5238 Report bugs to <bug-autoconf@gnu.org>."
5241 cat >>$CONFIG_STATUS <<_ACEOF
5244 configured by $0, generated by GNU Autoconf 2.60,
5245 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5247 Copyright (C) 2006 Free Software Foundation, Inc.
5248 This config.status script is free software; the Free Software Foundation
5249 gives unlimited permission to copy, distribute and modify it."
5256 cat >>$CONFIG_STATUS <<\_ACEOF
5257 # If no file are specified by the user, then we need to provide default
5258 # value. By we need to know if files were specified by the user.
5264 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5265 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5276 # Handling of the options.
5277 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5279 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5280 echo "$ac_cs_version"; exit ;;
5281 --debug |
--debu |
--deb |
--de |
--d |
-d )
5283 --file |
--fil |
--fi |
--f )
5285 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5286 ac_need_defaults
=false
;;
5287 --header |
--heade |
--head |
--hea )
5289 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5290 ac_need_defaults
=false
;;
5292 # Conflict between --help and --header
5293 { echo "$as_me: error: ambiguous option: $1
5294 Try \`$0 --help' for more information." >&2
5295 { (exit 1); exit 1; }; };;
5296 --help |
--hel |
-h )
5297 echo "$ac_cs_usage"; exit ;;
5298 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5299 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5303 -*) { echo "$as_me: error: unrecognized option: $1
5304 Try \`$0 --help' for more information." >&2
5305 { (exit 1); exit 1; }; } ;;
5307 *) ac_config_targets
="$ac_config_targets $1"
5308 ac_need_defaults
=false
;;
5314 ac_configure_extra_args
=
5316 if $ac_cs_silent; then
5318 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5322 cat >>$CONFIG_STATUS <<_ACEOF
5323 if \$ac_cs_recheck; then
5324 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5327 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5331 cat >>$CONFIG_STATUS <<\_ACEOF
5335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5336 ## Running $as_me. ##
5342 cat >>$CONFIG_STATUS <<_ACEOF
5345 cat >>$CONFIG_STATUS <<\_ACEOF
5347 # Handling of arguments.
5348 for ac_config_target
in $ac_config_targets
5350 case $ac_config_target in
5351 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5352 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5353 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5355 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5356 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5357 { (exit 1); exit 1; }; };;
5362 # If the user did not use the arguments to specify the items to instantiate,
5363 # then the envvar interface is used. Set only those that are not.
5364 # We use the long form for the default assignment because of an extremely
5365 # bizarre bug on SunOS 4.1.3.
5366 if $ac_need_defaults; then
5367 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5368 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5369 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5372 # Have a temporary directory for convenience. Make it in the build tree
5373 # simply because there is no reason against having it here, and in addition,
5374 # creating and moving files from /tmp can sometimes cause problems.
5375 # Hook for its removal unless debugging.
5376 # Note that there is a small window in which the directory will not be cleaned:
5377 # after its creation but before its name has been assigned to `$tmp'.
5381 trap 'exit_status=$?
5382 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5384 trap '{ (exit 1); exit 1; }' 1 2 13 15
5386 # Create a (secure) tmp directory for tmp files.
5389 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5390 test -n "$tmp" && test -d "$tmp"
5393 tmp
=.
/conf$$
-$RANDOM
5394 (umask 077 && mkdir
"$tmp")
5397 echo "$me: cannot create a temporary directory in ." >&2
5398 { (exit 1); exit 1; }
5402 # Set up the sed scripts for CONFIG_FILES section.
5405 # No need to generate the scripts if there are no CONFIG_FILES.
5406 # This happens for instance when ./config.status config.h
5407 if test -n "$CONFIG_FILES"; then
5414 for ac_last_try
in false false false false false
:; do
5415 cat >conf$
$subs.
sed <<_ACEOF
5416 SHELL!$SHELL$ac_delim
5417 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5418 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5419 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5420 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5421 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5422 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5423 exec_prefix!$exec_prefix$ac_delim
5424 prefix!$prefix$ac_delim
5425 program_transform_name!$program_transform_name$ac_delim
5426 bindir!$bindir$ac_delim
5427 sbindir!$sbindir$ac_delim
5428 libexecdir!$libexecdir$ac_delim
5429 datarootdir!$datarootdir$ac_delim
5430 datadir!$datadir$ac_delim
5431 sysconfdir!$sysconfdir$ac_delim
5432 sharedstatedir!$sharedstatedir$ac_delim
5433 localstatedir!$localstatedir$ac_delim
5434 includedir!$includedir$ac_delim
5435 oldincludedir!$oldincludedir$ac_delim
5436 docdir!$docdir$ac_delim
5437 infodir!$infodir$ac_delim
5438 htmldir!$htmldir$ac_delim
5439 dvidir!$dvidir$ac_delim
5440 pdfdir!$pdfdir$ac_delim
5441 psdir!$psdir$ac_delim
5442 libdir!$libdir$ac_delim
5443 localedir!$localedir$ac_delim
5444 mandir!$mandir$ac_delim
5446 ECHO_C!$ECHO_C$ac_delim
5447 ECHO_N!$ECHO_N$ac_delim
5448 ECHO_T!$ECHO_T$ac_delim
5450 build_alias!$build_alias$ac_delim
5451 host_alias!$host_alias$ac_delim
5452 target_alias!$target_alias$ac_delim
5454 CFLAGS!$CFLAGS$ac_delim
5455 LDFLAGS!$LDFLAGS$ac_delim
5456 CPPFLAGS!$CPPFLAGS$ac_delim
5457 ac_ct_CC!$ac_ct_CC$ac_delim
5458 EXEEXT!$EXEEXT$ac_delim
5459 OBJEXT!$OBJEXT$ac_delim
5460 build!$build$ac_delim
5461 build_cpu!$build_cpu$ac_delim
5462 build_vendor!$build_vendor$ac_delim
5463 build_os!$build_os$ac_delim
5465 host_cpu!$host_cpu$ac_delim
5466 host_vendor!$host_vendor$ac_delim
5467 host_os!$host_os$ac_delim
5468 target!$target$ac_delim
5469 target_cpu!$target_cpu$ac_delim
5470 target_vendor!$target_vendor$ac_delim
5471 target_os!$target_os$ac_delim
5472 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5473 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5474 INSTALL_DATA!$INSTALL_DATA$ac_delim
5477 EGREP!$EGREP$ac_delim
5478 RDYNAMIC!$RDYNAMIC$ac_delim
5479 GDBSERVER_DEPFILES!$GDBSERVER_DEPFILES$ac_delim
5480 GDBSERVER_LIBS!$GDBSERVER_LIBS$ac_delim
5481 USE_THREAD_DB!$USE_THREAD_DB$ac_delim
5482 LIBOBJS!$LIBOBJS$ac_delim
5483 LTLIBOBJS!$LTLIBOBJS$ac_delim
5486 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 68; then
5488 elif $ac_last_try; then
5489 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5490 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5491 { (exit 1); exit 1; }; }
5493 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5497 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5498 if test -n "$ac_eof"; then
5499 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
5500 ac_eof
=`expr $ac_eof + 1`
5503 cat >>$CONFIG_STATUS <<_ACEOF
5504 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5505 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5508 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5509 s/^/s,@/; s/!/@,|#_!!_#|/
5512 s/'"$ac_delim"'$/,g/; t
5514 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5515 ' >>$CONFIG_STATUS <conf$
$subs.
sed
5516 rm -f conf$
$subs.
sed
5517 cat >>$CONFIG_STATUS <<_ACEOF
5524 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5525 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5526 # trailing colons and then remove the whole line if VPATH becomes empty
5527 # (actually we leave an empty line to preserve line numbers).
5528 if test "x$srcdir" = x.
; then
5529 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5533 s/^\([^=]*=[ ]*\):*/\1/
5539 cat >>$CONFIG_STATUS <<\_ACEOF
5540 fi # test -n "$CONFIG_FILES"
5543 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
5546 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5548 case $ac_mode$ac_tag in
5550 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5551 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5552 { (exit 1); exit 1; }; };;
5553 :[FH
]-) ac_tag
=-:-;;
5554 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5571 -) ac_f
="$tmp/stdin";;
5572 *) # Look for the file first in the build tree, then in the source tree
5573 # (if the path is not absolute). The absolute path cannot be DOS-style,
5574 # because $ac_f cannot contain `:'.
5578 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5580 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5581 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5582 { (exit 1); exit 1; }; };;
5584 ac_file_inputs
="$ac_file_inputs $ac_f"
5587 # Let's still pretend it is `configure' which instantiates (i.e., don't
5588 # use $as_me), people would be surprised to read:
5589 # /* config.h. Generated by config.status. */
5590 configure_input
="Generated from "`IFS=:
5591 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5592 if test x
"$ac_file" != x-
; then
5593 configure_input
="$ac_file. $configure_input"
5594 { echo "$as_me:$LINENO: creating $ac_file" >&5
5595 echo "$as_me: creating $ac_file" >&6;}
5599 *:-:* |
*:-) cat >"$tmp/stdin";;
5604 ac_dir
=`$as_dirname -- "$ac_file" ||
5605 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5606 X"$ac_file" : 'X\(//\)[^/]' \| \
5607 X"$ac_file" : 'X\(//\)$' \| \
5608 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5629 -*) as_dir
=.
/$as_dir;;
5631 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
5635 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5636 *) as_qdir
=$as_dir;;
5638 as_dirs
="'$as_qdir' $as_dirs"
5639 as_dir
=`$as_dirname -- "$as_dir" ||
5640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5641 X"$as_dir" : 'X\(//\)[^/]' \| \
5642 X"$as_dir" : 'X\(//\)$' \| \
5643 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5662 test -d "$as_dir" && break
5664 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5665 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5666 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5667 { (exit 1); exit 1; }; }; }
5671 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5673 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5674 # A ".." for each directory in $ac_dir_suffix.
5675 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5676 case $ac_top_builddir_sub in
5677 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5678 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5681 ac_abs_top_builddir
=$ac_pwd
5682 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5683 # for backward compatibility:
5684 ac_top_builddir
=$ac_top_build_prefix
5687 .
) # We are building in place.
5689 ac_top_srcdir
=$ac_top_builddir_sub
5690 ac_abs_top_srcdir
=$ac_pwd ;;
5691 [\\/]* | ?
:[\\/]* ) # Absolute name.
5692 ac_srcdir
=$srcdir$ac_dir_suffix;
5693 ac_top_srcdir
=$srcdir
5694 ac_abs_top_srcdir
=$srcdir ;;
5696 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5697 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5698 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5700 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5710 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5711 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5715 cat >>$CONFIG_STATUS <<\_ACEOF
5716 # If the template does not know about datarootdir, expand it.
5717 # FIXME: This hack should be removed a few years after 2.60.
5718 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5720 case `sed -n '/datarootdir/ {
5729 ' $ac_file_inputs` in
5730 *datarootdir
*) ac_datarootdir_seen
=yes;;
5731 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5732 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5733 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5735 cat >>$CONFIG_STATUS <<_ACEOF
5736 ac_datarootdir_hack='
5737 s&@datadir@&$datadir&g
5738 s&@docdir@&$docdir&g
5739 s&@infodir@&$infodir&g
5740 s&@localedir@&$localedir&g
5741 s&@mandir@&$mandir&g
5742 s&\\\${datarootdir}&$datarootdir&g' ;;
5746 # Neutralize VPATH when `$srcdir' = `.'.
5747 # Shell code in configure.ac might set extrasub.
5748 # FIXME: do we really want to maintain this feature?
5749 cat >>$CONFIG_STATUS <<_ACEOF
5753 cat >>$CONFIG_STATUS <<\_ACEOF
5755 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5756 s
&@configure_input@
&$configure_input&;t t
5757 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5758 s
&@srcdir@
&$ac_srcdir&;t t
5759 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5760 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5761 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5762 s
&@builddir@
&$ac_builddir&;t t
5763 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5764 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5765 s
&@INSTALL@
&$ac_INSTALL&;t t
5766 $ac_datarootdir_hack
5767 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
5769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5770 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5771 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5772 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5773 which seems to be undefined. Please make sure it is defined." >&5
5774 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5775 which seems to be undefined. Please make sure it is defined." >&2;}
5779 -) cat "$tmp/out"; rm -f "$tmp/out";;
5780 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5789 # Transform confdefs.h into a sed script `conftest.defines', that
5790 # substitutes the proper values into config.h.in to produce config.h.
5791 rm -f conftest.defines conftest.
tail
5792 # First, append a space to every undef/define line, to ease matching.
5793 echo 's/$/ /' >conftest.defines
5794 # Then, protect against being on the right side of a sed subst, or in
5795 # an unquoted here document, in config.status. If some macros were
5796 # called several times there might be several #defines for the same
5797 # symbol, which is useless. But do not sort them, since the last
5798 # AC_DEFINE must be honored.
5799 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
5800 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5801 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5802 # PARAMS is the parameter list in the macro definition--in most cases, it's
5803 # just an empty string.
5804 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5805 ac_dB
='\\)[ (].*,\\1define\\2'
5813 s/^[ ]*#[ ]*define[ ][ ]*//
5818 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5819 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5820 ' >>conftest.defines
5822 # Remove the space that was appended to ease matching.
5823 # Then replace #undef with comments. This is necessary, for
5824 # example, in the case of _POSIX_SOURCE, which is predefined and required
5825 # on some systems where configure will not decide to define it.
5826 # (The regexp can be short, since the line contains either #define or #undef.)
5828 s,^[ #]*u.*,/* & */,' >>conftest.defines
5830 # Break up conftest.defines:
5833 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5834 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5835 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5837 ac_in
='$ac_file_inputs'
5838 ac_out
='"$tmp/out1"'
5839 ac_nxt
='"$tmp/out2"'
5843 # Write a here document:
5844 cat >>$CONFIG_STATUS <<_ACEOF
5845 # First, check the format of the line:
5846 cat >"\$tmp/defines.sed" <<\\CEOF
5847 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5848 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5852 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
5854 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5855 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
5856 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
5857 grep . conftest.
tail >/dev
/null ||
break
5858 rm -f conftest.defines
5859 mv conftest.
tail conftest.defines
5861 rm -f conftest.defines conftest.
tail
5863 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5864 cat >>$CONFIG_STATUS <<\_ACEOF
5865 if test x
"$ac_file" != x-
; then
5866 echo "/* $configure_input */" >"$tmp/config.h"
5867 cat "$ac_result" >>"$tmp/config.h"
5868 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
5869 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5870 echo "$as_me: $ac_file is unchanged" >&6;}
5873 mv "$tmp/config.h" $ac_file
5876 echo "/* $configure_input */"
5882 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5883 echo "$as_me: executing $ac_file commands" >&6;}
5888 case $ac_file$ac_mode in
5889 "default":C
) case x
$CONFIG_HEADERS in
5890 xconfig.h
:config.
in)
5899 { (exit 0); exit 0; }
5901 chmod +x
$CONFIG_STATUS
5902 ac_clean_files
=$ac_clean_files_save
5905 # configure is writing to config.log, and then calls config.status.
5906 # config.status does its own redirection, appending to config.log.
5907 # Unfortunately, on DOS this fails, as config.log is still kept open
5908 # by configure, so config.status won't be able to write to it; its
5909 # output is simply discarded. So we exec the FD to /dev/null,
5910 # effectively closing config.log, so it can be properly (re)opened and
5911 # appended to by config.status. When coming back to configure, we
5912 # need to make the FD available again.
5913 if test "$no_create" != yes; then
5915 ac_config_status_args
=
5916 test "$silent" = yes &&
5917 ac_config_status_args
="$ac_config_status_args --quiet"
5919 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5921 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5922 # would make configure fail if this is the last instruction.
5923 $ac_cs_success ||
{ (exit 1); exit 1; }