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 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
650 MAINTAINER_MODE_FALSE
679 program_transform_name
692 enable_option_checking
693 enable_maintainer_mode
695 enable_build_with_cxx
704 enable_inprocess_agent
706 ac_precious_vars
='build_alias
720 # Initialize some variables set by options.
722 ac_init_version
=false
723 ac_unrecognized_opts
=
725 # The variables have the same names as the options, with
726 # dashes changed to underlines.
734 program_transform_name
=s
,x
,x
,
742 # Installation directory options.
743 # These are left unexpanded so users can "make install exec_prefix=/foo"
744 # and all the variables that are supposed to be based on exec_prefix
745 # by default will actually change.
746 # Use braces instead of parens because sh, perl, etc. also accept them.
747 # (The list follows the same order as the GNU Coding Standards.)
748 bindir
='${exec_prefix}/bin'
749 sbindir
='${exec_prefix}/sbin'
750 libexecdir
='${exec_prefix}/libexec'
751 datarootdir
='${prefix}/share'
752 datadir
='${datarootdir}'
753 sysconfdir
='${prefix}/etc'
754 sharedstatedir
='${prefix}/com'
755 localstatedir
='${prefix}/var'
756 includedir
='${prefix}/include'
757 oldincludedir
='/usr/include'
758 docdir
='${datarootdir}/doc/${PACKAGE}'
759 infodir
='${datarootdir}/info'
764 libdir
='${exec_prefix}/lib'
765 localedir
='${datarootdir}/locale'
766 mandir
='${datarootdir}/man'
772 # If the previous option needs an argument, assign it.
773 if test -n "$ac_prev"; then
774 eval $ac_prev=\
$ac_option
780 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
784 # Accept the important Cygnus configure options, so we can diagnose typos.
786 case $ac_dashdash$ac_option in
790 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
792 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
795 -build |
--build |
--buil |
--bui |
--bu)
796 ac_prev
=build_alias
;;
797 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
798 build_alias
=$ac_optarg ;;
800 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
801 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
802 ac_prev
=cache_file
;;
803 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
804 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
805 cache_file
=$ac_optarg ;;
808 cache_file
=config.cache
;;
810 -datadir |
--datadir |
--datadi |
--datad)
812 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
813 datadir
=$ac_optarg ;;
815 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
816 |
--dataroo |
--dataro |
--datar)
817 ac_prev
=datarootdir
;;
818 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
819 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
820 datarootdir
=$ac_optarg ;;
822 -disable-* |
--disable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=no
;;
838 -docdir |
--docdir |
--docdi |
--doc |
--do)
840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
848 -enable-* |
--enable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 as_fn_error
"invalid feature name: $ac_useropt"
853 ac_useropt_orig
=$ac_useropt
854 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep
=', ';;
862 eval enable_
$ac_useropt=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error
"invalid package name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval with_
$ac_useropt=\
$ac_optarg ;;
1068 -without-* |
--without-*)
1069 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1072 as_fn_error
"invalid package name: $ac_useropt"
1073 ac_useropt_orig
=$ac_useropt
1074 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1079 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080 ac_unrecognized_sep
=', ';;
1082 eval with_
$ac_useropt=no
;;
1085 # Obsolete; use --with-x.
1088 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1089 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1090 ac_prev
=x_includes
;;
1091 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1092 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1093 x_includes
=$ac_optarg ;;
1095 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1096 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1097 ac_prev
=x_libraries
;;
1098 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1099 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1100 x_libraries
=$ac_optarg ;;
1102 -*) as_fn_error
"unrecognized option: \`$ac_option'
1103 Try \`$0 --help' for more information."
1107 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1108 # Reject names that are not valid shell variable names.
1109 case $ac_envvar in #(
1110 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1111 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1113 eval $ac_envvar=\
$ac_optarg
1114 export $ac_envvar ;;
1117 # FIXME: should be removed in autoconf 3.0.
1118 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1120 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1127 if test -n "$ac_prev"; then
1128 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1129 as_fn_error
"missing argument to $ac_option"
1132 if test -n "$ac_unrecognized_opts"; then
1133 case $enable_option_checking in
1135 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1136 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1140 # Check all directory arguments for consistency.
1141 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1142 datadir sysconfdir sharedstatedir localstatedir includedir \
1143 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1144 libdir localedir mandir
1146 eval ac_val
=\$
$ac_var
1147 # Remove trailing slashes.
1150 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1151 eval $ac_var=\
$ac_val;;
1153 # Be sure to have absolute directory names.
1155 [\\/$
]* | ?
:[\\/]* ) continue;;
1156 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1158 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1161 # There might be people who depend on the old broken behavior: `$host'
1162 # used to hold the argument of --host etc.
1163 # FIXME: To remove some day.
1166 target
=$target_alias
1168 # FIXME: To remove some day.
1169 if test "x$host_alias" != x
; then
1170 if test "x$build_alias" = x
; then
1171 cross_compiling
=maybe
1172 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1173 If a cross compiler is detected then cross compile mode will be used." >&2
1174 elif test "x$build_alias" != "x$host_alias"; then
1180 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1182 test "$silent" = yes && exec 6>/dev
/null
1185 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1186 ac_ls_di
=`ls -di .` &&
1187 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1188 as_fn_error
"working directory cannot be determined"
1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1190 as_fn_error
"pwd does not report name of working directory"
1193 # Find the source files, if location was not specified.
1194 if test -z "$srcdir"; then
1195 ac_srcdir_defaulted
=yes
1196 # Try the directory containing this script, then the parent directory.
1197 ac_confdir
=`$as_dirname -- "$as_myself" ||
1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1199 X"$as_myself" : 'X\(//\)[^/]' \| \
1200 X"$as_myself" : 'X\(//\)$' \| \
1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1202 $as_echo X"$as_myself" |
1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1225 ac_srcdir_defaulted
=no
1227 if test ! -r "$srcdir/$ac_unique_file"; then
1228 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1229 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1231 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1235 # When building in place, set srcdir=.
1236 if test "$ac_abs_confdir" = "$ac_pwd"; then
1239 # Remove unnecessary trailing slashes from srcdir.
1240 # Double slashes in file names in object file debugging info
1241 # mess up M-x gdb in Emacs.
1243 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1245 for ac_var
in $ac_precious_vars; do
1246 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1247 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1248 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1249 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1253 # Report the --help message.
1255 if test "$ac_init_help" = "long"; then
1256 # Omit some internal or obsolete options to make the list less imposing.
1257 # This message is too long to be a string in the A/UX 3.1 sh.
1259 \`configure' configures this package to adapt to many kinds of systems.
1261 Usage: $0 [OPTION]... [VAR=VALUE]...
1263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1264 VAR=VALUE. See below for descriptions of some of the useful variables.
1266 Defaults for the options are specified in brackets.
1269 -h, --help display this help and exit
1270 --help=short display options specific to this package
1271 --help=recursive display the short help of all the included packages
1272 -V, --version display version information and exit
1273 -q, --quiet, --silent do not print \`checking...' messages
1274 --cache-file=FILE cache test results in FILE [disabled]
1275 -C, --config-cache alias for \`--cache-file=config.cache'
1276 -n, --no-create do not create output files
1277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1279 Installation directories:
1280 --prefix=PREFIX install architecture-independent files in PREFIX
1281 [$ac_default_prefix]
1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1285 By default, \`make install' will install all the files in
1286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1288 for instance \`--prefix=\$HOME'.
1290 For better control, use the options below.
1292 Fine tuning of the installation directories:
1293 --bindir=DIR user executables [EPREFIX/bin]
1294 --sbindir=DIR system admin executables [EPREFIX/sbin]
1295 --libexecdir=DIR program executables [EPREFIX/libexec]
1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1299 --libdir=DIR object code libraries [EPREFIX/lib]
1300 --includedir=DIR C header files [PREFIX/include]
1301 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1304 --infodir=DIR info documentation [DATAROOTDIR/info]
1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1306 --mandir=DIR man documentation [DATAROOTDIR/man]
1307 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1308 --htmldir=DIR html documentation [DOCDIR]
1309 --dvidir=DIR dvi documentation [DOCDIR]
1310 --pdfdir=DIR pdf documentation [DOCDIR]
1311 --psdir=DIR ps documentation [DOCDIR]
1317 --program-prefix=PREFIX prepend PREFIX to installed program names
1318 --program-suffix=SUFFIX append SUFFIX to installed program names
1319 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1322 --build=BUILD configure
for building on BUILD
[guessed
]
1323 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1324 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1328 if test -n "$ac_init_help"; then
1333 --disable-option-checking ignore unrecognized
--enable/--with options
1334 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1335 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1336 --enable-maintainer-mode enable make rules and dependencies not useful
1337 (and sometimes confusing
) to the casual installer
1338 --disable-largefile omit support
for large files
1339 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1340 --enable-libmcheck Try linking with
-lmcheck if available
1341 --enable-werror treat compile warnings as errors
1342 --enable-inprocess-agent
1346 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1347 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1348 --with-ust=PATH Specify prefix directory
for the installed UST package
1349 Equivalent to
--with-ust-include=PATH
/include
1350 plus
--with-ust-lib=PATH
/lib
1351 --with-ust-include=PATH Specify directory
for installed UST include files
1352 --with-ust-lib=PATH Specify the directory
for the installed UST library
1353 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1354 --with-bugurl=URL Direct users to URL to report a bug
1355 --with-libthread-db=PATH
1356 use given libthread_db directly
1358 Some influential environment variables
:
1359 CC C compiler
command
1360 CFLAGS C compiler flags
1361 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1362 nonstandard directory
<lib dir
>
1363 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1364 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1365 you have headers
in a nonstandard directory
<include dir
>
1366 CXX C
++ compiler
command
1367 CXXFLAGS C
++ compiler flags
1370 Use these variables to override the choices made by
`configure' or to help
1371 it to find libraries and programs with nonstandard names/locations.
1373 Report bugs to the package provider.
1378 if test "$ac_init_help" = "recursive"; then
1379 # If there are subdirs, report their specific --help.
1380 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1381 test -d "$ac_dir" ||
1382 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1390 # A ".." for each directory in $ac_dir_suffix.
1391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1392 case $ac_top_builddir_sub in
1393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1397 ac_abs_top_builddir=$ac_pwd
1398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1399 # for backward compatibility:
1400 ac_top_builddir=$ac_top_build_prefix
1403 .) # We are building in place.
1405 ac_top_srcdir=$ac_top_builddir_sub
1406 ac_abs_top_srcdir=$ac_pwd ;;
1407 [\\/]* | ?:[\\/]* ) # Absolute name.
1408 ac_srcdir=$srcdir$ac_dir_suffix;
1409 ac_top_srcdir=$srcdir
1410 ac_abs_top_srcdir=$srcdir ;;
1412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1413 ac_top_srcdir=$ac_top_build_prefix$srcdir
1414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1418 cd "$ac_dir" || { ac_status=$?; continue; }
1419 # Check for guested configure.
1420 if test -f "$ac_srcdir/configure.gnu"; then
1422 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1423 elif test -f "$ac_srcdir/configure"; then
1425 $SHELL "$ac_srcdir/configure" --help=recursive
1427 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1429 cd "$ac_pwd" || { ac_status=$?; break; }
1433 test -n "$ac_init_help" && exit $ac_status
1434 if $ac_init_version; then
1437 generated by GNU Autoconf 2.64
1439 Copyright (C) 2009 Free Software Foundation, Inc.
1440 This configure script is free software; the Free Software Foundation
1441 gives unlimited permission to copy, distribute and modify it.
1446 ## ------------------------ ##
1447 ## Autoconf initialization. ##
1448 ## ------------------------ ##
1450 # ac_fn_c_try_compile LINENO
1451 # --------------------------
1452 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1453 ac_fn_c_try_compile ()
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 rm -f conftest.$ac_objext
1457 if { { ac_try="$ac_compile"
1459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1460 *) ac_try_echo
=$ac_try;;
1462 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1463 $as_echo "$ac_try_echo"; } >&5
1464 (eval "$ac_compile") 2>conftest.err
1466 if test -s conftest.err
; then
1467 grep -v '^ *+' conftest.err
>conftest.er1
1468 cat conftest.er1
>&5
1469 mv -f conftest.er1 conftest.err
1471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472 test $ac_status = 0; } && {
1473 test -z "$ac_c_werror_flag" ||
1474 test ! -s conftest.err
1475 } && test -s conftest.
$ac_objext; then :
1478 $as_echo "$as_me: failed program was:" >&5
1479 sed 's/^/| /' conftest.
$ac_ext >&5
1483 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1486 } # ac_fn_c_try_compile
1488 # ac_fn_cxx_try_compile LINENO
1489 # ----------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_cxx_try_compile
()
1493 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1494 rm -f conftest.
$ac_objext
1495 if { { ac_try
="$ac_compile"
1497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_cxx_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1521 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1524 } # ac_fn_cxx_try_compile
1526 # ac_fn_c_try_cpp LINENO
1527 # ----------------------
1528 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 if { { ac_try="$ac_cpp conftest.$ac_ext"
1534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1535 *) ac_try_echo
=$ac_try;;
1537 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1541 if test -s conftest.err
; then
1542 grep -v '^ *+' conftest.err
>conftest.er1
1543 cat conftest.er1
>&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } >/dev
/null
&& {
1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.
$ac_ext >&5
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1566 # the include files in INCLUDES and setting the cache variable VAR
1568 ac_fn_c_check_header_mongrel
()
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 $as_echo_n "(cached) " >&6
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579 $as_echo "$ac_res" >&6; }
1581 # Is the header compilable?
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1583 $as_echo_n "checking $2 usability... " >&6; }
1584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1585 /* end confdefs.h. */
1589 if ac_fn_c_try_compile
"$LINENO"; then :
1590 ac_header_compiler
=yes
1592 ac_header_compiler
=no
1594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1596 $as_echo "$ac_header_compiler" >&6; }
1598 # Is the header present?
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1600 $as_echo_n "checking $2 presence... " >&6; }
1601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1602 /* end confdefs.h. */
1605 if ac_fn_c_try_cpp
"$LINENO"; then :
1606 ac_header_preproc
=yes
1608 ac_header_preproc
=no
1610 rm -f conftest.err conftest.
$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1612 $as_echo "$ac_header_preproc" >&6; }
1614 # So? What about this header?
1615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1638 $as_echo_n "(cached) " >&6
1640 eval "$3=\$ac_header_compiler"
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1648 } # ac_fn_c_check_header_mongrel
1650 # ac_fn_c_try_run LINENO
1651 # ----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1653 # that executables *can* be run.
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 if { { ac_try
="$ac_link"
1659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1668 { { case "(($ac_try" in
1669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1670 *) ac_try_echo
=$ac_try;;
1672 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_try") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; }; }; then :
1680 $as_echo "$as_me: program exited with status $ac_status" >&5
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.
$ac_ext >&5
1684 ac_retval
=$ac_status
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists and can be compiled using the include files in
1695 # INCLUDES, setting the cache variable VAR accordingly.
1696 ac_fn_c_check_header_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1700 $as_echo_n "checking for $2... " >&6; }
1701 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1702 $as_echo_n "(cached) " >&6
1704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1709 if ac_fn_c_try_compile
"$LINENO"; then :
1714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1721 } # ac_fn_c_check_header_compile
1723 # ac_fn_c_try_link LINENO
1724 # -----------------------
1725 # Try to link conftest.$ac_ext, and return whether this succeeded.
1728 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1729 rm -f conftest.
$ac_objext conftest
$ac_exeext
1730 if { { ac_try
="$ac_link"
1732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_link") 2>conftest.err
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_c_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest$ac_exeext && {
1749 test "$cross_compiling" = yes ||
1750 $as_test_x conftest$ac_exeext
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1759 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1760 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1761 # interfere with the next link command; also delete a directory that is
1762 # left behind by Apple's compiler. We do this before executing the actions.
1763 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767 } # ac_fn_c_try_link
1769 # ac_fn_c_check_func LINENO FUNC VAR
1770 # ----------------------------------
1771 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1772 ac_fn_c_check_func ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776 $as_echo_n "checking for $2... " >&6; }
1777 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1778 $as_echo_n "(cached) " >&6
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1782 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1784 #define $2 innocuous_$2
1786 /* System header to define __stub macros and hopefully few prototypes,
1787 which can conflict with char $2 (); below.
1788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1789 <limits.h> exists even on freestanding compilers. */
1792 # include <limits.h>
1794 # include <assert.h>
1799 /* Override any GCC internal prototype to avoid an error.
1800 Use char because int might match the return type of a GCC
1801 builtin and then its argument prototype would still apply. */
1806 /* The GNU C library defines this for functions which it implements
1807 to always fail with ENOSYS. Some functions are actually named
1808 something starting with __ and the normal name is an alias. */
1809 #if defined __stub_$2 || defined __stub___$2
1821 if ac_fn_c_try_link "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext \
1827 conftest$ac_exeext conftest.$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 } # ac_fn_c_check_func
1836 # ac_fn_c_check_decl LINENO SYMBOL VAR
1837 # ------------------------------------
1838 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1839 ac_fn_c_check_decl ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1843 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1845 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1846 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847 $as_echo_n "(cached) " >&6
1849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850 /* end confdefs.h. */
1855 #ifndef $as_decl_name
1857 (void) $as_decl_use;
1859 (void) $as_decl_name;
1867 if ac_fn_c_try_compile "$LINENO"; then :
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_decl
1881 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
1882 # --------------------------------------
1883 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1884 ac_fn_cxx_check_decl ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 as_decl_name=`echo $2|
sed 's/ *(.*//'`
1888 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1890 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1900 #ifndef $as_decl_name
1902 (void) $as_decl_use;
1904 (void) $as_decl_name;
1912 if ac_fn_cxx_try_compile "$LINENO"; then :
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921 $as_echo "$ac_res" >&6; }
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924 } # ac_fn_cxx_check_decl
1926 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1927 # -------------------------------------------
1928 # Tests whether TYPE exists after having included INCLUDES, setting cache
1929 # variable VAR accordingly.
1930 ac_fn_c_check_type ()
1932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1936 $as_echo_n "(cached) " >&6
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1951 if ac_fn_c_try_compile "$LINENO"; then :
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1964 if ac_fn_c_try_compile "$LINENO"; then :
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978 } # ac_fn_c_check_type
1980 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1981 # --------------------------------------------
1982 # Tries to find the compile-time value of EXPR in a program that includes
1983 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1985 ac_fn_c_compute_int ()
1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1988 if test "$cross_compiling" = yes; then
1989 # Depending upon the size, compute the lo and hi bounds.
1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
1996 static int test_array [1 - 2 * !(($2) >= 0)];
2003 if ac_fn_c_try_compile "$LINENO"; then :
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2019 if ac_fn_c_try_compile "$LINENO"; then :
2020 ac_hi=$ac_mid; break
2022 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2023 if test $ac_lo -le $ac_mid; then
2027 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2038 static int test_array [1 - 2 * !(($2) < 0)];
2045 if ac_fn_c_try_compile "$LINENO"; then :
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2054 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2061 if ac_fn_c_try_compile "$LINENO"; then :
2062 ac_lo=$ac_mid; break
2064 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2065 if test $ac_mid -le $ac_hi; then
2069 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079 # Binary search between lo and hi bounds.
2080 while test "x$ac_lo" != "x$ac_hi"; do
2081 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2095 if ac_fn_c_try_compile "$LINENO"; then :
2098 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2110 static long int longval () { return $2; }
2111 static unsigned long int ulongval () { return $2; }
2118 FILE *f = fopen ("conftest.val", "w");
2123 long int i = longval ();
2126 fprintf (f, "%ld", i);
2130 unsigned long int i = ulongval ();
2133 fprintf (f, "%lu", i);
2135 /* Do not output a trailing newline, as this causes \r\n confusion
2136 on some platforms. */
2137 return ferror (f) || fclose (f) != 0;
2143 if ac_fn_c_try_run "$LINENO"; then :
2144 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2149 conftest.$ac_objext conftest.beam conftest.$ac_ext
2153 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2156 } # ac_fn_c_compute_int
2158 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2159 # ----------------------------------------------------
2160 # Tries to find if the field MEMBER exists in type AGGR, after including
2161 # INCLUDES, setting cache variable VAR accordingly.
2162 ac_fn_c_check_member ()
2164 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2166 $as_echo_n "checking for $2.$3... " >&6; }
2167 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2183 if ac_fn_c_try_compile "$LINENO"; then :
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2193 if (sizeof ac_aggr.$3)
2199 if ac_fn_c_try_compile "$LINENO"; then :
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2211 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2213 } # ac_fn_c_check_member
2214 cat >config.log <<_ACEOF
2215 This file contains any messages produced by compilers while
2216 running configure, to aid debugging if configure makes a mistake.
2218 It was created by $as_me, which was
2219 generated by GNU Autoconf 2.64. Invocation command line was
2231 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2232 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2233 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2234 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2235 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2237 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2238 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2240 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2241 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2242 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2243 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2244 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2245 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2246 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 $as_echo "PATH: $as_dir"
2271 # Keep a trace of the command line.
2272 # Strip out --no-create and --no-recursion so they do not pile up.
2273 # Strip out --silent because we don't want to record it for future runs.
2274 # Also quote any args containing shell meta-characters.
2275 # Make two passes to allow for proper duplicate-argument suppression.
2279 ac_must_keep_next=false
2285 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2287 | -silent | --silent | --silen | --sile | --sil)
2290 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2293 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2295 as_fn_append ac_configure_args1 " '$ac_arg'"
2296 if test $ac_must_keep_next = true; then
2297 ac_must_keep_next=false # Got value, back to normal.
2300 *=* | --config-cache | -C | -disable-* | --disable-* \
2301 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2302 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2303 | -with-* | --with-* | -without-* | --without-* | --x)
2304 case "$ac_configure_args0 " in
2305 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2308 -* ) ac_must_keep_next=true ;;
2311 as_fn_append ac_configure_args " '$ac_arg'"
2316 { ac_configure_args0=; unset ac_configure_args0;}
2317 { ac_configure_args1=; unset ac_configure_args1;}
2319 # When interrupted or exit'd, cleanup temporary files, and complete
2320 # config.log. We remove comments because anyway the quotes in there
2321 # would cause problems or look ugly.
2322 # WARNING: Use '\'' to represent an apostrophe within the trap.
2323 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2324 trap 'exit_status=$?
2325 # Save into config.log some information that might help in debugging.
2330 ## ---------------- ##
2331 ## Cache variables. ##
2332 ## ---------------- ##
2335 # The following way of writing the cache mishandles newlines in values,
2337 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2338 eval ac_val=\$$ac_var
2342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2343 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2346 _ | IFS | as_nl) ;; #(
2347 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2348 *) { eval $ac_var=; unset $ac_var;} ;;
2353 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2354 *${as_nl}ac_space=\ *)
2356 "s/'\''/'\''\\\\'\'''\''/g;
2357 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2368 ## ----------------- ##
2369 ## Output variables. ##
2370 ## ----------------- ##
2373 for ac_var in $ac_subst_vars
2375 eval ac_val=\$$ac_var
2377 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2379 $as_echo "$ac_var='\''$ac_val'\''"
2383 if test -n "$ac_subst_files"; then
2385 ## ------------------- ##
2386 ## File substitutions. ##
2387 ## ------------------- ##
2390 for ac_var in $ac_subst_files
2392 eval ac_val=\$$ac_var
2394 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2396 $as_echo "$ac_var='\''$ac_val'\''"
2401 if test -s confdefs.h; then
2411 test "$ac_signal" != 0 &&
2412 $as_echo "$as_me: caught signal $ac_signal"
2413 $as_echo "$as_me: exit $exit_status"
2415 rm -f core *.core core.conftest.* &&
2416 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2419 for ac_signal in 1 2 13 15; do
2420 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2424 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2425 rm -f -r conftest* confdefs.h
2427 $as_echo "/* confdefs.h */" > confdefs.h
2429 # Predefined preprocessor variables.
2431 cat >>confdefs.h <<_ACEOF
2432 #define PACKAGE_NAME "$PACKAGE_NAME"
2435 cat >>confdefs.h <<_ACEOF
2436 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2439 cat >>confdefs.h <<_ACEOF
2440 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2443 cat >>confdefs.h <<_ACEOF
2444 #define PACKAGE_STRING "$PACKAGE_STRING"
2447 cat >>confdefs.h <<_ACEOF
2448 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2451 cat >>confdefs.h <<_ACEOF
2452 #define PACKAGE_URL "$PACKAGE_URL"
2456 # Let the site file select an alternate cache file if it wants to.
2457 # Prefer an explicitly selected file to automatically selected ones.
2460 if test -n "$CONFIG_SITE"; then
2461 ac_site_file1=$CONFIG_SITE
2462 elif test "x$prefix" != xNONE; then
2463 ac_site_file1=$prefix/share/config.site
2464 ac_site_file2=$prefix/etc/config.site
2466 ac_site_file1=$ac_default_prefix/share/config.site
2467 ac_site_file2=$ac_default_prefix/etc/config.site
2469 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2471 test "x$ac_site_file" = xNONE && continue
2472 if test -r "$ac_site_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2474 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2475 sed 's/^/| /' "$ac_site_file" >&5
2480 if test -r "$cache_file"; then
2481 # Some versions of bash will fail to source /dev/null (special
2482 # files actually), so we avoid doing that.
2483 if test -f "$cache_file"; then
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2485 $as_echo "$as_me: loading cache $cache_file" >&6;}
2487 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2488 *) . "./$cache_file";;
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2493 $as_echo "$as_me: creating cache $cache_file" >&6;}
2497 # Check that the precious variables saved in the cache have kept the same
2499 ac_cache_corrupted=false
2500 for ac_var in $ac_precious_vars; do
2501 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2502 eval ac_new_set=\$ac_env_${ac_var}_set
2503 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2504 eval ac_new_val=\$ac_env_${ac_var}_value
2505 case $ac_old_set,$ac_new_set in
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2508 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2509 ac_cache_corrupted=: ;;
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2512 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2513 ac_cache_corrupted=: ;;
2516 if test "x$ac_old_val" != "x$ac_new_val"; then
2517 # differences in whitespace do not lead to failure.
2518 ac_old_val_w=`echo x
$ac_old_val`
2519 ac_new_val_w=`echo x
$ac_new_val`
2520 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2522 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2523 ac_cache_corrupted=:
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2526 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2527 eval $ac_var=\$ac_old_val
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2530 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2532 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2535 # Pass precious variables to config.status.
2536 if test "$ac_new_set" = set; then
2538 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2539 *) ac_arg=$ac_var=$ac_new_val ;;
2541 case " $ac_configure_args " in
2542 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2543 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2547 if $ac_cache_corrupted; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2551 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2552 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2554 ## -------------------- ##
2555 ## Main body of script. ##
2556 ## -------------------- ##
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2568 ac_config_headers="$ac_config_headers config.h:config.in"
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2573 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2574 # Check whether --enable-maintainer-mode was given.
2575 if test "${enable_maintainer_mode+set}" = set; then :
2576 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2578 USE_MAINTAINER_MODE=no
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2582 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2583 if test $USE_MAINTAINER_MODE = yes; then
2584 MAINTAINER_MODE_TRUE=
2585 MAINTAINER_MODE_FALSE='#'
2587 MAINTAINER_MODE_TRUE='#'
2588 MAINTAINER_MODE_FALSE=
2591 MAINT=$MAINTAINER_MODE_TRUE
2596 ac_cpp='$CPP $CPPFLAGS'
2597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2600 if test -n "$ac_tool_prefix"; then
2601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
2605 if test "${ac_cv_prog_CC+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 if test -n "$CC"; then
2609 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2629 if test -n "$CC"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2631 $as_echo "$CC" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2639 if test -z "$ac_cv_prog_CC"; then
2641 # Extract the first word of "gcc", so it can be a program name with args.
2642 set dummy gcc; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$ac_ct_CC"; then
2649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_ac_ct_CC="gcc"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2669 if test -n "$ac_ct_CC"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2671 $as_echo "$ac_ct_CC" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2677 if test "x$ac_ct_CC" = x; then
2680 case $cross_compiling:$ac_tool_warned in
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2684 ac_tool_warned=yes ;;
2692 if test -z "$CC"; then
2693 if test -n "$ac_tool_prefix"; then
2694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2695 set dummy ${ac_tool_prefix}cc; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if test "${ac_cv_prog_CC+set}" = set; then :
2699 $as_echo_n "(cached) " >&6
2701 if test -n "$CC"; then
2702 ac_cv_prog_CC="$CC" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711 ac_cv_prog_CC="${ac_tool_prefix}cc"
2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test -n "$CC"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2724 $as_echo "$CC" >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2733 if test -z "$CC"; then
2734 # Extract the first word of "cc", so it can be a program name with args.
2735 set dummy cc; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if test "${ac_cv_prog_CC+set}" = set; then :
2739 $as_echo_n "(cached) " >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2753 ac_prog_rejected=yes
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 if test $ac_prog_rejected = yes; then
2765 # We found a bogon in the path, so make sure we never use it.
2766 set dummy $ac_cv_prog_CC
2768 if test $# != 0; then
2769 # We chose a different compiler from the bogus one.
2770 # However, it has the same basename, so the bogon will be chosen
2771 # first if we set CC to just the basename; use the full file name.
2773 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2779 if test -n "$CC"; then
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2781 $as_echo "$CC" >&6; }
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2784 $as_echo "no" >&6; }
2789 if test -z "$CC"; then
2790 if test -n "$ac_tool_prefix"; then
2791 for ac_prog in cl.exe
2793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 $as_echo_n "checking for $ac_word... " >&6; }
2797 if test "${ac_cv_prog_CC+set}" = set; then :
2798 $as_echo_n "(cached) " >&6
2800 if test -n "$CC"; then
2801 ac_cv_prog_CC="$CC" # Let the user override the test.
2803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807 test -z "$as_dir" && as_dir=.
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2810 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821 if test -n "$CC"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823 $as_echo "$CC" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826 $as_echo "no" >&6; }
2830 test -n "$CC" && break
2833 if test -z "$CC"; then
2835 for ac_prog in cl.exe
2837 # Extract the first word of "$ac_prog", so it can be a program name with args.
2838 set dummy $ac_prog; ac_word=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$ac_ct_CC"; then
2845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_ac_ct_CC="$ac_prog"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2865 if test -n "$ac_ct_CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2867 $as_echo "$ac_ct_CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2874 test -n "$ac_ct_CC" && break
2877 if test "x$ac_ct_CC" = x; then
2880 case $cross_compiling:$ac_tool_warned in
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2884 ac_tool_warned=yes ;;
2893 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 as_fn_error "no acceptable C compiler found
in \
$PATH
2896 See \
`config.log' for more details." "$LINENO" 5; }
2898 # Provide some information about the compiler.
2899 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2902 for ac_option in --version -v -V -qversion; do
2903 { { ac_try="$ac_compiler $ac_option >&5"
2905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2906 *) ac_try_echo
=$ac_try;;
2908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2909 $as_echo "$ac_try_echo"; } >&5
2910 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2912 if test -s conftest.err
; then
2914 ... rest of stderr output deleted ...
2915 10q' conftest.err
>conftest.er1
2916 cat conftest.er1
>&5
2917 rm -f conftest.er1 conftest.err
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; }
2923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2934 ac_clean_files_save
=$ac_clean_files
2935 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2936 # Try to create an executable without -o first, disregard a.out.
2937 # It will help us diagnose broken compilers, and finding out an intuition
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2940 $as_echo_n "checking for C compiler default output file name... " >&6; }
2941 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2943 # The possible output files:
2944 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2947 for ac_file
in $ac_files
2950 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2951 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2956 if { { ac_try
="$ac_link_default"
2958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_link_default") 2>&5
2965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966 test $ac_status = 0; }; then :
2967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2968 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2970 # so that the user can short-circuit this test for compilers unknown to
2972 for ac_file in $ac_files ''
2974 test -f "$ac_file" || continue
2976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2979 # We found the default executable, but exeext='' is most
2983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2985 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2987 # We set ac_cv_exeext here because the later test for it is not
2988 # safe: cross compilers may not add the suffix if given an `-o'
2989 # argument, so we may need to know it at that point already.
2990 # Even if this section looks crufty: it has the advantage of
2997 test "$ac_cv_exeext" = no && ac_cv_exeext=
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3003 $as_echo "$ac_file" >&6; }
3004 if test -z "$ac_file"; then :
3005 $as_echo "$as_me: failed program was:" >&5
3006 sed 's
/^
/|
/' conftest.$ac_ext >&5
3008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3010 { as_fn_set_status 77
3011 as_fn_error "C compiler cannot create executables
3012 See \`config.log
' for more details." "$LINENO" 5; }; }
3014 ac_exeext=$ac_cv_exeext
3016 # Check that the compiler produces executables we can run. If not, either
3017 # the compiler is broken, or we cross compile.
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3019 $as_echo_n "checking whether the C compiler works... " >&6; }
3020 # If not cross compiling, check that we can run a simple program.
3021 if test "$cross_compiling" != yes; then
3022 if { ac_try='.
/$ac_file'
3023 { { case "(($ac_try" in
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_try") 2>&5
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }; }; then
3035 if test "$cross_compiling" = maybe; then
3038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3040 as_fn_error "cannot run C compiled programs.
3041 If you meant to cross compile, use \`--host'.
3042 See \`config.log' for more details.
" "$LINENO" 5; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
3047 $as_echo "yes" >&6; }
3049 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3050 ac_clean_files=$ac_clean_files_save
3051 # Check that the compiler produces executables we can run. If not, either
3052 # the compiler is broken, or we cross compile.
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
3054 $as_echo_n "checking whether we are cross compiling...
" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $cross_compiling" >&5
3056 $as_echo "$cross_compiling" >&6; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
3059 $as_echo_n "checking
for suffix of executables...
" >&6; }
3060 if { { ac_try="$ac_link"
3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3073 # work properly (i.e., refer to `conftest.exe'), while it won't with
3075 for ac_file in conftest.exe conftest conftest.*; do
3076 test -f "$ac_file" || continue
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error "cannot compute suffix of executables: cannot compile and link
3088 See \`config.log' for more details.
" "$LINENO" 5; }
3090 rm -f conftest$ac_cv_exeext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
3092 $as_echo "$ac_cv_exeext" >&6; }
3094 rm -f conftest.$ac_ext
3095 EXEEXT=$ac_cv_exeext
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of object files
" >&5
3098 $as_echo_n "checking
for suffix of object files...
" >&6; }
3099 if test "${ac_cv_objext+set}" = set; then :
3100 $as_echo_n "(cached
) " >&6
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3113 rm -f conftest.o conftest.obj
3114 if { { ac_try="$ac_compile"
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3119 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_compile") 2>&5
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3124 test $ac_status = 0; }; then :
3125 for ac_file in conftest.o conftest.obj conftest.*; do
3126 test -f "$ac_file" || continue;
3128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3129 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3134 $as_echo "$as_me: failed program was
:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error "cannot compute suffix of object files: cannot compile
3140 See \`config.log' for more details.
" "$LINENO" 5; }
3142 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_objext" >&5
3145 $as_echo "$ac_cv_objext" >&6; }
3146 OBJEXT=$ac_cv_objext
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler
" >&5
3149 $as_echo_n "checking whether we are using the GNU C compiler...
" >&6; }
3150 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3151 $as_echo_n "(cached
) " >&6
3153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3154 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_c_compiler_gnu" >&5
3177 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3178 if test $ac_compiler_gnu = yes; then
3183 ac_test_CFLAGS=${CFLAGS+set}
3184 ac_save_CFLAGS=$CFLAGS
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CC accepts
-g" >&5
3186 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
3187 if test "${ac_cv_prog_cc_g+set}" = set; then :
3188 $as_echo_n "(cached
) " >&6
3190 ac_save_c_werror_flag=$ac_c_werror_flag
3191 ac_c_werror_flag=yes
3194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3195 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3220 if ac_fn_c_try_compile "$LINENO"; then :
3223 ac_c_werror_flag=$ac_save_c_werror_flag
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 if ac_fn_c_try_compile "$LINENO"; then :
3239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_c_werror_flag=$ac_save_c_werror_flag
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_g" >&5
3247 $as_echo "$ac_cv_prog_cc_g" >&6; }
3248 if test "$ac_test_CFLAGS" = set; then
3249 CFLAGS=$ac_save_CFLAGS
3250 elif test $ac_cv_prog_cc_g = yes; then
3251 if test "$GCC" = yes; then
3257 if test "$GCC" = yes; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $CC option to accept ISO C89
" >&5
3264 $as_echo_n "checking
for $CC option to accept ISO C89...
" >&6; }
3265 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3266 $as_echo_n "(cached
) " >&6
3268 ac_cv_prog_cc_c89=no
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3274 #include <sys/types.h>
3275 #include <sys/stat.h>
3276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3277 struct buf { int x; };
3278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3279 static char *e (p, i)
3285 static char *f (char * (*g) (char **, int), char **p, ...)
3290 s = g (p, va_arg (v,int));
3295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3296 function prototypes and stuff, but not '\xHH' hex character constants.
3297 These don't provoke an error unfortunately, instead are silently treated
3298 as 'x'. The following induces an error, until -std is added to get
3299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3300 array size at least. It's necessary to write '\x00'==0 to get something
3301 that's true only with -std. */
3302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3304 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3305 inside strings and character constants. */
3307 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3309 int test (int i, double x);
3310 struct s1 {int (*f) (int a);};
3311 struct s2 {int (*f) (double a);};
3312 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3318 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3326 CC="$ac_save_CC $ac_arg"
3327 if ac_fn_c_try_compile "$LINENO"; then :
3328 ac_cv_prog_cc_c89=$ac_arg
3330 rm -f core conftest.err conftest.$ac_objext
3331 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3333 rm -f conftest.$ac_ext
3338 case "x
$ac_cv_prog_cc_c89" in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none needed
" >&5
3341 $as_echo "none needed
" >&6; } ;;
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: unsupported
" >&5
3344 $as_echo "unsupported
" >&6; } ;;
3346 CC="$CC $ac_cv_prog_cc_c89"
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cc_c89" >&5
3348 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3350 if test "x
$ac_cv_prog_cc_c89" != xno; then :
3355 ac_cpp='$CPP $CPPFLAGS'
3356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361 ac_cpp='$CXXCPP $CPPFLAGS'
3362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3365 if test -z "$CXX"; then
3366 if test -n "$CCC"; then
3369 if test -n "$ac_tool_prefix"; then
3370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3375 $as_echo_n "checking
for $ac_word...
" >&6; }
3376 if test "${ac_cv_prog_CXX+set}" = set; then :
3377 $as_echo_n "(cached
) " >&6
3379 if test -n "$CXX"; then
3380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3400 if test -n "$CXX"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX" >&5
3402 $as_echo "$CXX" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3405 $as_echo "no
" >&6; }
3409 test -n "$CXX" && break
3412 if test -z "$CXX"; then
3414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3416 # Extract the first word of "$ac_prog", so it can be a program name with args.
3417 set dummy $ac_prog; ac_word=$2
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
3419 $as_echo_n "checking
for $ac_word...
" >&6; }
3420 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3421 $as_echo_n "(cached
) " >&6
3423 if test -n "$ac_ct_CXX"; then
3424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir=.
3431 for ac_exec_ext in '' $ac_executable_extensions; do
3432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3433 ac_cv_prog_ac_ct_CXX="$ac_prog"
3434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
3443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3444 if test -n "$ac_ct_CXX"; then
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CXX" >&5
3446 $as_echo "$ac_ct_CXX" >&6; }
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
3449 $as_echo "no
" >&6; }
3453 test -n "$ac_ct_CXX" && break
3456 if test "x
$ac_ct_CXX" = x; then
3459 case $cross_compiling:$ac_tool_warned in
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
3462 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
3463 ac_tool_warned=yes ;;
3471 # Provide some information about the compiler.
3472 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C
++ compiler version
" >&5
3475 for ac_option in --version -v -V -qversion; do
3476 { { ac_try="$ac_compiler $ac_option >&5"
3478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 *) ac_try_echo=$ac_try;;
3481 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482 $as_echo "$ac_try_echo"; } >&5
3483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3485 if test -s conftest.err; then
3487 ... rest of stderr output deleted ...
3488 10q' conftest.err >conftest.er1
3489 cat conftest.er1 >&5
3490 rm -f conftest.er1 conftest.err
3492 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
3493 test $ac_status = 0; }
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C
++ compiler
" >&5
3497 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
3498 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3499 $as_echo_n "(cached
) " >&6
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3515 if ac_fn_cxx_try_compile "$LINENO"; then :
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_cxx_compiler_gnu" >&5
3525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3526 if test $ac_compiler_gnu = yes; then
3531 ac_test_CXXFLAGS=${CXXFLAGS+set}
3532 ac_save_CXXFLAGS=$CXXFLAGS
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
$CXX accepts
-g" >&5
3534 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
3535 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3536 $as_echo_n "(cached
) " >&6
3538 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3539 ac_cxx_werror_flag=yes
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_cxx_try_compile "$LINENO"; then :
3554 ac_cv_prog_cxx_g=yes
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_cxx_try_compile "$LINENO"; then :
3571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_cxx_try_compile "$LINENO"; then :
3585 ac_cv_prog_cxx_g=yes
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_cxx_g" >&5
3595 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3596 if test "$ac_test_CXXFLAGS" = set; then
3597 CXXFLAGS=$ac_save_CXXFLAGS
3598 elif test $ac_cv_prog_cxx_g = yes; then
3599 if test "$GXX" = yes; then
3605 if test "$GXX" = yes; then
3612 ac_cpp='$CPP $CPPFLAGS'
3613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3619 ac_cpp='$CPP $CPPFLAGS'
3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
3624 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
3625 # On Suns, sometimes $CPP names a directory.
3626 if test -n "$CPP" && test -d "$CPP"; then
3629 if test -z "$CPP"; then
3630 if test "${ac_cv_prog_CPP+set}" = set; then :
3631 $as_echo_n "(cached
) " >&6
3633 # Double quotes because CPP needs to be expanded
3634 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3637 for ac_c_preproc_warn_flag in '' yes
3639 # Use a header file that comes with gcc, so configuring glibc
3640 # with a fresh cross-compiler works.
3641 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3642 # <limits.h> exists even on freestanding compilers.
3643 # On the NeXT, cc -E runs the code through the compiler's parser,
3644 # not just through cpp. "Syntax error
" is here to catch this case.
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3648 # include <limits.h>
3650 # include <assert.h>
3654 if ac_fn_c_try_cpp "$LINENO"; then :
3657 # Broken: fails on valid input.
3660 rm -f conftest.err conftest.$ac_ext
3662 # OK, works on sane cases. Now check whether nonexistent headers
3663 # can be detected and how.
3664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3666 #include <ac_nonexistent.h>
3668 if ac_fn_c_try_cpp "$LINENO"; then :
3669 # Broken: success on invalid input.
3672 # Passes both tests.
3676 rm -f conftest.err conftest.$ac_ext
3679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3680 rm -f conftest.err conftest.$ac_ext
3681 if $ac_preproc_ok; then :
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
3694 $as_echo "$CPP" >&6; }
3696 for ac_c_preproc_warn_flag in '' yes
3698 # Use a header file that comes with gcc, so configuring glibc
3699 # with a fresh cross-compiler works.
3700 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3701 # <limits.h> exists even on freestanding compilers.
3702 # On the NeXT, cc -E runs the code through the compiler's parser,
3703 # not just through cpp. "Syntax error
" is here to catch this case.
3704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705 /* end confdefs.h. */
3707 # include <limits.h>
3709 # include <assert.h>
3713 if ac_fn_c_try_cpp "$LINENO"; then :
3716 # Broken: fails on valid input.
3719 rm -f conftest.err conftest.$ac_ext
3721 # OK, works on sane cases. Now check whether nonexistent headers
3722 # can be detected and how.
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3725 #include <ac_nonexistent.h>
3727 if ac_fn_c_try_cpp "$LINENO"; then :
3728 # Broken: success on invalid input.
3731 # Passes both tests.
3735 rm -f conftest.err conftest.$ac_ext
3738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3739 rm -f conftest.err conftest.$ac_ext
3740 if $ac_preproc_ok; then :
3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3746 See \`config.log' for more details.
" "$LINENO" 5; }
3750 ac_cpp='$CPP $CPPFLAGS'
3751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
3757 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
3758 if test "${ac_cv_path_GREP+set}" = set; then :
3759 $as_echo_n "(cached
) " >&6
3761 if test -z "$GREP"; then
3762 ac_path_GREP_found=false
3763 # Loop through the user's path and test for each of PROGNAME-LIST
3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3768 test -z "$as_dir" && as_dir=.
3769 for ac_prog in grep ggrep; do
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3771 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3772 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3773 # Check for GNU ac_path_GREP and select it if it is found.
3774 # Check for GNU $ac_path_GREP
3775 case `"$ac_path_GREP" --version 2>&1` in
3777 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3780 $as_echo_n 0123456789 >"conftest.
in"
3783 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3784 mv "conftest.tmp
" "conftest.
in"
3785 cp "conftest.
in" "conftest.
nl"
3786 $as_echo 'GREP' >> "conftest.
nl"
3787 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3788 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3789 as_fn_arith $ac_count + 1 && ac_count=$as_val
3790 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3791 # Best one so far, save it but keep looking for a better one
3792 ac_cv_path_GREP="$ac_path_GREP"
3793 ac_path_GREP_max=$ac_count
3795 # 10*(2^10) chars as input seems more than enough
3796 test $ac_count -gt 10 && break
3798 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3801 $ac_path_GREP_found && break 3
3806 if test -z "$ac_cv_path_GREP"; then
3807 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3810 ac_cv_path_GREP=$GREP
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
3815 $as_echo "$ac_cv_path_GREP" >&6; }
3816 GREP="$ac_cv_path_GREP"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
3820 $as_echo_n "checking
for egrep...
" >&6; }
3821 if test "${ac_cv_path_EGREP+set}" = set; then :
3822 $as_echo_n "(cached
) " >&6
3824 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3825 then ac_cv_path_EGREP="$GREP -E"
3827 if test -z "$EGREP"; then
3828 ac_path_EGREP_found=false
3829 # Loop through the user's path and test for each of PROGNAME-LIST
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3834 test -z "$as_dir" && as_dir=.
3835 for ac_prog in egrep; do
3836 for ac_exec_ext in '' $ac_executable_extensions; do
3837 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3839 # Check for GNU ac_path_EGREP and select it if it is found.
3840 # Check for GNU $ac_path_EGREP
3841 case `"$ac_path_EGREP" --version 2>&1` in
3843 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3846 $as_echo_n 0123456789 >"conftest.
in"
3849 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3850 mv "conftest.tmp
" "conftest.
in"
3851 cp "conftest.
in" "conftest.
nl"
3852 $as_echo 'EGREP' >> "conftest.
nl"
3853 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3854 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3855 as_fn_arith $ac_count + 1 && ac_count=$as_val
3856 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3857 # Best one so far, save it but keep looking for a better one
3858 ac_cv_path_EGREP="$ac_path_EGREP"
3859 ac_path_EGREP_max=$ac_count
3861 # 10*(2^10) chars as input seems more than enough
3862 test $ac_count -gt 10 && break
3864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3867 $ac_path_EGREP_found && break 3
3872 if test -z "$ac_cv_path_EGREP"; then
3873 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
3876 ac_cv_path_EGREP=$EGREP
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
3882 $as_echo "$ac_cv_path_EGREP" >&6; }
3883 EGREP="$ac_cv_path_EGREP"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
3887 $as_echo_n "checking
for ANSI C header files...
" >&6; }
3888 if test "${ac_cv_header_stdc+set}" = set; then :
3889 $as_echo_n "(cached
) " >&6
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3906 if ac_fn_c_try_compile "$LINENO"; then :
3907 ac_cv_header_stdc=yes
3909 ac_cv_header_stdc=no
3911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913 if test $ac_cv_header_stdc = yes; then
3914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916 /* end confdefs.h. */
3920 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3921 $EGREP "memchr
" >/dev/null 2>&1; then :
3924 ac_cv_header_stdc=no
3930 if test $ac_cv_header_stdc = yes; then
3931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3937 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3938 $EGREP "free
" >/dev/null 2>&1; then :
3941 ac_cv_header_stdc=no
3947 if test $ac_cv_header_stdc = yes; then
3948 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3949 if test "$cross_compiling" = yes; then :
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3956 #if ((' ' & 0x0FF) == 0x020)
3957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3960 # define ISLOWER(c) \
3961 (('a' <= (c) && (c) <= 'i') \
3962 || ('j' <= (c) && (c) <= 'r') \
3963 || ('s' <= (c) && (c) <= 'z'))
3964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3972 for (i = 0; i < 256; i++)
3973 if (XOR (islower (i), ISLOWER (i))
3974 || toupper (i) != TOUPPER (i))
3979 if ac_fn_c_try_run "$LINENO"; then :
3982 ac_cv_header_stdc=no
3984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3985 conftest.$ac_objext conftest.beam conftest.$ac_ext
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
3991 $as_echo "$ac_cv_header_stdc" >&6; }
3992 if test $ac_cv_header_stdc = yes; then
3994 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3999 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4000 inttypes.h stdint.h unistd.h
4002 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4003 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4005 eval as_val
=\$
$as_ac_Header
4006 if test "x$as_val" = x
""yes; then :
4007 cat >>confdefs.h
<<_ACEOF
4008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4017 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4018 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4025 if test "$MINIX" = yes; then
4027 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4030 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4033 $as_echo "#define _MINIX 1" >>confdefs.h
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4039 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4040 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4041 $as_echo_n "(cached) " >&6
4043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4046 # define __EXTENSIONS__ 1
4047 $ac_includes_default
4056 if ac_fn_c_try_compile
"$LINENO"; then :
4057 ac_cv_safe_to_define___extensions__
=yes
4059 ac_cv_safe_to_define___extensions__
=no
4061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4064 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4065 test $ac_cv_safe_to_define___extensions__ = yes &&
4066 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4068 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4070 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4072 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4074 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4078 # Check whether --enable-largefile was given.
4079 if test "${enable_largefile+set}" = set; then :
4080 enableval
=$enable_largefile;
4083 if test "$enable_largefile" != no
; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4086 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4087 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 ac_cv_sys_largefile_CC
=no
4091 if test "$GCC" != yes; then
4094 # IRIX 6.2 and later do not support large files by default,
4095 # so use the C compiler's -n32 option if that helps.
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098 #include <sys/types.h>
4099 /* Check that off_t can represent 2**63 - 1 correctly.
4100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4101 since some C++ compilers masquerading as C compilers
4102 incorrectly reject 9223372036854775807. */
4103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4105 && LARGE_OFF_T % 2147483647 == 1)
4115 if ac_fn_c_try_compile
"$LINENO"; then :
4118 rm -f core conftest.err conftest.
$ac_objext
4120 if ac_fn_c_try_compile
"$LINENO"; then :
4121 ac_cv_sys_largefile_CC
=' -n32'; break
4123 rm -f core conftest.err conftest.
$ac_objext
4127 rm -f conftest.
$ac_ext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4131 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4132 if test "$ac_cv_sys_largefile_CC" != no
; then
4133 CC
=$CC$ac_cv_sys_largefile_CC
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4137 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4138 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4144 #include <sys/types.h>
4145 /* Check that off_t can represent 2**63 - 1 correctly.
4146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4147 since some C++ compilers masquerading as C compilers
4148 incorrectly reject 9223372036854775807. */
4149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4151 && LARGE_OFF_T % 2147483647 == 1)
4161 if ac_fn_c_try_compile
"$LINENO"; then :
4162 ac_cv_sys_file_offset_bits
=no
; break
4164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167 #define _FILE_OFFSET_BITS 64
4168 #include <sys/types.h>
4169 /* Check that off_t can represent 2**63 - 1 correctly.
4170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4171 since some C++ compilers masquerading as C compilers
4172 incorrectly reject 9223372036854775807. */
4173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4175 && LARGE_OFF_T % 2147483647 == 1)
4185 if ac_fn_c_try_compile
"$LINENO"; then :
4186 ac_cv_sys_file_offset_bits
=64; break
4188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4189 ac_cv_sys_file_offset_bits
=unknown
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4194 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4195 case $ac_cv_sys_file_offset_bits in #(
4198 cat >>confdefs.h
<<_ACEOF
4199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4204 if test $ac_cv_sys_file_offset_bits = unknown
; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4206 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4207 if test "${ac_cv_sys_large_files+set}" = set; then :
4208 $as_echo_n "(cached) " >&6
4211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 #include <sys/types.h>
4214 /* Check that off_t can represent 2**63 - 1 correctly.
4215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4216 since some C++ compilers masquerading as C compilers
4217 incorrectly reject 9223372036854775807. */
4218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4220 && LARGE_OFF_T % 2147483647 == 1)
4230 if ac_fn_c_try_compile
"$LINENO"; then :
4231 ac_cv_sys_large_files
=no
; break
4233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4236 #define _LARGE_FILES 1
4237 #include <sys/types.h>
4238 /* Check that off_t can represent 2**63 - 1 correctly.
4239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4240 since some C++ compilers masquerading as C compilers
4241 incorrectly reject 9223372036854775807. */
4242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4244 && LARGE_OFF_T % 2147483647 == 1)
4254 if ac_fn_c_try_compile
"$LINENO"; then :
4255 ac_cv_sys_large_files
=1; break
4257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4258 ac_cv_sys_large_files
=unknown
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4263 $as_echo "$ac_cv_sys_large_files" >&6; }
4264 case $ac_cv_sys_large_files in #(
4267 cat >>confdefs.h
<<_ACEOF
4268 #define _LARGE_FILES $ac_cv_sys_large_files
4278 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4279 for ac_t
in install-sh
install.sh shtool
; do
4280 if test -f "$ac_dir/$ac_t"; then
4282 ac_install_sh
="$ac_aux_dir/$ac_t -c"
4287 if test -z "$ac_aux_dir"; then
4288 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4291 # These three variables are undocumented and unsupported,
4292 # and are intended to be withdrawn in a future Autoconf release.
4293 # They can cause serious problems if a builder's source tree is in a directory
4294 # whose full name contains unusual characters.
4295 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4296 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4297 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4300 # Make sure we can run config.sub.
4301 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4302 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4305 $as_echo_n "checking build system type... " >&6; }
4306 if test "${ac_cv_build+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 ac_build_alias
=$build_alias
4310 test "x$ac_build_alias" = x
&&
4311 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4312 test "x$ac_build_alias" = x
&&
4313 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4314 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4315 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4319 $as_echo "$ac_cv_build" >&6; }
4320 case $ac_cv_build in
4322 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4325 ac_save_IFS
=$IFS; IFS
='-'
4331 # Remember, the first character of IFS is used to create $*,
4332 # except with old shells:
4335 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4339 $as_echo_n "checking host system type... " >&6; }
4340 if test "${ac_cv_host+set}" = set; then :
4341 $as_echo_n "(cached) " >&6
4343 if test "x$host_alias" = x
; then
4344 ac_cv_host
=$ac_cv_build
4346 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4347 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4352 $as_echo "$ac_cv_host" >&6; }
4355 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4358 ac_save_IFS
=$IFS; IFS
='-'
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4368 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4372 $as_echo_n "checking target system type... " >&6; }
4373 if test "${ac_cv_target+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4376 if test "x$target_alias" = x
; then
4377 ac_cv_target
=$ac_cv_host
4379 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4380 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4385 $as_echo "$ac_cv_target" >&6; }
4386 case $ac_cv_target in
4388 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
4390 target
=$ac_cv_target
4391 ac_save_IFS
=$IFS; IFS
='-'
4397 # Remember, the first character of IFS is used to create $*,
4398 # except with old shells:
4401 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
4404 # The aliases save the names the user supplied, while $host etc.
4405 # will get canonicalized.
4406 test -n "$target_alias" &&
4407 test "$program_prefix$program_suffix$program_transform_name" = \
4409 program_prefix
=${target_alias}-
4412 # Find a good install program. We prefer a C program (faster),
4413 # so one script is as good as another. But avoid the broken or
4414 # incompatible versions:
4415 # SysV /etc/install, /usr/sbin/install
4416 # SunOS /usr/etc/install
4417 # IRIX /sbin/install
4419 # AmigaOS /C/install, which installs bootblocks on floppy discs
4420 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4421 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4422 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4423 # OS/2's system install, which has a completely different semantic
4424 # ./install, which can be erroneously created by make from ./install.sh.
4425 # Reject install programs that cannot install multiple files.
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4427 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4428 if test -z "$INSTALL"; then
4429 if test "${ac_cv_path_install+set}" = set; then :
4430 $as_echo_n "(cached) " >&6
4432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir
=.
4437 # Account for people who put trailing slashes in PATH elements.
4438 case $as_dir/ in #((
4439 .
/ | .
// |
/[cC
]/* | \
4440 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4441 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4444 # OSF1 and SCO ODT 3.0 have their own names for install.
4445 # Don't use installbsd from OSF since it installs stuff as root
4447 for ac_prog
in ginstall scoinst
install; do
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4450 if test $ac_prog = install &&
4451 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4452 # AIX install. It has an incompatible calling convention.
4454 elif test $ac_prog = install &&
4455 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4456 # program-specific install script used by HP pwplus--don't use.
4459 rm -rf conftest.one conftest.two conftest.dir
4460 echo one
> conftest.one
4461 echo two
> conftest.two
4463 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4464 test -s conftest.one
&& test -s conftest.two
&&
4465 test -s conftest.dir
/conftest.one
&&
4466 test -s conftest.dir
/conftest.two
4468 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4481 rm -rf conftest.one conftest.two conftest.dir
4484 if test "${ac_cv_path_install+set}" = set; then
4485 INSTALL
=$ac_cv_path_install
4487 # As a last resort, use the slow shell script. Don't cache a
4488 # value for INSTALL within a source directory, because that will
4489 # break other packages using the cache if that directory is
4490 # removed, or if the value is a relative name.
4491 INSTALL
=$ac_install_sh
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4495 $as_echo "$INSTALL" >&6; }
4497 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4498 # It thinks the first close brace ends the variable substitution.
4499 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4501 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4503 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4505 if test -n "$ac_tool_prefix"; then
4506 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4507 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if test "${ac_cv_prog_AR+set}" = set; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -n "$AR"; then
4514 ac_cv_prog_AR
="$AR" # Let the user override the test.
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4523 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 if test -n "$AR"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4536 $as_echo "$AR" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4544 if test -z "$ac_cv_prog_AR"; then
4546 # Extract the first word of "ar", so it can be a program name with args.
4547 set dummy
ar; ac_word
=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$ac_ct_AR"; then
4554 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_ac_ct_AR
="ar"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4574 if test -n "$ac_ct_AR"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4576 $as_echo "$ac_ct_AR" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4582 if test "x$ac_ct_AR" = x
; then
4585 case $cross_compiling:$ac_tool_warned in
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4589 ac_tool_warned
=yes ;;
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4599 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4601 $as_echo_n "checking for $ac_word... " >&6; }
4602 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 if test -n "$RANLIB"; then
4606 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4615 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 RANLIB
=$ac_cv_prog_RANLIB
4626 if test -n "$RANLIB"; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4628 $as_echo "$RANLIB" >&6; }
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4631 $as_echo "no" >&6; }
4636 if test -z "$ac_cv_prog_RANLIB"; then
4637 ac_ct_RANLIB
=$RANLIB
4638 # Extract the first word of "ranlib", so it can be a program name with args.
4639 set dummy ranlib
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$ac_ct_RANLIB"; then
4646 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4666 if test -n "$ac_ct_RANLIB"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4668 $as_echo "$ac_ct_RANLIB" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4674 if test "x$ac_ct_RANLIB" = x
; then
4677 case $cross_compiling:$ac_tool_warned in
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4681 ac_tool_warned
=yes ;;
4683 RANLIB
=$ac_ct_RANLIB
4686 RANLIB
="$ac_cv_prog_RANLIB"
4690 test "$program_prefix" != NONE
&&
4691 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4692 # Use a double $ so make ignores it.
4693 test "$program_suffix" != NONE
&&
4694 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4695 # Double any \ or $.
4696 # By default was `s,x,x', remove it if useless.
4697 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4698 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4702 $as_echo_n "checking for ANSI C header files... " >&6; }
4703 if test "${ac_cv_header_stdc+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4721 if ac_fn_c_try_compile
"$LINENO"; then :
4722 ac_cv_header_stdc
=yes
4724 ac_cv_header_stdc
=no
4726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4728 if test $ac_cv_header_stdc = yes; then
4729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4736 $EGREP "memchr" >/dev
/null
2>&1; then :
4739 ac_cv_header_stdc
=no
4745 if test $ac_cv_header_stdc = yes; then
4746 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4753 $EGREP "free" >/dev
/null
2>&1; then :
4756 ac_cv_header_stdc
=no
4762 if test $ac_cv_header_stdc = yes; then
4763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4764 if test "$cross_compiling" = yes; then :
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 #if ((' ' & 0x0FF) == 0x020)
4772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4775 # define ISLOWER(c) \
4776 (('a' <= (c) && (c) <= 'i') \
4777 || ('j' <= (c) && (c) <= 'r') \
4778 || ('s' <= (c) && (c) <= 'z'))
4779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4787 for (i = 0; i < 256; i++)
4788 if (XOR (islower (i), ISLOWER (i))
4789 || toupper (i) != TOUPPER (i))
4794 if ac_fn_c_try_run
"$LINENO"; then :
4797 ac_cv_header_stdc
=no
4799 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4800 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4806 $as_echo "$ac_cv_header_stdc" >&6; }
4807 if test $ac_cv_header_stdc = yes; then
4809 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4814 # See if we are building with C++, and substitute COMPILER.
4816 # Check whether --enable-build-with-cxx was given.
4817 if test "${enable_build_with_cxx+set}" = set; then :
4818 enableval
=$enable_build_with_cxx; case $enableval in
4822 as_fn_error
"bad value $enableval for --enable-build-with-cxx" "$LINENO" 5 ;;
4825 enable_build_with_cxx
=no
4829 if test "$enable_build_with_cxx" = "yes"; then
4837 # Set the 'development' global.
4838 .
$srcdir/..
/..
/bfd
/development.sh
4840 # Enable -lmcheck by default (it provides cheap-enough memory
4841 # mangling), but turn it off for releases.
4842 if $development; then
4843 libmcheck_default
=yes
4845 libmcheck_default
=no
4848 # Check whether --enable-libmcheck was given.
4849 if test "${enable_libmcheck+set}" = set; then :
4850 enableval
=$enable_libmcheck; case "${enableval}" in
4851 yes | y
) ENABLE_LIBMCHECK
="yes" ;;
4852 no | n
) ENABLE_LIBMCHECK
="no" ;;
4853 *) as_fn_error
"bad value ${enableval} for --enable-libmcheck" "$LINENO" 5 ;;
4858 if test -z "${ENABLE_LIBMCHECK}"; then
4859 ENABLE_LIBMCHECK
=${libmcheck_default}
4862 if test "$ENABLE_LIBMCHECK" = "yes" ; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmcheck" >&5
4864 $as_echo_n "checking for main in -lmcheck... " >&6; }
4865 if test "${ac_cv_lib_mcheck_main+set}" = set; then :
4866 $as_echo_n "(cached) " >&6
4868 ac_check_lib_save_LIBS
=$LIBS
4869 LIBS
="-lmcheck $LIBS"
4870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4882 if ac_fn_c_try_link
"$LINENO"; then :
4883 ac_cv_lib_mcheck_main
=yes
4885 ac_cv_lib_mcheck_main
=no
4887 rm -f core conftest.err conftest.
$ac_objext \
4888 conftest
$ac_exeext conftest.
$ac_ext
4889 LIBS
=$ac_check_lib_save_LIBS
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mcheck_main" >&5
4892 $as_echo "$ac_cv_lib_mcheck_main" >&6; }
4893 if test "x$ac_cv_lib_mcheck_main" = x
""yes; then :
4894 cat >>confdefs.h
<<_ACEOF
4895 #define HAVE_LIBMCHECK 1
4898 LIBS
="-lmcheck $LIBS"
4905 case ${build_alias} in
4906 "") build_noncanonical
=${build} ;;
4907 *) build_noncanonical
=${build_alias} ;;
4910 case ${host_alias} in
4911 "") host_noncanonical
=${build_noncanonical} ;;
4912 *) host_noncanonical
=${host_alias} ;;
4915 case ${target_alias} in
4916 "") target_noncanonical
=${host_noncanonical} ;;
4917 *) target_noncanonical
=${target_alias} ;;
4925 # Dependency checking.
4926 rm -rf .tst
2>/dev
/null
4927 mkdir .tst
2>/dev
/null
4928 if test -d .tst
; then
4933 rmdir .tst
2>/dev
/null
4935 DEPDIR
="${am__leading_dot}deps"
4937 ac_config_commands
="$ac_config_commands depdir"
4940 depcc
="$CC" am_compiler_list
=
4942 am_depcomp
=$ac_aux_dir/depcomp
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4944 $as_echo_n "checking dependency style of $depcc... " >&6; }
4945 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -f "$am_depcomp"; then
4949 # We make a subdir and do the tests there. Otherwise we can end up
4950 # making bogus files that we don't know about and never remove. For
4951 # instance it was reported that on HP-UX the gcc test will end up
4952 # making a dummy file named `D' -- because `-MD' means `put the output
4955 # Copy depcomp to subdir because otherwise we won't find it if we're
4956 # using a relative directory.
4957 cp "$am_depcomp" conftest.dir
4959 # We will build objects and dependencies in a subdirectory because
4960 # it helps to detect inapplicable dependency modes. For instance
4961 # both Tru64's cc and ICC support -MD to output dependencies as a
4962 # side effect of compilation, but ICC will put the dependencies in
4963 # the current directory while Tru64 will put them in the object
4967 am_cv_CC_dependencies_compiler_type
=none
4968 if test "$am_compiler_list" = ""; then
4969 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4971 for depmode
in $am_compiler_list; do
4972 if test $depmode = none
; then break; fi
4974 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4975 # Setup a source with many dependencies, because some compilers
4976 # like to wrap large dependency lists on column 80 (with \), and
4977 # we should not choose a depcomp mode which is confused by this.
4979 # We need to recreate these files for each test, as the compiler may
4980 # overwrite some of them when testing with obscure command lines.
4981 # This happens at least with the AIX C compiler.
4983 for i
in 1 2 3 4 5 6; do
4984 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4985 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4986 # Solaris 8's {/usr,}/bin/sh.
4987 touch sub
/conftst
$i.h
4989 echo "include sub/conftest.Po" > confmf
4991 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4992 # mode. It turns out that the SunPro C++ compiler does not properly
4993 # handle `-M -o', and we need to detect this.
4994 depcmd
="depmode=$depmode \
4995 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4996 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4997 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4998 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4999 if env
$depcmd > conftest.err
2>&1 &&
5000 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
5001 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
5002 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
5003 # icc doesn't choke on unknown options, it will just issue warnings
5004 # or remarks (even with -Werror). So we grep stderr for any message
5005 # that says an option was ignored or not supported.
5006 # When given -MP, icc 7.0 and 7.1 complain thusly:
5007 # icc: Command line warning: ignoring option '-M'; no argument required
5008 # The diagnosis changed in icc 8.0:
5009 # icc: Command line remark: option '-MP' not supported
5010 if (grep 'ignoring option' conftest.err ||
5011 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5012 am_cv_CC_dependencies_compiler_type
=$depmode
5013 $as_echo "$as_me:$LINENO: success" >&5
5017 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
5018 sed -e 's/^/| /' < conftest.err
>&5
5024 am_cv_CC_dependencies_compiler_type
=none
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5029 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5030 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
5031 then as_fn_error
"no usable dependency style found" "$LINENO" 5
5032 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5037 # Check for the 'make' the user wants to use.
5040 # Extract the first word of "$ac_prog", so it can be a program name with args.
5041 set dummy
$ac_prog; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_MAKE+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$MAKE"; then
5048 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_MAKE
="$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 MAKE
=$ac_cv_prog_MAKE
5068 if test -n "$MAKE"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
5070 $as_echo "$MAKE" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$MAKE" && break
5081 case "`$MAKE --version 2>&1 | sed 1q`" in
5086 if test "$MAKE_IS_GNU" = yes; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5095 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5097 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5098 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
5099 $as_echo_n "(cached) " >&6
5101 cat >conftest.
make <<\_ACEOF
5104 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5106 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5107 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5109 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5111 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5115 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5117 $as_echo "yes" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 SET_MAKE
="MAKE=${MAKE-make}"
5126 gnulib_extra_configure_args
=
5127 # If large-file support is disabled, make sure gnulib does the same.
5128 if test "$enable_largefile" = no
; then
5129 gnulib_extra_configure_args
="$gnulib_extra_configure_args --disable-largefile"
5132 # Configure gnulib. We can't use AC_CONFIG_SUBDIRS as that'd expect
5133 # to find the the source subdir to be configured directly under
5134 # gdbserver/. We need to build gnulib under some other directory not
5135 # "gnulib", to avoid the problem of both GDB and GDBserver wanting to
5136 # build it in the same directory, when building in the source dir.
5139 in_build
="build-gnulib-gdbserver"
5140 in_extra_args
="$gnulib_extra_configure_args"
5142 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5143 # so they do not pile up.
5144 ac_sub_configure_args
=
5146 eval "set x $ac_configure_args"
5150 if test -n "$ac_prev"; then
5155 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
5156 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
5157 ac_prev
=cache_file
;;
5158 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
5159 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
5162 --config-cache |
-C)
5164 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
5166 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
5168 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
5170 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
5172 --disable-option-checking)
5176 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5178 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
5182 # Always prepend --prefix to ensure using the same prefix
5183 # in subdir configurations.
5184 ac_arg
="--prefix=$prefix"
5186 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5188 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
5191 if test "$silent" = yes; then
5192 ac_sub_configure_args
="--silent $ac_sub_configure_args"
5195 # Always prepend --disable-option-checking to silence warnings, since
5196 # different subdirs can have different --enable and --with options.
5197 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
5202 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5204 $as_echo "$ac_msg" >&6
5205 as_dir
="$ac_dir"; as_fn_mkdir_p
5209 ac_srcdir
=$srcdir/$in_src ;;
5211 ac_srcdir
=..
/$srcdir/$in_src ;;
5216 ac_sub_configure
=$ac_srcdir/configure
5218 # Make the cache file name correct relative to the subdirectory.
5220 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
5222 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
5225 if test -n "$in_extra_args"; then
5226 # Add the extra args at the end.
5227 ac_sub_configure_args
="$ac_sub_configure_args $in_extra_args"
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5231 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5232 # The eval makes quoting arguments work.
5233 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5234 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5235 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5241 in_src
="../../libiberty"
5242 in_build
="build-libiberty-gdbserver"
5245 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
5246 # so they do not pile up.
5247 ac_sub_configure_args
=
5249 eval "set x $ac_configure_args"
5253 if test -n "$ac_prev"; then
5258 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
5259 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
5260 ac_prev
=cache_file
;;
5261 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
5262 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
5265 --config-cache |
-C)
5267 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
5269 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
5271 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
5273 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
5275 --disable-option-checking)
5279 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5281 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
5285 # Always prepend --prefix to ensure using the same prefix
5286 # in subdir configurations.
5287 ac_arg
="--prefix=$prefix"
5289 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5291 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
5294 if test "$silent" = yes; then
5295 ac_sub_configure_args
="--silent $ac_sub_configure_args"
5298 # Always prepend --disable-option-checking to silence warnings, since
5299 # different subdirs can have different --enable and --with options.
5300 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
5305 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
5306 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
5307 $as_echo "$ac_msg" >&6
5308 as_dir
="$ac_dir"; as_fn_mkdir_p
5312 ac_srcdir
=$srcdir/$in_src ;;
5314 ac_srcdir
=..
/$srcdir/$in_src ;;
5319 ac_sub_configure
=$ac_srcdir/configure
5321 # Make the cache file name correct relative to the subdirectory.
5323 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
5325 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
5328 if test -n "$in_extra_args"; then
5329 # Add the extra args at the end.
5330 ac_sub_configure_args
="$ac_sub_configure_args $in_extra_args"
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5334 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5335 # The eval makes quoting arguments work.
5336 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5337 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5338 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5343 for ac_header
in sgtty.h termio.h termios.h sys
/reg.h string.h proc_service.h sys
/procfs.h linux
/elf.h fcntl.h signal.h sys
/file.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h
5345 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5346 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5347 eval as_val
=\$
$as_ac_Header
5348 if test "x$as_val" = x
""yes; then :
5349 cat >>confdefs.h
<<_ACEOF
5350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5357 for ac_func
in getauxval pread pwrite pread64 setns
5359 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5360 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5361 eval as_val
=\$
$as_ac_var
5362 if test "x$as_val" = x
""yes; then :
5363 cat >>confdefs.h
<<_ACEOF
5364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5373 $as_echo_n "checking for ANSI C header files... " >&6; }
5374 if test "${ac_cv_header_stdc+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5392 if ac_fn_c_try_compile
"$LINENO"; then :
5393 ac_cv_header_stdc
=yes
5395 ac_cv_header_stdc
=no
5397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5399 if test $ac_cv_header_stdc = yes; then
5400 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5407 $EGREP "memchr" >/dev
/null
2>&1; then :
5410 ac_cv_header_stdc
=no
5416 if test $ac_cv_header_stdc = yes; then
5417 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5424 $EGREP "free" >/dev
/null
2>&1; then :
5427 ac_cv_header_stdc
=no
5433 if test $ac_cv_header_stdc = yes; then
5434 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5435 if test "$cross_compiling" = yes; then :
5438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5442 #if ((' ' & 0x0FF) == 0x020)
5443 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5444 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5446 # define ISLOWER(c) \
5447 (('a' <= (c) && (c) <= 'i') \
5448 || ('j' <= (c) && (c) <= 'r') \
5449 || ('s' <= (c) && (c) <= 'z'))
5450 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5453 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5458 for (i = 0; i < 256; i++)
5459 if (XOR (islower (i), ISLOWER (i))
5460 || toupper (i) != TOUPPER (i))
5465 if ac_fn_c_try_run
"$LINENO"; then :
5468 ac_cv_header_stdc
=no
5470 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5471 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5477 $as_echo "$ac_cv_header_stdc" >&6; }
5478 if test $ac_cv_header_stdc = yes; then
5480 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5484 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5485 # for constant arguments. Useless!
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5487 $as_echo_n "checking for working alloca.h... " >&6; }
5488 if test "${ac_cv_working_alloca_h+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5497 char *p = (char *) alloca (2 * sizeof (int));
5503 if ac_fn_c_try_link
"$LINENO"; then :
5504 ac_cv_working_alloca_h
=yes
5506 ac_cv_working_alloca_h
=no
5508 rm -f core conftest.err conftest.
$ac_objext \
5509 conftest
$ac_exeext conftest.
$ac_ext
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
5512 $as_echo "$ac_cv_working_alloca_h" >&6; }
5513 if test $ac_cv_working_alloca_h = yes; then
5515 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5520 $as_echo_n "checking for alloca... " >&6; }
5521 if test "${ac_cv_func_alloca_works+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5527 # define alloca __builtin_alloca
5530 # include <malloc.h>
5531 # define alloca _alloca
5533 # ifdef HAVE_ALLOCA_H
5534 # include <alloca.h>
5539 # ifndef alloca /* predefined by HP cc +Olibcalls */
5550 char *p = (char *) alloca (1);
5556 if ac_fn_c_try_link
"$LINENO"; then :
5557 ac_cv_func_alloca_works
=yes
5559 ac_cv_func_alloca_works
=no
5561 rm -f core conftest.err conftest.
$ac_objext \
5562 conftest
$ac_exeext conftest.
$ac_ext
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
5565 $as_echo "$ac_cv_func_alloca_works" >&6; }
5567 if test $ac_cv_func_alloca_works = yes; then
5569 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
5572 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5573 # that cause trouble. Some versions do not even contain alloca or
5574 # contain a buggy version. If you still want to use their alloca,
5575 # use ar to extract alloca.o from them instead of compiling alloca.c.
5577 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
5579 $as_echo "#define C_ALLOCA 1" >>confdefs.h
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5583 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5584 if test "${ac_cv_os_cray+set}" = set; then :
5585 $as_echo_n "(cached) " >&6
5587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5589 #if defined CRAY && ! defined CRAY2
5596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5597 $EGREP "webecray" >/dev
/null
2>&1; then :
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
5606 $as_echo "$ac_cv_os_cray" >&6; }
5607 if test $ac_cv_os_cray = yes; then
5608 for ac_func
in _getb67 GETB67 getb67
; do
5609 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5610 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5611 eval as_val
=\$
$as_ac_var
5612 if test "x$as_val" = x
""yes; then :
5614 cat >>confdefs.h
<<_ACEOF
5615 #define CRAY_STACKSEG_END $ac_func
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5625 $as_echo_n "checking stack direction for C alloca... " >&6; }
5626 if test "${ac_cv_c_stack_direction+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5629 if test "$cross_compiling" = yes; then :
5630 ac_cv_c_stack_direction
=0
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5634 $ac_includes_default
5636 find_stack_direction ()
5638 static char *addr = 0;
5643 return find_stack_direction ();
5646 return (&dummy > addr) ? 1 : -1;
5652 return find_stack_direction () < 0;
5655 if ac_fn_c_try_run
"$LINENO"; then :
5656 ac_cv_c_stack_direction
=1
5658 ac_cv_c_stack_direction
=-1
5660 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5661 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
5666 $as_echo "$ac_cv_c_stack_direction" >&6; }
5667 cat >>confdefs.h
<<_ACEOF
5668 #define STACK_DIRECTION $ac_cv_c_stack_direction
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
5677 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
5678 if test "${am_cv_langinfo_codeset+set}" = set; then :
5679 $as_echo_n "(cached) " >&6
5681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5683 #include <langinfo.h>
5687 char* cs = nl_langinfo(CODESET);
5692 if ac_fn_c_try_link
"$LINENO"; then :
5693 am_cv_langinfo_codeset
=yes
5695 am_cv_langinfo_codeset
=no
5697 rm -f core conftest.err conftest.
$ac_objext \
5698 conftest
$ac_exeext conftest.
$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
5702 $as_echo "$am_cv_langinfo_codeset" >&6; }
5703 if test $am_cv_langinfo_codeset = yes; then
5705 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
5710 for ac_header
in linux
/perf_event.h locale.h memory.h signal.h sys
/resource.h sys
/socket.h sys
/syscall.h sys
/un.h sys
/wait.h thread_db.h
wait.h
5712 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5714 eval as_val
=\$
$as_ac_Header
5715 if test "x$as_val" = x
""yes; then :
5716 cat >>confdefs.h
<<_ACEOF
5717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5725 for ac_func
in fdwalk getrlimit pipe pipe2 socketpair
5727 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5728 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5729 eval as_val
=\$
$as_ac_var
5730 if test "x$as_val" = x
""yes; then :
5731 cat >>confdefs.h
<<_ACEOF
5732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5739 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
5740 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
5746 cat >>confdefs.h
<<_ACEOF
5747 #define HAVE_DECL_STRERROR $ac_have_decl
5749 ac_fn_c_check_decl
"$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
5750 if test "x$ac_cv_have_decl_strstr" = x
""yes; then :
5756 cat >>confdefs.h
<<_ACEOF
5757 #define HAVE_DECL_STRSTR $ac_have_decl
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
5762 $as_echo_n "checking for sigsetjmp... " >&6; }
5763 if test "${gdb_cv_func_sigsetjmp+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5767 /* end confdefs.h. */
5774 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
5779 if ac_fn_c_try_compile
"$LINENO"; then :
5780 gdb_cv_func_sigsetjmp
=yes
5782 gdb_cv_func_sigsetjmp
=no
5784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_sigsetjmp" >&5
5787 $as_echo "$gdb_cv_func_sigsetjmp" >&6; }
5788 if test $gdb_cv_func_sigsetjmp = yes; then
5790 $as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
5795 # Check the return and argument types of ptrace.
5799 for ac_header
in sys
/ptrace.h ptrace.h
5801 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5802 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5803 eval as_val
=\$
$as_ac_Header
5804 if test "x$as_val" = x
""yes; then :
5805 cat >>confdefs.h
<<_ACEOF
5806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5814 # Needs to be tested in C++ mode, to detect whether we need to cast
5815 # the first argument to enum __ptrace_request.
5816 if test "$enable_build_with_cxx" = "yes"; then
5818 ac_cpp
='$CXXCPP $CPPFLAGS'
5819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5825 gdb_ptrace_headers
='
5826 #include <sys/types.h>
5827 #if HAVE_SYS_PTRACE_H
5828 # include <sys/ptrace.h>
5831 # include <unistd.h>
5834 # There is no point in checking if we don't have a prototype.
5835 ac_fn_cxx_check_decl
"$LINENO" "ptrace" "ac_cv_have_decl_ptrace" "$gdb_ptrace_headers
5837 if test "x$ac_cv_have_decl_ptrace" = x
""yes; then :
5843 cat >>confdefs.h
<<_ACEOF
5844 #define HAVE_DECL_PTRACE $ac_have_decl
5846 if test $ac_have_decl = 1; then :
5850 : ${gdb_cv_func_ptrace_ret='int'}
5851 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
5855 # Check return type. Varargs (used on GNU/Linux) conflict with the
5856 # empty argument list, so check for that explicitly.
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of ptrace" >&5
5858 $as_echo_n "checking return type of ptrace... " >&6; }
5859 if test "${gdb_cv_func_ptrace_ret+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5868 extern long ptrace (enum __ptrace_request, ...);
5873 if ac_fn_cxx_try_compile
"$LINENO"; then :
5874 gdb_cv_func_ptrace_ret
='long'
5876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5882 extern int ptrace ();
5887 if ac_fn_cxx_try_compile
"$LINENO"; then :
5888 gdb_cv_func_ptrace_ret
='int'
5890 gdb_cv_func_ptrace_ret
='long'
5892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_ptrace_ret" >&5
5897 $as_echo "$gdb_cv_func_ptrace_ret" >&6; }
5899 cat >>confdefs.h
<<_ACEOF
5900 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
5903 # Check argument types.
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for ptrace" >&5
5905 $as_echo_n "checking types of arguments for ptrace... " >&6; }
5906 if test "${gdb_cv_func_ptrace_args+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5911 /* end confdefs.h. */
5916 extern long ptrace (enum __ptrace_request, ...);
5921 if ac_fn_cxx_try_compile
"$LINENO"; then :
5922 gdb_cv_func_ptrace_args
='enum __ptrace_request,int,long,long'
5925 for gdb_arg1
in 'int' 'long'; do
5926 for gdb_arg2
in 'pid_t' 'int' 'long'; do
5927 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
5928 for gdb_arg4
in 'int' 'long' 'void *'; do
5929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5936 extern $gdb_cv_func_ptrace_ret
5937 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
5943 if ac_fn_cxx_try_compile
"$LINENO"; then :
5944 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
5947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5948 for gdb_arg5
in 'int *' 'int' 'long'; do
5949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5950 /* end confdefs.h. */
5956 extern $gdb_cv_func_ptrace_ret
5957 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
5963 if ac_fn_cxx_try_compile
"$LINENO"; then :
5965 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
5968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5974 # Provide a safe default value.
5975 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
5978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_func_ptrace_args" >&5
5981 $as_echo "$gdb_cv_func_ptrace_args" >&6; }
5982 ac_save_IFS
=$IFS; IFS
=','
5983 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
5987 cat >>confdefs.h
<<_ACEOF
5988 #define PTRACE_TYPE_ARG1 $1
5992 cat >>confdefs.h
<<_ACEOF
5993 #define PTRACE_TYPE_ARG3 $3
5997 cat >>confdefs.h
<<_ACEOF
5998 #define PTRACE_TYPE_ARG4 $4
6001 if test -n "$5"; then
6003 cat >>confdefs.h
<<_ACEOF
6004 #define PTRACE_TYPE_ARG5 $5
6009 if test "$enable_build_with_cxx" = "yes"; then
6011 ac_cpp
='$CPP $CPPFLAGS'
6012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6024 # Check whether --with-ust was given.
6025 if test "${with_ust+set}" = set; then :
6030 # Check whether --with-ust_include was given.
6031 if test "${with_ust_include+set}" = set; then :
6032 withval
=$with_ust_include;
6036 # Check whether --with-ust_lib was given.
6037 if test "${with_ust_lib+set}" = set; then :
6038 withval
=$with_ust_lib;
6052 ustlibs
="-L$with_ust/lib -lust"
6053 ustinc
="-I$with_ust/include "
6056 if test "x$with_ust_include" != x
; then
6057 ustinc
="-I$with_ust_include "
6059 if test "x$with_ust_lib" != x
; then
6060 ustlibs
="-L$with_ust_lib -lust"
6063 if test "x$with_ust" != "xno"; then
6064 saved_CFLAGS
="$CFLAGS"
6065 CFLAGS
="$CFLAGS $ustinc"
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ust" >&5
6067 $as_echo_n "checking for ust... " >&6; }
6068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6069 /* end confdefs.h. */
6071 #define CONFIG_UST_GDB_INTEGRATION
6072 #include <ust/ust.h>
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6084 $as_echo "yes" >&6; };
6085 $as_echo "#define HAVE_UST 1" >>confdefs.h
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }; ustlibs
= ; ustinc
=
6091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6092 CFLAGS
="$saved_CFLAGS"
6095 # Flags needed for UST
6099 # Check whether --enable-werror was given.
6100 if test "${enable_werror+set}" = set; then :
6101 enableval
=$enable_werror; case "${enableval}" in
6102 yes | y
) ERROR_ON_WARNING
="yes" ;;
6103 no | n
) ERROR_ON_WARNING
="no" ;;
6104 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6109 # Enable -Werror by default when using gcc. Turn it off for releases.
6110 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" \
6111 && test x
"$enable_build_with_cxx" != x
"yes" \
6112 && $development; then
6113 ERROR_ON_WARNING
=yes
6117 if test "${ERROR_ON_WARNING}" = yes ; then
6118 WERROR_CFLAGS
="-Werror"
6121 build_warnings
="-Wall -Wpointer-arith \
6122 -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
6124 # Now add in C and C++ specific options, depending on mode.
6125 if test "$enable_build_with_cxx" = "yes"; then
6126 build_warnings
="$build_warnings -Wno-sign-compare -Wno-write-strings \
6129 build_warnings
="$build_warnings -Wdeclaration-after-statement"
6132 # The set of warnings supported by a C++ compiler is not the same as
6133 # of the C compiler.
6134 if test "$enable_build_with_cxx" = "yes"; then
6136 ac_cpp
='$CXXCPP $CPPFLAGS'
6137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6144 if test "x$GCC" = xyes
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
6147 $as_echo_n "checking compiler warning flags... " >&6; }
6148 # Separate out the -Werror flag as some files just cannot be
6149 # compiled with it enabled.
6150 for w
in ${build_warnings}; do
6152 -Werr*) WERROR_CFLAGS
=-Werror ;;
6154 # Check whether GCC accepts it.
6155 saved_CFLAGS
="$CFLAGS"
6157 saved_CXXFLAGS
="$CXXFLAGS"
6158 CXXFLAGS
="$CXXFLAGS $w"
6159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6160 /* end confdefs.h. */
6170 if ac_fn_cxx_try_compile
"$LINENO"; then :
6171 WARN_CFLAGS
="${WARN_CFLAGS} $w"
6173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 CFLAGS
="$saved_CFLAGS"
6175 CXXFLAGS
="$saved_CXXFLAGS"
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
6179 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
6184 if test "$enable_build_with_cxx" = "yes"; then
6186 ac_cpp='$CPP $CPPFLAGS'
6187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195 for ac_func in dladdr
6197 ac_fn_c_check_func "$LINENO" "dladdr
" "ac_cv_func_dladdr
"
6198 if test "x
$ac_cv_func_dladdr" = x""yes; then :
6199 cat >>confdefs.h <<_ACEOF
6200 #define HAVE_DLADDR 1
6209 # Check for presence and size of long long.
6210 ac_fn_c_check_type "$LINENO" "long long
" "ac_cv_type_long_long
" "$ac_includes_default"
6211 if test "x
$ac_cv_type_long_long" = x""yes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_LONG_LONG 1
6217 # The cast to long int works around a bug in the HP C Compiler
6218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6220 # This bug is HP SR number 8606223364.
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long
" >&5
6222 $as_echo_n "checking size of long long...
" >&6; }
6223 if test "${ac_cv_sizeof_long_long+set}" = set; then :
6224 $as_echo_n "(cached
) " >&6
6226 if ac_fn_c_compute_int "$LINENO" "(long int
) (sizeof
(long long
))" "ac_cv_sizeof_long_long
" "$ac_includes_default"; then :
6229 if test "$ac_cv_type_long_long" = yes; then
6230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6232 { as_fn_set_status 77
6233 as_fn_error "cannot compute sizeof (long long)
6234 See \`config.log' for more details.
" "$LINENO" 5; }; }
6236 ac_cv_sizeof_long_long=0
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_sizeof_long_long" >&5
6242 $as_echo "$ac_cv_sizeof_long_long" >&6; }
6246 cat >>confdefs.h <<_ACEOF
6247 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6254 ac_fn_c_check_decl "$LINENO" "basename(char
*)" "ac_cv_have_decl_basename_char_p_
" "$ac_includes_default"
6255 if test "x
$ac_cv_have_decl_basename_char_p_" = x""yes; then :
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_DECL_BASENAME $ac_have_decl
6264 ac_fn_c_check_decl "$LINENO" "ffs
" "ac_cv_have_decl_ffs
" "$ac_includes_default"
6265 if test "x
$ac_cv_have_decl_ffs" = x""yes; then :
6271 cat >>confdefs.h <<_ACEOF
6272 #define HAVE_DECL_FFS $ac_have_decl
6274 ac_fn_c_check_decl "$LINENO" "asprintf
" "ac_cv_have_decl_asprintf
" "$ac_includes_default"
6275 if test "x
$ac_cv_have_decl_asprintf" = x""yes; then :
6281 cat >>confdefs.h <<_ACEOF
6282 #define HAVE_DECL_ASPRINTF $ac_have_decl
6284 ac_fn_c_check_decl "$LINENO" "vasprintf
" "ac_cv_have_decl_vasprintf
" "$ac_includes_default"
6285 if test "x
$ac_cv_have_decl_vasprintf" = x""yes; then :
6291 cat >>confdefs.h <<_ACEOF
6292 #define HAVE_DECL_VASPRINTF $ac_have_decl
6294 ac_fn_c_check_decl "$LINENO" "snprintf
" "ac_cv_have_decl_snprintf
" "$ac_includes_default"
6295 if test "x
$ac_cv_have_decl_snprintf" = x""yes; then :
6301 cat >>confdefs.h <<_ACEOF
6302 #define HAVE_DECL_SNPRINTF $ac_have_decl
6304 ac_fn_c_check_decl "$LINENO" "vsnprintf
" "ac_cv_have_decl_vsnprintf
" "$ac_includes_default"
6305 if test "x
$ac_cv_have_decl_vsnprintf" = x""yes; then :
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6315 ac_fn_c_check_decl "$LINENO" "strtol
" "ac_cv_have_decl_strtol
" "$ac_includes_default"
6316 if test "x
$ac_cv_have_decl_strtol" = x""yes; then :
6322 cat >>confdefs.h <<_ACEOF
6323 #define HAVE_DECL_STRTOL $ac_have_decl
6325 ac_fn_c_check_decl "$LINENO" "strtoul
" "ac_cv_have_decl_strtoul
" "$ac_includes_default"
6326 if test "x
$ac_cv_have_decl_strtoul" = x""yes; then :
6332 cat >>confdefs.h <<_ACEOF
6333 #define HAVE_DECL_STRTOUL $ac_have_decl
6335 ac_fn_c_check_decl "$LINENO" "strtoll
" "ac_cv_have_decl_strtoll
" "$ac_includes_default"
6336 if test "x
$ac_cv_have_decl_strtoll" = x""yes; then :
6342 cat >>confdefs.h <<_ACEOF
6343 #define HAVE_DECL_STRTOLL $ac_have_decl
6345 ac_fn_c_check_decl "$LINENO" "strtoull
" "ac_cv_have_decl_strtoull
" "$ac_includes_default"
6346 if test "x
$ac_cv_have_decl_strtoull" = x""yes; then :
6352 cat >>confdefs.h <<_ACEOF
6353 #define HAVE_DECL_STRTOULL $ac_have_decl
6356 ac_fn_c_check_decl "$LINENO" "strverscmp
" "ac_cv_have_decl_strverscmp
" "$ac_includes_default"
6357 if test "x
$ac_cv_have_decl_strverscmp" = x""yes; then :
6363 cat >>confdefs.h <<_ACEOF
6364 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6369 ac_fn_c_check_decl "$LINENO" "strerror
" "ac_cv_have_decl_strerror
" "$ac_includes_default"
6370 if test "x
$ac_cv_have_decl_strerror" = x""yes; then :
6376 cat >>confdefs.h <<_ACEOF
6377 #define HAVE_DECL_STRERROR $ac_have_decl
6379 ac_fn_c_check_decl "$LINENO" "perror
" "ac_cv_have_decl_perror
" "$ac_includes_default"
6380 if test "x
$ac_cv_have_decl_perror" = x""yes; then :
6386 cat >>confdefs.h <<_ACEOF
6387 #define HAVE_DECL_PERROR $ac_have_decl
6389 ac_fn_c_check_decl "$LINENO" "vasprintf
" "ac_cv_have_decl_vasprintf
" "$ac_includes_default"
6390 if test "x
$ac_cv_have_decl_vasprintf" = x""yes; then :
6396 cat >>confdefs.h <<_ACEOF
6397 #define HAVE_DECL_VASPRINTF $ac_have_decl
6399 ac_fn_c_check_decl "$LINENO" "vsnprintf
" "ac_cv_have_decl_vsnprintf
" "$ac_includes_default"
6400 if test "x
$ac_cv_have_decl_vsnprintf" = x""yes; then :
6406 cat >>confdefs.h <<_ACEOF
6407 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6411 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blocks
" "ac_cv_member_struct_stat_st_blocks
" "$ac_includes_default"
6412 if test "x
$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
6414 cat >>confdefs.h <<_ACEOF
6415 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6420 ac_fn_c_check_member "$LINENO" "struct stat
" "st_blksize
" "ac_cv_member_struct_stat_st_blksize
" "$ac_includes_default"
6421 if test "x
$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
6423 cat >>confdefs.h <<_ACEOF
6424 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6431 ac_fn_c_check_type "$LINENO" "socklen_t
" "ac_cv_type_socklen_t
" "#include <sys/types.h>
6432 #include <sys/socket.h>
6435 if test "x
$ac_cv_type_socklen_t" = x""yes; then :
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_SOCKLEN_T 1
6445 ac_fn_c_check_type "$LINENO" "Elf32_auxv_t
" "ac_cv_type_Elf32_auxv_t
" "#include <elf.h>
6448 if test "x
$ac_cv_type_Elf32_auxv_t" = x""yes; then :
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_ELF32_AUXV_T 1
6456 ac_fn_c_check_type "$LINENO" "Elf64_auxv_t
" "ac_cv_type_Elf64_auxv_t
" "#include <elf.h>
6459 if test "x
$ac_cv_type_Elf64_auxv_t" = x""yes; then :
6461 cat >>confdefs.h <<_ACEOF
6462 #define HAVE_ELF64_AUXV_T 1
6471 # Check whether --with-pkgversion was given.
6472 if test "${with_pkgversion+set}" = set; then :
6473 withval=$with_pkgversion; case "$withval" in
6474 yes) as_fn_error "package version not specified
" "$LINENO" 5 ;;
6476 *) PKGVERSION="($withval) " ;;
6487 # Check whether --with-bugurl was given.
6488 if test "${with_bugurl+set}" = set; then :
6489 withval=$with_bugurl; case "$withval" in
6490 yes) as_fn_error "bug URL not specified
" "$LINENO" 5 ;;
6493 *) BUGURL="$withval"
6497 BUGURL="http
://www.gnu.org
/software
/gdb
/bugs
/"
6507 REPORT_BUGS_TO="<$BUGURL>"
6508 REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
6515 cat >>confdefs.h <<_ACEOF
6516 #define PKGVERSION "$PKGVERSION"
6520 cat >>confdefs.h <<_ACEOF
6521 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
6525 # Check for various supplementary target information (beyond the
6526 # triplet) which might affect the choices in configure.srv.
6528 i[34567]86-*-linux*)
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if building
for x86-64
" >&5
6530 $as_echo_n "checking
if building
for x86-64...
" >&6; }
6531 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
6532 $as_echo_n "(cached
) " >&6
6534 save_CPPFLAGS="$CPPFLAGS"
6535 CPPFLAGS="$CPPFLAGS $CFLAGS"
6536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537 /* end confdefs.h. */
6544 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6545 $EGREP "got it
" >/dev/null 2>&1; then :
6546 gdb_cv_i386_is_x86_64=yes
6548 gdb_cv_i386_is_x86_64=no
6552 CPPFLAGS="$save_CPPFLAGS"
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $gdb_cv_i386_is_x86_64" >&5
6555 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if building
for Coldfire
" >&5
6559 $as_echo_n "checking
if building
for Coldfire...
" >&6; }
6560 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
6561 $as_echo_n "(cached
) " >&6
6563 save_CPPFLAGS="$CPPFLAGS"
6564 CPPFLAGS="$CPPFLAGS $CFLAGS"
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6568 #ifdef __mcoldfire__
6573 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6574 $EGREP "got it
" >/dev/null 2>&1; then :
6575 gdb_cv_m68k_is_coldfire=yes
6577 gdb_cv_m68k_is_coldfire=no
6581 CPPFLAGS="$save_CPPFLAGS"
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $gdb_cv_m68k_is_coldfire" >&5
6584 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
6588 . ${srcdir}/configure.srv
6590 # Add in the common host objects.
6591 . ${srcdir}/../common/common.host
6592 srv_host_obs="$common_host_obs"
6594 if test "${srv_mingwce}" = "yes"; then
6596 elif test "${srv_mingw}" = "yes"; then
6597 LIBS="$LIBS -lws2_32"
6598 elif test "${srv_qnx}" = "yes"; then
6599 LIBS="$LIBS -lsocket"
6600 elif test "${srv_lynxos}" = "yes"; then
6601 LIBS="$LIBS -lnetinet"
6604 if test "${srv_mingw}" = "yes"; then
6606 $as_echo "#define USE_WIN32API 1" >>confdefs.h
6610 if test "${srv_linux_usrregs}" = "yes"; then
6612 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
6616 if test "${srv_linux_regsets}" = "yes"; then
6618 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
6622 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
6623 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
6624 $as_echo_n "(cached) " >&6
6626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6628 #include <sys/ptrace.h>
6637 if ac_fn_c_try_compile
"$LINENO"; then :
6638 gdbsrv_cv_have_ptrace_getregs
=yes
6640 gdbsrv_cv_have_ptrace_getregs
=no
6642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
6646 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
6647 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
6649 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
6654 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
6655 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
6656 $as_echo_n "(cached) " >&6
6658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <sys/ptrace.h>
6669 if ac_fn_c_try_compile
"$LINENO"; then :
6670 gdbsrv_cv_have_ptrace_getfpxregs
=yes
6672 gdbsrv_cv_have_ptrace_getfpxregs
=no
6674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
6678 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
6679 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
6681 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
6686 if test "${srv_linux_btrace}" = "yes"; then
6688 $as_echo "#define HAVE_LINUX_BTRACE 1" >>confdefs.h
6692 if test "$ac_cv_header_sys_procfs_h" = yes; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
6694 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
6695 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
6696 $as_echo_n "(cached) " >&6
6698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6702 /* Needed for new procfs interface on sparc-solaris. */
6703 #define _STRUCTURED_PROC 1
6704 #include <sys/procfs.h>
6713 if ac_fn_c_try_compile
"$LINENO"; then :
6714 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
6716 bfd_cv_have_sys_procfs_type_lwpid_t
=no
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
6724 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
6728 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
6731 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
6732 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
6733 $as_echo_n "(cached) " >&6
6735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6739 /* Needed for new procfs interface on sparc-solaris. */
6740 #define _STRUCTURED_PROC 1
6741 #include <sys/procfs.h>
6750 if ac_fn_c_try_compile
"$LINENO"; then :
6751 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
6753 bfd_cv_have_sys_procfs_type_psaddr_t
=no
6756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6759 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
6761 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
6765 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
6768 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
6769 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
6770 $as_echo_n "(cached) " >&6
6772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6776 /* Needed for new procfs interface on sparc-solaris. */
6777 #define _STRUCTURED_PROC 1
6778 #include <sys/procfs.h>
6787 if ac_fn_c_try_compile
"$LINENO"; then :
6788 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
6790 bfd_cv_have_sys_procfs_type_prgregset_t
=no
6793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6796 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
6798 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
6802 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prfpregset_t in sys/procfs.h" >&5
6805 $as_echo_n "checking for prfpregset_t in sys/procfs.h... " >&6; }
6806 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then :
6807 $as_echo_n "(cached) " >&6
6809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6813 /* Needed for new procfs interface on sparc-solaris. */
6814 #define _STRUCTURED_PROC 1
6815 #include <sys/procfs.h>
6824 if ac_fn_c_try_compile
"$LINENO"; then :
6825 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
6827 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
6830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6833 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
6835 $as_echo "#define HAVE_PRFPREGSET_T 1" >>confdefs.h
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
6839 $as_echo "$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
6842 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
6843 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
6844 $as_echo_n "(cached) " >&6
6846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6850 /* Needed for new procfs interface on sparc-solaris. */
6851 #define _STRUCTURED_PROC 1
6852 #include <sys/procfs.h>
6861 if ac_fn_c_try_compile
"$LINENO"; then :
6862 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
6864 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
6867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6870 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
6872 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
6876 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
6880 if test "$bfd_cv_have_sys_procfs_type_lwpid_t" != yes; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in thread_db.h" >&5
6882 $as_echo_n "checking for lwpid_t in thread_db.h... " >&6; }
6883 if test "${gdbserver_cv_have_thread_db_type_lwpid_t+set}" = set; then :
6884 $as_echo_n "(cached) " >&6
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6889 #include <thread_db.h>
6898 if ac_fn_c_try_compile
"$LINENO"; then :
6899 gdbserver_cv_have_thread_db_type_lwpid_t
=yes
6901 gdbserver_cv_have_thread_db_type_lwpid_t
=no
6904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6907 if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
6909 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_lwpid_t" >&5
6913 $as_echo "$gdbserver_cv_have_thread_db_type_lwpid_t" >&6; }
6917 if test "$bfd_cv_have_sys_procfs_type_psaddr_t" != yes; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in thread_db.h" >&5
6919 $as_echo_n "checking for psaddr_t in thread_db.h... " >&6; }
6920 if test "${gdbserver_cv_have_thread_db_type_psaddr_t+set}" = set; then :
6921 $as_echo_n "(cached) " >&6
6923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6924 /* end confdefs.h. */
6926 #include <thread_db.h>
6935 if ac_fn_c_try_compile
"$LINENO"; then :
6936 gdbserver_cv_have_thread_db_type_psaddr_t
=yes
6938 gdbserver_cv_have_thread_db_type_psaddr_t
=no
6941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6944 if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
6946 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_psaddr_t" >&5
6950 $as_echo "$gdbserver_cv_have_thread_db_type_psaddr_t" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
6958 $as_echo_n "(cached) " >&6
6960 ac_check_lib_save_LIBS
=$LIBS
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6965 /* Override any GCC internal prototype to avoid an error.
6966 Use char because int might match the return type of a GCC
6967 builtin and then its argument prototype would still apply. */
6980 if ac_fn_c_try_link
"$LINENO"; then :
6981 ac_cv_lib_dl_dlopen
=yes
6983 ac_cv_lib_dl_dlopen
=no
6985 rm -f core conftest.err conftest.
$ac_objext \
6986 conftest
$ac_exeext conftest.
$ac_ext
6987 LIBS
=$ac_check_lib_save_LIBS
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6991 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_LIBDL 1
7002 srv_thread_depfiles
=
7005 if test "$srv_linux_thread_db" = "yes"; then
7006 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
7009 $as_echo_n "checking for the dynamic export flag... " >&6; }
7010 old_LDFLAGS
="$LDFLAGS"
7011 # Older GNU ld supports --export-dynamic but --dynamic-list may not be
7013 RDYNAMIC
="-Wl,--dynamic-list=${srcdir}/proc-service.list"
7014 LDFLAGS
="$LDFLAGS $RDYNAMIC"
7015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7016 /* end confdefs.h. */
7026 if ac_fn_c_try_link
"$LINENO"; then :
7027 found
="-Wl,--dynamic-list"
7028 RDYNAMIC
='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
7030 RDYNAMIC
="-rdynamic"
7031 LDFLAGS
="$old_LDFLAGS $RDYNAMIC"
7032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7033 /* end confdefs.h. */
7043 if ac_fn_c_try_link
"$LINENO"; then :
7049 rm -f core conftest.err conftest.
$ac_objext \
7050 conftest
$ac_exeext conftest.
$ac_ext
7052 rm -f core conftest.err conftest.
$ac_objext \
7053 conftest
$ac_exeext conftest.
$ac_ext
7055 LDFLAGS
="$old_LDFLAGS"
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
7057 $as_echo "$found" >&6; }
7059 srv_libs
="-lthread_db"
7062 srv_thread_depfiles
="thread-db.o proc-service.o"
7064 $as_echo "#define USE_THREAD_DB 1" >>confdefs.h
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
7067 $as_echo_n "checking for TD_VERSION... " >&6; }
7068 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #include <thread_db.h>
7082 if ac_fn_c_try_compile
"$LINENO"; then :
7083 gdbsrv_cv_have_td_version
=yes
7085 gdbsrv_cv_have_td_version
=no
7087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
7090 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
7091 if test $gdbsrv_cv_have_td_version = yes; then
7093 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
7099 # Check whether --with-libthread-db was given.
7100 if test "${with_libthread_db+set}" = set; then :
7101 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
7102 srv_libs
="$srv_libthread_db_path"
7107 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
7109 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
7113 if test "$srv_xmlfiles" != ""; then
7114 srv_xmlbuiltin
="xml-builtin.o"
7116 $as_echo "#define USE_XML 1" >>confdefs.h
7119 tmp_xmlfiles
=$srv_xmlfiles
7121 for f
in $tmp_xmlfiles; do
7122 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
7126 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles $srv_host_obs"
7127 GDBSERVER_LIBS
="$srv_libs"
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
7130 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
7131 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
7132 $as_echo_n "(cached) " >&6
7135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7141 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
7146 if ac_fn_c_try_link
"$LINENO"; then :
7147 gdbsrv_cv_have_sync_builtins
=yes
7149 gdbsrv_cv_have_sync_builtins
=no
7151 rm -f core conftest.err conftest.
$ac_objext \
7152 conftest
$ac_exeext conftest.
$ac_ext
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
7155 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
7156 if test $gdbsrv_cv_have_sync_builtins = yes; then
7158 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
7162 saved_cflags
="$CFLAGS"
7163 CFLAGS
="$CFLAGS -fvisibility=hidden"
7164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7175 if ac_fn_c_try_compile
"$LINENO"; then :
7176 gdbsrv_cv_have_visibility_hidden
=yes
7178 gdbsrv_cv_have_visibility_hidden
=no
7180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7181 CFLAGS
="$saved_cflags"
7183 ac_fn_c_check_decl
"$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
7185 if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x
""yes; then :
7191 cat >>confdefs.h
<<_ACEOF
7192 #define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
7196 if test "$cross_compiling" = yes; then :
7197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 #include <sys/personality.h>
7204 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
7205 # define ADDR_NO_RANDOMIZE 0x0040000
7207 /* Test the flag could be set and stays set. */
7208 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
7209 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
7215 if ac_fn_c_try_link
"$LINENO"; then :
7216 gdbsrv_cv_have_personality
=true
7218 gdbsrv_cv_have_personality
=false
7220 rm -f core conftest.err conftest.
$ac_objext \
7221 conftest
$ac_exeext conftest.
$ac_ext
7223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7224 /* end confdefs.h. */
7225 #include <sys/personality.h>
7230 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
7231 # define ADDR_NO_RANDOMIZE 0x0040000
7233 /* Test the flag could be set and stays set. */
7234 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
7235 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
7241 if ac_fn_c_try_run
"$LINENO"; then :
7242 gdbsrv_cv_have_personality
=true
7244 gdbsrv_cv_have_personality
=false
7246 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7247 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7250 if $gdbsrv_cv_have_personality
7253 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
7261 # check whether to enable the inprocess agent
7262 if test "$ipa_obj" != "" \
7263 -a "$gdbsrv_cv_have_sync_builtins" = yes \
7264 -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
7270 # Check whether --enable-inprocess-agent was given.
7271 if test "${enable_inprocess_agent+set}" = set; then :
7272 enableval
=$enable_inprocess_agent; case "$enableval" in
7273 yes) want_ipa
=true
;;
7274 no
) want_ipa
=false
;;
7275 *) as_fn_error
"bad value $enableval for inprocess-agent" "$LINENO" 5 ;;
7284 IPA_DEPFILES
="$ipa_obj"
7285 extra_libraries
="$extra_libraries libinproctrace.so"
7287 as_fn_error
"inprocess agent not supported for this target" "$LINENO" 5
7298 GNULIB
=build-gnulib-gdbserver
/import
7301 if test x
"$STDINT_H" != x
; then
7302 GNULIB_STDINT_H
=$GNULIB/$STDINT_H
7306 ac_config_files
="$ac_config_files Makefile"
7308 ac_config_commands
="$ac_config_commands default"
7310 cat >confcache
<<\_ACEOF
7311 # This file is a shell script that caches the results of configure
7312 # tests run on this system so they can be shared between configure
7313 # scripts and configure runs, see configure's option --config-cache.
7314 # It is not useful on other systems. If it contains results you don't
7315 # want to keep, you may remove or edit it.
7317 # config.status only pays attention to the cache file if you give it
7318 # the --recheck option to rerun configure.
7320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7326 # The following way of writing the cache mishandles newlines in values,
7327 # but we know of no workaround that is simple, portable, and efficient.
7328 # So, we kill variables containing newlines.
7329 # Ultrix sh set writes to stderr and can't be redirected directly,
7330 # and sets the high bit in the cache file unless we assign to the vars.
7332 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7333 eval ac_val
=\$
$ac_var
7337 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7341 _ | IFS | as_nl
) ;; #(
7342 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7343 *) { eval $ac_var=; unset $ac_var;} ;;
7349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7350 *${as_nl}ac_space
=\
*)
7351 # `set' does not quote correctly, so add quotes: double-quote
7352 # substitution turns \\\\ into \\, and sed turns \\ into \.
7355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7358 # `set' quotes correctly as required by POSIX, so do not add quotes.
7359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7372 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7373 if test -w "$cache_file"; then
7374 test "x$cache_file" != "x/dev/null" &&
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7376 $as_echo "$as_me: updating cache $cache_file" >&6;}
7377 cat confcache
>$cache_file
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7380 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7385 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7386 # Let make expand exec_prefix.
7387 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7389 DEFS
=-DHAVE_CONFIG_H
7393 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7394 # 1. Remove the extension, and $U if already installed.
7395 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7396 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7397 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7398 # will be set to the directory where LIBOBJS objects are built.
7399 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7400 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7404 LTLIBOBJS
=$ac_ltlibobjs
7407 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7408 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7411 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
7412 as_fn_error
"conditional \"GMAKE\" was never defined.
7413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7416 : ${CONFIG_STATUS=./config.status}
7418 ac_clean_files_save
=$ac_clean_files
7419 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7421 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7423 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7425 # Generated by $as_me.
7426 # Run this file to recreate the current configuration.
7427 # Compiler output produced by configure, useful for debugging
7428 # configure, is in config.log if it exists.
7434 SHELL=\${CONFIG_SHELL-$SHELL}
7437 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7438 ## -------------------- ##
7439 ## M4sh Initialization. ##
7440 ## -------------------- ##
7442 # Be more Bourne compatible
7443 DUALCASE
=1; export DUALCASE
# for MKS sh
7444 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7447 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7448 # is contrary to our usage. Disable this feature.
7449 alias -g '${1+"$@"}'='"$@"'
7450 setopt NO_GLOB_SUBST
7452 case `(set -o) 2>/dev/null` in #(
7464 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7465 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7466 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7468 # Prefer a ksh shell builtin over an external printf program on Solaris,
7469 # but without wasting forks for bash or zsh.
7470 if test -z "$BASH_VERSION$ZSH_VERSION" \
7471 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7472 as_echo='print
-r --'
7473 as_echo_n='print
-rn --'
7474 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7475 as_echo='printf %s
\n'
7476 as_echo_n='printf %s
'
7478 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7479 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7480 as_echo_n='/usr
/ucb
/echo -n'
7482 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7483 as_echo_n_body='eval
7487 expr "X$arg" : "X\\(.*\\)$as_nl";
7488 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7490 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7492 export as_echo_n_body
7493 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7496 as_echo='sh
-c $as_echo_body as_echo
'
7499 # The user is always right.
7500 if test "${PATH_SEPARATOR+set}" != set; then
7502 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7503 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7510 # We need space, tab and new line, in precisely that order. Quoting is
7511 # there to prevent editors from complaining about space-tab.
7512 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7513 # splitting by setting IFS to empty value.)
7516 # Find who we are. Look in the path if we contain no directory separator.
7518 *[\\/]* ) as_myself=$0 ;;
7519 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 test -z "$as_dir" && as_dir=.
7524 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7530 # We did not find ourselves, most probably we were run as `sh COMMAND'
7531 # in which case we are not to be found in the path.
7532 if test "x$as_myself" = x
; then
7535 if test ! -f "$as_myself"; then
7536 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7540 # Unset variables that we do not need and which cause bugs (e.g. in
7541 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7542 # suppresses any "Segmentation fault" message there. '((' could
7543 # trigger a bug in pdksh 5.2.14.
7544 for as_var
in BASH_ENV ENV MAIL MAILPATH
7545 do eval test x\
${$as_var+set} = xset \
7546 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7559 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7562 # as_fn_error ERROR [LINENO LOG_FD]
7563 # ---------------------------------
7564 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7565 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7566 # script with status $?, using 1 if that was 0.
7569 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7571 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7572 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7574 $as_echo "$as_me: error: $1" >&2
7575 as_fn_exit
$as_status
7579 # as_fn_set_status STATUS
7580 # -----------------------
7581 # Set $? to STATUS, without forking.
7585 } # as_fn_set_status
7589 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7599 # Portably unset VAR.
7602 { eval $1=; unset $1;}
7604 as_unset
=as_fn_unset
7605 # as_fn_append VAR VALUE
7606 # ----------------------
7607 # Append the text in VALUE to the end of the definition contained in VAR. Take
7608 # advantage of any shell optimizations that allow amortized linear growth over
7609 # repeated appends, instead of the typical quadratic growth present in naive
7611 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7612 eval 'as_fn_append ()
7623 # as_fn_arith ARG...
7624 # ------------------
7625 # Perform arithmetic evaluation on the ARGs, and store the result in the
7626 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7627 # must be portable across $(()) and expr.
7628 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7629 eval 'as_fn_arith ()
7636 as_val
=`expr "$@" || test $? -eq 1`
7641 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7642 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7648 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7649 as_basename
=basename
7654 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7660 as_me
=`$as_basename -- "$0" ||
7661 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7662 X"$0" : 'X\(//\)$' \| \
7663 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7665 sed '/^.*\/\([^/][^/]*\)\/*$/{
7679 # Avoid depending upon Character Ranges.
7680 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7681 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7682 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7683 as_cr_digits
='0123456789'
7684 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7686 ECHO_C
= ECHO_N
= ECHO_T
=
7687 case `echo -n x` in #(((((
7689 case `echo 'xy\c'` in
7690 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7692 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7699 rm -f conf$$ conf$$.exe conf$$.
file
7700 if test -d conf$$.dir
; then
7701 rm -f conf$$.dir
/conf$$.
file
7704 mkdir conf$$.dir
2>/dev
/null
7706 if (echo >conf$$.
file) 2>/dev
/null
; then
7707 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7709 # ... but there are two gotchas:
7710 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7711 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7712 # In both cases, we have to default to `cp -p'.
7713 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7715 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7723 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7724 rmdir conf$$.dir
2>/dev
/null
7729 # Create "$as_dir" as a directory, including parents if necessary.
7734 -*) as_dir
=.
/$as_dir;;
7736 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7740 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7741 *) as_qdir
=$as_dir;;
7743 as_dirs
="'$as_qdir' $as_dirs"
7744 as_dir
=`$as_dirname -- "$as_dir" ||
7745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7746 X"$as_dir" : 'X\(//\)[^/]' \| \
7747 X"$as_dir" : 'X\(//\)$' \| \
7748 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7749 $as_echo X"$as_dir" |
7750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7767 test -d "$as_dir" && break
7769 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7770 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7774 if mkdir
-p .
2>/dev
/null
; then
7775 as_mkdir_p
='mkdir -p "$as_dir"'
7777 test -d .
/-p && rmdir .
/-p
7781 if test -x / >/dev
/null
2>&1; then
7784 if ls -dL / >/dev
/null
2>&1; then
7791 if test -d "$1"; then
7797 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7798 ???[sx]*):;;*)false;;esac;fi
7802 as_executable_p
=$as_test_x
7804 # Sed expression to map a string onto a valid CPP name.
7805 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7807 # Sed expression to map a string onto a valid variable name.
7808 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7812 ## ----------------------------------- ##
7813 ## Main body of $CONFIG_STATUS script. ##
7814 ## ----------------------------------- ##
7816 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7819 # Save the log message, to keep $0 and so on meaningful, and to
7820 # report actual input values of CONFIG_FILES etc. instead of their
7821 # values after options handling.
7823 This file was extended by $as_me, which was
7824 generated by GNU Autoconf 2.64. Invocation command line was
7826 CONFIG_FILES = $CONFIG_FILES
7827 CONFIG_HEADERS = $CONFIG_HEADERS
7828 CONFIG_LINKS = $CONFIG_LINKS
7829 CONFIG_COMMANDS = $CONFIG_COMMANDS
7832 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7837 case $ac_config_files in *"
7838 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7841 case $ac_config_headers in *"
7842 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7847 # Files that config.status was made for.
7848 config_files="$ac_config_files"
7849 config_headers="$ac_config_headers"
7850 config_commands="$ac_config_commands"
7854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7856 \`$as_me' instantiates files and other configuration actions
7857 from templates according to the current configuration. Unless the files
7858 and actions are specified as TAGs, all are instantiated by default.
7860 Usage: $0 [OPTION]... [TAG]...
7862 -h, --help print this help, then exit
7863 -V, --version print version number and configuration settings, then exit
7864 -q, --quiet, --silent
7865 do not print progress messages
7866 -d, --debug don't remove temporary files
7867 --recheck update $as_me by reconfiguring in the same conditions
7868 --file=FILE[:TEMPLATE]
7869 instantiate the configuration file FILE
7870 --header=FILE[:TEMPLATE]
7871 instantiate the configuration header FILE
7873 Configuration files:
7876 Configuration headers:
7879 Configuration commands:
7882 Report bugs to the package provider."
7885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7888 configured by $0, generated by GNU Autoconf 2.64,
7889 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7891 Copyright (C) 2009 Free Software Foundation, Inc.
7892 This config.status script is free software; the Free Software Foundation
7893 gives unlimited permission to copy, distribute and modify it."
7898 test -n "\$AWK" || AWK=awk
7901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7902 # The default lists apply if the user does not specify any file.
7908 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7909 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7920 # Handling of the options.
7921 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7923 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7924 $as_echo "$ac_cs_version"; exit ;;
7925 --debug |
--debu |
--deb |
--de |
--d |
-d )
7927 --file |
--fil |
--fi |
--f )
7930 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7932 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7933 ac_need_defaults
=false
;;
7934 --header |
--heade |
--head |
--hea )
7937 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7939 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7940 ac_need_defaults
=false
;;
7942 # Conflict between --help and --header
7943 as_fn_error
"ambiguous option: \`$1'
7944 Try \`$0 --help' for more information.";;
7945 --help |
--hel |
-h )
7946 $as_echo "$ac_cs_usage"; exit ;;
7947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7948 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7952 -*) as_fn_error
"unrecognized option: \`$1'
7953 Try \`$0 --help' for more information." ;;
7955 *) as_fn_append ac_config_targets
" $1"
7956 ac_need_defaults
=false
;;
7962 ac_configure_extra_args
=
7964 if $ac_cs_silent; then
7966 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7971 if \$ac_cs_recheck; then
7972 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7974 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7975 CONFIG_SHELL='$SHELL'
7981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7985 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7986 ## Running $as_me. ##
7992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7996 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8002 # Handling of arguments.
8003 for ac_config_target
in $ac_config_targets
8005 case $ac_config_target in
8006 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8007 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8008 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8009 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8011 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8016 # If the user did not use the arguments to specify the items to instantiate,
8017 # then the envvar interface is used. Set only those that are not.
8018 # We use the long form for the default assignment because of an extremely
8019 # bizarre bug on SunOS 4.1.3.
8020 if $ac_need_defaults; then
8021 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8022 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8026 # Have a temporary directory for convenience. Make it in the build tree
8027 # simply because there is no reason against having it here, and in addition,
8028 # creating and moving files from /tmp can sometimes cause problems.
8029 # Hook for its removal unless debugging.
8030 # Note that there is a small window in which the directory will not be cleaned:
8031 # after its creation but before its name has been assigned to `$tmp'.
8035 trap 'exit_status=$?
8036 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8038 trap 'as_fn_exit 1' 1 2 13 15
8040 # Create a (secure) tmp directory for tmp files.
8043 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8044 test -n "$tmp" && test -d "$tmp"
8047 tmp
=.
/conf$$
-$RANDOM
8048 (umask 077 && mkdir
"$tmp")
8049 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8051 # Set up the scripts for CONFIG_FILES section.
8052 # No need to generate them if there are no CONFIG_FILES.
8053 # This happens for instance with `./config.status config.h'.
8054 if test -n "$CONFIG_FILES"; then
8057 ac_cr
=`echo X | tr X '\015'`
8058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8059 # But we know of no other shell where ac_cr would be empty at this
8060 # point, so we can use a bashism as a fallback.
8061 if test "x$ac_cr" = x
; then
8062 eval ac_cr
=\$
\'\\r
\'
8064 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8071 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8076 echo "cat >conf$$subs.awk <<_ACEOF" &&
8077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8080 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8083 for ac_last_try in false false false false false :; do
8084 . ./conf$$subs.sh ||
8085 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8087 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8088 if test $ac_delim_n = $ac_delim_num; then
8090 elif $ac_last_try; then
8091 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8093 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8099 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8103 s/^/S["/; s
/!.
*/"]=/
8113 s/\(.\{148\}\).*/\1/
8115 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8120 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8127 s/\(.\{148\}\).*/\1/
8129 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8133 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8138 ' <conf$$subs.awk | sed '
8143 ' >>$CONFIG_STATUS || ac_write_fail=1
8144 rm -f conf$$subs.awk
8145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8147 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8148 for (key in S) S_is_set[key] = 1
8154 nfields = split(line, field, "@
")
8156 len = length(field[1])
8157 for (i = 2; i < nfields; i++) {
8159 keylen = length(key)
8160 if (S_is_set[key]) {
8162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8163 len += length(value) + length(field[++i])
8174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8175 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8176 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8179 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8180 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8183 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8184 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8185 # trailing colons and then remove the whole line if VPATH becomes empty
8186 # (actually we leave an empty line to preserve line numbers).
8187 if test "x
$srcdir" = x.; then
8188 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8192 s/^\([^=]*=[ ]*\):*/\1/
8198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8199 fi # test -n "$CONFIG_FILES"
8201 # Set up the scripts for CONFIG_HEADERS section.
8202 # No need to generate them if there are no CONFIG_HEADERS.
8203 # This happens for instance with `./config.status Makefile'.
8204 if test -n "$CONFIG_HEADERS"; then
8205 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8209 # Transform confdefs.h into an awk script `defines.awk', embedded as
8210 # here-document in config.status, that substitutes the proper values into
8211 # config.h.in to produce config.h.
8213 # Create a delimiter string that does not exist in confdefs.h, to ease
8214 # handling of long lines.
8216 for ac_last_try in false false :; do
8217 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8218 if test -z "$ac_t"; then
8220 elif $ac_last_try; then
8221 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8223 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8227 # For the awk script, D is an array of macro values keyed by name,
8228 # likewise P contains macro parameters if any. Preserve backslash
8229 # newline sequences.
8231 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8233 s/.\{148\}/&'"$ac_delim"'/g
8236 s/^[ ]*#[ ]*define[ ][ ]*/ /
8243 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8245 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8249 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8250 D["\
1"]=" \
3\\\\\\n
"\\/p
8252 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8257 s/.\{148\}/&'"$ac_delim"'/g
8262 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8265 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8267 ' <confdefs.h | sed '
8268 s/'"$ac_delim"'/"\\\
8269 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8272 for (key in D) D_is_set[key] = 1
8275 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8277 split(line, arg, " ")
8278 if (arg[1] == "#") {
8282 defundef
= substr
(arg
[1], 2)
8285 split(mac1
, mac2
, "(") #)
8287 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8288 if (D_is_set
[macro
]) {
8289 # Preserve the white space surrounding the "#".
8290 print prefix
"define", macro P
[macro
] D
[macro
]
8293 # Replace #undef with comments. This is necessary, for example,
8294 # in the case of _POSIX_SOURCE, which is predefined and required
8295 # on some systems where configure will not decide to define it.
8296 if (defundef
== "undef") {
8297 print
"/*", prefix defundef
, macro
, "*/"
8305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8306 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8307 fi # test -n "$CONFIG_HEADERS"
8310 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8315 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8317 case $ac_mode$ac_tag in
8319 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8320 :[FH
]-) ac_tag
=-:-;;
8321 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8338 -) ac_f
="$tmp/stdin";;
8339 *) # Look for the file first in the build tree, then in the source tree
8340 # (if the path is not absolute). The absolute path cannot be DOS-style,
8341 # because $ac_f cannot contain `:'.
8345 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8347 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8349 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8350 as_fn_append ac_file_inputs
" '$ac_f'"
8353 # Let's still pretend it is `configure' which instantiates (i.e., don't
8354 # use $as_me), people would be surprised to read:
8355 # /* config.h. Generated by config.status. */
8356 configure_input
='Generated from '`
8357 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8359 if test x
"$ac_file" != x-
; then
8360 configure_input
="$ac_file. $configure_input"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8362 $as_echo "$as_me: creating $ac_file" >&6;}
8364 # Neutralize special characters interpreted by sed in replacement strings.
8365 case $configure_input in #(
8366 *\
&* |
*\|
* |
*\\* )
8367 ac_sed_conf_input
=`$as_echo "$configure_input" |
8368 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8369 *) ac_sed_conf_input
=$configure_input;;
8373 *:-:* |
*:-) cat >"$tmp/stdin" \
8374 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8379 ac_dir
=`$as_dirname -- "$ac_file" ||
8380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8381 X"$ac_file" : 'X\(//\)[^/]' \| \
8382 X"$ac_file" : 'X\(//\)$' \| \
8383 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8384 $as_echo X"$ac_file" |
8385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8402 as_dir
="$ac_dir"; as_fn_mkdir_p
8406 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8408 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8409 # A ".." for each directory in $ac_dir_suffix.
8410 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8411 case $ac_top_builddir_sub in
8412 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8413 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8416 ac_abs_top_builddir
=$ac_pwd
8417 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8418 # for backward compatibility:
8419 ac_top_builddir
=$ac_top_build_prefix
8422 .
) # We are building in place.
8424 ac_top_srcdir
=$ac_top_builddir_sub
8425 ac_abs_top_srcdir
=$ac_pwd ;;
8426 [\\/]* | ?
:[\\/]* ) # Absolute name.
8427 ac_srcdir
=$srcdir$ac_dir_suffix;
8428 ac_top_srcdir
=$srcdir
8429 ac_abs_top_srcdir
=$srcdir ;;
8431 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8432 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8433 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8435 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8445 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8446 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8451 # If the template does not know about datarootdir, expand it.
8452 # FIXME: This hack should be removed a few years after 2.60.
8453 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8464 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8465 *datarootdir
*) ac_datarootdir_seen
=yes;;
8466 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8468 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8471 ac_datarootdir_hack='
8472 s&@datadir@&$datadir&g
8473 s&@docdir@&$docdir&g
8474 s&@infodir@&$infodir&g
8475 s&@localedir@&$localedir&g
8476 s&@mandir@&$mandir&g
8477 s&\\\${datarootdir}&$datarootdir&g' ;;
8481 # Neutralize VPATH when `$srcdir' = `.'.
8482 # Shell code in configure.ac might set extrasub.
8483 # FIXME: do we really want to maintain this feature?
8484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8485 ac_sed_extra="$ac_vpsub
8488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8490 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8491 s|@configure_input@|
$ac_sed_conf_input|
;t t
8492 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8493 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8494 s
&@srcdir@
&$ac_srcdir&;t t
8495 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8496 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8497 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8498 s
&@builddir@
&$ac_builddir&;t t
8499 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8500 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8501 s
&@INSTALL@
&$ac_INSTALL&;t t
8502 $ac_datarootdir_hack
8504 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8505 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8507 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8508 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8509 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8511 which seems to be undefined. Please make sure it is defined." >&5
8512 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8513 which seems to be undefined. Please make sure it is defined." >&2;}
8517 -) cat "$tmp/out" && rm -f "$tmp/out";;
8518 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8520 || as_fn_error "could not create $ac_file" "$LINENO" 5
8526 if test x"$ac_file" != x-; then
8528 $as_echo "/* $configure_input */" \
8529 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8530 } >"$tmp/config.h" \
8531 || as_fn_error "could not create $ac_file" "$LINENO" 5
8532 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8534 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8537 mv "$tmp/config.h" "$ac_file" \
8538 || as_fn_error "could not create $ac_file" "$LINENO" 5
8541 $as_echo "/* $configure_input */" \
8542 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8543 || as_fn_error "could not create -" "$LINENO" 5
8547 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8548 $as_echo "$as_me: executing $ac_file commands" >&6;}
8553 case $ac_file$ac_mode in
8554 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
8555 "default":C) case x$CONFIG_HEADERS in
8556 xconfig.h:config.in)
8567 ac_clean_files=$ac_clean_files_save
8569 test $ac_write_fail = 0 ||
8570 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8573 # configure is writing to config.log, and then calls config.status.
8574 # config.status does its own redirection, appending to config.log.
8575 # Unfortunately, on DOS this fails, as config.log is still kept open
8576 # by configure, so config.status won't be able to
write to it
; its
8577 # output is simply discarded. So we exec the FD to /dev/null,
8578 # effectively closing config.log, so it can be properly (re)opened and
8579 # appended to by config.status. When coming back to configure, we
8580 # need to make the FD available again.
8581 if test "$no_create" != yes; then
8583 ac_config_status_args
=
8584 test "$silent" = yes &&
8585 ac_config_status_args
="$ac_config_status_args --quiet"
8587 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8589 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8590 # would make configure fail if this is the last instruction.
8591 $ac_cs_success || as_fn_exit $?
8593 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8595 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}