2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="server.c"
555 ac_config_libobj_dir
=..
/gnulib
556 # Factoring default headers for most tests.
557 ac_includes_default
="\
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
569 # ifdef HAVE_STDLIB_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
592 ac_subst_vars
='LTLIBOBJS
655 program_transform_name
668 enable_option_checking
672 ac_precious_vars
='build_alias
683 # Initialize some variables set by options.
685 ac_init_version
=false
686 ac_unrecognized_opts
=
688 # The variables have the same names as the options, with
689 # dashes changed to underlines.
697 program_transform_name
=s
,x
,x
,
705 # Installation directory options.
706 # These are left unexpanded so users can "make install exec_prefix=/foo"
707 # and all the variables that are supposed to be based on exec_prefix
708 # by default will actually change.
709 # Use braces instead of parens because sh, perl, etc. also accept them.
710 # (The list follows the same order as the GNU Coding Standards.)
711 bindir
='${exec_prefix}/bin'
712 sbindir
='${exec_prefix}/sbin'
713 libexecdir
='${exec_prefix}/libexec'
714 datarootdir
='${prefix}/share'
715 datadir
='${datarootdir}'
716 sysconfdir
='${prefix}/etc'
717 sharedstatedir
='${prefix}/com'
718 localstatedir
='${prefix}/var'
719 includedir
='${prefix}/include'
720 oldincludedir
='/usr/include'
721 docdir
='${datarootdir}/doc/${PACKAGE}'
722 infodir
='${datarootdir}/info'
727 libdir
='${exec_prefix}/lib'
728 localedir
='${datarootdir}/locale'
729 mandir
='${datarootdir}/man'
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\
$ac_option
743 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 # Accept the important Cygnus configure options, so we can diagnose typos.
749 case $ac_dashdash$ac_option in
753 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
755 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
758 -build |
--build |
--buil |
--bui |
--bu)
759 ac_prev
=build_alias
;;
760 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
761 build_alias
=$ac_optarg ;;
763 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
764 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
765 ac_prev
=cache_file
;;
766 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
767 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
768 cache_file
=$ac_optarg ;;
771 cache_file
=config.cache
;;
773 -datadir |
--datadir |
--datadi |
--datad)
775 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
776 datadir
=$ac_optarg ;;
778 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
779 |
--dataroo |
--dataro |
--datar)
780 ac_prev
=datarootdir
;;
781 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
782 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
783 datarootdir
=$ac_optarg ;;
785 -disable-* |
--disable-*)
786 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
789 as_fn_error
"invalid feature name: $ac_useropt"
790 ac_useropt_orig
=$ac_useropt
791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792 case $ac_user_opts in
796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797 ac_unrecognized_sep
=', ';;
799 eval enable_
$ac_useropt=no
;;
801 -docdir |
--docdir |
--docdi |
--doc |
--do)
803 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
806 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
808 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
811 -enable-* |
--enable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=\
$ac_optarg ;;
827 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
828 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
829 |
--exec |
--exe |
--ex)
830 ac_prev
=exec_prefix
;;
831 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
832 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
833 |
--exec=* |
--exe=* |
--ex=*)
834 exec_prefix
=$ac_optarg ;;
836 -gas |
--gas |
--ga |
--g)
837 # Obsolete; use --with-gas.
840 -help |
--help |
--hel |
--he |
-h)
842 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
843 ac_init_help
=recursive
;;
844 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
845 ac_init_help
=short
;;
847 -host |
--host |
--hos |
--ho)
848 ac_prev
=host_alias
;;
849 -host=* |
--host=* |
--hos=* |
--ho=*)
850 host_alias
=$ac_optarg ;;
852 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
854 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
856 htmldir
=$ac_optarg ;;
858 -includedir |
--includedir |
--includedi |
--included |
--include \
859 |
--includ |
--inclu |
--incl |
--inc)
860 ac_prev
=includedir
;;
861 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
862 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
863 includedir
=$ac_optarg ;;
865 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
867 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
868 infodir
=$ac_optarg ;;
870 -libdir |
--libdir |
--libdi |
--libd)
872 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
875 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
876 |
--libexe |
--libex |
--libe)
877 ac_prev
=libexecdir
;;
878 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
879 |
--libexe=* |
--libex=* |
--libe=*)
880 libexecdir
=$ac_optarg ;;
882 -localedir |
--localedir |
--localedi |
--localed |
--locale)
884 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
885 localedir
=$ac_optarg ;;
887 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
888 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
889 ac_prev
=localstatedir
;;
890 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
891 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
892 localstatedir
=$ac_optarg ;;
894 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
896 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
900 # Obsolete; use --without-fp.
903 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
904 |
--no-cr |
--no-c |
-n)
907 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
908 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
911 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
912 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
913 |
--oldin |
--oldi |
--old |
--ol |
--o)
914 ac_prev
=oldincludedir
;;
915 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
916 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
917 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
918 oldincludedir
=$ac_optarg ;;
920 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
922 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
925 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
926 |
--program-pre |
--program-pr |
--program-p)
927 ac_prev
=program_prefix
;;
928 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
929 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
930 program_prefix
=$ac_optarg ;;
932 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
933 |
--program-suf |
--program-su |
--program-s)
934 ac_prev
=program_suffix
;;
935 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
936 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
937 program_suffix
=$ac_optarg ;;
939 -program-transform-name |
--program-transform-name \
940 |
--program-transform-nam |
--program-transform-na \
941 |
--program-transform-n |
--program-transform- \
942 |
--program-transform |
--program-transfor \
943 |
--program-transfo |
--program-transf \
944 |
--program-trans |
--program-tran \
945 |
--progr-tra |
--program-tr |
--program-t)
946 ac_prev
=program_transform_name
;;
947 -program-transform-name=* |
--program-transform-name=* \
948 |
--program-transform-nam=* |
--program-transform-na=* \
949 |
--program-transform-n=* |
--program-transform-=* \
950 |
--program-transform=* |
--program-transfor=* \
951 |
--program-transfo=* |
--program-transf=* \
952 |
--program-trans=* |
--program-tran=* \
953 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
954 program_transform_name
=$ac_optarg ;;
956 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
958 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
961 -psdir |
--psdir |
--psdi |
--psd |
--ps)
963 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
966 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
967 |
-silent |
--silent |
--silen |
--sile |
--sil)
970 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
972 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
974 sbindir
=$ac_optarg ;;
976 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
977 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
978 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
980 ac_prev
=sharedstatedir
;;
981 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
982 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
983 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
985 sharedstatedir
=$ac_optarg ;;
987 -site |
--site |
--sit)
989 -site=* |
--site=* |
--sit=*)
992 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
994 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
997 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
998 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
999 ac_prev
=sysconfdir
;;
1000 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1001 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1002 sysconfdir
=$ac_optarg ;;
1004 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1005 ac_prev
=target_alias
;;
1006 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1007 target_alias
=$ac_optarg ;;
1009 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1012 -version |
--version |
--versio |
--versi |
--vers |
-V)
1013 ac_init_version
=: ;;
1016 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1019 as_fn_error
"invalid package name: $ac_useropt"
1020 ac_useropt_orig
=$ac_useropt
1021 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1026 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep
=', ';;
1029 eval with_
$ac_useropt=\
$ac_optarg ;;
1031 -without-* |
--without-*)
1032 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1035 as_fn_error
"invalid package name: $ac_useropt"
1036 ac_useropt_orig
=$ac_useropt
1037 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1042 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043 ac_unrecognized_sep
=', ';;
1045 eval with_
$ac_useropt=no
;;
1048 # Obsolete; use --with-x.
1051 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1052 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1053 ac_prev
=x_includes
;;
1054 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1055 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1056 x_includes
=$ac_optarg ;;
1058 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1059 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1060 ac_prev
=x_libraries
;;
1061 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1062 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1063 x_libraries
=$ac_optarg ;;
1065 -*) as_fn_error
"unrecognized option: \`$ac_option'
1066 Try \`$0 --help' for more information."
1070 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 case $ac_envvar in #(
1073 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1074 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1076 eval $ac_envvar=\
$ac_optarg
1077 export $ac_envvar ;;
1080 # FIXME: should be removed in autoconf 3.0.
1081 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1090 if test -n "$ac_prev"; then
1091 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1092 as_fn_error
"missing argument to $ac_option"
1095 if test -n "$ac_unrecognized_opts"; then
1096 case $enable_option_checking in
1098 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1099 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 # Check all directory arguments for consistency.
1104 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105 datadir sysconfdir sharedstatedir localstatedir includedir \
1106 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107 libdir localedir mandir
1109 eval ac_val
=\$
$ac_var
1110 # Remove trailing slashes.
1113 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114 eval $ac_var=\
$ac_val;;
1116 # Be sure to have absolute directory names.
1118 [\\/$
]* | ?
:[\\/]* ) continue;;
1119 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1121 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1124 # There might be people who depend on the old broken behavior: `$host'
1125 # used to hold the argument of --host etc.
1126 # FIXME: To remove some day.
1129 target
=$target_alias
1131 # FIXME: To remove some day.
1132 if test "x$host_alias" != x
; then
1133 if test "x$build_alias" = x
; then
1134 cross_compiling
=maybe
1135 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1136 If a cross compiler is detected then cross compile mode will be used." >&2
1137 elif test "x$build_alias" != "x$host_alias"; then
1143 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1145 test "$silent" = yes && exec 6>/dev
/null
1148 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di
=`ls -di .` &&
1150 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error
"working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error
"pwd does not report name of working directory"
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted
=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir
=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1188 ac_srcdir_defaulted
=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1192 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1194 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1206 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208 for ac_var
in $ac_precious_vars; do
1209 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1211 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1216 # Report the --help message.
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1222 \`configure' configures this package to adapt to many kinds of systems.
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1229 Defaults for the options are specified in brackets.
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1253 For better control, use the options below.
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --program-prefix=PREFIX prepend PREFIX to installed program names
1281 --program-suffix=SUFFIX append SUFFIX to installed program names
1282 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1285 --build=BUILD configure
for building on BUILD
[guessed
]
1286 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1287 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1291 if test -n "$ac_init_help"; then
1296 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1297 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1298 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1299 --with-bugurl=URL Direct users to URL to report a bug
1301 Some influential environment variables
:
1302 CC C compiler
command
1303 CFLAGS C compiler flags
1304 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1305 nonstandard directory
<lib dir
>
1306 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1307 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1308 you have headers
in a nonstandard directory
<include dir
>
1311 Use these variables to override the choices made by
`configure' or to help
1312 it to find libraries and programs with nonstandard names/locations.
1314 Report bugs to the package provider.
1319 if test "$ac_init_help" = "recursive"; then
1320 # If there are subdirs, report their specific --help.
1321 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1322 test -d "$ac_dir" ||
1323 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1328 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1331 # A ".." for each directory in $ac_dir_suffix.
1332 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1333 case $ac_top_builddir_sub in
1334 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 ac_abs_top_builddir=$ac_pwd
1339 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1340 # for backward compatibility:
1341 ac_top_builddir=$ac_top_build_prefix
1344 .) # We are building in place.
1346 ac_top_srcdir=$ac_top_builddir_sub
1347 ac_abs_top_srcdir=$ac_pwd ;;
1348 [\\/]* | ?:[\\/]* ) # Absolute name.
1349 ac_srcdir=$srcdir$ac_dir_suffix;
1350 ac_top_srcdir=$srcdir
1351 ac_abs_top_srcdir=$srcdir ;;
1353 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1354 ac_top_srcdir=$ac_top_build_prefix$srcdir
1355 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1357 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1359 cd "$ac_dir" || { ac_status=$?; continue; }
1360 # Check for guested configure.
1361 if test -f "$ac_srcdir/configure.gnu"; then
1363 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1364 elif test -f "$ac_srcdir/configure"; then
1366 $SHELL "$ac_srcdir/configure" --help=recursive
1368 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1370 cd "$ac_pwd" || { ac_status=$?; break; }
1374 test -n "$ac_init_help" && exit $ac_status
1375 if $ac_init_version; then
1378 generated by GNU Autoconf 2.64
1380 Copyright (C) 2009 Free Software Foundation, Inc.
1381 This configure script is free software; the Free Software Foundation
1382 gives unlimited permission to copy, distribute and modify it.
1387 ## ------------------------ ##
1388 ## Autoconf initialization. ##
1389 ## ------------------------ ##
1391 # ac_fn_c_try_compile LINENO
1392 # --------------------------
1393 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1394 ac_fn_c_try_compile ()
1396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1397 rm -f conftest.$ac_objext
1398 if { { ac_try="$ac_compile"
1400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1401 *) ac_try_echo
=$ac_try;;
1403 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1404 $as_echo "$ac_try_echo"; } >&5
1405 (eval "$ac_compile") 2>conftest.err
1407 if test -s conftest.err
; then
1408 grep -v '^ *+' conftest.err
>conftest.er1
1409 cat conftest.er1
>&5
1410 mv -f conftest.er1 conftest.err
1412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1413 test $ac_status = 0; } && {
1414 test -z "$ac_c_werror_flag" ||
1415 test ! -s conftest.err
1416 } && test -s conftest.
$ac_objext; then :
1419 $as_echo "$as_me: failed program was:" >&5
1420 sed 's/^/| /' conftest.
$ac_ext >&5
1424 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1427 } # ac_fn_c_try_compile
1429 # ac_fn_c_try_cpp LINENO
1430 # ----------------------
1431 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1434 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1435 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 $as_echo "$ac_try_echo"; } >&5
1442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } >/dev/null && {
1451 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1456 $as_echo "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1466 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1467 # -------------------------------------------------------
1468 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1469 # the include files in INCLUDES and setting the cache variable VAR
1471 ac_fn_c_check_header_mongrel ()
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1476 $as_echo_n "checking for $2... " >&6; }
1477 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1478 $as_echo_n "(cached) " >&6
1481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1482 $as_echo "$ac_res" >&6; }
1484 # Is the header compilable?
1485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1486 $as_echo_n "checking $2 usability... " >&6; }
1487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1488 /* end confdefs.h. */
1492 if ac_fn_c_try_compile "$LINENO"; then :
1493 ac_header_compiler=yes
1495 ac_header_compiler=no
1497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1499 $as_echo "$ac_header_compiler" >&6; }
1501 # Is the header present?
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1503 $as_echo_n "checking $2 presence... " >&6; }
1504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1505 /* end confdefs.h. */
1508 if ac_fn_c_try_cpp "$LINENO"; then :
1509 ac_header_preproc=yes
1511 ac_header_preproc=no
1513 rm -f conftest.err conftest.$ac_ext
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1515 $as_echo "$ac_header_preproc" >&6; }
1517 # So? What about this header?
1518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1521 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1527 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1529 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1531 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1533 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1535 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1539 $as_echo_n "checking for $2... " >&6; }
1540 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1541 $as_echo_n "(cached) " >&6
1543 eval "$3=\$ac_header_compiler"
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1547 $as_echo "$ac_res" >&6; }
1549 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1551 } # ac_fn_c_check_header_mongrel
1553 # ac_fn_c_try_run LINENO
1554 # ----------------------
1555 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1556 # that executables *can* be run.
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { { ac_try="$ac_link"
1562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1563 *) ac_try_echo
=$ac_try;;
1565 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_link") 2>&5
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1571 { { case "(($ac_try" in
1572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_try") 2>&5
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; }; }; then :
1583 $as_echo "$as_me: program exited with status $ac_status" >&5
1584 $as_echo "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.$ac_ext >&5
1587 ac_retval=$ac_status
1589 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1590 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1595 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1596 # -------------------------------------------------------
1597 # Tests whether HEADER exists and can be compiled using the include files in
1598 # INCLUDES, setting the cache variable VAR accordingly.
1599 ac_fn_c_check_header_compile ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1603 $as_echo_n "checking for $2... " >&6; }
1604 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1605 $as_echo_n "(cached) " >&6
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1612 if ac_fn_c_try_compile "$LINENO"; then :
1617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624 } # ac_fn_c_check_header_compile
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext conftest$ac_exeext
1633 if { { ac_try="$ac_link"
1635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1636 *) ac_try_echo
=$ac_try;;
1638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_link") 2>conftest.err
1642 if test -s conftest.err
; then
1643 grep -v '^ *+' conftest.err
>conftest.er1
1644 cat conftest.er1
>&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest
$ac_exeext && {
1652 test "$cross_compiling" = yes ||
1653 $as_test_x conftest
$ac_exeext
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.
$ac_ext >&5
1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1664 # interfere with the next link command; also delete a directory that is
1665 # left behind by Apple's compiler. We do this before executing the actions.
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1670 } # ac_fn_c_try_link
1672 # ac_fn_c_check_func LINENO FUNC VAR
1673 # ----------------------------------
1674 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1675 ac_fn_c_check_func
()
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1681 $as_echo_n "(cached) " >&6
1683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1687 #define $2 innocuous_$2
1689 /* System header to define __stub macros and hopefully few prototypes,
1690 which can conflict with char $2 (); below.
1691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1692 <limits.h> exists even on freestanding compilers. */
1695 # include <limits.h>
1697 # include <assert.h>
1702 /* Override any GCC internal prototype to avoid an error.
1703 Use char because int might match the return type of a GCC
1704 builtin and then its argument prototype would still apply. */
1709 /* The GNU C library defines this for functions which it implements
1710 to always fail with ENOSYS. Some functions are actually named
1711 something starting with __ and the normal name is an alias. */
1712 #if defined __stub_$2 || defined __stub___$2
1724 if ac_fn_c_try_link
"$LINENO"; then :
1729 rm -f core conftest.err conftest.
$ac_objext \
1730 conftest
$ac_exeext conftest.
$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1737 } # ac_fn_c_check_func
1739 # ac_fn_c_check_decl LINENO SYMBOL VAR
1740 # ------------------------------------
1741 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1742 ac_fn_c_check_decl
()
1744 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1746 $as_echo_n "checking whether $2 is declared... " >&6; }
1747 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748 $as_echo_n "(cached) " >&6
1750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1764 if ac_fn_c_try_compile
"$LINENO"; then :
1769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1776 } # ac_fn_c_check_decl
1778 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1779 # -------------------------------------------
1780 # Tests whether TYPE exists after having included INCLUDES, setting cache
1781 # variable VAR accordingly.
1782 ac_fn_c_check_type
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1803 if ac_fn_c_try_compile
"$LINENO"; then :
1804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1816 if ac_fn_c_try_compile
"$LINENO"; then :
1821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1830 } # ac_fn_c_check_type
1831 cat >config.log
<<_ACEOF
1832 This file contains any messages produced by compilers while
1833 running configure, to aid debugging if configure makes a mistake.
1835 It was created by $as_me, which was
1836 generated by GNU Autoconf 2.64. Invocation command line was
1848 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1849 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1850 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1851 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1852 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1854 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1855 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1857 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1858 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1859 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1860 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1861 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1862 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1863 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir
=.
1872 $as_echo "PATH: $as_dir"
1888 # Keep a trace of the command line.
1889 # Strip out --no-create and --no-recursion so they do not pile up.
1890 # Strip out --silent because we don't want to record it for future runs.
1891 # Also quote any args containing shell meta-characters.
1892 # Make two passes to allow for proper duplicate-argument suppression.
1896 ac_must_keep_next
=false
1902 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1903 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1904 |
-silent |
--silent |
--silen |
--sile |
--sil)
1907 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1910 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1912 as_fn_append ac_configure_args1
" '$ac_arg'"
1913 if test $ac_must_keep_next = true
; then
1914 ac_must_keep_next
=false
# Got value, back to normal.
1917 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1918 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1919 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1920 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1921 case "$ac_configure_args0 " in
1922 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1925 -* ) ac_must_keep_next
=true
;;
1928 as_fn_append ac_configure_args
" '$ac_arg'"
1933 { ac_configure_args0
=; unset ac_configure_args0
;}
1934 { ac_configure_args1
=; unset ac_configure_args1
;}
1936 # When interrupted or exit'd, cleanup temporary files, and complete
1937 # config.log. We remove comments because anyway the quotes in there
1938 # would cause problems or look ugly.
1939 # WARNING: Use '\'' to represent an apostrophe within the trap.
1940 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1941 trap 'exit_status=$?
1942 # Save into config.log some information that might help in debugging.
1947 ## ---------------- ##
1948 ## Cache variables. ##
1949 ## ---------------- ##
1952 # The following way of writing the cache mishandles newlines in values,
1954 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1955 eval ac_val=\$$ac_var
1959 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1963 _ | IFS | as_nl) ;; #(
1964 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1965 *) { eval $ac_var=; unset $ac_var;} ;;
1970 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1971 *${as_nl}ac_space=\ *)
1973 "s/'\''/'\''\\\\'\'''\''/g;
1974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985 ## ----------------- ##
1986 ## Output variables. ##
1987 ## ----------------- ##
1990 for ac_var in $ac_subst_vars
1992 eval ac_val=\$$ac_var
1994 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1996 $as_echo "$ac_var='\''$ac_val'\''"
2000 if test -n "$ac_subst_files"; then
2002 ## ------------------- ##
2003 ## File substitutions. ##
2004 ## ------------------- ##
2007 for ac_var
in $ac_subst_files
2009 eval ac_val
=\$
$ac_var
2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2013 $as_echo "$ac_var='\''$ac_val'\''"
2018 if test -s confdefs.h; then
2028 test "$ac_signal" != 0 &&
2029 $as_echo "$as_me: caught signal $ac_signal"
2030 $as_echo "$as_me: exit $exit_status"
2032 rm -f core *.core core.conftest.* &&
2033 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2036 for ac_signal
in 1 2 13 15; do
2037 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2041 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2042 rm -f -r conftest
* confdefs.h
2044 $as_echo "/* confdefs.h */" > confdefs.h
2046 # Predefined preprocessor variables.
2048 cat >>confdefs.h
<<_ACEOF
2049 #define PACKAGE_NAME "$PACKAGE_NAME"
2052 cat >>confdefs.h
<<_ACEOF
2053 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2056 cat >>confdefs.h
<<_ACEOF
2057 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2060 cat >>confdefs.h
<<_ACEOF
2061 #define PACKAGE_STRING "$PACKAGE_STRING"
2064 cat >>confdefs.h
<<_ACEOF
2065 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2068 cat >>confdefs.h
<<_ACEOF
2069 #define PACKAGE_URL "$PACKAGE_URL"
2073 # Let the site file select an alternate cache file if it wants to.
2074 # Prefer an explicitly selected file to automatically selected ones.
2077 if test -n "$CONFIG_SITE"; then
2078 ac_site_file1
=$CONFIG_SITE
2079 elif test "x$prefix" != xNONE
; then
2080 ac_site_file1
=$prefix/share
/config.site
2081 ac_site_file2
=$prefix/etc
/config.site
2083 ac_site_file1
=$ac_default_prefix/share
/config.site
2084 ac_site_file2
=$ac_default_prefix/etc
/config.site
2086 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2088 test "x$ac_site_file" = xNONE
&& continue
2089 if test -r "$ac_site_file"; then
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2091 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2092 sed 's/^/| /' "$ac_site_file" >&5
2097 if test -r "$cache_file"; then
2098 # Some versions of bash will fail to source /dev/null (special
2099 # files actually), so we avoid doing that.
2100 if test -f "$cache_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2104 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2105 *) .
"./$cache_file";;
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2114 # Check that the precious variables saved in the cache have kept the same
2116 ac_cache_corrupted
=false
2117 for ac_var
in $ac_precious_vars; do
2118 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2119 eval ac_new_set
=\
$ac_env_${ac_var}_set
2120 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2121 eval ac_new_val
=\
$ac_env_${ac_var}_value
2122 case $ac_old_set,$ac_new_set in
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126 ac_cache_corrupted
=: ;;
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130 ac_cache_corrupted
=: ;;
2133 if test "x$ac_old_val" != "x$ac_new_val"; then
2134 # differences in whitespace do not lead to failure.
2135 ac_old_val_w
=`echo x $ac_old_val`
2136 ac_new_val_w
=`echo x $ac_new_val`
2137 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140 ac_cache_corrupted
=:
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144 eval $ac_var=\
$ac_old_val
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2147 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2152 # Pass precious variables to config.status.
2153 if test "$ac_new_set" = set; then
2155 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156 *) ac_arg
=$ac_var=$ac_new_val ;;
2158 case " $ac_configure_args " in
2159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2160 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2164 if $ac_cache_corrupted; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2176 ac_cpp
='$CPP $CPPFLAGS'
2177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2185 ac_config_headers
="$ac_config_headers config.h:config.in"
2190 ac_cpp
='$CPP $CPPFLAGS'
2191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2196 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2198 $as_echo_n "checking for $ac_word... " >&6; }
2199 if test "${ac_cv_prog_CC+set}" = set; then :
2200 $as_echo_n "(cached) " >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC
="$CC" # Let the user override the test.
2205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir
=.
2210 for ac_exec_ext
in '' $ac_executable_extensions; do
2211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 if test -n "$CC"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2225 $as_echo "$CC" >&6; }
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2228 $as_echo "no" >&6; }
2233 if test -z "$ac_cv_prog_CC"; then
2235 # Extract the first word of "gcc", so it can be a program name with args.
2236 set dummy gcc
; ac_word
=$2
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2240 $as_echo_n "(cached) " >&6
2242 if test -n "$ac_ct_CC"; then
2243 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir
=.
2250 for ac_exec_ext
in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_ac_ct_CC
="gcc"
2253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2263 if test -n "$ac_ct_CC"; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2265 $as_echo "$ac_ct_CC" >&6; }
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2271 if test "x$ac_ct_CC" = x
; then
2274 case $cross_compiling:$ac_tool_warned in
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2278 ac_tool_warned
=yes ;;
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2289 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC
="$CC" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2327 if test -z "$CC"; then
2328 # Extract the first word of "cc", so it can be a program name with args.
2329 set dummy cc
; ac_word
=$2
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if test "${ac_cv_prog_CC+set}" = set; then :
2333 $as_echo_n "(cached) " >&6
2335 if test -n "$CC"; then
2336 ac_cv_prog_CC
="$CC" # Let the user override the test.
2339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir
=.
2344 for ac_exec_ext
in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2347 ac_prog_rejected
=yes
2351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test $ac_prog_rejected = yes; then
2359 # We found a bogon in the path, so make sure we never use it.
2360 set dummy
$ac_cv_prog_CC
2362 if test $# != 0; then
2363 # We chose a different compiler from the bogus one.
2364 # However, it has the same basename, so the bogon will be chosen
2365 # first if we set CC to just the basename; use the full file name.
2367 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378 $as_echo "no" >&6; }
2383 if test -z "$CC"; then
2384 if test -n "$ac_tool_prefix"; then
2385 for ac_prog
in cl.exe
2387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2388 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2390 $as_echo_n "checking for $ac_word... " >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then :
2392 $as_echo_n "(cached) " >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC
="$CC" # Let the user override the test.
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 for ac_exec_ext
in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2417 $as_echo "$CC" >&6; }
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2420 $as_echo "no" >&6; }
2424 test -n "$CC" && break
2427 if test -z "$CC"; then
2429 for ac_prog
in cl.exe
2431 # Extract the first word of "$ac_prog", so it can be a program name with args.
2432 set dummy
$ac_prog; ac_word
=$2
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2434 $as_echo_n "checking for $ac_word... " >&6; }
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2436 $as_echo_n "(cached) " >&6
2438 if test -n "$ac_ct_CC"; then
2439 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir
=.
2446 for ac_exec_ext
in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_CC
="$ac_prog"
2449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2459 if test -n "$ac_ct_CC"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2461 $as_echo "$ac_ct_CC" >&6; }
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2464 $as_echo "no" >&6; }
2468 test -n "$ac_ct_CC" && break
2471 if test "x$ac_ct_CC" = x
; then
2474 case $cross_compiling:$ac_tool_warned in
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2478 ac_tool_warned
=yes ;;
2487 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 as_fn_error
"no acceptable C compiler found in \$PATH
2490 See \`config.log' for more details." "$LINENO" 5; }
2492 # Provide some information about the compiler.
2493 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2496 for ac_option
in --version -v -V -qversion; do
2497 { { ac_try
="$ac_compiler $ac_option >&5"
2499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2506 if test -s conftest.err; then
2508 ... rest of stderr output deleted ...
2509 10q' conftest.err >conftest.er1
2510 cat conftest.er1 >&5
2511 rm -f conftest.er1 conftest.err
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; }
2517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 /* end confdefs.h. */
2528 ac_clean_files_save=$ac_clean_files
2529 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2530 # Try to create an executable without -o first, disregard a.out.
2531 # It will help us diagnose broken compilers, and finding out an intuition
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2534 $as_echo_n "checking for C compiler default output file name... " >&6; }
2535 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2537 # The possible output files:
2538 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2541 for ac_file in $ac_files
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2545 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2550 if { { ac_try="$ac_link_default"
2552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2553 *) ac_try_echo
=$ac_try;;
2555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link_default") 2>&5
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }; then :
2561 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2562 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2563 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2564 # so that the user can short-circuit this test for compilers unknown to
2566 for ac_file
in $ac_files ''
2568 test -f "$ac_file" ||
continue
2570 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2573 # We found the default executable, but exeext='' is most
2577 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2579 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2581 # We set ac_cv_exeext here because the later test for it is not
2582 # safe: cross compilers may not add the suffix if given an `-o'
2583 # argument, so we may need to know it at that point already.
2584 # Even if this section looks crufty: it has the advantage of
2591 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2597 $as_echo "$ac_file" >&6; }
2598 if test -z "$ac_file"; then :
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 { as_fn_set_status
77
2605 as_fn_error
"C compiler cannot create executables
2606 See \`config.log' for more details." "$LINENO" 5; }; }
2608 ac_exeext
=$ac_cv_exeext
2610 # Check that the compiler produces executables we can run. If not, either
2611 # the compiler is broken, or we cross compile.
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2613 $as_echo_n "checking whether the C compiler works... " >&6; }
2614 # If not cross compiling, check that we can run a simple program.
2615 if test "$cross_compiling" != yes; then
2616 if { ac_try
='./$ac_file'
2617 { { case "(($ac_try" in
2618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_try") 2>&5
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; }; }; then
2629 if test "$cross_compiling" = maybe; then
2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634 as_fn_error "cannot run C compiled programs.
2635 If you meant to cross compile
, use \
`--host'.
2636 See \`config.log
' for more details." "$LINENO" 5; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641 $as_echo "yes" >&6; }
2643 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2644 ac_clean_files=$ac_clean_files_save
2645 # Check that the compiler produces executables we can run. If not, either
2646 # the compiler is broken, or we cross compile.
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2648 $as_echo_n "checking whether we are cross compiling... " >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2650 $as_echo "$cross_compiling" >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2653 $as_echo_n "checking for suffix of executables... " >&6; }
2654 if { { ac_try="$ac_link"
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2660 $as_echo "$ac_try_echo"; } >&5
2661 (eval "$ac_link") 2>&5
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; }; then :
2665 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2666 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2667 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2669 for ac_file
in conftest.exe conftest conftest.
*; do
2670 test -f "$ac_file" ||
continue
2672 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2673 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2681 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2682 See \`config.log' for more details." "$LINENO" 5; }
2684 rm -f conftest
$ac_cv_exeext
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2686 $as_echo "$ac_cv_exeext" >&6; }
2688 rm -f conftest.
$ac_ext
2689 EXEEXT
=$ac_cv_exeext
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2692 $as_echo_n "checking for suffix of object files... " >&6; }
2693 if test "${ac_cv_objext+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2697 /* end confdefs.h. */
2707 rm -f conftest.o conftest.obj
2708 if { { ac_try
="$ac_compile"
2710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_compile") 2>&5
2717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718 test $ac_status = 0; }; then :
2719 for ac_file in conftest.o conftest.obj conftest.*; do
2720 test -f "$ac_file" || continue;
2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2728 $as_echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2733 as_fn_error "cannot compute suffix of object files
: cannot compile
2734 See \
`config.log' for more details." "$LINENO" 5; }
2736 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2739 $as_echo "$ac_cv_objext" >&6; }
2740 OBJEXT=$ac_cv_objext
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2743 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2744 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2745 $as_echo_n "(cached) " >&6
2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2748 /* end confdefs.h. */
2761 if ac_fn_c_try_compile "$LINENO"; then :
2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2767 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2771 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2772 if test $ac_compiler_gnu = yes; then
2777 ac_test_CFLAGS=${CFLAGS+set}
2778 ac_save_CFLAGS=$CFLAGS
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2780 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2781 if test "${ac_cv_prog_cc_g+set}" = set; then :
2782 $as_echo_n "(cached) " >&6
2784 ac_save_c_werror_flag=$ac_c_werror_flag
2785 ac_c_werror_flag=yes
2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2789 /* end confdefs.h. */
2799 if ac_fn_c_try_compile "$LINENO"; then :
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2814 if ac_fn_c_try_compile "$LINENO"; then :
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2830 if ac_fn_c_try_compile "$LINENO"; then :
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 ac_c_werror_flag=$ac_save_c_werror_flag
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2841 $as_echo "$ac_cv_prog_cc_g" >&6; }
2842 if test "$ac_test_CFLAGS" = set; then
2843 CFLAGS=$ac_save_CFLAGS
2844 elif test $ac_cv_prog_cc_g = yes; then
2845 if test "$GCC" = yes; then
2851 if test "$GCC" = yes; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2858 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2859 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2862 ac_cv_prog_cc_c89=no
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2868 #include <sys/types.h>
2869 #include <sys/stat.h>
2870 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2871 struct buf { int x; };
2872 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2873 static char *e (p, i)
2879 static char *f (char * (*g) (char **, int), char **p, ...)
2884 s = g (p, va_arg (v,int));
2889 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2890 function prototypes and stuff, but not '\xHH' hex character constants.
2891 These don't provoke an error unfortunately, instead are silently treated
2892 as 'x'. The following induces an error, until -std is added to get
2893 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2894 array size at least. It's necessary to write '\x00'==0 to get something
2895 that's true only with -std. */
2896 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2898 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2899 inside strings and character constants. */
2901 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2903 int test (int i, double x);
2904 struct s1 {int (*f) (int a);};
2905 struct s2 {int (*f) (double a);};
2906 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2918 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2920 CC="$ac_save_CC $ac_arg"
2921 if ac_fn_c_try_compile "$LINENO"; then :
2922 ac_cv_prog_cc_c89=$ac_arg
2924 rm -f core conftest.err conftest.$ac_objext
2925 test "x$ac_cv_prog_cc_c89" != "xno" && break
2927 rm -f conftest.$ac_ext
2932 case "x$ac_cv_prog_cc_c89" in
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2935 $as_echo "none needed" >&6; } ;;
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2938 $as_echo "unsupported" >&6; } ;;
2940 CC="$CC $ac_cv_prog_cc_c89"
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2942 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2944 if test "x$ac_cv_prog_cc_c89" != xno; then :
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2961 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2962 # On Suns, sometimes $CPP names a directory.
2963 if test -n "$CPP" && test -d "$CPP"; then
2966 if test -z "$CPP"; then
2967 if test "${ac_cv_prog_CPP+set}" = set; then :
2968 $as_echo_n "(cached) " >&6
2970 # Double quotes because CPP needs to be expanded
2971 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2974 for ac_c_preproc_warn_flag in '' yes
2976 # Use a header file that comes with gcc, so configuring glibc
2977 # with a fresh cross-compiler works.
2978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2979 # <limits.h> exists even on freestanding compilers.
2980 # On the NeXT, cc -E runs the code through the compiler's parser,
2981 # not just through cpp. "Syntax error" is here to catch this case.
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2985 # include <limits.h>
2987 # include <assert.h>
2991 if ac_fn_c_try_cpp "$LINENO"; then :
2994 # Broken: fails on valid input.
2997 rm -f conftest.err conftest.$ac_ext
2999 # OK, works on sane cases. Now check whether nonexistent headers
3000 # can be detected and how.
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3003 #include <ac_nonexistent.h>
3005 if ac_fn_c_try_cpp "$LINENO"; then :
3006 # Broken: success on invalid input.
3009 # Passes both tests.
3013 rm -f conftest.err conftest.$ac_ext
3016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3017 rm -f conftest.err conftest.
$ac_ext
3018 if $ac_preproc_ok; then :
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3031 $as_echo "$CPP" >&6; }
3033 for ac_c_preproc_warn_flag
in '' yes
3035 # Use a header file that comes with gcc, so configuring glibc
3036 # with a fresh cross-compiler works.
3037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3038 # <limits.h> exists even on freestanding compilers.
3039 # On the NeXT, cc -E runs the code through the compiler's parser,
3040 # not just through cpp. "Syntax error" is here to catch this case.
3041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3044 # include <limits.h>
3046 # include <assert.h>
3050 if ac_fn_c_try_cpp
"$LINENO"; then :
3053 # Broken: fails on valid input.
3056 rm -f conftest.err conftest.
$ac_ext
3058 # OK, works on sane cases. Now check whether nonexistent headers
3059 # can be detected and how.
3060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3062 #include <ac_nonexistent.h>
3064 if ac_fn_c_try_cpp
"$LINENO"; then :
3065 # Broken: success on invalid input.
3068 # Passes both tests.
3072 rm -f conftest.err conftest.
$ac_ext
3075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3076 rm -f conftest.err conftest.
$ac_ext
3077 if $ac_preproc_ok; then :
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3083 See \`config.log' for more details." "$LINENO" 5; }
3087 ac_cpp
='$CPP $CPPFLAGS'
3088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3094 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3095 if test "${ac_cv_path_GREP+set}" = set; then :
3096 $as_echo_n "(cached) " >&6
3098 if test -z "$GREP"; then
3099 ac_path_GREP_found
=false
3100 # Loop through the user's path and test for each of PROGNAME-LIST
3101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3105 test -z "$as_dir" && as_dir
=.
3106 for ac_prog
in grep ggrep
; do
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3109 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3110 # Check for GNU ac_path_GREP and select it if it is found.
3111 # Check for GNU $ac_path_GREP
3112 case `"$ac_path_GREP" --version 2>&1` in
3114 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3117 $as_echo_n 0123456789 >"conftest.in"
3120 cat "conftest.in" "conftest.in" >"conftest.tmp"
3121 mv "conftest.tmp" "conftest.in"
3122 cp "conftest.in" "conftest.nl"
3123 $as_echo 'GREP' >> "conftest.nl"
3124 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3125 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3126 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3127 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3128 # Best one so far, save it but keep looking for a better one
3129 ac_cv_path_GREP
="$ac_path_GREP"
3130 ac_path_GREP_max
=$ac_count
3132 # 10*(2^10) chars as input seems more than enough
3133 test $ac_count -gt 10 && break
3135 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3138 $ac_path_GREP_found && break 3
3143 if test -z "$ac_cv_path_GREP"; then
3144 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3147 ac_cv_path_GREP
=$GREP
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3152 $as_echo "$ac_cv_path_GREP" >&6; }
3153 GREP
="$ac_cv_path_GREP"
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3157 $as_echo_n "checking for egrep... " >&6; }
3158 if test "${ac_cv_path_EGREP+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3162 then ac_cv_path_EGREP
="$GREP -E"
3164 if test -z "$EGREP"; then
3165 ac_path_EGREP_found
=false
3166 # Loop through the user's path and test for each of PROGNAME-LIST
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_prog
in egrep; do
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3176 # Check for GNU ac_path_EGREP and select it if it is found.
3177 # Check for GNU $ac_path_EGREP
3178 case `"$ac_path_EGREP" --version 2>&1` in
3180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3183 $as_echo_n 0123456789 >"conftest.in"
3186 cat "conftest.in" "conftest.in" >"conftest.tmp"
3187 mv "conftest.tmp" "conftest.in"
3188 cp "conftest.in" "conftest.nl"
3189 $as_echo 'EGREP' >> "conftest.nl"
3190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3192 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3194 # Best one so far, save it but keep looking for a better one
3195 ac_cv_path_EGREP
="$ac_path_EGREP"
3196 ac_path_EGREP_max
=$ac_count
3198 # 10*(2^10) chars as input seems more than enough
3199 test $ac_count -gt 10 && break
3201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3204 $ac_path_EGREP_found && break 3
3209 if test -z "$ac_cv_path_EGREP"; then
3210 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3213 ac_cv_path_EGREP
=$EGREP
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3219 $as_echo "$ac_cv_path_EGREP" >&6; }
3220 EGREP
="$ac_cv_path_EGREP"
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3224 $as_echo_n "checking for ANSI C header files... " >&6; }
3225 if test "${ac_cv_header_stdc+set}" = set; then :
3226 $as_echo_n "(cached) " >&6
3228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3229 /* end confdefs.h. */
3243 if ac_fn_c_try_compile
"$LINENO"; then :
3244 ac_cv_header_stdc
=yes
3246 ac_cv_header_stdc
=no
3248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3250 if test $ac_cv_header_stdc = yes; then
3251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3258 $EGREP "memchr" >/dev
/null
2>&1; then :
3261 ac_cv_header_stdc
=no
3267 if test $ac_cv_header_stdc = yes; then
3268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3275 $EGREP "free" >/dev
/null
2>&1; then :
3278 ac_cv_header_stdc
=no
3284 if test $ac_cv_header_stdc = yes; then
3285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3286 if test "$cross_compiling" = yes; then :
3289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3293 #if ((' ' & 0x0FF) == 0x020)
3294 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3295 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3297 # define ISLOWER(c) \
3298 (('a' <= (c) && (c) <= 'i') \
3299 || ('j' <= (c) && (c) <= 'r') \
3300 || ('s' <= (c) && (c) <= 'z'))
3301 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3304 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3309 for (i = 0; i < 256; i++)
3310 if (XOR (islower (i), ISLOWER (i))
3311 || toupper (i) != TOUPPER (i))
3316 if ac_fn_c_try_run
"$LINENO"; then :
3319 ac_cv_header_stdc
=no
3321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3322 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3328 $as_echo "$ac_cv_header_stdc" >&6; }
3329 if test $ac_cv_header_stdc = yes; then
3331 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3335 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3336 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3337 inttypes.h stdint.h unistd.h
3339 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3340 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3342 eval as_val
=\$
$as_ac_Header
3343 if test "x$as_val" = x
""yes; then :
3344 cat >>confdefs.h
<<_ACEOF
3345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3354 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3355 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3362 if test "$MINIX" = yes; then
3364 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3367 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3370 $as_echo "#define _MINIX 1" >>confdefs.h
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3376 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3377 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3383 # define __EXTENSIONS__ 1
3384 $ac_includes_default
3393 if ac_fn_c_try_compile
"$LINENO"; then :
3394 ac_cv_safe_to_define___extensions__
=yes
3396 ac_cv_safe_to_define___extensions__
=no
3398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3401 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3402 test $ac_cv_safe_to_define___extensions__ = yes &&
3403 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3405 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3407 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3409 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3411 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3417 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3418 for ac_t
in install-sh
install.sh shtool
; do
3419 if test -f "$ac_dir/$ac_t"; then
3421 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3426 if test -z "$ac_aux_dir"; then
3427 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3430 # These three variables are undocumented and unsupported,
3431 # and are intended to be withdrawn in a future Autoconf release.
3432 # They can cause serious problems if a builder's source tree is in a directory
3433 # whose full name contains unusual characters.
3434 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3435 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3436 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3439 # Make sure we can run config.sub.
3440 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3441 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3444 $as_echo_n "checking build system type... " >&6; }
3445 if test "${ac_cv_build+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3448 ac_build_alias
=$build_alias
3449 test "x$ac_build_alias" = x
&&
3450 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3451 test "x$ac_build_alias" = x
&&
3452 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3453 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3454 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3458 $as_echo "$ac_cv_build" >&6; }
3459 case $ac_cv_build in
3461 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3464 ac_save_IFS
=$IFS; IFS
='-'
3470 # Remember, the first character of IFS is used to create $*,
3471 # except with old shells:
3474 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3478 $as_echo_n "checking host system type... " >&6; }
3479 if test "${ac_cv_host+set}" = set; then :
3480 $as_echo_n "(cached) " >&6
3482 if test "x$host_alias" = x
; then
3483 ac_cv_host
=$ac_cv_build
3485 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3486 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3491 $as_echo "$ac_cv_host" >&6; }
3494 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3497 ac_save_IFS
=$IFS; IFS
='-'
3503 # Remember, the first character of IFS is used to create $*,
3504 # except with old shells:
3507 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3511 $as_echo_n "checking target system type... " >&6; }
3512 if test "${ac_cv_target+set}" = set; then :
3513 $as_echo_n "(cached) " >&6
3515 if test "x$target_alias" = x
; then
3516 ac_cv_target
=$ac_cv_host
3518 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3519 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3524 $as_echo "$ac_cv_target" >&6; }
3525 case $ac_cv_target in
3527 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3529 target
=$ac_cv_target
3530 ac_save_IFS
=$IFS; IFS
='-'
3536 # Remember, the first character of IFS is used to create $*,
3537 # except with old shells:
3540 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3543 # The aliases save the names the user supplied, while $host etc.
3544 # will get canonicalized.
3545 test -n "$target_alias" &&
3546 test "$program_prefix$program_suffix$program_transform_name" = \
3548 program_prefix
=${target_alias}-
3551 # Find a good install program. We prefer a C program (faster),
3552 # so one script is as good as another. But avoid the broken or
3553 # incompatible versions:
3554 # SysV /etc/install, /usr/sbin/install
3555 # SunOS /usr/etc/install
3556 # IRIX /sbin/install
3558 # AmigaOS /C/install, which installs bootblocks on floppy discs
3559 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3560 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3561 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3562 # OS/2's system install, which has a completely different semantic
3563 # ./install, which can be erroneously created by make from ./install.sh.
3564 # Reject install programs that cannot install multiple files.
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3566 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3567 if test -z "$INSTALL"; then
3568 if test "${ac_cv_path_install+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 # Account for people who put trailing slashes in PATH elements.
3577 case $as_dir/ in #((
3578 .
/ | .
// |
/[cC
]/* | \
3579 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3580 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3583 # OSF1 and SCO ODT 3.0 have their own names for install.
3584 # Don't use installbsd from OSF since it installs stuff as root
3586 for ac_prog
in ginstall scoinst
install; do
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3589 if test $ac_prog = install &&
3590 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3591 # AIX install. It has an incompatible calling convention.
3593 elif test $ac_prog = install &&
3594 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3595 # program-specific install script used by HP pwplus--don't use.
3598 rm -rf conftest.one conftest.two conftest.dir
3599 echo one
> conftest.one
3600 echo two
> conftest.two
3602 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3603 test -s conftest.one
&& test -s conftest.two
&&
3604 test -s conftest.dir
/conftest.one
&&
3605 test -s conftest.dir
/conftest.two
3607 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3620 rm -rf conftest.one conftest.two conftest.dir
3623 if test "${ac_cv_path_install+set}" = set; then
3624 INSTALL
=$ac_cv_path_install
3626 # As a last resort, use the slow shell script. Don't cache a
3627 # value for INSTALL within a source directory, because that will
3628 # break other packages using the cache if that directory is
3629 # removed, or if the value is a relative name.
3630 INSTALL
=$ac_install_sh
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3634 $as_echo "$INSTALL" >&6; }
3636 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3637 # It thinks the first close brace ends the variable substitution.
3638 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3640 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3642 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3645 test "$program_prefix" != NONE
&&
3646 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3647 # Use a double $ so make ignores it.
3648 test "$program_suffix" != NONE
&&
3649 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3650 # Double any \ or $.
3651 # By default was `s,x,x', remove it if useless.
3652 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3653 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3657 $as_echo_n "checking for ANSI C header files... " >&6; }
3658 if test "${ac_cv_header_stdc+set}" = set; then :
3659 $as_echo_n "(cached) " >&6
3661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3676 if ac_fn_c_try_compile
"$LINENO"; then :
3677 ac_cv_header_stdc
=yes
3679 ac_cv_header_stdc
=no
3681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3683 if test $ac_cv_header_stdc = yes; then
3684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3691 $EGREP "memchr" >/dev
/null
2>&1; then :
3694 ac_cv_header_stdc
=no
3700 if test $ac_cv_header_stdc = yes; then
3701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3708 $EGREP "free" >/dev
/null
2>&1; then :
3711 ac_cv_header_stdc
=no
3717 if test $ac_cv_header_stdc = yes; then
3718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3719 if test "$cross_compiling" = yes; then :
3722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3726 #if ((' ' & 0x0FF) == 0x020)
3727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3730 # define ISLOWER(c) \
3731 (('a' <= (c) && (c) <= 'i') \
3732 || ('j' <= (c) && (c) <= 'r') \
3733 || ('s' <= (c) && (c) <= 'z'))
3734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3742 for (i = 0; i < 256; i++)
3743 if (XOR (islower (i), ISLOWER (i))
3744 || toupper (i) != TOUPPER (i))
3749 if ac_fn_c_try_run
"$LINENO"; then :
3752 ac_cv_header_stdc
=no
3754 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3755 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3761 $as_echo "$ac_cv_header_stdc" >&6; }
3762 if test $ac_cv_header_stdc = yes; then
3764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3769 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 errno.h fcntl.h signal.h sys
/file.h malloc.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h sys
/wait.h
3771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3772 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3773 eval as_val
=\$
$as_ac_Header
3774 if test "x$as_val" = x
""yes; then :
3775 cat >>confdefs.h
<<_ACEOF
3776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3783 for ac_func
in pread pwrite pread64
3785 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3786 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3787 eval as_val
=\$
$as_ac_var
3788 if test "x$as_val" = x
""yes; then :
3789 cat >>confdefs.h
<<_ACEOF
3790 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3796 for ac_func
in memmem
3798 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
3799 if test "x$ac_cv_func_memmem" = x
""yes; then :
3800 cat >>confdefs.h
<<_ACEOF
3801 #define HAVE_MEMMEM 1
3805 case " $LIBOBJS " in
3806 *" $ac_func.$ac_objext "* ) ;;
3807 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for errno" >&5
3818 $as_echo_n "checking for errno... " >&6; }
3819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3828 static int x; x = errno;
3833 if ac_fn_c_try_link
"$LINENO"; then :
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - in errno.h" >&5
3835 $as_echo "yes - in errno.h" >&6; };
3836 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
3839 rm -f core conftest.err conftest.
$ac_objext \
3840 conftest
$ac_exeext conftest.
$ac_ext
3841 if test $have_errno = no
; then
3842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3851 extern int errno; static int x; x = errno;
3856 if ac_fn_c_try_link
"$LINENO"; then :
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
3858 $as_echo "yes - must define" >&6; };
3859 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
3861 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3867 rm -f core conftest.err conftest.
$ac_objext \
3868 conftest
$ac_exeext conftest.
$ac_ext
3871 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
3872 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
3878 cat >>confdefs.h
<<_ACEOF
3879 #define HAVE_DECL_STRERROR $ac_have_decl
3881 ac_fn_c_check_decl
"$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
3882 if test "x$ac_cv_have_decl_perror" = x
""yes; then :
3888 cat >>confdefs.h
<<_ACEOF
3889 #define HAVE_DECL_PERROR $ac_have_decl
3891 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
3892 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
3898 cat >>confdefs.h
<<_ACEOF
3899 #define HAVE_DECL_MEMMEM $ac_have_decl
3903 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
3904 #include <sys/socket.h>
3907 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
3909 cat >>confdefs.h
<<_ACEOF
3910 #define HAVE_SOCKLEN_T 1
3919 # Check whether --with-pkgversion was given.
3920 if test "${with_pkgversion+set}" = set; then :
3921 withval
=$with_pkgversion; case "$withval" in
3922 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
3924 *) PKGVERSION
="($withval) " ;;
3935 # Check whether --with-bugurl was given.
3936 if test "${with_bugurl+set}" = set; then :
3937 withval
=$with_bugurl; case "$withval" in
3938 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
3941 *) BUGURL
="$withval"
3945 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
3955 REPORT_BUGS_TO
="<$BUGURL>"
3956 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
3963 cat >>confdefs.h
<<_ACEOF
3964 #define PKGVERSION "$PKGVERSION"
3968 cat >>confdefs.h
<<_ACEOF
3969 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
3973 .
${srcdir}/configure.srv
3975 if test "${srv_mingwce}" = "yes"; then
3977 elif test "${srv_mingw}" = "yes"; then
3978 LIBS
="$LIBS -lwsock32"
3979 elif test "${srv_qnx}" = "yes"; then
3980 LIBS
="$LIBS -lsocket"
3983 if test "${srv_mingw}" = "yes"; then
3985 $as_echo "#define USE_WIN32API 1" >>confdefs.h
3989 if test "${srv_linux_usrregs}" = "yes"; then
3991 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
3995 if test "${srv_linux_regsets}" = "yes"; then
3997 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
4001 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
4002 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
4003 $as_echo_n "(cached) " >&6
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4007 #include <sys/ptrace.h>
4016 if ac_fn_c_try_compile
"$LINENO"; then :
4017 gdbsrv_cv_have_ptrace_getregs
=yes
4019 gdbsrv_cv_have_ptrace_getregs
=no
4021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
4025 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
4026 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
4028 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
4033 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
4034 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
4035 $as_echo_n "(cached) " >&6
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039 #include <sys/ptrace.h>
4048 if ac_fn_c_try_compile
"$LINENO"; then :
4049 gdbsrv_cv_have_ptrace_getfpxregs
=yes
4051 gdbsrv_cv_have_ptrace_getfpxregs
=no
4053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
4057 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
4058 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
4060 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
4065 if test "$ac_cv_header_sys_procfs_h" = yes; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
4067 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
4068 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4075 #include <sys/procfs.h>
4084 if ac_fn_c_try_compile
"$LINENO"; then :
4085 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
4087 bfd_cv_have_sys_procfs_type_lwpid_t
=no
4090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
4095 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
4099 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
4102 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
4103 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4110 #include <sys/procfs.h>
4119 if ac_fn_c_try_compile
"$LINENO"; then :
4120 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
4122 bfd_cv_have_sys_procfs_type_psaddr_t
=no
4125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
4130 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
4134 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
4137 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
4138 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4145 #include <sys/procfs.h>
4154 if ac_fn_c_try_compile
"$LINENO"; then :
4155 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
4157 bfd_cv_have_sys_procfs_type_prgregset_t
=no
4160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4163 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
4165 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
4169 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
4172 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
4173 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 #include <sys/procfs.h>
4189 if ac_fn_c_try_compile
"$LINENO"; then :
4190 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
4192 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
4195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4198 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4200 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
4204 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4208 srv_thread_depfiles
=
4212 if test "$srv_linux_thread_db" = "yes"; then
4214 old_LDFLAGS
="$LDFLAGS"
4215 LDFLAGS
="$LDFLAGS -rdynamic"
4216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_link
"$LINENO"; then :
4232 rm -f core conftest.err conftest.
$ac_objext \
4233 conftest
$ac_exeext conftest.
$ac_ext
4235 LDFLAGS
="$old_LDFLAGS"
4237 srv_thread_depfiles
="thread-db.o proc-service.o"
4238 USE_THREAD_DB
="-DUSE_THREAD_DB"
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
4240 $as_echo_n "checking for TD_VERSION... " >&6; }
4241 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 #include <thread_db.h>
4255 if ac_fn_c_try_compile
"$LINENO"; then :
4256 gdbsrv_cv_have_td_version
=yes
4258 gdbsrv_cv_have_td_version
=no
4260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
4263 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
4264 if test $gdbsrv_cv_have_td_version = yes; then
4266 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
4271 if test "$srv_xmlfiles" != ""; then
4272 srv_xmlbuiltin
="xml-builtin.o"
4274 $as_echo "#define USE_XML 1" >>confdefs.h
4277 tmp_xmlfiles
=$srv_xmlfiles
4279 for f
in $tmp_xmlfiles; do
4280 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
4284 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
4285 GDBSERVER_LIBS
="$srv_libs"
4293 ac_config_files
="$ac_config_files Makefile"
4295 ac_config_commands
="$ac_config_commands default"
4297 cat >confcache
<<\_ACEOF
4298 # This file is a shell script that caches the results of configure
4299 # tests run on this system so they can be shared between configure
4300 # scripts and configure runs, see configure's option --config-cache.
4301 # It is not useful on other systems. If it contains results you don't
4302 # want to keep, you may remove or edit it.
4304 # config.status only pays attention to the cache file if you give it
4305 # the --recheck option to rerun configure.
4307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4313 # The following way of writing the cache mishandles newlines in values,
4314 # but we know of no workaround that is simple, portable, and efficient.
4315 # So, we kill variables containing newlines.
4316 # Ultrix sh set writes to stderr and can't be redirected directly,
4317 # and sets the high bit in the cache file unless we assign to the vars.
4319 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4320 eval ac_val
=\$
$ac_var
4324 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4325 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4328 _ | IFS | as_nl
) ;; #(
4329 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4330 *) { eval $ac_var=; unset $ac_var;} ;;
4336 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4337 *${as_nl}ac_space
=\
*)
4338 # `set' does not quote correctly, so add quotes: double-quote
4339 # substitution turns \\\\ into \\, and sed turns \\ into \.
4342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4345 # `set' quotes correctly as required by POSIX, so do not add quotes.
4346 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4357 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4359 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4360 if test -w "$cache_file"; then
4361 test "x$cache_file" != "x/dev/null" &&
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4363 $as_echo "$as_me: updating cache $cache_file" >&6;}
4364 cat confcache
>$cache_file
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4367 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4372 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4373 # Let make expand exec_prefix.
4374 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4376 DEFS
=-DHAVE_CONFIG_H
4380 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4381 # 1. Remove the extension, and $U if already installed.
4382 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4383 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4384 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4385 # will be set to the directory where LIBOBJS objects are built.
4386 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4387 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4391 LTLIBOBJS
=$ac_ltlibobjs
4395 : ${CONFIG_STATUS=./config.status}
4397 ac_clean_files_save
=$ac_clean_files
4398 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4404 # Generated by $as_me.
4405 # Run this file to recreate the current configuration.
4406 # Compiler output produced by configure, useful for debugging
4407 # configure, is in config.log if it exists.
4413 SHELL=\${CONFIG_SHELL-$SHELL}
4416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4417 ## -------------------- ##
4418 ## M4sh Initialization. ##
4419 ## -------------------- ##
4421 # Be more Bourne compatible
4422 DUALCASE
=1; export DUALCASE
# for MKS sh
4423 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4426 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4427 # is contrary to our usage. Disable this feature.
4428 alias -g '${1+"$@"}'='"$@"'
4429 setopt NO_GLOB_SUBST
4431 case `(set -o) 2>/dev/null` in #(
4443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4444 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4447 # Prefer a ksh shell builtin over an external printf program on Solaris,
4448 # but without wasting forks for bash or zsh.
4449 if test -z "$BASH_VERSION$ZSH_VERSION" \
4450 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4451 as_echo='print
-r --'
4452 as_echo_n='print
-rn --'
4453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4454 as_echo='printf %s
\n'
4455 as_echo_n='printf %s
'
4457 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4458 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4459 as_echo_n='/usr
/ucb
/echo -n'
4461 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4462 as_echo_n_body='eval
4466 expr "X$arg" : "X\\(.*\\)$as_nl";
4467 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4469 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4471 export as_echo_n_body
4472 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4475 as_echo='sh
-c $as_echo_body as_echo
'
4478 # The user is always right.
4479 if test "${PATH_SEPARATOR+set}" != set; then
4481 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4482 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4489 # We need space, tab and new line, in precisely that order. Quoting is
4490 # there to prevent editors from complaining about space-tab.
4491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4492 # splitting by setting IFS to empty value.)
4495 # Find who we are. Look in the path if we contain no directory separator.
4497 *[\\/]* ) as_myself=$0 ;;
4498 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir=.
4503 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4509 # We did not find ourselves, most probably we were run as `sh COMMAND'
4510 # in which case we are not to be found in the path.
4511 if test "x$as_myself" = x
; then
4514 if test ! -f "$as_myself"; then
4515 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4519 # Unset variables that we do not need and which cause bugs (e.g. in
4520 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4521 # suppresses any "Segmentation fault" message there. '((' could
4522 # trigger a bug in pdksh 5.2.14.
4523 for as_var
in BASH_ENV ENV MAIL MAILPATH
4524 do eval test x\
${$as_var+set} = xset \
4525 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4538 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4541 # as_fn_error ERROR [LINENO LOG_FD]
4542 # ---------------------------------
4543 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4544 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4545 # script with status $?, using 1 if that was 0.
4548 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4550 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4551 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4553 $as_echo "$as_me: error: $1" >&2
4554 as_fn_exit
$as_status
4558 # as_fn_set_status STATUS
4559 # -----------------------
4560 # Set $? to STATUS, without forking.
4564 } # as_fn_set_status
4568 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4578 # Portably unset VAR.
4581 { eval $1=; unset $1;}
4583 as_unset
=as_fn_unset
4584 # as_fn_append VAR VALUE
4585 # ----------------------
4586 # Append the text in VALUE to the end of the definition contained in VAR. Take
4587 # advantage of any shell optimizations that allow amortized linear growth over
4588 # repeated appends, instead of the typical quadratic growth present in naive
4590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4591 eval 'as_fn_append ()
4602 # as_fn_arith ARG...
4603 # ------------------
4604 # Perform arithmetic evaluation on the ARGs, and store the result in the
4605 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4606 # must be portable across $(()) and expr.
4607 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4608 eval 'as_fn_arith ()
4615 as_val
=`expr "$@" || test $? -eq 1`
4620 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4621 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4627 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4628 as_basename
=basename
4633 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4639 as_me
=`$as_basename -- "$0" ||
4640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4641 X"$0" : 'X\(//\)$' \| \
4642 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4644 sed '/^.*\/\([^/][^/]*\)\/*$/{
4658 # Avoid depending upon Character Ranges.
4659 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4660 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4661 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4662 as_cr_digits
='0123456789'
4663 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4665 ECHO_C
= ECHO_N
= ECHO_T
=
4666 case `echo -n x` in #(((((
4668 case `echo 'xy\c'` in
4669 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4671 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4678 rm -f conf$$ conf$$.exe conf$$.
file
4679 if test -d conf$$.dir
; then
4680 rm -f conf$$.dir
/conf$$.
file
4683 mkdir conf$$.dir
2>/dev
/null
4685 if (echo >conf$$.
file) 2>/dev
/null
; then
4686 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4688 # ... but there are two gotchas:
4689 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4690 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4691 # In both cases, we have to default to `cp -p'.
4692 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4694 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4702 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4703 rmdir conf$$.dir
2>/dev
/null
4708 # Create "$as_dir" as a directory, including parents if necessary.
4713 -*) as_dir
=.
/$as_dir;;
4715 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4719 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4720 *) as_qdir
=$as_dir;;
4722 as_dirs
="'$as_qdir' $as_dirs"
4723 as_dir
=`$as_dirname -- "$as_dir" ||
4724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4725 X"$as_dir" : 'X\(//\)[^/]' \| \
4726 X"$as_dir" : 'X\(//\)$' \| \
4727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4728 $as_echo X"$as_dir" |
4729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4746 test -d "$as_dir" && break
4748 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4749 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4753 if mkdir
-p .
2>/dev
/null
; then
4754 as_mkdir_p
='mkdir -p "$as_dir"'
4756 test -d .
/-p && rmdir .
/-p
4760 if test -x / >/dev
/null
2>&1; then
4763 if ls -dL / >/dev
/null
2>&1; then
4770 if test -d "$1"; then
4776 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4777 ???[sx]*):;;*)false;;esac;fi
4781 as_executable_p
=$as_test_x
4783 # Sed expression to map a string onto a valid CPP name.
4784 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4786 # Sed expression to map a string onto a valid variable name.
4787 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4791 ## ----------------------------------- ##
4792 ## Main body of $CONFIG_STATUS script. ##
4793 ## ----------------------------------- ##
4795 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4798 # Save the log message, to keep $0 and so on meaningful, and to
4799 # report actual input values of CONFIG_FILES etc. instead of their
4800 # values after options handling.
4802 This file was extended by $as_me, which was
4803 generated by GNU Autoconf 2.64. Invocation command line was
4805 CONFIG_FILES = $CONFIG_FILES
4806 CONFIG_HEADERS = $CONFIG_HEADERS
4807 CONFIG_LINKS = $CONFIG_LINKS
4808 CONFIG_COMMANDS = $CONFIG_COMMANDS
4811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4816 case $ac_config_files in *"
4817 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4820 case $ac_config_headers in *"
4821 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4826 # Files that config.status was made for.
4827 config_files="$ac_config_files"
4828 config_headers="$ac_config_headers"
4829 config_commands="$ac_config_commands"
4833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4835 \`$as_me' instantiates files and other configuration actions
4836 from templates according to the current configuration. Unless the files
4837 and actions are specified as TAGs, all are instantiated by default.
4839 Usage: $0 [OPTION]... [TAG]...
4841 -h, --help print this help, then exit
4842 -V, --version print version number and configuration settings, then exit
4843 -q, --quiet, --silent
4844 do not print progress messages
4845 -d, --debug don't remove temporary files
4846 --recheck update $as_me by reconfiguring in the same conditions
4847 --file=FILE[:TEMPLATE]
4848 instantiate the configuration file FILE
4849 --header=FILE[:TEMPLATE]
4850 instantiate the configuration header FILE
4852 Configuration files:
4855 Configuration headers:
4858 Configuration commands:
4861 Report bugs to the package provider."
4864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4867 configured by $0, generated by GNU Autoconf 2.64,
4868 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4870 Copyright (C) 2009 Free Software Foundation, Inc.
4871 This config.status script is free software; the Free Software Foundation
4872 gives unlimited permission to copy, distribute and modify it."
4877 test -n "\$AWK" || AWK=awk
4880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4881 # The default lists apply if the user does not specify any file.
4887 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4888 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4899 # Handling of the options.
4900 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4902 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4903 $as_echo "$ac_cs_version"; exit ;;
4904 --debug |
--debu |
--deb |
--de |
--d |
-d )
4906 --file |
--fil |
--fi |
--f )
4909 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4911 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4912 ac_need_defaults
=false
;;
4913 --header |
--heade |
--head |
--hea )
4916 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4918 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4919 ac_need_defaults
=false
;;
4921 # Conflict between --help and --header
4922 as_fn_error
"ambiguous option: \`$1'
4923 Try \`$0 --help' for more information.";;
4924 --help |
--hel |
-h )
4925 $as_echo "$ac_cs_usage"; exit ;;
4926 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4927 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4931 -*) as_fn_error
"unrecognized option: \`$1'
4932 Try \`$0 --help' for more information." ;;
4934 *) as_fn_append ac_config_targets
" $1"
4935 ac_need_defaults
=false
;;
4941 ac_configure_extra_args
=
4943 if $ac_cs_silent; then
4945 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 if \$ac_cs_recheck; then
4951 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4953 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4954 CONFIG_SHELL='$SHELL'
4960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4964 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4965 ## Running $as_me. ##
4971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4976 # Handling of arguments.
4977 for ac_config_target
in $ac_config_targets
4979 case $ac_config_target in
4980 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4981 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4982 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
4984 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4989 # If the user did not use the arguments to specify the items to instantiate,
4990 # then the envvar interface is used. Set only those that are not.
4991 # We use the long form for the default assignment because of an extremely
4992 # bizarre bug on SunOS 4.1.3.
4993 if $ac_need_defaults; then
4994 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4995 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4996 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4999 # Have a temporary directory for convenience. Make it in the build tree
5000 # simply because there is no reason against having it here, and in addition,
5001 # creating and moving files from /tmp can sometimes cause problems.
5002 # Hook for its removal unless debugging.
5003 # Note that there is a small window in which the directory will not be cleaned:
5004 # after its creation but before its name has been assigned to `$tmp'.
5008 trap 'exit_status=$?
5009 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5011 trap 'as_fn_exit 1' 1 2 13 15
5013 # Create a (secure) tmp directory for tmp files.
5016 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5017 test -n "$tmp" && test -d "$tmp"
5020 tmp
=.
/conf$$
-$RANDOM
5021 (umask 077 && mkdir
"$tmp")
5022 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5024 # Set up the scripts for CONFIG_FILES section.
5025 # No need to generate them if there are no CONFIG_FILES.
5026 # This happens for instance with `./config.status config.h'.
5027 if test -n "$CONFIG_FILES"; then
5030 ac_cr
=`echo X | tr X '\015'`
5031 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5032 # But we know of no other shell where ac_cr would be empty at this
5033 # point, so we can use a bashism as a fallback.
5034 if test "x$ac_cr" = x
; then
5035 eval ac_cr
=\$
\'\\r
\'
5037 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5038 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5044 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5049 echo "cat >conf$$subs.awk <<_ACEOF" &&
5050 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5053 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5054 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5056 for ac_last_try in false false false false false :; do
5057 . ./conf$$subs.sh ||
5058 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5060 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5061 if test $ac_delim_n = $ac_delim_num; then
5063 elif $ac_last_try; then
5064 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5066 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5072 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5076 s/^/S["/; s
/!.
*/"]=/
5086 s/\(.\{148\}\).*/\1/
5088 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5093 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5100 s/\(.\{148\}\).*/\1/
5102 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5106 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5111 ' <conf$$subs.awk | sed '
5116 ' >>$CONFIG_STATUS || ac_write_fail=1
5117 rm -f conf$$subs.awk
5118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5120 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5121 for (key in S) S_is_set[key] = 1
5127 nfields = split(line, field, "@
")
5129 len = length(field[1])
5130 for (i = 2; i < nfields; i++) {
5132 keylen = length(key)
5133 if (S_is_set[key]) {
5135 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5136 len += length(value) + length(field[++i])
5147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5148 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5149 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5152 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5153 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5156 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5157 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5158 # trailing colons and then remove the whole line if VPATH becomes empty
5159 # (actually we leave an empty line to preserve line numbers).
5160 if test "x
$srcdir" = x.; then
5161 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5165 s/^\([^=]*=[ ]*\):*/\1/
5171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5172 fi # test -n "$CONFIG_FILES"
5174 # Set up the scripts for CONFIG_HEADERS section.
5175 # No need to generate them if there are no CONFIG_HEADERS.
5176 # This happens for instance with `./config.status Makefile'.
5177 if test -n "$CONFIG_HEADERS"; then
5178 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5182 # Transform confdefs.h into an awk script `defines.awk', embedded as
5183 # here-document in config.status, that substitutes the proper values into
5184 # config.h.in to produce config.h.
5186 # Create a delimiter string that does not exist in confdefs.h, to ease
5187 # handling of long lines.
5189 for ac_last_try in false false :; do
5190 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5191 if test -z "$ac_t"; then
5193 elif $ac_last_try; then
5194 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5196 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5200 # For the awk script, D is an array of macro values keyed by name,
5201 # likewise P contains macro parameters if any. Preserve backslash
5202 # newline sequences.
5204 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5206 s/.\{148\}/&'"$ac_delim"'/g
5209 s/^[ ]*#[ ]*define[ ][ ]*/ /
5216 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5218 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5222 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5223 D["\
1"]=" \
3\\\\\\n
"\\/p
5225 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5230 s/.\{148\}/&'"$ac_delim"'/g
5235 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5238 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5240 ' <confdefs.h | sed '
5241 s/'"$ac_delim"'/"\\\
5242 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5245 for (key in D) D_is_set[key] = 1
5248 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5250 split(line, arg, " ")
5251 if (arg[1] == "#") {
5255 defundef
= substr
(arg
[1], 2)
5258 split(mac1
, mac2
, "(") #)
5260 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5261 if (D_is_set
[macro
]) {
5262 # Preserve the white space surrounding the "#".
5263 print prefix
"define", macro P
[macro
] D
[macro
]
5266 # Replace #undef with comments. This is necessary, for example,
5267 # in the case of _POSIX_SOURCE, which is predefined and required
5268 # on some systems where configure will not decide to define it.
5269 if (defundef
== "undef") {
5270 print
"/*", prefix defundef
, macro
, "*/"
5278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5279 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5280 fi # test -n "$CONFIG_HEADERS"
5283 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5288 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5290 case $ac_mode$ac_tag in
5292 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5293 :[FH
]-) ac_tag
=-:-;;
5294 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5311 -) ac_f
="$tmp/stdin";;
5312 *) # Look for the file first in the build tree, then in the source tree
5313 # (if the path is not absolute). The absolute path cannot be DOS-style,
5314 # because $ac_f cannot contain `:'.
5318 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5320 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5322 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5323 as_fn_append ac_file_inputs
" '$ac_f'"
5326 # Let's still pretend it is `configure' which instantiates (i.e., don't
5327 # use $as_me), people would be surprised to read:
5328 # /* config.h. Generated by config.status. */
5329 configure_input
='Generated from '`
5330 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5332 if test x
"$ac_file" != x-
; then
5333 configure_input
="$ac_file. $configure_input"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5335 $as_echo "$as_me: creating $ac_file" >&6;}
5337 # Neutralize special characters interpreted by sed in replacement strings.
5338 case $configure_input in #(
5339 *\
&* |
*\|
* |
*\\* )
5340 ac_sed_conf_input
=`$as_echo "$configure_input" |
5341 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5342 *) ac_sed_conf_input
=$configure_input;;
5346 *:-:* |
*:-) cat >"$tmp/stdin" \
5347 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5352 ac_dir
=`$as_dirname -- "$ac_file" ||
5353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5354 X"$ac_file" : 'X\(//\)[^/]' \| \
5355 X"$ac_file" : 'X\(//\)$' \| \
5356 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5357 $as_echo X"$ac_file" |
5358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5375 as_dir
="$ac_dir"; as_fn_mkdir_p
5379 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5381 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5382 # A ".." for each directory in $ac_dir_suffix.
5383 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5384 case $ac_top_builddir_sub in
5385 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5386 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5389 ac_abs_top_builddir
=$ac_pwd
5390 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5391 # for backward compatibility:
5392 ac_top_builddir
=$ac_top_build_prefix
5395 .
) # We are building in place.
5397 ac_top_srcdir
=$ac_top_builddir_sub
5398 ac_abs_top_srcdir
=$ac_pwd ;;
5399 [\\/]* | ?
:[\\/]* ) # Absolute name.
5400 ac_srcdir
=$srcdir$ac_dir_suffix;
5401 ac_top_srcdir
=$srcdir
5402 ac_abs_top_srcdir
=$srcdir ;;
5404 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5405 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5406 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5408 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5418 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5419 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5424 # If the template does not know about datarootdir, expand it.
5425 # FIXME: This hack should be removed a few years after 2.60.
5426 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5437 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5438 *datarootdir
*) ac_datarootdir_seen
=yes;;
5439 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5441 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5444 ac_datarootdir_hack='
5445 s&@datadir@&$datadir&g
5446 s&@docdir@&$docdir&g
5447 s&@infodir@&$infodir&g
5448 s&@localedir@&$localedir&g
5449 s&@mandir@&$mandir&g
5450 s&\\\${datarootdir}&$datarootdir&g' ;;
5454 # Neutralize VPATH when `$srcdir' = `.'.
5455 # Shell code in configure.ac might set extrasub.
5456 # FIXME: do we really want to maintain this feature?
5457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5458 ac_sed_extra="$ac_vpsub
5461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5463 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5464 s|@configure_input@|
$ac_sed_conf_input|
;t t
5465 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5466 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5467 s
&@srcdir@
&$ac_srcdir&;t t
5468 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5469 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5470 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5471 s
&@builddir@
&$ac_builddir&;t t
5472 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5473 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5474 s
&@INSTALL@
&$ac_INSTALL&;t t
5475 $ac_datarootdir_hack
5477 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5478 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5480 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5481 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5482 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5484 which seems to be undefined. Please make sure it is defined." >&5
5485 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5486 which seems to be undefined. Please make sure it is defined." >&2;}
5490 -) cat "$tmp/out" && rm -f "$tmp/out";;
5491 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5493 || as_fn_error "could not create $ac_file" "$LINENO" 5
5499 if test x"$ac_file" != x-; then
5501 $as_echo "/* $configure_input */" \
5502 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5503 } >"$tmp/config.h" \
5504 || as_fn_error "could not create $ac_file" "$LINENO" 5
5505 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5507 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5510 mv "$tmp/config.h" "$ac_file" \
5511 || as_fn_error "could not create $ac_file" "$LINENO" 5
5514 $as_echo "/* $configure_input */" \
5515 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5516 || as_fn_error "could not create -" "$LINENO" 5
5520 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5521 $as_echo "$as_me: executing $ac_file commands" >&6;}
5526 case $ac_file$ac_mode in
5527 "default":C) case x$CONFIG_HEADERS in
5528 xconfig.h:config.in)
5539 ac_clean_files=$ac_clean_files_save
5541 test $ac_write_fail = 0 ||
5542 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5545 # configure is writing to config.log, and then calls config.status.
5546 # config.status does its own redirection, appending to config.log.
5547 # Unfortunately, on DOS this fails, as config.log is still kept open
5548 # by configure, so config.status won't be able to
write to it
; its
5549 # output is simply discarded. So we exec the FD to /dev/null,
5550 # effectively closing config.log, so it can be properly (re)opened and
5551 # appended to by config.status. When coming back to configure, we
5552 # need to make the FD available again.
5553 if test "$no_create" != yes; then
5555 ac_config_status_args
=
5556 test "$silent" = yes &&
5557 ac_config_status_args
="$ac_config_status_args --quiet"
5559 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5561 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5562 # would make configure fail if this is the last instruction.
5563 $ac_cs_success || as_fn_exit $?
5565 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5567 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}