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
644 MAINTAINER_MODE_FALSE
673 program_transform_name
686 enable_option_checking
687 enable_maintainer_mode
696 enable_inprocess_agent
698 ac_precious_vars
='build_alias
709 # Initialize some variables set by options.
711 ac_init_version
=false
712 ac_unrecognized_opts
=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name
=s
,x
,x
,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir
='${exec_prefix}/bin'
738 sbindir
='${exec_prefix}/sbin'
739 libexecdir
='${exec_prefix}/libexec'
740 datarootdir
='${prefix}/share'
741 datadir
='${datarootdir}'
742 sysconfdir
='${prefix}/etc'
743 sharedstatedir
='${prefix}/com'
744 localstatedir
='${prefix}/var'
745 includedir
='${prefix}/include'
746 oldincludedir
='/usr/include'
747 docdir
='${datarootdir}/doc/${PACKAGE}'
748 infodir
='${datarootdir}/info'
753 libdir
='${exec_prefix}/lib'
754 localedir
='${datarootdir}/locale'
755 mandir
='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\
$ac_option
769 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
781 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
784 -build |
--build |
--buil |
--bui |
--bu)
785 ac_prev
=build_alias
;;
786 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
787 build_alias
=$ac_optarg ;;
789 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
790 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
791 ac_prev
=cache_file
;;
792 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
793 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
794 cache_file
=$ac_optarg ;;
797 cache_file
=config.cache
;;
799 -datadir |
--datadir |
--datadi |
--datad)
801 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
802 datadir
=$ac_optarg ;;
804 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
805 |
--dataroo |
--dataro |
--datar)
806 ac_prev
=datarootdir
;;
807 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
808 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
809 datarootdir
=$ac_optarg ;;
811 -disable-* |
--disable-*)
812 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
815 as_fn_error
"invalid feature name: $ac_useropt"
816 ac_useropt_orig
=$ac_useropt
817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep
=', ';;
825 eval enable_
$ac_useropt=no
;;
827 -docdir |
--docdir |
--docdi |
--doc |
--do)
829 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
832 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
834 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
837 -enable-* |
--enable-*)
838 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
841 as_fn_error
"invalid feature name: $ac_useropt"
842 ac_useropt_orig
=$ac_useropt
843 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep
=', ';;
851 eval enable_
$ac_useropt=\
$ac_optarg ;;
853 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
854 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
855 |
--exec |
--exe |
--ex)
856 ac_prev
=exec_prefix
;;
857 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
858 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
859 |
--exec=* |
--exe=* |
--ex=*)
860 exec_prefix
=$ac_optarg ;;
862 -gas |
--gas |
--ga |
--g)
863 # Obsolete; use --with-gas.
866 -help |
--help |
--hel |
--he |
-h)
868 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
869 ac_init_help
=recursive
;;
870 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
871 ac_init_help
=short
;;
873 -host |
--host |
--hos |
--ho)
874 ac_prev
=host_alias
;;
875 -host=* |
--host=* |
--hos=* |
--ho=*)
876 host_alias
=$ac_optarg ;;
878 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
880 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
882 htmldir
=$ac_optarg ;;
884 -includedir |
--includedir |
--includedi |
--included |
--include \
885 |
--includ |
--inclu |
--incl |
--inc)
886 ac_prev
=includedir
;;
887 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
888 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
889 includedir
=$ac_optarg ;;
891 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
893 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
894 infodir
=$ac_optarg ;;
896 -libdir |
--libdir |
--libdi |
--libd)
898 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
901 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
902 |
--libexe |
--libex |
--libe)
903 ac_prev
=libexecdir
;;
904 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
905 |
--libexe=* |
--libex=* |
--libe=*)
906 libexecdir
=$ac_optarg ;;
908 -localedir |
--localedir |
--localedi |
--localed |
--locale)
910 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
911 localedir
=$ac_optarg ;;
913 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
914 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
915 ac_prev
=localstatedir
;;
916 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
917 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
918 localstatedir
=$ac_optarg ;;
920 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
922 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
926 # Obsolete; use --without-fp.
929 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
930 |
--no-cr |
--no-c |
-n)
933 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
934 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
937 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
938 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
939 |
--oldin |
--oldi |
--old |
--ol |
--o)
940 ac_prev
=oldincludedir
;;
941 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
942 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
943 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
944 oldincludedir
=$ac_optarg ;;
946 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
948 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
951 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
952 |
--program-pre |
--program-pr |
--program-p)
953 ac_prev
=program_prefix
;;
954 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
955 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
956 program_prefix
=$ac_optarg ;;
958 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
959 |
--program-suf |
--program-su |
--program-s)
960 ac_prev
=program_suffix
;;
961 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
962 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
963 program_suffix
=$ac_optarg ;;
965 -program-transform-name |
--program-transform-name \
966 |
--program-transform-nam |
--program-transform-na \
967 |
--program-transform-n |
--program-transform- \
968 |
--program-transform |
--program-transfor \
969 |
--program-transfo |
--program-transf \
970 |
--program-trans |
--program-tran \
971 |
--progr-tra |
--program-tr |
--program-t)
972 ac_prev
=program_transform_name
;;
973 -program-transform-name=* |
--program-transform-name=* \
974 |
--program-transform-nam=* |
--program-transform-na=* \
975 |
--program-transform-n=* |
--program-transform-=* \
976 |
--program-transform=* |
--program-transfor=* \
977 |
--program-transfo=* |
--program-transf=* \
978 |
--program-trans=* |
--program-tran=* \
979 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
980 program_transform_name
=$ac_optarg ;;
982 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
984 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
987 -psdir |
--psdir |
--psdi |
--psd |
--ps)
989 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
993 |
-silent |
--silent |
--silen |
--sile |
--sil)
996 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
998 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1000 sbindir
=$ac_optarg ;;
1002 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1003 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1004 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1006 ac_prev
=sharedstatedir
;;
1007 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1008 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1009 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1011 sharedstatedir
=$ac_optarg ;;
1013 -site |
--site |
--sit)
1015 -site=* |
--site=* |
--sit=*)
1018 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1020 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1021 srcdir
=$ac_optarg ;;
1023 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1024 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1025 ac_prev
=sysconfdir
;;
1026 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1027 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1028 sysconfdir
=$ac_optarg ;;
1030 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1031 ac_prev
=target_alias
;;
1032 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1033 target_alias
=$ac_optarg ;;
1035 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1038 -version |
--version |
--versio |
--versi |
--vers |
-V)
1039 ac_init_version
=: ;;
1042 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1045 as_fn_error
"invalid package name: $ac_useropt"
1046 ac_useropt_orig
=$ac_useropt
1047 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053 ac_unrecognized_sep
=', ';;
1055 eval with_
$ac_useropt=\
$ac_optarg ;;
1057 -without-* |
--without-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error
"invalid package name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval with_
$ac_useropt=no
;;
1074 # Obsolete; use --with-x.
1077 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1078 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1079 ac_prev
=x_includes
;;
1080 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1081 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1082 x_includes
=$ac_optarg ;;
1084 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1085 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1086 ac_prev
=x_libraries
;;
1087 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1088 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1089 x_libraries
=$ac_optarg ;;
1091 -*) as_fn_error
"unrecognized option: \`$ac_option'
1092 Try \`$0 --help' for more information."
1096 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1097 # Reject names that are not valid shell variable names.
1098 case $ac_envvar in #(
1099 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1100 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1102 eval $ac_envvar=\
$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116 if test -n "$ac_prev"; then
1117 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1118 as_fn_error
"missing argument to $ac_option"
1121 if test -n "$ac_unrecognized_opts"; then
1122 case $enable_option_checking in
1124 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 # Check all directory arguments for consistency.
1130 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val
=\$
$ac_var
1136 # Remove trailing slashes.
1139 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140 eval $ac_var=\
$ac_val;;
1142 # Be sure to have absolute directory names.
1144 [\\/$
]* | ?
:[\\/]* ) continue;;
1145 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1147 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1155 target
=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x
; then
1159 if test "x$build_alias" = x
; then
1160 cross_compiling
=maybe
1161 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1162 If a cross compiler is detected then cross compile mode will be used." >&2
1163 elif test "x$build_alias" != "x$host_alias"; then
1169 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1171 test "$silent" = yes && exec 6>/dev
/null
1174 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di
=`ls -di .` &&
1176 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error
"working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error
"pwd does not report name of working directory"
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted
=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir
=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1214 ac_srcdir_defaulted
=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1218 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1220 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1232 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 for ac_var
in $ac_precious_vars; do
1235 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1237 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1248 \`configure' configures this package to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --libdir=DIR object code libraries [EPREFIX/lib]
1289 --includedir=DIR C header files [PREFIX/include]
1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1293 --infodir=DIR info documentation [DATAROOTDIR/info]
1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1295 --mandir=DIR man documentation [DATAROOTDIR/man]
1296 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1297 --htmldir=DIR html documentation [DOCDIR]
1298 --dvidir=DIR dvi documentation [DOCDIR]
1299 --pdfdir=DIR pdf documentation [DOCDIR]
1300 --psdir=DIR ps documentation [DOCDIR]
1306 --program-prefix=PREFIX prepend PREFIX to installed program names
1307 --program-suffix=SUFFIX append SUFFIX to installed program names
1308 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1311 --build=BUILD configure
for building on BUILD
[guessed
]
1312 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1313 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1317 if test -n "$ac_init_help"; then
1322 --disable-option-checking ignore unrecognized
--enable/--with options
1323 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1324 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1325 --enable-maintainer-mode enable make rules and dependencies not useful
1326 (and sometimes confusing
) to the casual installer
1327 --disable-largefile omit support
for large files
1328 --enable-werror treat compile warnings as errors
1329 --enable-inprocess-agent
1333 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1334 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1335 --with-ust=PATH Specify prefix directory
for the installed UST package
1336 Equivalent to
--with-ust-include=PATH
/include
1337 plus
--with-ust-lib=PATH
/lib
1338 --with-ust-include=PATH Specify directory
for installed UST include files
1339 --with-ust-lib=PATH Specify the directory
for the installed UST library
1340 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1341 --with-bugurl=URL Direct users to URL to report a bug
1342 --with-libthread-db=PATH
1343 use given libthread_db directly
1345 Some influential environment variables
:
1346 CC C compiler
command
1347 CFLAGS C compiler flags
1348 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1349 nonstandard directory
<lib dir
>
1350 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1351 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1352 you have headers
in a nonstandard directory
<include dir
>
1355 Use these variables to override the choices made by
`configure' or to help
1356 it to find libraries and programs with nonstandard names/locations.
1358 Report bugs to the package provider.
1363 if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help.
1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1366 test -d "$ac_dir" ||
1367 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1375 # A ".." for each directory in $ac_dir_suffix.
1376 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1377 case $ac_top_builddir_sub in
1378 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 ac_abs_top_builddir=$ac_pwd
1383 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1384 # for backward compatibility:
1385 ac_top_builddir=$ac_top_build_prefix
1388 .) # We are building in place.
1390 ac_top_srcdir=$ac_top_builddir_sub
1391 ac_abs_top_srcdir=$ac_pwd ;;
1392 [\\/]* | ?:[\\/]* ) # Absolute name.
1393 ac_srcdir=$srcdir$ac_dir_suffix;
1394 ac_top_srcdir=$srcdir
1395 ac_abs_top_srcdir=$srcdir ;;
1397 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1398 ac_top_srcdir=$ac_top_build_prefix$srcdir
1399 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1401 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1403 cd "$ac_dir" || { ac_status=$?; continue; }
1404 # Check for guested configure.
1405 if test -f "$ac_srcdir/configure.gnu"; then
1407 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1408 elif test -f "$ac_srcdir/configure"; then
1410 $SHELL "$ac_srcdir/configure" --help=recursive
1412 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1414 cd "$ac_pwd" || { ac_status=$?; break; }
1418 test -n "$ac_init_help" && exit $ac_status
1419 if $ac_init_version; then
1422 generated by GNU Autoconf 2.64
1424 Copyright (C) 2009 Free Software Foundation, Inc.
1425 This configure script is free software; the Free Software Foundation
1426 gives unlimited permission to copy, distribute and modify it.
1431 ## ------------------------ ##
1432 ## Autoconf initialization. ##
1433 ## ------------------------ ##
1435 # ac_fn_c_try_compile LINENO
1436 # --------------------------
1437 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1438 ac_fn_c_try_compile ()
1440 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1441 rm -f conftest.$ac_objext
1442 if { { ac_try="$ac_compile"
1444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1445 *) ac_try_echo
=$ac_try;;
1447 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1448 $as_echo "$ac_try_echo"; } >&5
1449 (eval "$ac_compile") 2>conftest.err
1451 if test -s conftest.err
; then
1452 grep -v '^ *+' conftest.err
>conftest.er1
1453 cat conftest.er1
>&5
1454 mv -f conftest.er1 conftest.err
1456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1457 test $ac_status = 0; } && {
1458 test -z "$ac_c_werror_flag" ||
1459 test ! -s conftest.err
1460 } && test -s conftest.
$ac_objext; then :
1463 $as_echo "$as_me: failed program was:" >&5
1464 sed 's/^/| /' conftest.
$ac_ext >&5
1468 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1471 } # ac_fn_c_try_compile
1473 # ac_fn_c_try_cpp LINENO
1474 # ----------------------
1475 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1478 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1479 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1482 *) ac_try_echo=$ac_try;;
1484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1485 $as_echo "$ac_try_echo"; } >&5
1486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1488 if test -s conftest.err; then
1489 grep -v '^ *+' conftest.err >conftest.er1
1490 cat conftest.er1 >&5
1491 mv -f conftest.er1 conftest.err
1493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1494 test $ac_status = 0; } >/dev/null && {
1495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1496 test ! -s conftest.err
1500 $as_echo "$as_me: failed program was:" >&5
1501 sed 's/^/| /' conftest.$ac_ext >&5
1505 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1510 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1511 # -------------------------------------------------------
1512 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1513 # the include files in INCLUDES and setting the cache variable VAR
1515 ac_fn_c_check_header_mongrel ()
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1520 $as_echo_n "checking for $2... " >&6; }
1521 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1522 $as_echo_n "(cached) " >&6
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1526 $as_echo "$ac_res" >&6; }
1528 # Is the header compilable?
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1530 $as_echo_n "checking $2 usability... " >&6; }
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532 /* end confdefs.h. */
1536 if ac_fn_c_try_compile "$LINENO"; then :
1537 ac_header_compiler=yes
1539 ac_header_compiler=no
1541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1543 $as_echo "$ac_header_compiler" >&6; }
1545 # Is the header present?
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1547 $as_echo_n "checking $2 presence... " >&6; }
1548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1549 /* end confdefs.h. */
1552 if ac_fn_c_try_cpp "$LINENO"; then :
1553 ac_header_preproc=yes
1555 ac_header_preproc=no
1557 rm -f conftest.err conftest.$ac_ext
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1559 $as_echo "$ac_header_preproc" >&6; }
1561 # So? What about this header?
1562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1565 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1567 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1571 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1573 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1575 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1577 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1579 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1583 $as_echo_n "checking for $2... " >&6; }
1584 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1585 $as_echo_n "(cached) " >&6
1587 eval "$3=\$ac_header_compiler"
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1593 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1595 } # ac_fn_c_check_header_mongrel
1597 # ac_fn_c_try_run LINENO
1598 # ----------------------
1599 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1600 # that executables *can* be run.
1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604 if { { ac_try="$ac_link"
1606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1607 *) ac_try_echo
=$ac_try;;
1609 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_link") 2>&5
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1615 { { case "(($ac_try" in
1616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1617 *) ac_try_echo=$ac_try;;
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621 (eval "$ac_try") 2>&5
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; }; }; then :
1627 $as_echo "$as_me: program exited with status $ac_status" >&5
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1631 ac_retval=$ac_status
1633 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1640 # -------------------------------------------------------
1641 # Tests whether HEADER exists and can be compiled using the include files in
1642 # INCLUDES, setting the cache variable VAR accordingly.
1643 ac_fn_c_check_header_compile ()
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1649 $as_echo_n "(cached) " >&6
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1656 if ac_fn_c_try_compile "$LINENO"; then :
1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1665 $as_echo "$ac_res" >&6; }
1666 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1668 } # ac_fn_c_check_header_compile
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext conftest$ac_exeext
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>conftest.err
1686 if test -s conftest.err
; then
1687 grep -v '^ *+' conftest.err
>conftest.er1
1688 cat conftest.er1
>&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest
$ac_exeext && {
1696 test "$cross_compiling" = yes ||
1697 $as_test_x conftest
$ac_exeext
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.
$ac_ext >&5
1706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708 # interfere with the next link command; also delete a directory that is
1709 # left behind by Apple's compiler. We do this before executing the actions.
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1714 } # ac_fn_c_try_link
1716 # ac_fn_c_check_func LINENO FUNC VAR
1717 # ----------------------------------
1718 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1719 ac_fn_c_check_func
()
1721 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1723 $as_echo_n "checking for $2... " >&6; }
1724 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1725 $as_echo_n "(cached) " >&6
1727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1731 #define $2 innocuous_$2
1733 /* System header to define __stub macros and hopefully few prototypes,
1734 which can conflict with char $2 (); below.
1735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1736 <limits.h> exists even on freestanding compilers. */
1739 # include <limits.h>
1741 # include <assert.h>
1746 /* Override any GCC internal prototype to avoid an error.
1747 Use char because int might match the return type of a GCC
1748 builtin and then its argument prototype would still apply. */
1753 /* The GNU C library defines this for functions which it implements
1754 to always fail with ENOSYS. Some functions are actually named
1755 something starting with __ and the normal name is an alias. */
1756 #if defined __stub_$2 || defined __stub___$2
1768 if ac_fn_c_try_link
"$LINENO"; then :
1773 rm -f core conftest.err conftest.
$ac_objext \
1774 conftest
$ac_exeext conftest.
$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 } # ac_fn_c_check_func
1783 # ac_fn_c_check_decl LINENO SYMBOL VAR
1784 # ------------------------------------
1785 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1786 ac_fn_c_check_decl
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1790 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1792 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1793 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1802 #ifndef $as_decl_name
1804 (void) $as_decl_use;
1806 (void) $as_decl_name;
1814 if ac_fn_c_try_compile
"$LINENO"; then :
1819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1826 } # ac_fn_c_check_decl
1828 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1829 # -------------------------------------------
1830 # Tests whether TYPE exists after having included INCLUDES, setting cache
1831 # variable VAR accordingly.
1832 ac_fn_c_check_type
()
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1838 $as_echo_n "(cached) " >&6
1841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1853 if ac_fn_c_try_compile
"$LINENO"; then :
1854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1855 /* end confdefs.h. */
1866 if ac_fn_c_try_compile
"$LINENO"; then :
1871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1880 } # ac_fn_c_check_type
1881 cat >config.log
<<_ACEOF
1882 This file contains any messages produced by compilers while
1883 running configure, to aid debugging if configure makes a mistake.
1885 It was created by $as_me, which was
1886 generated by GNU Autoconf 2.64. Invocation command line was
1898 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1904 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1907 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir
=.
1922 $as_echo "PATH: $as_dir"
1938 # Keep a trace of the command line.
1939 # Strip out --no-create and --no-recursion so they do not pile up.
1940 # Strip out --silent because we don't want to record it for future runs.
1941 # Also quote any args containing shell meta-characters.
1942 # Make two passes to allow for proper duplicate-argument suppression.
1946 ac_must_keep_next
=false
1952 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1953 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1954 |
-silent |
--silent |
--silen |
--sile |
--sil)
1957 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1960 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1962 as_fn_append ac_configure_args1
" '$ac_arg'"
1963 if test $ac_must_keep_next = true
; then
1964 ac_must_keep_next
=false
# Got value, back to normal.
1967 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1968 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1969 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1970 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1971 case "$ac_configure_args0 " in
1972 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1975 -* ) ac_must_keep_next
=true
;;
1978 as_fn_append ac_configure_args
" '$ac_arg'"
1983 { ac_configure_args0
=; unset ac_configure_args0
;}
1984 { ac_configure_args1
=; unset ac_configure_args1
;}
1986 # When interrupted or exit'd, cleanup temporary files, and complete
1987 # config.log. We remove comments because anyway the quotes in there
1988 # would cause problems or look ugly.
1989 # WARNING: Use '\'' to represent an apostrophe within the trap.
1990 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991 trap 'exit_status=$?
1992 # Save into config.log some information that might help in debugging.
1997 ## ---------------- ##
1998 ## Cache variables. ##
1999 ## ---------------- ##
2002 # The following way of writing the cache mishandles newlines in values,
2004 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2005 eval ac_val=\$$ac_var
2009 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2010 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2013 _ | IFS | as_nl) ;; #(
2014 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2015 *) { eval $ac_var=; unset $ac_var;} ;;
2020 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2021 *${as_nl}ac_space=\ *)
2023 "s/'\''/'\''\\\\'\'''\''/g;
2024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2035 ## ----------------- ##
2036 ## Output variables. ##
2037 ## ----------------- ##
2040 for ac_var in $ac_subst_vars
2042 eval ac_val=\$$ac_var
2044 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2046 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -n "$ac_subst_files"; then
2052 ## ------------------- ##
2053 ## File substitutions. ##
2054 ## ------------------- ##
2057 for ac_var
in $ac_subst_files
2059 eval ac_val
=\$
$ac_var
2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2063 $as_echo "$ac_var='\''$ac_val'\''"
2068 if test -s confdefs.h; then
2078 test "$ac_signal" != 0 &&
2079 $as_echo "$as_me: caught signal $ac_signal"
2080 $as_echo "$as_me: exit $exit_status"
2082 rm -f core *.core core.conftest.* &&
2083 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2086 for ac_signal
in 1 2 13 15; do
2087 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest
* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_NAME "$PACKAGE_NAME"
2102 cat >>confdefs.h
<<_ACEOF
2103 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_STRING "$PACKAGE_STRING"
2114 cat >>confdefs.h
<<_ACEOF
2115 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2118 cat >>confdefs.h
<<_ACEOF
2119 #define PACKAGE_URL "$PACKAGE_URL"
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2127 if test -n "$CONFIG_SITE"; then
2128 ac_site_file1
=$CONFIG_SITE
2129 elif test "x$prefix" != xNONE
; then
2130 ac_site_file1
=$prefix/share
/config.site
2131 ac_site_file2
=$prefix/etc
/config.site
2133 ac_site_file1
=$ac_default_prefix/share
/config.site
2134 ac_site_file2
=$ac_default_prefix/etc
/config.site
2136 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2138 test "x$ac_site_file" = xNONE
&& continue
2139 if test -r "$ac_site_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2141 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2142 sed 's/^/| /' "$ac_site_file" >&5
2147 if test -r "$cache_file"; then
2148 # Some versions of bash will fail to source /dev/null (special
2149 # files actually), so we avoid doing that.
2150 if test -f "$cache_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2152 $as_echo "$as_me: loading cache $cache_file" >&6;}
2154 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2155 *) .
"./$cache_file";;
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2160 $as_echo "$as_me: creating cache $cache_file" >&6;}
2164 # Check that the precious variables saved in the cache have kept the same
2166 ac_cache_corrupted
=false
2167 for ac_var
in $ac_precious_vars; do
2168 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2169 eval ac_new_set
=\
$ac_env_${ac_var}_set
2170 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2171 eval ac_new_val
=\
$ac_env_${ac_var}_value
2172 case $ac_old_set,$ac_new_set in
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2176 ac_cache_corrupted
=: ;;
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2179 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2180 ac_cache_corrupted
=: ;;
2183 if test "x$ac_old_val" != "x$ac_new_val"; then
2184 # differences in whitespace do not lead to failure.
2185 ac_old_val_w
=`echo x $ac_old_val`
2186 ac_new_val_w
=`echo x $ac_new_val`
2187 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2189 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2190 ac_cache_corrupted
=:
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2193 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2194 eval $ac_var=\
$ac_old_val
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2197 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2199 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2202 # Pass precious variables to config.status.
2203 if test "$ac_new_set" = set; then
2205 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2206 *) ac_arg
=$ac_var=$ac_new_val ;;
2208 case " $ac_configure_args " in
2209 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2210 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2214 if $ac_cache_corrupted; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2218 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2219 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2221 ## -------------------- ##
2222 ## Main body of script. ##
2223 ## -------------------- ##
2226 ac_cpp
='$CPP $CPPFLAGS'
2227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2235 ac_config_headers
="$ac_config_headers config.h:config.in"
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2240 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2241 # Check whether --enable-maintainer-mode was given.
2242 if test "${enable_maintainer_mode+set}" = set; then :
2243 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2245 USE_MAINTAINER_MODE
=no
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2249 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2250 if test $USE_MAINTAINER_MODE = yes; then
2251 MAINTAINER_MODE_TRUE
=
2252 MAINTAINER_MODE_FALSE
='#'
2254 MAINTAINER_MODE_TRUE
='#'
2255 MAINTAINER_MODE_FALSE
=
2258 MAINT
=$MAINTAINER_MODE_TRUE
2263 ac_cpp
='$CPP $CPPFLAGS'
2264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2267 if test -n "$ac_tool_prefix"; then
2268 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2269 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271 $as_echo_n "checking for $ac_word... " >&6; }
2272 if test "${ac_cv_prog_CC+set}" = set; then :
2273 $as_echo_n "(cached) " >&6
2275 if test -n "$CC"; then
2276 ac_cv_prog_CC
="$CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 if test -n "$CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2298 $as_echo "$CC" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2306 if test -z "$ac_cv_prog_CC"; then
2308 # Extract the first word of "gcc", so it can be a program name with args.
2309 set dummy gcc
; ac_word
=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$ac_ct_CC"; then
2316 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir
=.
2323 for ac_exec_ext
in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325 ac_cv_prog_ac_ct_CC
="gcc"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2336 if test -n "$ac_ct_CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2338 $as_echo "$ac_ct_CC" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2344 if test "x$ac_ct_CC" = x
; then
2347 case $cross_compiling:$ac_tool_warned in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2351 ac_tool_warned
=yes ;;
2359 if test -z "$CC"; then
2360 if test -n "$ac_tool_prefix"; then
2361 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2362 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364 $as_echo_n "checking for $ac_word... " >&6; }
2365 if test "${ac_cv_prog_CC+set}" = set; then :
2366 $as_echo_n "(cached) " >&6
2368 if test -n "$CC"; then
2369 ac_cv_prog_CC
="$CC" # Let the user override the test.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 if test -n "$CC"; then
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2391 $as_echo "$CC" >&6; }
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394 $as_echo "no" >&6; }
2400 if test -z "$CC"; then
2401 # Extract the first word of "cc", so it can be a program name with args.
2402 set dummy cc
; ac_word
=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_CC+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$CC"; then
2409 ac_cv_prog_CC
="$CC" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2419 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2420 ac_prog_rejected
=yes
2424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test $ac_prog_rejected = yes; then
2432 # We found a bogon in the path, so make sure we never use it.
2433 set dummy
$ac_cv_prog_CC
2435 if test $# != 0; then
2436 # We chose a different compiler from the bogus one.
2437 # However, it has the same basename, so the bogon will be chosen
2438 # first if we set CC to just the basename; use the full file name.
2440 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2446 if test -n "$CC"; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2448 $as_echo "$CC" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2451 $as_echo "no" >&6; }
2456 if test -z "$CC"; then
2457 if test -n "$ac_tool_prefix"; then
2458 for ac_prog
in cl.exe
2460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2461 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463 $as_echo_n "checking for $ac_word... " >&6; }
2464 if test "${ac_cv_prog_CC+set}" = set; then :
2465 $as_echo_n "(cached) " >&6
2467 if test -n "$CC"; then
2468 ac_cv_prog_CC
="$CC" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 if test -n "$CC"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2490 $as_echo "$CC" >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493 $as_echo "no" >&6; }
2497 test -n "$CC" && break
2500 if test -z "$CC"; then
2502 for ac_prog
in cl.exe
2504 # Extract the first word of "$ac_prog", so it can be a program name with args.
2505 set dummy
$ac_prog; ac_word
=$2
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2507 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2509 $as_echo_n "(cached) " >&6
2511 if test -n "$ac_ct_CC"; then
2512 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir
=.
2519 for ac_exec_ext
in '' $ac_executable_extensions; do
2520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521 ac_cv_prog_ac_ct_CC
="$ac_prog"
2522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2531 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2532 if test -n "$ac_ct_CC"; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2534 $as_echo "$ac_ct_CC" >&6; }
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537 $as_echo "no" >&6; }
2541 test -n "$ac_ct_CC" && break
2544 if test "x$ac_ct_CC" = x
; then
2547 case $cross_compiling:$ac_tool_warned in
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2551 ac_tool_warned
=yes ;;
2560 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562 as_fn_error
"no acceptable C compiler found in \$PATH
2563 See \`config.log' for more details." "$LINENO" 5; }
2565 # Provide some information about the compiler.
2566 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2569 for ac_option
in --version -v -V -qversion; do
2570 { { ac_try
="$ac_compiler $ac_option >&5"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2579 if test -s conftest.err; then
2581 ... rest of stderr output deleted ...
2582 10q' conftest.err >conftest.er1
2583 cat conftest.er1 >&5
2584 rm -f conftest.er1 conftest.err
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; }
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2601 ac_clean_files_save=$ac_clean_files
2602 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2603 # Try to create an executable without -o first, disregard a.out.
2604 # It will help us diagnose broken compilers, and finding out an intuition
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2607 $as_echo_n "checking for C compiler default output file name... " >&6; }
2608 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2610 # The possible output files:
2611 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2614 for ac_file in $ac_files
2617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2618 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2623 if { { ac_try="$ac_link_default"
2625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2626 *) ac_try_echo
=$ac_try;;
2628 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2629 $as_echo "$ac_try_echo"; } >&5
2630 (eval "$ac_link_default") 2>&5
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; }; then :
2634 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2635 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2636 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2637 # so that the user can short-circuit this test for compilers unknown to
2639 for ac_file
in $ac_files ''
2641 test -f "$ac_file" ||
continue
2643 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2646 # We found the default executable, but exeext='' is most
2650 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2652 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2654 # We set ac_cv_exeext here because the later test for it is not
2655 # safe: cross compilers may not add the suffix if given an `-o'
2656 # argument, so we may need to know it at that point already.
2657 # Even if this section looks crufty: it has the advantage of
2664 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2670 $as_echo "$ac_file" >&6; }
2671 if test -z "$ac_file"; then :
2672 $as_echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.
$ac_ext >&5
2675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2677 { as_fn_set_status
77
2678 as_fn_error
"C compiler cannot create executables
2679 See \`config.log' for more details." "$LINENO" 5; }; }
2681 ac_exeext
=$ac_cv_exeext
2683 # Check that the compiler produces executables we can run. If not, either
2684 # the compiler is broken, or we cross compile.
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2686 $as_echo_n "checking whether the C compiler works... " >&6; }
2687 # If not cross compiling, check that we can run a simple program.
2688 if test "$cross_compiling" != yes; then
2689 if { ac_try
='./$ac_file'
2690 { { case "(($ac_try" in
2691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_try") 2>&5
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; }; }; then
2702 if test "$cross_compiling" = maybe; then
2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 as_fn_error "cannot run C compiled programs.
2708 If you meant to cross compile
, use \
`--host'.
2709 See \`config.log
' for more details." "$LINENO" 5; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2716 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2717 ac_clean_files=$ac_clean_files_save
2718 # Check that the compiler produces executables we can run. If not, either
2719 # the compiler is broken, or we cross compile.
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2721 $as_echo_n "checking whether we are cross compiling... " >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2723 $as_echo "$cross_compiling" >&6; }
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2726 $as_echo_n "checking for suffix of executables... " >&6; }
2727 if { { ac_try="$ac_link"
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 $as_echo "$ac_try_echo"; } >&5
2734 (eval "$ac_link") 2>&5
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; }; then :
2738 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2739 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2740 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2742 for ac_file
in conftest.exe conftest conftest.
*; do
2743 test -f "$ac_file" ||
continue
2745 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2746 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2755 See \`config.log' for more details." "$LINENO" 5; }
2757 rm -f conftest
$ac_cv_exeext
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2759 $as_echo "$ac_cv_exeext" >&6; }
2761 rm -f conftest.
$ac_ext
2762 EXEEXT
=$ac_cv_exeext
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2765 $as_echo_n "checking for suffix of object files... " >&6; }
2766 if test "${ac_cv_objext+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2780 rm -f conftest.o conftest.obj
2781 if { { ac_try
="$ac_compile"
2783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_compile") 2>&5
2790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; }; then :
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 $as_echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error "cannot compute suffix of object files
: cannot compile
2807 See \
`config.log' for more details." "$LINENO" 5; }
2809 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2812 $as_echo "$ac_cv_objext" >&6; }
2813 OBJEXT=$ac_cv_objext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2816 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2817 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2818 $as_echo_n "(cached) " >&6
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2834 if ac_fn_c_try_compile "$LINENO"; then :
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2844 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2845 if test $ac_compiler_gnu = yes; then
2850 ac_test_CFLAGS=${CFLAGS+set}
2851 ac_save_CFLAGS=$CFLAGS
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2853 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2854 if test "${ac_cv_prog_cc_g+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 ac_save_c_werror_flag=$ac_c_werror_flag
2858 ac_c_werror_flag=yes
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2887 if ac_fn_c_try_compile "$LINENO"; then :
2890 ac_c_werror_flag=$ac_save_c_werror_flag
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2903 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2911 ac_c_werror_flag=$ac_save_c_werror_flag
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2914 $as_echo "$ac_cv_prog_cc_g" >&6; }
2915 if test "$ac_test_CFLAGS" = set; then
2916 CFLAGS=$ac_save_CFLAGS
2917 elif test $ac_cv_prog_cc_g = yes; then
2918 if test "$GCC" = yes; then
2924 if test "$GCC" = yes; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2931 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2932 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2933 $as_echo_n "(cached) " >&6
2935 ac_cv_prog_cc_c89=no
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 #include <sys/types.h>
2942 #include <sys/stat.h>
2943 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2944 struct buf { int x; };
2945 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2946 static char *e (p, i)
2952 static char *f (char * (*g) (char **, int), char **p, ...)
2957 s = g (p, va_arg (v,int));
2962 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2963 function prototypes and stuff, but not '\xHH' hex character constants.
2964 These don't provoke an error unfortunately, instead are silently treated
2965 as 'x'. The following induces an error, until -std is added to get
2966 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2967 array size at least. It's necessary to write '\x00'==0 to get something
2968 that's true only with -std. */
2969 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2971 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2972 inside strings and character constants. */
2974 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2976 int test (int i, double x);
2977 struct s1 {int (*f) (int a);};
2978 struct s2 {int (*f) (double a);};
2979 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2985 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2990 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2991 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2993 CC="$ac_save_CC $ac_arg"
2994 if ac_fn_c_try_compile "$LINENO"; then :
2995 ac_cv_prog_cc_c89=$ac_arg
2997 rm -f core conftest.err conftest.$ac_objext
2998 test "x$ac_cv_prog_cc_c89" != "xno" && break
3000 rm -f conftest.$ac_ext
3005 case "x$ac_cv_prog_cc_c89" in
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3008 $as_echo "none needed" >&6; } ;;
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3011 $as_echo "unsupported" >&6; } ;;
3013 CC="$CC $ac_cv_prog_cc_c89"
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3015 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3017 if test "x$ac_cv_prog_cc_c89" != xno; then :
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_cpp='$CPP $CPPFLAGS'
3030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3035 # On Suns, sometimes $CPP names a directory.
3036 if test -n "$CPP" && test -d "$CPP"; then
3039 if test -z "$CPP"; then
3040 if test "${ac_cv_prog_CPP+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3043 # Double quotes because CPP needs to be expanded
3044 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3047 for ac_c_preproc_warn_flag in '' yes
3049 # Use a header file that comes with gcc, so configuring glibc
3050 # with a fresh cross-compiler works.
3051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3052 # <limits.h> exists even on freestanding compilers.
3053 # On the NeXT, cc -E runs the code through the compiler's parser,
3054 # not just through cpp. "Syntax error" is here to catch this case.
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3058 # include <limits.h>
3060 # include <assert.h>
3064 if ac_fn_c_try_cpp "$LINENO"; then :
3067 # Broken: fails on valid input.
3070 rm -f conftest.err conftest.$ac_ext
3072 # OK, works on sane cases. Now check whether nonexistent headers
3073 # can be detected and how.
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3076 #include <ac_nonexistent.h>
3078 if ac_fn_c_try_cpp "$LINENO"; then :
3079 # Broken: success on invalid input.
3082 # Passes both tests.
3086 rm -f conftest.err conftest.$ac_ext
3089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3090 rm -f conftest.err conftest.
$ac_ext
3091 if $ac_preproc_ok; then :
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3104 $as_echo "$CPP" >&6; }
3106 for ac_c_preproc_warn_flag
in '' yes
3108 # Use a header file that comes with gcc, so configuring glibc
3109 # with a fresh cross-compiler works.
3110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3111 # <limits.h> exists even on freestanding compilers.
3112 # On the NeXT, cc -E runs the code through the compiler's parser,
3113 # not just through cpp. "Syntax error" is here to catch this case.
3114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3117 # include <limits.h>
3119 # include <assert.h>
3123 if ac_fn_c_try_cpp
"$LINENO"; then :
3126 # Broken: fails on valid input.
3129 rm -f conftest.err conftest.
$ac_ext
3131 # OK, works on sane cases. Now check whether nonexistent headers
3132 # can be detected and how.
3133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3135 #include <ac_nonexistent.h>
3137 if ac_fn_c_try_cpp
"$LINENO"; then :
3138 # Broken: success on invalid input.
3141 # Passes both tests.
3145 rm -f conftest.err conftest.
$ac_ext
3148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3149 rm -f conftest.err conftest.
$ac_ext
3150 if $ac_preproc_ok; then :
3153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3156 See \`config.log' for more details." "$LINENO" 5; }
3160 ac_cpp
='$CPP $CPPFLAGS'
3161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3167 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3168 if test "${ac_cv_path_GREP+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3171 if test -z "$GREP"; then
3172 ac_path_GREP_found
=false
3173 # Loop through the user's path and test for each of PROGNAME-LIST
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_prog
in grep ggrep
; do
3180 for ac_exec_ext
in '' $ac_executable_extensions; do
3181 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3182 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3183 # Check for GNU ac_path_GREP and select it if it is found.
3184 # Check for GNU $ac_path_GREP
3185 case `"$ac_path_GREP" --version 2>&1` in
3187 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3190 $as_echo_n 0123456789 >"conftest.in"
3193 cat "conftest.in" "conftest.in" >"conftest.tmp"
3194 mv "conftest.tmp" "conftest.in"
3195 cp "conftest.in" "conftest.nl"
3196 $as_echo 'GREP' >> "conftest.nl"
3197 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3198 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3199 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3200 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3201 # Best one so far, save it but keep looking for a better one
3202 ac_cv_path_GREP
="$ac_path_GREP"
3203 ac_path_GREP_max
=$ac_count
3205 # 10*(2^10) chars as input seems more than enough
3206 test $ac_count -gt 10 && break
3208 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3211 $ac_path_GREP_found && break 3
3216 if test -z "$ac_cv_path_GREP"; then
3217 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3220 ac_cv_path_GREP
=$GREP
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3225 $as_echo "$ac_cv_path_GREP" >&6; }
3226 GREP
="$ac_cv_path_GREP"
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3230 $as_echo_n "checking for egrep... " >&6; }
3231 if test "${ac_cv_path_EGREP+set}" = set; then :
3232 $as_echo_n "(cached) " >&6
3234 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3235 then ac_cv_path_EGREP
="$GREP -E"
3237 if test -z "$EGREP"; then
3238 ac_path_EGREP_found
=false
3239 # Loop through the user's path and test for each of PROGNAME-LIST
3240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3241 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3244 test -z "$as_dir" && as_dir
=.
3245 for ac_prog
in egrep; do
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3248 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3249 # Check for GNU ac_path_EGREP and select it if it is found.
3250 # Check for GNU $ac_path_EGREP
3251 case `"$ac_path_EGREP" --version 2>&1` in
3253 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3256 $as_echo_n 0123456789 >"conftest.in"
3259 cat "conftest.in" "conftest.in" >"conftest.tmp"
3260 mv "conftest.tmp" "conftest.in"
3261 cp "conftest.in" "conftest.nl"
3262 $as_echo 'EGREP' >> "conftest.nl"
3263 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3264 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3265 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3266 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3267 # Best one so far, save it but keep looking for a better one
3268 ac_cv_path_EGREP
="$ac_path_EGREP"
3269 ac_path_EGREP_max
=$ac_count
3271 # 10*(2^10) chars as input seems more than enough
3272 test $ac_count -gt 10 && break
3274 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3277 $ac_path_EGREP_found && break 3
3282 if test -z "$ac_cv_path_EGREP"; then
3283 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3286 ac_cv_path_EGREP
=$EGREP
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3292 $as_echo "$ac_cv_path_EGREP" >&6; }
3293 EGREP
="$ac_cv_path_EGREP"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3297 $as_echo_n "checking for ANSI C header files... " >&6; }
3298 if test "${ac_cv_header_stdc+set}" = set; then :
3299 $as_echo_n "(cached) " >&6
3301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3316 if ac_fn_c_try_compile
"$LINENO"; then :
3317 ac_cv_header_stdc
=yes
3319 ac_cv_header_stdc
=no
3321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3323 if test $ac_cv_header_stdc = yes; then
3324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3331 $EGREP "memchr" >/dev
/null
2>&1; then :
3334 ac_cv_header_stdc
=no
3340 if test $ac_cv_header_stdc = yes; then
3341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3348 $EGREP "free" >/dev
/null
2>&1; then :
3351 ac_cv_header_stdc
=no
3357 if test $ac_cv_header_stdc = yes; then
3358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3359 if test "$cross_compiling" = yes; then :
3362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3366 #if ((' ' & 0x0FF) == 0x020)
3367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3370 # define ISLOWER(c) \
3371 (('a' <= (c) && (c) <= 'i') \
3372 || ('j' <= (c) && (c) <= 'r') \
3373 || ('s' <= (c) && (c) <= 'z'))
3374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3382 for (i = 0; i < 256; i++)
3383 if (XOR (islower (i), ISLOWER (i))
3384 || toupper (i) != TOUPPER (i))
3389 if ac_fn_c_try_run
"$LINENO"; then :
3392 ac_cv_header_stdc
=no
3394 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3395 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3401 $as_echo "$ac_cv_header_stdc" >&6; }
3402 if test $ac_cv_header_stdc = yes; then
3404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3409 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3410 inttypes.h stdint.h unistd.h
3412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3413 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3415 eval as_val
=\$
$as_ac_Header
3416 if test "x$as_val" = x
""yes; then :
3417 cat >>confdefs.h
<<_ACEOF
3418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3427 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3428 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3435 if test "$MINIX" = yes; then
3437 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3440 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3443 $as_echo "#define _MINIX 1" >>confdefs.h
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3449 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3450 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3451 $as_echo_n "(cached) " >&6
3453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3456 # define __EXTENSIONS__ 1
3457 $ac_includes_default
3466 if ac_fn_c_try_compile
"$LINENO"; then :
3467 ac_cv_safe_to_define___extensions__
=yes
3469 ac_cv_safe_to_define___extensions__
=no
3471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3474 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3475 test $ac_cv_safe_to_define___extensions__ = yes &&
3476 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3478 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3480 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3482 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3484 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3488 # Check whether --enable-largefile was given.
3489 if test "${enable_largefile+set}" = set; then :
3490 enableval
=$enable_largefile;
3493 if test "$enable_largefile" != no
; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3496 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3497 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3500 ac_cv_sys_largefile_CC
=no
3501 if test "$GCC" != yes; then
3504 # IRIX 6.2 and later do not support large files by default,
3505 # so use the C compiler's -n32 option if that helps.
3506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3508 #include <sys/types.h>
3509 /* Check that off_t can represent 2**63 - 1 correctly.
3510 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3511 since some C++ compilers masquerading as C compilers
3512 incorrectly reject 9223372036854775807. */
3513 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3514 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3515 && LARGE_OFF_T % 2147483647 == 1)
3525 if ac_fn_c_try_compile
"$LINENO"; then :
3528 rm -f core conftest.err conftest.
$ac_objext
3530 if ac_fn_c_try_compile
"$LINENO"; then :
3531 ac_cv_sys_largefile_CC
=' -n32'; break
3533 rm -f core conftest.err conftest.
$ac_objext
3537 rm -f conftest.
$ac_ext
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3541 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3542 if test "$ac_cv_sys_largefile_CC" != no
; then
3543 CC
=$CC$ac_cv_sys_largefile_CC
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3547 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3548 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3549 $as_echo_n "(cached) " >&6
3552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3554 #include <sys/types.h>
3555 /* Check that off_t can represent 2**63 - 1 correctly.
3556 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3557 since some C++ compilers masquerading as C compilers
3558 incorrectly reject 9223372036854775807. */
3559 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3560 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3561 && LARGE_OFF_T % 2147483647 == 1)
3571 if ac_fn_c_try_compile
"$LINENO"; then :
3572 ac_cv_sys_file_offset_bits
=no
; break
3574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3577 #define _FILE_OFFSET_BITS 64
3578 #include <sys/types.h>
3579 /* Check that off_t can represent 2**63 - 1 correctly.
3580 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3581 since some C++ compilers masquerading as C compilers
3582 incorrectly reject 9223372036854775807. */
3583 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3584 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3585 && LARGE_OFF_T % 2147483647 == 1)
3595 if ac_fn_c_try_compile
"$LINENO"; then :
3596 ac_cv_sys_file_offset_bits
=64; break
3598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3599 ac_cv_sys_file_offset_bits
=unknown
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3604 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3605 case $ac_cv_sys_file_offset_bits in #(
3608 cat >>confdefs.h
<<_ACEOF
3609 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3614 if test $ac_cv_sys_file_offset_bits = unknown
; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3616 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3617 if test "${ac_cv_sys_large_files+set}" = set; then :
3618 $as_echo_n "(cached) " >&6
3621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3623 #include <sys/types.h>
3624 /* Check that off_t can represent 2**63 - 1 correctly.
3625 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3626 since some C++ compilers masquerading as C compilers
3627 incorrectly reject 9223372036854775807. */
3628 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3629 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3630 && LARGE_OFF_T % 2147483647 == 1)
3640 if ac_fn_c_try_compile
"$LINENO"; then :
3641 ac_cv_sys_large_files
=no
; break
3643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3646 #define _LARGE_FILES 1
3647 #include <sys/types.h>
3648 /* Check that off_t can represent 2**63 - 1 correctly.
3649 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3650 since some C++ compilers masquerading as C compilers
3651 incorrectly reject 9223372036854775807. */
3652 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3653 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3654 && LARGE_OFF_T % 2147483647 == 1)
3664 if ac_fn_c_try_compile
"$LINENO"; then :
3665 ac_cv_sys_large_files
=1; break
3667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3668 ac_cv_sys_large_files
=unknown
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3673 $as_echo "$ac_cv_sys_large_files" >&6; }
3674 case $ac_cv_sys_large_files in #(
3677 cat >>confdefs.h
<<_ACEOF
3678 #define _LARGE_FILES $ac_cv_sys_large_files
3688 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3689 for ac_t
in install-sh
install.sh shtool
; do
3690 if test -f "$ac_dir/$ac_t"; then
3692 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3697 if test -z "$ac_aux_dir"; then
3698 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3701 # These three variables are undocumented and unsupported,
3702 # and are intended to be withdrawn in a future Autoconf release.
3703 # They can cause serious problems if a builder's source tree is in a directory
3704 # whose full name contains unusual characters.
3705 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3706 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3707 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3710 # Make sure we can run config.sub.
3711 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3712 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3715 $as_echo_n "checking build system type... " >&6; }
3716 if test "${ac_cv_build+set}" = set; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_build_alias
=$build_alias
3720 test "x$ac_build_alias" = x
&&
3721 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3722 test "x$ac_build_alias" = x
&&
3723 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3724 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3725 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3729 $as_echo "$ac_cv_build" >&6; }
3730 case $ac_cv_build in
3732 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3735 ac_save_IFS
=$IFS; IFS
='-'
3741 # Remember, the first character of IFS is used to create $*,
3742 # except with old shells:
3745 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3749 $as_echo_n "checking host system type... " >&6; }
3750 if test "${ac_cv_host+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 if test "x$host_alias" = x
; then
3754 ac_cv_host
=$ac_cv_build
3756 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3757 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3762 $as_echo "$ac_cv_host" >&6; }
3765 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3768 ac_save_IFS
=$IFS; IFS
='-'
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3778 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3782 $as_echo_n "checking target system type... " >&6; }
3783 if test "${ac_cv_target+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3786 if test "x$target_alias" = x
; then
3787 ac_cv_target
=$ac_cv_host
3789 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3790 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3795 $as_echo "$ac_cv_target" >&6; }
3796 case $ac_cv_target in
3798 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3800 target
=$ac_cv_target
3801 ac_save_IFS
=$IFS; IFS
='-'
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3811 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3814 # The aliases save the names the user supplied, while $host etc.
3815 # will get canonicalized.
3816 test -n "$target_alias" &&
3817 test "$program_prefix$program_suffix$program_transform_name" = \
3819 program_prefix
=${target_alias}-
3822 # Find a good install program. We prefer a C program (faster),
3823 # so one script is as good as another. But avoid the broken or
3824 # incompatible versions:
3825 # SysV /etc/install, /usr/sbin/install
3826 # SunOS /usr/etc/install
3827 # IRIX /sbin/install
3829 # AmigaOS /C/install, which installs bootblocks on floppy discs
3830 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3831 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3832 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3833 # OS/2's system install, which has a completely different semantic
3834 # ./install, which can be erroneously created by make from ./install.sh.
3835 # Reject install programs that cannot install multiple files.
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3837 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3838 if test -z "$INSTALL"; then
3839 if test "${ac_cv_path_install+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir
=.
3847 # Account for people who put trailing slashes in PATH elements.
3848 case $as_dir/ in #((
3849 .
/ | .
// |
/[cC
]/* | \
3850 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3851 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3854 # OSF1 and SCO ODT 3.0 have their own names for install.
3855 # Don't use installbsd from OSF since it installs stuff as root
3857 for ac_prog
in ginstall scoinst
install; do
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3860 if test $ac_prog = install &&
3861 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3862 # AIX install. It has an incompatible calling convention.
3864 elif test $ac_prog = install &&
3865 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3866 # program-specific install script used by HP pwplus--don't use.
3869 rm -rf conftest.one conftest.two conftest.dir
3870 echo one
> conftest.one
3871 echo two
> conftest.two
3873 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3874 test -s conftest.one
&& test -s conftest.two
&&
3875 test -s conftest.dir
/conftest.one
&&
3876 test -s conftest.dir
/conftest.two
3878 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3891 rm -rf conftest.one conftest.two conftest.dir
3894 if test "${ac_cv_path_install+set}" = set; then
3895 INSTALL
=$ac_cv_path_install
3897 # As a last resort, use the slow shell script. Don't cache a
3898 # value for INSTALL within a source directory, because that will
3899 # break other packages using the cache if that directory is
3900 # removed, or if the value is a relative name.
3901 INSTALL
=$ac_install_sh
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3905 $as_echo "$INSTALL" >&6; }
3907 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3908 # It thinks the first close brace ends the variable substitution.
3909 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3911 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3913 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3915 if test -n "$ac_tool_prefix"; then
3916 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3917 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$RANLIB"; then
3924 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 RANLIB
=$ac_cv_prog_RANLIB
3944 if test -n "$RANLIB"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3946 $as_echo "$RANLIB" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3954 if test -z "$ac_cv_prog_RANLIB"; then
3955 ac_ct_RANLIB
=$RANLIB
3956 # Extract the first word of "ranlib", so it can be a program name with args.
3957 set dummy ranlib
; ac_word
=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3961 $as_echo_n "(cached) " >&6
3963 if test -n "$ac_ct_RANLIB"; then
3964 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir
=.
3971 for ac_exec_ext
in '' $ac_executable_extensions; do
3972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3984 if test -n "$ac_ct_RANLIB"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3986 $as_echo "$ac_ct_RANLIB" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3992 if test "x$ac_ct_RANLIB" = x
; then
3995 case $cross_compiling:$ac_tool_warned in
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3999 ac_tool_warned
=yes ;;
4001 RANLIB
=$ac_ct_RANLIB
4004 RANLIB
="$ac_cv_prog_RANLIB"
4008 test "$program_prefix" != NONE
&&
4009 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4010 # Use a double $ so make ignores it.
4011 test "$program_suffix" != NONE
&&
4012 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4013 # Double any \ or $.
4014 # By default was `s,x,x', remove it if useless.
4015 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4016 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4020 $as_echo_n "checking for ANSI C header files... " >&6; }
4021 if test "${ac_cv_header_stdc+set}" = set; then :
4022 $as_echo_n "(cached) " >&6
4024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4039 if ac_fn_c_try_compile
"$LINENO"; then :
4040 ac_cv_header_stdc
=yes
4042 ac_cv_header_stdc
=no
4044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4046 if test $ac_cv_header_stdc = yes; then
4047 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4054 $EGREP "memchr" >/dev
/null
2>&1; then :
4057 ac_cv_header_stdc
=no
4063 if test $ac_cv_header_stdc = yes; then
4064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4071 $EGREP "free" >/dev
/null
2>&1; then :
4074 ac_cv_header_stdc
=no
4080 if test $ac_cv_header_stdc = yes; then
4081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4082 if test "$cross_compiling" = yes; then :
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 #if ((' ' & 0x0FF) == 0x020)
4090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4093 # define ISLOWER(c) \
4094 (('a' <= (c) && (c) <= 'i') \
4095 || ('j' <= (c) && (c) <= 'r') \
4096 || ('s' <= (c) && (c) <= 'z'))
4097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4105 for (i = 0; i < 256; i++)
4106 if (XOR (islower (i), ISLOWER (i))
4107 || toupper (i) != TOUPPER (i))
4112 if ac_fn_c_try_run
"$LINENO"; then :
4115 ac_cv_header_stdc
=no
4117 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4118 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4124 $as_echo "$ac_cv_header_stdc" >&6; }
4125 if test $ac_cv_header_stdc = yes; then
4127 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4132 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4133 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4135 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4136 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
4137 $as_echo_n "(cached) " >&6
4139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4141 #include <sys/types.h>
4153 if ac_fn_c_try_compile
"$LINENO"; then :
4154 eval "$as_ac_Header=yes"
4156 eval "$as_ac_Header=no"
4158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4160 eval ac_res
=\$
$as_ac_Header
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4162 $as_echo "$ac_res" >&6; }
4163 eval as_val
=\$
$as_ac_Header
4164 if test "x$as_val" = x
""yes; then :
4165 cat >>confdefs.h
<<_ACEOF
4166 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4169 ac_header_dirent
=$ac_hdr; break
4173 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4174 if test $ac_header_dirent = dirent.h
; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4176 $as_echo_n "checking for library containing opendir... " >&6; }
4177 if test "${ac_cv_search_opendir+set}" = set; then :
4178 $as_echo_n "(cached) " >&6
4180 ac_func_search_save_LIBS
=$LIBS
4181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4184 /* Override any GCC internal prototype to avoid an error.
4185 Use char because int might match the return type of a GCC
4186 builtin and then its argument prototype would still apply. */
4199 for ac_lib
in '' dir
; do
4200 if test -z "$ac_lib"; then
4201 ac_res
="none required"
4204 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4206 if ac_fn_c_try_link
"$LINENO"; then :
4207 ac_cv_search_opendir
=$ac_res
4209 rm -f core conftest.err conftest.
$ac_objext \
4211 if test "${ac_cv_search_opendir+set}" = set; then :
4215 if test "${ac_cv_search_opendir+set}" = set; then :
4218 ac_cv_search_opendir
=no
4221 LIBS
=$ac_func_search_save_LIBS
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4224 $as_echo "$ac_cv_search_opendir" >&6; }
4225 ac_res
=$ac_cv_search_opendir
4226 if test "$ac_res" != no
; then :
4227 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4233 $as_echo_n "checking for library containing opendir... " >&6; }
4234 if test "${ac_cv_search_opendir+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 ac_func_search_save_LIBS
=$LIBS
4238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4241 /* Override any GCC internal prototype to avoid an error.
4242 Use char because int might match the return type of a GCC
4243 builtin and then its argument prototype would still apply. */
4256 for ac_lib
in '' x
; do
4257 if test -z "$ac_lib"; then
4258 ac_res
="none required"
4261 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4263 if ac_fn_c_try_link
"$LINENO"; then :
4264 ac_cv_search_opendir
=$ac_res
4266 rm -f core conftest.err conftest.
$ac_objext \
4268 if test "${ac_cv_search_opendir+set}" = set; then :
4272 if test "${ac_cv_search_opendir+set}" = set; then :
4275 ac_cv_search_opendir
=no
4278 LIBS
=$ac_func_search_save_LIBS
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4281 $as_echo "$ac_cv_search_opendir" >&6; }
4282 ac_res
=$ac_cv_search_opendir
4283 if test "$ac_res" != no
; then :
4284 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4291 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4292 # for constant arguments. Useless!
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4294 $as_echo_n "checking for working alloca.h... " >&6; }
4295 if test "${ac_cv_working_alloca_h+set}" = set; then :
4296 $as_echo_n "(cached) " >&6
4298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4304 char *p = (char *) alloca (2 * sizeof (int));
4310 if ac_fn_c_try_link
"$LINENO"; then :
4311 ac_cv_working_alloca_h
=yes
4313 ac_cv_working_alloca_h
=no
4315 rm -f core conftest.err conftest.
$ac_objext \
4316 conftest
$ac_exeext conftest.
$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4319 $as_echo "$ac_cv_working_alloca_h" >&6; }
4320 if test $ac_cv_working_alloca_h = yes; then
4322 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4327 $as_echo_n "checking for alloca... " >&6; }
4328 if test "${ac_cv_func_alloca_works+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4334 # define alloca __builtin_alloca
4337 # include <malloc.h>
4338 # define alloca _alloca
4340 # ifdef HAVE_ALLOCA_H
4341 # include <alloca.h>
4346 # ifndef alloca /* predefined by HP cc +Olibcalls */
4357 char *p = (char *) alloca (1);
4363 if ac_fn_c_try_link
"$LINENO"; then :
4364 ac_cv_func_alloca_works
=yes
4366 ac_cv_func_alloca_works
=no
4368 rm -f core conftest.err conftest.
$ac_objext \
4369 conftest
$ac_exeext conftest.
$ac_ext
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4372 $as_echo "$ac_cv_func_alloca_works" >&6; }
4374 if test $ac_cv_func_alloca_works = yes; then
4376 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4379 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4380 # that cause trouble. Some versions do not even contain alloca or
4381 # contain a buggy version. If you still want to use their alloca,
4382 # use ar to extract alloca.o from them instead of compiling alloca.c.
4384 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
4386 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4390 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4391 if test "${ac_cv_os_cray+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4396 #if defined CRAY && ! defined CRAY2
4403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4404 $EGREP "webecray" >/dev
/null
2>&1; then :
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4413 $as_echo "$ac_cv_os_cray" >&6; }
4414 if test $ac_cv_os_cray = yes; then
4415 for ac_func
in _getb67 GETB67 getb67
; do
4416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4418 eval as_val
=\$
$as_ac_var
4419 if test "x$as_val" = x
""yes; then :
4421 cat >>confdefs.h
<<_ACEOF
4422 #define CRAY_STACKSEG_END $ac_func
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4432 $as_echo_n "checking stack direction for C alloca... " >&6; }
4433 if test "${ac_cv_c_stack_direction+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4436 if test "$cross_compiling" = yes; then :
4437 ac_cv_c_stack_direction
=0
4439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 $ac_includes_default
4443 find_stack_direction ()
4445 static char *addr = 0;
4450 return find_stack_direction ();
4453 return (&dummy > addr) ? 1 : -1;
4459 return find_stack_direction () < 0;
4462 if ac_fn_c_try_run
"$LINENO"; then :
4463 ac_cv_c_stack_direction
=1
4465 ac_cv_c_stack_direction
=-1
4467 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4468 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4473 $as_echo "$ac_cv_c_stack_direction" >&6; }
4474 cat >>confdefs.h
<<_ACEOF
4475 #define STACK_DIRECTION $ac_cv_c_stack_direction
4482 # Dependency checking.
4483 rm -rf .tst
2>/dev
/null
4484 mkdir .tst
2>/dev
/null
4485 if test -d .tst
; then
4490 rmdir .tst
2>/dev
/null
4492 DEPDIR
="${am__leading_dot}deps"
4494 ac_config_commands
="$ac_config_commands depdir"
4497 depcc
="$CC" am_compiler_list
=
4499 am_depcomp
=$ac_aux_dir/depcomp
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4501 $as_echo_n "checking dependency style of $depcc... " >&6; }
4502 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4503 $as_echo_n "(cached) " >&6
4505 if test -f "$am_depcomp"; then
4506 # We make a subdir and do the tests there. Otherwise we can end up
4507 # making bogus files that we don't know about and never remove. For
4508 # instance it was reported that on HP-UX the gcc test will end up
4509 # making a dummy file named `D' -- because `-MD' means `put the output
4512 # Copy depcomp to subdir because otherwise we won't find it if we're
4513 # using a relative directory.
4514 cp "$am_depcomp" conftest.dir
4516 # We will build objects and dependencies in a subdirectory because
4517 # it helps to detect inapplicable dependency modes. For instance
4518 # both Tru64's cc and ICC support -MD to output dependencies as a
4519 # side effect of compilation, but ICC will put the dependencies in
4520 # the current directory while Tru64 will put them in the object
4524 am_cv_CC_dependencies_compiler_type
=none
4525 if test "$am_compiler_list" = ""; then
4526 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4528 for depmode
in $am_compiler_list; do
4529 if test $depmode = none
; then break; fi
4531 $as_echo "$as_me:$LINENO: trying $depmode" >&5
4532 # Setup a source with many dependencies, because some compilers
4533 # like to wrap large dependency lists on column 80 (with \), and
4534 # we should not choose a depcomp mode which is confused by this.
4536 # We need to recreate these files for each test, as the compiler may
4537 # overwrite some of them when testing with obscure command lines.
4538 # This happens at least with the AIX C compiler.
4540 for i
in 1 2 3 4 5 6; do
4541 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4542 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4543 # Solaris 8's {/usr,}/bin/sh.
4544 touch sub
/conftst
$i.h
4546 echo "include sub/conftest.Po" > confmf
4548 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4549 # mode. It turns out that the SunPro C++ compiler does not properly
4550 # handle `-M -o', and we need to detect this.
4551 depcmd
="depmode=$depmode \
4552 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4554 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
4555 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
4556 if env
$depcmd > conftest.err
2>&1 &&
4557 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
4558 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
4559 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
4560 # icc doesn't choke on unknown options, it will just issue warnings
4561 # or remarks (even with -Werror). So we grep stderr for any message
4562 # that says an option was ignored or not supported.
4563 # When given -MP, icc 7.0 and 7.1 complain thusly:
4564 # icc: Command line warning: ignoring option '-M'; no argument required
4565 # The diagnosis changed in icc 8.0:
4566 # icc: Command line remark: option '-MP' not supported
4567 if (grep 'ignoring option' conftest.err ||
4568 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4569 am_cv_CC_dependencies_compiler_type
=$depmode
4570 $as_echo "$as_me:$LINENO: success" >&5
4574 $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
4575 sed -e 's/^/| /' < conftest.err
>&5
4581 am_cv_CC_dependencies_compiler_type
=none
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4586 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4587 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
4588 then as_fn_error
"no usable dependency style found" "$LINENO" 5
4589 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4594 # Check for the 'make' the user wants to use.
4597 # Extract the first word of "$ac_prog", so it can be a program name with args.
4598 set dummy
$ac_prog; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_MAKE+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$MAKE"; then
4605 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_MAKE
="$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 MAKE
=$ac_cv_prog_MAKE
4625 if test -n "$MAKE"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4627 $as_echo "$MAKE" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$MAKE" && break
4638 case "`$MAKE --version 2>&1 | sed 1q`" in
4643 if test "$MAKE_IS_GNU" = yes; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4652 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4654 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4655 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4656 $as_echo_n "(cached) " >&6
4658 cat >conftest.
make <<\_ACEOF
4661 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4664 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4666 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4668 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4672 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4674 $as_echo "yes" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4679 SET_MAKE
="MAKE=${MAKE-make}"
4683 # Configure gnulib. We can't use AC_CONFIG_SUBDIRS as that'd expect
4684 # to find the the source subdir to be configured directly under
4685 # gdbserver/. We need to build gnulib under some other directory not
4686 # "gnulib", to avoid the problem of both GDB and GDBserver wanting to
4687 # build it in the same directory, when building in the source dir.
4690 in_build
="build-gnulib-gdbserver"
4692 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4693 # so they do not pile up.
4694 ac_sub_configure_args
=
4696 eval "set x $ac_configure_args"
4700 if test -n "$ac_prev"; then
4705 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4706 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4707 ac_prev
=cache_file
;;
4708 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4709 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4712 --config-cache |
-C)
4714 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4716 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4718 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4720 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4722 --disable-option-checking)
4726 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4728 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4732 # Always prepend --prefix to ensure using the same prefix
4733 # in subdir configurations.
4734 ac_arg
="--prefix=$prefix"
4736 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4738 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4741 if test "$silent" = yes; then
4742 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4745 # Always prepend --disable-option-checking to silence warnings, since
4746 # different subdirs can have different --enable and --with options.
4747 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4752 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4754 $as_echo "$ac_msg" >&6
4755 as_dir
="$ac_dir"; as_fn_mkdir_p
4759 ac_srcdir
=$srcdir/$in_src ;;
4761 ac_srcdir
=..
/$srcdir/$in_src ;;
4766 ac_sub_configure
=$ac_srcdir/configure
4768 # Make the cache file name correct relative to the subdirectory.
4770 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4772 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4775 { $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
4776 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4777 # The eval makes quoting arguments work.
4778 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4779 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4780 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4785 for ac_header
in sgtty.h termio.h termios.h sys
/reg.h string.h proc_service.h sys
/procfs.h thread_db.h linux
/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys
/file.h malloc.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h sys
/wait.h
wait.h sys
/un.h linux
/perf_event.h
4787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4788 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4789 eval as_val
=\$
$as_ac_Header
4790 if test "x$as_val" = x
""yes; then :
4791 cat >>confdefs.h
<<_ACEOF
4792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4799 for ac_func
in pread pwrite pread64 readlink
4801 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4802 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4803 eval as_val
=\$
$as_ac_var
4804 if test "x$as_val" = x
""yes; then :
4805 cat >>confdefs.h
<<_ACEOF
4806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4812 for ac_func
in vasprintf vsnprintf
4814 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4815 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4816 eval as_val
=\$
$as_ac_var
4817 if test "x$as_val" = x
""yes; then :
4818 cat >>confdefs.h
<<_ACEOF
4819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4823 case " $LIBOBJS " in
4824 *" $ac_func.$ac_objext "* ) ;;
4825 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
4839 # Check whether --with-ust was given.
4840 if test "${with_ust+set}" = set; then :
4845 # Check whether --with-ust_include was given.
4846 if test "${with_ust_include+set}" = set; then :
4847 withval
=$with_ust_include;
4851 # Check whether --with-ust_lib was given.
4852 if test "${with_ust_lib+set}" = set; then :
4853 withval
=$with_ust_lib;
4867 ustlibs
="-L$with_ust/lib -lust"
4868 ustinc
="-I$with_ust/include "
4871 if test "x$with_ust_include" != x
; then
4872 ustinc
="-I$with_ust_include "
4874 if test "x$with_ust_lib" != x
; then
4875 ustlibs
="-L$with_ust_lib -lust"
4878 if test "x$with_ust" != "xno"; then
4879 saved_CFLAGS
="$CFLAGS"
4880 CFLAGS
="$CFLAGS $ustinc"
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ust" >&5
4882 $as_echo_n "checking for ust... " >&6; }
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4886 #define CONFIG_UST_GDB_INTEGRATION
4887 #include <ust/ust.h>
4897 if ac_fn_c_try_compile
"$LINENO"; then :
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4899 $as_echo "yes" >&6; };
4900 $as_echo "#define HAVE_UST 1" >>confdefs.h
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }; ustlibs
= ; ustinc
=
4906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 CFLAGS
="$saved_CFLAGS"
4910 # Flags needed for UST
4914 # Check whether --enable-werror was given.
4915 if test "${enable_werror+set}" = set; then :
4916 enableval
=$enable_werror; case "${enableval}" in
4917 yes | y
) ERROR_ON_WARNING
="yes" ;;
4918 no | n
) ERROR_ON_WARNING
="no" ;;
4919 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4924 # Enable -Werror by default when using gcc
4925 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4926 ERROR_ON_WARNING
=yes
4930 if test "${ERROR_ON_WARNING}" = yes ; then
4931 WERROR_CFLAGS
="-Werror"
4934 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
4935 -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
4938 if test "x$GCC" = xyes
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
4941 $as_echo_n "checking compiler warning flags... " >&6; }
4942 # Separate out the -Werror flag as some files just cannot be
4943 # compiled with it enabled.
4944 for w
in ${build_warnings}; do
4946 -Werr*) WERROR_CFLAGS
=-Werror ;;
4947 *) # Check that GCC accepts it
4948 saved_CFLAGS
="$CFLAGS"
4950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4961 if ac_fn_c_try_compile
"$LINENO"; then :
4962 WARN_CFLAGS
="${WARN_CFLAGS} $w"
4964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4965 CFLAGS
="$saved_CFLAGS"
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
4969 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
4976 for ac_func in dladdr
4978 ac_fn_c_check_func "$LINENO" "dladdr
" "ac_cv_func_dladdr
"
4979 if test "x
$ac_cv_func_dladdr" = x""yes; then :
4980 cat >>confdefs.h <<_ACEOF
4981 #define HAVE_DLADDR 1
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for errno
" >&5
4991 $as_echo_n "checking
for errno...
" >&6; }
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
5001 static int x; x = errno;
5006 if ac_fn_c_try_link "$LINENO"; then :
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes - in errno.h
" >&5
5008 $as_echo "yes - in errno.h
" >&6; };
5009 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
5012 rm -f core conftest.err conftest.
$ac_objext \
5013 conftest
$ac_exeext conftest.
$ac_ext
5014 if test $have_errno = no
; then
5015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5024 extern int errno; static int x; x = errno;
5029 if ac_fn_c_try_link
"$LINENO"; then :
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
5031 $as_echo "yes - must define" >&6; };
5032 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
5034 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5040 rm -f core conftest.err conftest.
$ac_objext \
5041 conftest
$ac_exeext conftest.
$ac_ext
5044 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
5045 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
5051 cat >>confdefs.h
<<_ACEOF
5052 #define HAVE_DECL_STRERROR $ac_have_decl
5054 ac_fn_c_check_decl
"$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
5055 if test "x$ac_cv_have_decl_strstr" = x
""yes; then :
5061 cat >>confdefs.h
<<_ACEOF
5062 #define HAVE_DECL_STRSTR $ac_have_decl
5064 ac_fn_c_check_decl
"$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
5065 if test "x$ac_cv_have_decl_perror" = x
""yes; then :
5071 cat >>confdefs.h
<<_ACEOF
5072 #define HAVE_DECL_PERROR $ac_have_decl
5074 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
5075 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
5081 cat >>confdefs.h
<<_ACEOF
5082 #define HAVE_DECL_VASPRINTF $ac_have_decl
5084 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
5085 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
5091 cat >>confdefs.h
<<_ACEOF
5092 #define HAVE_DECL_VSNPRINTF $ac_have_decl
5096 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
5097 #include <sys/socket.h>
5100 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
5102 cat >>confdefs.h
<<_ACEOF
5103 #define HAVE_SOCKLEN_T 1
5110 ac_fn_c_check_type
"$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
5113 if test "x$ac_cv_type_Elf32_auxv_t" = x
""yes; then :
5115 cat >>confdefs.h
<<_ACEOF
5116 #define HAVE_ELF32_AUXV_T 1
5121 ac_fn_c_check_type
"$LINENO" "Elf64_auxv_t" "ac_cv_type_Elf64_auxv_t" "#include <elf.h>
5124 if test "x$ac_cv_type_Elf64_auxv_t" = x
""yes; then :
5126 cat >>confdefs.h
<<_ACEOF
5127 #define HAVE_ELF64_AUXV_T 1
5136 # Check whether --with-pkgversion was given.
5137 if test "${with_pkgversion+set}" = set; then :
5138 withval
=$with_pkgversion; case "$withval" in
5139 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
5141 *) PKGVERSION
="($withval) " ;;
5152 # Check whether --with-bugurl was given.
5153 if test "${with_bugurl+set}" = set; then :
5154 withval
=$with_bugurl; case "$withval" in
5155 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
5158 *) BUGURL
="$withval"
5162 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
5172 REPORT_BUGS_TO
="<$BUGURL>"
5173 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
5180 cat >>confdefs.h
<<_ACEOF
5181 #define PKGVERSION "$PKGVERSION"
5185 cat >>confdefs.h
<<_ACEOF
5186 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
5190 # Check for various supplementary target information (beyond the
5191 # triplet) which might affect the choices in configure.srv.
5193 i
[34567]86-*-linux*)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
5195 $as_echo_n "checking if building for x86-64... " >&6; }
5196 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
5197 $as_echo_n "(cached) " >&6
5199 save_CPPFLAGS
="$CPPFLAGS"
5200 CPPFLAGS
="$CPPFLAGS $CFLAGS"
5201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210 $EGREP "got it" >/dev
/null
2>&1; then :
5211 gdb_cv_i386_is_x86_64
=yes
5213 gdb_cv_i386_is_x86_64
=no
5217 CPPFLAGS
="$save_CPPFLAGS"
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_i386_is_x86_64" >&5
5220 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Coldfire" >&5
5224 $as_echo_n "checking if building for Coldfire... " >&6; }
5225 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 save_CPPFLAGS
="$CPPFLAGS"
5229 CPPFLAGS
="$CPPFLAGS $CFLAGS"
5230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5231 /* end confdefs.h. */
5233 #ifdef __mcoldfire__
5238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5239 $EGREP "got it" >/dev
/null
2>&1; then :
5240 gdb_cv_m68k_is_coldfire
=yes
5242 gdb_cv_m68k_is_coldfire
=no
5246 CPPFLAGS
="$save_CPPFLAGS"
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_m68k_is_coldfire" >&5
5249 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
5253 .
${srcdir}/configure.srv
5255 if test "${srv_mingwce}" = "yes"; then
5257 elif test "${srv_mingw}" = "yes"; then
5258 LIBS
="$LIBS -lws2_32"
5259 elif test "${srv_qnx}" = "yes"; then
5260 LIBS
="$LIBS -lsocket"
5261 elif test "${srv_lynxos}" = "yes"; then
5262 LIBS
="$LIBS -lnetinet"
5265 if test "${srv_mingw}" = "yes"; then
5267 $as_echo "#define USE_WIN32API 1" >>confdefs.h
5271 if test "${srv_linux_usrregs}" = "yes"; then
5273 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
5277 if test "${srv_linux_regsets}" = "yes"; then
5279 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
5283 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
5284 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5289 #include <sys/ptrace.h>
5298 if ac_fn_c_try_compile
"$LINENO"; then :
5299 gdbsrv_cv_have_ptrace_getregs
=yes
5301 gdbsrv_cv_have_ptrace_getregs
=no
5303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
5307 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
5308 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
5310 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
5315 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
5316 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
5317 $as_echo_n "(cached) " >&6
5319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5321 #include <sys/ptrace.h>
5330 if ac_fn_c_try_compile
"$LINENO"; then :
5331 gdbsrv_cv_have_ptrace_getfpxregs
=yes
5333 gdbsrv_cv_have_ptrace_getfpxregs
=no
5335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
5339 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
5340 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
5342 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
5347 if test "$ac_cv_header_sys_procfs_h" = yes; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
5349 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
5350 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5357 /* Needed for new procfs interface on sparc-solaris. */
5358 #define _STRUCTURED_PROC 1
5359 #include <sys/procfs.h>
5368 if ac_fn_c_try_compile
"$LINENO"; then :
5369 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
5371 bfd_cv_have_sys_procfs_type_lwpid_t
=no
5374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
5379 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
5383 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
5386 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
5387 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
5388 $as_echo_n "(cached) " >&6
5390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5394 /* Needed for new procfs interface on sparc-solaris. */
5395 #define _STRUCTURED_PROC 1
5396 #include <sys/procfs.h>
5405 if ac_fn_c_try_compile
"$LINENO"; then :
5406 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
5408 bfd_cv_have_sys_procfs_type_psaddr_t
=no
5411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
5416 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
5420 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
5423 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
5424 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
5425 $as_echo_n "(cached) " >&6
5427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 /* Needed for new procfs interface on sparc-solaris. */
5432 #define _STRUCTURED_PROC 1
5433 #include <sys/procfs.h>
5442 if ac_fn_c_try_compile
"$LINENO"; then :
5443 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
5445 bfd_cv_have_sys_procfs_type_prgregset_t
=no
5448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5451 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
5453 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
5457 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
5460 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
5461 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
5462 $as_echo_n "(cached) " >&6
5464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5465 /* end confdefs.h. */
5468 /* Needed for new procfs interface on sparc-solaris. */
5469 #define _STRUCTURED_PROC 1
5470 #include <sys/procfs.h>
5479 if ac_fn_c_try_compile
"$LINENO"; then :
5480 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
5482 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
5485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5488 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
5490 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
5494 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
5498 if test "$bfd_cv_have_sys_procfs_type_lwpid_t" != yes; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in thread_db.h" >&5
5500 $as_echo_n "checking for lwpid_t in thread_db.h... " >&6; }
5501 if test "${gdbserver_cv_have_thread_db_type_lwpid_t+set}" = set; then :
5502 $as_echo_n "(cached) " >&6
5504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5507 #include <thread_db.h>
5516 if ac_fn_c_try_compile
"$LINENO"; then :
5517 gdbserver_cv_have_thread_db_type_lwpid_t
=yes
5519 gdbserver_cv_have_thread_db_type_lwpid_t
=no
5522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5525 if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
5527 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_lwpid_t" >&5
5531 $as_echo "$gdbserver_cv_have_thread_db_type_lwpid_t" >&6; }
5535 if test "$bfd_cv_have_sys_procfs_type_psaddr_t" != yes; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in thread_db.h" >&5
5537 $as_echo_n "checking for psaddr_t in thread_db.h... " >&6; }
5538 if test "${gdbserver_cv_have_thread_db_type_psaddr_t+set}" = set; then :
5539 $as_echo_n "(cached) " >&6
5541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5544 #include <thread_db.h>
5553 if ac_fn_c_try_compile
"$LINENO"; then :
5554 gdbserver_cv_have_thread_db_type_psaddr_t
=yes
5556 gdbserver_cv_have_thread_db_type_psaddr_t
=no
5559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5562 if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
5564 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_type_psaddr_t" >&5
5568 $as_echo "$gdbserver_cv_have_thread_db_type_psaddr_t" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
5574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
5575 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5578 ac_check_lib_save_LIBS
=$LIBS
5580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5583 /* Override any GCC internal prototype to avoid an error.
5584 Use char because int might match the return type of a GCC
5585 builtin and then its argument prototype would still apply. */
5598 if ac_fn_c_try_link
"$LINENO"; then :
5599 ac_cv_lib_dl_dlopen
=yes
5601 ac_cv_lib_dl_dlopen
=no
5603 rm -f core conftest.err conftest.
$ac_objext \
5604 conftest
$ac_exeext conftest.
$ac_ext
5605 LIBS
=$ac_check_lib_save_LIBS
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
5608 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
5609 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
5610 cat >>confdefs.h
<<_ACEOF
5611 #define HAVE_LIBDL 1
5620 srv_thread_depfiles
=
5624 if test "$srv_linux_thread_db" = "yes"; then
5625 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
5628 $as_echo_n "checking for the dynamic export flag... " >&6; }
5629 old_LDFLAGS
="$LDFLAGS"
5630 # Older GNU ld supports --export-dynamic but --dynamic-list may not be
5632 RDYNAMIC
="-Wl,--dynamic-list=${srcdir}/proc-service.list"
5633 LDFLAGS
="$LDFLAGS $RDYNAMIC"
5634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5645 if ac_fn_c_try_link
"$LINENO"; then :
5646 found
="-Wl,--dynamic-list"
5647 RDYNAMIC
='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
5649 RDYNAMIC
="-rdynamic"
5650 LDFLAGS
="$old_LDFLAGS $RDYNAMIC"
5651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5662 if ac_fn_c_try_link
"$LINENO"; then :
5668 rm -f core conftest.err conftest.
$ac_objext \
5669 conftest
$ac_exeext conftest.
$ac_ext
5671 rm -f core conftest.err conftest.
$ac_objext \
5672 conftest
$ac_exeext conftest.
$ac_ext
5674 LDFLAGS
="$old_LDFLAGS"
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
5676 $as_echo "$found" >&6; }
5678 srv_libs
="-lthread_db"
5681 srv_thread_depfiles
="thread-db.o proc-service.o"
5682 USE_THREAD_DB
="-DUSE_THREAD_DB"
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
5684 $as_echo_n "checking for TD_VERSION... " >&6; }
5685 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h. */
5690 #include <thread_db.h>
5699 if ac_fn_c_try_compile
"$LINENO"; then :
5700 gdbsrv_cv_have_td_version
=yes
5702 gdbsrv_cv_have_td_version
=no
5704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
5707 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
5708 if test $gdbsrv_cv_have_td_version = yes; then
5710 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
5716 # Check whether --with-libthread-db was given.
5717 if test "${with_libthread_db+set}" = set; then :
5718 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
5719 srv_libs
="$srv_libthread_db_path"
5724 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
5726 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
5730 if test "$srv_xmlfiles" != ""; then
5731 srv_xmlbuiltin
="xml-builtin.o"
5733 $as_echo "#define USE_XML 1" >>confdefs.h
5736 tmp_xmlfiles
=$srv_xmlfiles
5738 for f
in $tmp_xmlfiles; do
5739 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
5743 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
5744 GDBSERVER_LIBS
="$srv_libs"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
5747 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
5748 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5758 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
5763 if ac_fn_c_try_link
"$LINENO"; then :
5764 gdbsrv_cv_have_sync_builtins
=yes
5766 gdbsrv_cv_have_sync_builtins
=no
5768 rm -f core conftest.err conftest.
$ac_objext \
5769 conftest
$ac_exeext conftest.
$ac_ext
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
5772 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
5773 if test $gdbsrv_cv_have_sync_builtins = yes; then
5775 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
5779 saved_cflags
="$CFLAGS"
5780 CFLAGS
="$CFLAGS -fvisibility=hidden"
5781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5792 if ac_fn_c_try_compile
"$LINENO"; then :
5793 gdbsrv_cv_have_visibility_hidden
=yes
5795 gdbsrv_cv_have_visibility_hidden
=no
5797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 CFLAGS
="$saved_cflags"
5800 ac_fn_c_check_decl
"$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <sys/personality.h>
5802 if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x
""yes; then :
5808 cat >>confdefs.h
<<_ACEOF
5809 #define HAVE_DECL_ADDR_NO_RANDOMIZE $ac_have_decl
5813 if test "$cross_compiling" = yes; then :
5814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5816 #include <sys/personality.h>
5821 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5822 # define ADDR_NO_RANDOMIZE 0x0040000
5824 /* Test the flag could be set and stays set. */
5825 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5826 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5832 if ac_fn_c_try_link
"$LINENO"; then :
5833 gdbsrv_cv_have_personality
=true
5835 gdbsrv_cv_have_personality
=false
5837 rm -f core conftest.err conftest.
$ac_objext \
5838 conftest
$ac_exeext conftest.
$ac_ext
5840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5841 /* end confdefs.h. */
5842 #include <sys/personality.h>
5847 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
5848 # define ADDR_NO_RANDOMIZE 0x0040000
5850 /* Test the flag could be set and stays set. */
5851 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
5852 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
5858 if ac_fn_c_try_run
"$LINENO"; then :
5859 gdbsrv_cv_have_personality
=true
5861 gdbsrv_cv_have_personality
=false
5863 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5864 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5867 if $gdbsrv_cv_have_personality
5870 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h
5878 # check whether to enable the inprocess agent
5879 if test "$ipa_obj" != "" \
5880 -a "$gdbsrv_cv_have_sync_builtins" = yes \
5881 -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
5887 # Check whether --enable-inprocess-agent was given.
5888 if test "${enable_inprocess_agent+set}" = set; then :
5889 enableval
=$enable_inprocess_agent; case "$enableval" in
5890 yes) want_ipa
=true
;;
5891 no
) want_ipa
=false
;;
5892 *) as_fn_error
"bad value $enableval for inprocess-agent" "$LINENO" 5 ;;
5901 IPA_DEPFILES
="$ipa_obj"
5902 extra_libraries
="$extra_libraries libinproctrace.so"
5904 as_fn_error
"inprocess agent not supported for this target" "$LINENO" 5
5916 GNULIB
=build-gnulib-gdbserver
/import
5919 if test x
"$STDINT_H" != x
; then
5920 GNULIB_STDINT_H
=$GNULIB/$STDINT_H
5924 ac_config_files
="$ac_config_files Makefile"
5926 ac_config_commands
="$ac_config_commands default"
5928 cat >confcache
<<\_ACEOF
5929 # This file is a shell script that caches the results of configure
5930 # tests run on this system so they can be shared between configure
5931 # scripts and configure runs, see configure's option --config-cache.
5932 # It is not useful on other systems. If it contains results you don't
5933 # want to keep, you may remove or edit it.
5935 # config.status only pays attention to the cache file if you give it
5936 # the --recheck option to rerun configure.
5938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5944 # The following way of writing the cache mishandles newlines in values,
5945 # but we know of no workaround that is simple, portable, and efficient.
5946 # So, we kill variables containing newlines.
5947 # Ultrix sh set writes to stderr and can't be redirected directly,
5948 # and sets the high bit in the cache file unless we assign to the vars.
5950 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5951 eval ac_val
=\$
$ac_var
5955 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5956 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5959 _ | IFS | as_nl
) ;; #(
5960 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5961 *) { eval $ac_var=; unset $ac_var;} ;;
5967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5968 *${as_nl}ac_space
=\
*)
5969 # `set' does not quote correctly, so add quotes: double-quote
5970 # substitution turns \\\\ into \\, and sed turns \\ into \.
5973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5976 # `set' quotes correctly as required by POSIX, so do not add quotes.
5977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5990 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5991 if test -w "$cache_file"; then
5992 test "x$cache_file" != "x/dev/null" &&
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5994 $as_echo "$as_me: updating cache $cache_file" >&6;}
5995 cat confcache
>$cache_file
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5998 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6003 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6004 # Let make expand exec_prefix.
6005 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6007 DEFS
=-DHAVE_CONFIG_H
6011 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6012 # 1. Remove the extension, and $U if already installed.
6013 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6014 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6016 # will be set to the directory where LIBOBJS objects are built.
6017 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6018 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6022 LTLIBOBJS
=$ac_ltlibobjs
6025 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6026 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
6027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6029 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
6030 as_fn_error
"conditional \"GMAKE\" was never defined.
6031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6034 : ${CONFIG_STATUS=./config.status}
6036 ac_clean_files_save
=$ac_clean_files
6037 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6039 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6041 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6043 # Generated by $as_me.
6044 # Run this file to recreate the current configuration.
6045 # Compiler output produced by configure, useful for debugging
6046 # configure, is in config.log if it exists.
6052 SHELL=\${CONFIG_SHELL-$SHELL}
6055 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6056 ## -------------------- ##
6057 ## M4sh Initialization. ##
6058 ## -------------------- ##
6060 # Be more Bourne compatible
6061 DUALCASE
=1; export DUALCASE
# for MKS sh
6062 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6065 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6066 # is contrary to our usage. Disable this feature.
6067 alias -g '${1+"$@"}'='"$@"'
6068 setopt NO_GLOB_SUBST
6070 case `(set -o) 2>/dev/null` in #(
6082 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6083 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6086 # Prefer a ksh shell builtin over an external printf program on Solaris,
6087 # but without wasting forks for bash or zsh.
6088 if test -z "$BASH_VERSION$ZSH_VERSION" \
6089 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6090 as_echo='print
-r --'
6091 as_echo_n='print
-rn --'
6092 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6093 as_echo='printf %s
\n'
6094 as_echo_n='printf %s
'
6096 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6097 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6098 as_echo_n='/usr
/ucb
/echo -n'
6100 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6101 as_echo_n_body='eval
6105 expr "X$arg" : "X\\(.*\\)$as_nl";
6106 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6108 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6110 export as_echo_n_body
6111 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6114 as_echo='sh
-c $as_echo_body as_echo
'
6117 # The user is always right.
6118 if test "${PATH_SEPARATOR+set}" != set; then
6120 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6121 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6128 # We need space, tab and new line, in precisely that order. Quoting is
6129 # there to prevent editors from complaining about space-tab.
6130 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6131 # splitting by setting IFS to empty value.)
6134 # Find who we are. Look in the path if we contain no directory separator.
6136 *[\\/]* ) as_myself=$0 ;;
6137 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6148 # We did not find ourselves, most probably we were run as `sh COMMAND'
6149 # in which case we are not to be found in the path.
6150 if test "x$as_myself" = x
; then
6153 if test ! -f "$as_myself"; then
6154 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6158 # Unset variables that we do not need and which cause bugs (e.g. in
6159 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6160 # suppresses any "Segmentation fault" message there. '((' could
6161 # trigger a bug in pdksh 5.2.14.
6162 for as_var
in BASH_ENV ENV MAIL MAILPATH
6163 do eval test x\
${$as_var+set} = xset \
6164 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6177 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6180 # as_fn_error ERROR [LINENO LOG_FD]
6181 # ---------------------------------
6182 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6183 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6184 # script with status $?, using 1 if that was 0.
6187 as_status
=$?
; test $as_status -eq 0 && as_status
=1
6189 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6190 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
6192 $as_echo "$as_me: error: $1" >&2
6193 as_fn_exit
$as_status
6197 # as_fn_set_status STATUS
6198 # -----------------------
6199 # Set $? to STATUS, without forking.
6203 } # as_fn_set_status
6207 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6217 # Portably unset VAR.
6220 { eval $1=; unset $1;}
6222 as_unset
=as_fn_unset
6223 # as_fn_append VAR VALUE
6224 # ----------------------
6225 # Append the text in VALUE to the end of the definition contained in VAR. Take
6226 # advantage of any shell optimizations that allow amortized linear growth over
6227 # repeated appends, instead of the typical quadratic growth present in naive
6229 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6230 eval 'as_fn_append ()
6241 # as_fn_arith ARG...
6242 # ------------------
6243 # Perform arithmetic evaluation on the ARGs, and store the result in the
6244 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6245 # must be portable across $(()) and expr.
6246 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6247 eval 'as_fn_arith ()
6254 as_val
=`expr "$@" || test $? -eq 1`
6259 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6260 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6266 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6267 as_basename
=basename
6272 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6278 as_me
=`$as_basename -- "$0" ||
6279 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6280 X"$0" : 'X\(//\)$' \| \
6281 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6283 sed '/^.*\/\([^/][^/]*\)\/*$/{
6297 # Avoid depending upon Character Ranges.
6298 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6299 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6300 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6301 as_cr_digits
='0123456789'
6302 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6304 ECHO_C
= ECHO_N
= ECHO_T
=
6305 case `echo -n x` in #(((((
6307 case `echo 'xy\c'` in
6308 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6310 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6317 rm -f conf$$ conf$$.exe conf$$.
file
6318 if test -d conf$$.dir
; then
6319 rm -f conf$$.dir
/conf$$.
file
6322 mkdir conf$$.dir
2>/dev
/null
6324 if (echo >conf$$.
file) 2>/dev
/null
; then
6325 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6327 # ... but there are two gotchas:
6328 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6329 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6330 # In both cases, we have to default to `cp -p'.
6331 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6333 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6341 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6342 rmdir conf$$.dir
2>/dev
/null
6347 # Create "$as_dir" as a directory, including parents if necessary.
6352 -*) as_dir
=.
/$as_dir;;
6354 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6358 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6359 *) as_qdir
=$as_dir;;
6361 as_dirs
="'$as_qdir' $as_dirs"
6362 as_dir
=`$as_dirname -- "$as_dir" ||
6363 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6364 X"$as_dir" : 'X\(//\)[^/]' \| \
6365 X"$as_dir" : 'X\(//\)$' \| \
6366 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6367 $as_echo X"$as_dir" |
6368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6385 test -d "$as_dir" && break
6387 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6388 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
6392 if mkdir
-p .
2>/dev
/null
; then
6393 as_mkdir_p
='mkdir -p "$as_dir"'
6395 test -d .
/-p && rmdir .
/-p
6399 if test -x / >/dev
/null
2>&1; then
6402 if ls -dL / >/dev
/null
2>&1; then
6409 if test -d "$1"; then
6415 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6416 ???[sx]*):;;*)false;;esac;fi
6420 as_executable_p
=$as_test_x
6422 # Sed expression to map a string onto a valid CPP name.
6423 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6425 # Sed expression to map a string onto a valid variable name.
6426 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6430 ## ----------------------------------- ##
6431 ## Main body of $CONFIG_STATUS script. ##
6432 ## ----------------------------------- ##
6434 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6437 # Save the log message, to keep $0 and so on meaningful, and to
6438 # report actual input values of CONFIG_FILES etc. instead of their
6439 # values after options handling.
6441 This file was extended by $as_me, which was
6442 generated by GNU Autoconf 2.64. Invocation command line was
6444 CONFIG_FILES = $CONFIG_FILES
6445 CONFIG_HEADERS = $CONFIG_HEADERS
6446 CONFIG_LINKS = $CONFIG_LINKS
6447 CONFIG_COMMANDS = $CONFIG_COMMANDS
6450 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6455 case $ac_config_files in *"
6456 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6459 case $ac_config_headers in *"
6460 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6465 # Files that config.status was made for.
6466 config_files="$ac_config_files"
6467 config_headers="$ac_config_headers"
6468 config_commands="$ac_config_commands"
6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6474 \`$as_me' instantiates files and other configuration actions
6475 from templates according to the current configuration. Unless the files
6476 and actions are specified as TAGs, all are instantiated by default.
6478 Usage: $0 [OPTION]... [TAG]...
6480 -h, --help print this help, then exit
6481 -V, --version print version number and configuration settings, then exit
6482 -q, --quiet, --silent
6483 do not print progress messages
6484 -d, --debug don't remove temporary files
6485 --recheck update $as_me by reconfiguring in the same conditions
6486 --file=FILE[:TEMPLATE]
6487 instantiate the configuration file FILE
6488 --header=FILE[:TEMPLATE]
6489 instantiate the configuration header FILE
6491 Configuration files:
6494 Configuration headers:
6497 Configuration commands:
6500 Report bugs to the package provider."
6503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6506 configured by $0, generated by GNU Autoconf 2.64,
6507 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6509 Copyright (C) 2009 Free Software Foundation, Inc.
6510 This config.status script is free software; the Free Software Foundation
6511 gives unlimited permission to copy, distribute and modify it."
6516 test -n "\$AWK" || AWK=awk
6519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6520 # The default lists apply if the user does not specify any file.
6526 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6527 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6538 # Handling of the options.
6539 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6541 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6542 $as_echo "$ac_cs_version"; exit ;;
6543 --debug |
--debu |
--deb |
--de |
--d |
-d )
6545 --file |
--fil |
--fi |
--f )
6548 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6550 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6551 ac_need_defaults
=false
;;
6552 --header |
--heade |
--head |
--hea )
6555 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6557 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
6558 ac_need_defaults
=false
;;
6560 # Conflict between --help and --header
6561 as_fn_error
"ambiguous option: \`$1'
6562 Try \`$0 --help' for more information.";;
6563 --help |
--hel |
-h )
6564 $as_echo "$ac_cs_usage"; exit ;;
6565 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6566 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6570 -*) as_fn_error
"unrecognized option: \`$1'
6571 Try \`$0 --help' for more information." ;;
6573 *) as_fn_append ac_config_targets
" $1"
6574 ac_need_defaults
=false
;;
6580 ac_configure_extra_args
=
6582 if $ac_cs_silent; then
6584 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6589 if \$ac_cs_recheck; then
6590 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6592 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6593 CONFIG_SHELL='$SHELL'
6599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6603 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6604 ## Running $as_me. ##
6610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6614 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
6618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6620 # Handling of arguments.
6621 for ac_config_target
in $ac_config_targets
6623 case $ac_config_target in
6624 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
6625 "depdir") CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
6626 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6627 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
6629 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6634 # If the user did not use the arguments to specify the items to instantiate,
6635 # then the envvar interface is used. Set only those that are not.
6636 # We use the long form for the default assignment because of an extremely
6637 # bizarre bug on SunOS 4.1.3.
6638 if $ac_need_defaults; then
6639 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6640 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6641 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6644 # Have a temporary directory for convenience. Make it in the build tree
6645 # simply because there is no reason against having it here, and in addition,
6646 # creating and moving files from /tmp can sometimes cause problems.
6647 # Hook for its removal unless debugging.
6648 # Note that there is a small window in which the directory will not be cleaned:
6649 # after its creation but before its name has been assigned to `$tmp'.
6653 trap 'exit_status=$?
6654 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6656 trap 'as_fn_exit 1' 1 2 13 15
6658 # Create a (secure) tmp directory for tmp files.
6661 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6662 test -n "$tmp" && test -d "$tmp"
6665 tmp
=.
/conf$$
-$RANDOM
6666 (umask 077 && mkdir
"$tmp")
6667 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
6669 # Set up the scripts for CONFIG_FILES section.
6670 # No need to generate them if there are no CONFIG_FILES.
6671 # This happens for instance with `./config.status config.h'.
6672 if test -n "$CONFIG_FILES"; then
6675 ac_cr
=`echo X | tr X '\015'`
6676 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6677 # But we know of no other shell where ac_cr would be empty at this
6678 # point, so we can use a bashism as a fallback.
6679 if test "x$ac_cr" = x
; then
6680 eval ac_cr
=\$
\'\\r
\'
6682 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6683 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6689 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6694 echo "cat >conf$$subs.awk <<_ACEOF" &&
6695 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6698 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6699 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6701 for ac_last_try in false false false false false :; do
6702 . ./conf$$subs.sh ||
6703 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6705 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6706 if test $ac_delim_n = $ac_delim_num; then
6708 elif $ac_last_try; then
6709 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
6711 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6717 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
6721 s/^/S["/; s
/!.
*/"]=/
6731 s/\(.\{148\}\).*/\1/
6733 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6738 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6745 s/\(.\{148\}\).*/\1/
6747 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6751 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6756 ' <conf$$subs.awk | sed '
6761 ' >>$CONFIG_STATUS || ac_write_fail=1
6762 rm -f conf$$subs.awk
6763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6765 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
6766 for (key in S) S_is_set[key] = 1
6772 nfields = split(line, field, "@
")
6774 len = length(field[1])
6775 for (i = 2; i < nfields; i++) {
6777 keylen = length(key)
6778 if (S_is_set[key]) {
6780 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6781 len += length(value) + length(field[++i])
6792 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6793 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6794 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6797 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
6798 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
6801 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6802 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
6803 # trailing colons and then remove the whole line if VPATH becomes empty
6804 # (actually we leave an empty line to preserve line numbers).
6805 if test "x
$srcdir" = x.; then
6806 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6810 s/^\([^=]*=[ ]*\):*/\1/
6816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6817 fi # test -n "$CONFIG_FILES"
6819 # Set up the scripts for CONFIG_HEADERS section.
6820 # No need to generate them if there are no CONFIG_HEADERS.
6821 # This happens for instance with `./config.status Makefile'.
6822 if test -n "$CONFIG_HEADERS"; then
6823 cat >"$tmp/defines.
awk" <<\_ACAWK ||
6827 # Transform confdefs.h into an awk script `defines.awk', embedded as
6828 # here-document in config.status, that substitutes the proper values into
6829 # config.h.in to produce config.h.
6831 # Create a delimiter string that does not exist in confdefs.h, to ease
6832 # handling of long lines.
6834 for ac_last_try in false false :; do
6835 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
6836 if test -z "$ac_t"; then
6838 elif $ac_last_try; then
6839 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
6841 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6845 # For the awk script, D is an array of macro values keyed by name,
6846 # likewise P contains macro parameters if any. Preserve backslash
6847 # newline sequences.
6849 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6851 s/.\{148\}/&'"$ac_delim"'/g
6854 s/^[ ]*#[ ]*define[ ][ ]*/ /
6861 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
6863 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
6867 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
6868 D["\
1"]=" \
3\\\\\\n
"\\/p
6870 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
6875 s/.\{148\}/&'"$ac_delim"'/g
6880 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
6883 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
6885 ' <confdefs.h | sed '
6886 s/'"$ac_delim"'/"\\\
6887 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6890 for (key in D) D_is_set[key] = 1
6893 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6895 split(line, arg, " ")
6896 if (arg[1] == "#") {
6900 defundef
= substr
(arg
[1], 2)
6903 split(mac1
, mac2
, "(") #)
6905 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
6906 if (D_is_set
[macro
]) {
6907 # Preserve the white space surrounding the "#".
6908 print prefix
"define", macro P
[macro
] D
[macro
]
6911 # Replace #undef with comments. This is necessary, for example,
6912 # in the case of _POSIX_SOURCE, which is predefined and required
6913 # on some systems where configure will not decide to define it.
6914 if (defundef
== "undef") {
6915 print
"/*", prefix defundef
, macro
, "*/"
6923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6924 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
6925 fi # test -n "$CONFIG_HEADERS"
6928 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6933 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6935 case $ac_mode$ac_tag in
6937 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
6938 :[FH
]-) ac_tag
=-:-;;
6939 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6956 -) ac_f
="$tmp/stdin";;
6957 *) # Look for the file first in the build tree, then in the source tree
6958 # (if the path is not absolute). The absolute path cannot be DOS-style,
6959 # because $ac_f cannot contain `:'.
6963 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6965 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
6967 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6968 as_fn_append ac_file_inputs
" '$ac_f'"
6971 # Let's still pretend it is `configure' which instantiates (i.e., don't
6972 # use $as_me), people would be surprised to read:
6973 # /* config.h. Generated by config.status. */
6974 configure_input
='Generated from '`
6975 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6977 if test x
"$ac_file" != x-
; then
6978 configure_input
="$ac_file. $configure_input"
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6980 $as_echo "$as_me: creating $ac_file" >&6;}
6982 # Neutralize special characters interpreted by sed in replacement strings.
6983 case $configure_input in #(
6984 *\
&* |
*\|
* |
*\\* )
6985 ac_sed_conf_input
=`$as_echo "$configure_input" |
6986 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6987 *) ac_sed_conf_input
=$configure_input;;
6991 *:-:* |
*:-) cat >"$tmp/stdin" \
6992 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
6997 ac_dir
=`$as_dirname -- "$ac_file" ||
6998 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6999 X"$ac_file" : 'X\(//\)[^/]' \| \
7000 X"$ac_file" : 'X\(//\)$' \| \
7001 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7002 $as_echo X"$ac_file" |
7003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7020 as_dir
="$ac_dir"; as_fn_mkdir_p
7024 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7026 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7027 # A ".." for each directory in $ac_dir_suffix.
7028 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7029 case $ac_top_builddir_sub in
7030 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7031 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7034 ac_abs_top_builddir
=$ac_pwd
7035 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7036 # for backward compatibility:
7037 ac_top_builddir
=$ac_top_build_prefix
7040 .
) # We are building in place.
7042 ac_top_srcdir
=$ac_top_builddir_sub
7043 ac_abs_top_srcdir
=$ac_pwd ;;
7044 [\\/]* | ?
:[\\/]* ) # Absolute name.
7045 ac_srcdir
=$srcdir$ac_dir_suffix;
7046 ac_top_srcdir
=$srcdir
7047 ac_abs_top_srcdir
=$srcdir ;;
7049 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7050 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7051 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7053 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7063 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7064 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7069 # If the template does not know about datarootdir, expand it.
7070 # FIXME: This hack should be removed a few years after 2.60.
7071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7083 *datarootdir
*) ac_datarootdir_seen
=yes;;
7084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7089 ac_datarootdir_hack='
7090 s&@datadir@&$datadir&g
7091 s&@docdir@&$docdir&g
7092 s&@infodir@&$infodir&g
7093 s&@localedir@&$localedir&g
7094 s&@mandir@&$mandir&g
7095 s&\\\${datarootdir}&$datarootdir&g' ;;
7099 # Neutralize VPATH when `$srcdir' = `.'.
7100 # Shell code in configure.ac might set extrasub.
7101 # FIXME: do we really want to maintain this feature?
7102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7103 ac_sed_extra="$ac_vpsub
7106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7109 s|@configure_input@|
$ac_sed_conf_input|
;t t
7110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7112 s
&@srcdir@
&$ac_srcdir&;t t
7113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7116 s
&@builddir@
&$ac_builddir&;t t
7117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7119 s
&@INSTALL@
&$ac_INSTALL&;t t
7120 $ac_datarootdir_hack
7122 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7123 || as_fn_error "could not create
$ac_file" "$LINENO" 5
7125 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7126 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7127 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7129 which seems to be undefined. Please make sure it is defined." >&5
7130 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7131 which seems to be undefined. Please make sure it is defined." >&2;}
7135 -) cat "$tmp/out" && rm -f "$tmp/out";;
7136 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7138 || as_fn_error "could not create $ac_file" "$LINENO" 5
7144 if test x"$ac_file" != x-; then
7146 $as_echo "/* $configure_input */" \
7147 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7148 } >"$tmp/config.h" \
7149 || as_fn_error "could not create $ac_file" "$LINENO" 5
7150 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7152 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7155 mv "$tmp/config.h" "$ac_file" \
7156 || as_fn_error "could not create $ac_file" "$LINENO" 5
7159 $as_echo "/* $configure_input */" \
7160 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7161 || as_fn_error "could not create -" "$LINENO" 5
7165 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7166 $as_echo "$as_me: executing $ac_file commands" >&6;}
7171 case $ac_file$ac_mode in
7172 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
7173 "default":C) case x$CONFIG_HEADERS in
7174 xconfig.h:config.in)
7185 ac_clean_files=$ac_clean_files_save
7187 test $ac_write_fail = 0 ||
7188 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
7191 # configure is writing to config.log, and then calls config.status.
7192 # config.status does its own redirection, appending to config.log.
7193 # Unfortunately, on DOS this fails, as config.log is still kept open
7194 # by configure, so config.status won't be able to
write to it
; its
7195 # output is simply discarded. So we exec the FD to /dev/null,
7196 # effectively closing config.log, so it can be properly (re)opened and
7197 # appended to by config.status. When coming back to configure, we
7198 # need to make the FD available again.
7199 if test "$no_create" != yes; then
7201 ac_config_status_args
=
7202 test "$silent" = yes &&
7203 ac_config_status_args
="$ac_config_status_args --quiet"
7205 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7207 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7208 # would make configure fail if this is the last instruction.
7209 $ac_cs_success || as_fn_exit $?
7211 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7213 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}