2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="gdb.base"
586 enable_option_checking
=no
587 # Factoring default headers for most tests.
588 ac_includes_default
="\
590 #ifdef HAVE_SYS_TYPES_H
591 # include <sys/types.h>
593 #ifdef HAVE_SYS_STAT_H
594 # include <sys/stat.h>
600 # ifdef HAVE_STDLIB_H
605 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
610 #ifdef HAVE_STRINGS_H
611 # include <strings.h>
613 #ifdef HAVE_INTTYPES_H
614 # include <inttypes.h>
623 ac_subst_vars
='LTLIBOBJS
627 READELF_TRANSFORM_NAME
682 program_transform_name
695 enable_option_checking
699 ac_precious_vars
='build_alias
708 ac_subdirs_all
='gdb.gdbtk'
710 # Initialize some variables set by options.
712 ac_init_version
=false
713 ac_unrecognized_opts
=
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
724 program_transform_name
=s
,x
,x
,
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir
='${exec_prefix}/bin'
739 sbindir
='${exec_prefix}/sbin'
740 libexecdir
='${exec_prefix}/libexec'
741 datarootdir
='${prefix}/share'
742 datadir
='${datarootdir}'
743 sysconfdir
='${prefix}/etc'
744 sharedstatedir
='${prefix}/com'
745 localstatedir
='${prefix}/var'
746 includedir
='${prefix}/include'
747 oldincludedir
='/usr/include'
748 docdir
='${datarootdir}/doc/${PACKAGE}'
749 infodir
='${datarootdir}/info'
754 libdir
='${exec_prefix}/lib'
755 localedir
='${datarootdir}/locale'
756 mandir
='${datarootdir}/man'
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\
$ac_option
770 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
775 # Accept the important Cygnus configure options, so we can diagnose typos.
777 case $ac_dashdash$ac_option in
781 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
783 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
786 -build |
--build |
--buil |
--bui |
--bu)
787 ac_prev
=build_alias
;;
788 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
789 build_alias
=$ac_optarg ;;
791 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
792 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
793 ac_prev
=cache_file
;;
794 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
795 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
796 cache_file
=$ac_optarg ;;
799 cache_file
=config.cache
;;
801 -datadir |
--datadir |
--datadi |
--datad)
803 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
804 datadir
=$ac_optarg ;;
806 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
807 |
--dataroo |
--dataro |
--datar)
808 ac_prev
=datarootdir
;;
809 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
810 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
811 datarootdir
=$ac_optarg ;;
813 -disable-* |
--disable-*)
814 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
817 as_fn_error $?
"invalid feature name: $ac_useropt"
818 ac_useropt_orig
=$ac_useropt
819 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
824 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
825 ac_unrecognized_sep
=', ';;
827 eval enable_
$ac_useropt=no
;;
829 -docdir |
--docdir |
--docdi |
--doc |
--do)
831 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
834 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
836 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
839 -enable-* |
--enable-*)
840 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
843 as_fn_error $?
"invalid feature name: $ac_useropt"
844 ac_useropt_orig
=$ac_useropt
845 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846 case $ac_user_opts in
850 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
851 ac_unrecognized_sep
=', ';;
853 eval enable_
$ac_useropt=\
$ac_optarg ;;
855 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
856 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
857 |
--exec |
--exe |
--ex)
858 ac_prev
=exec_prefix
;;
859 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
860 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
861 |
--exec=* |
--exe=* |
--ex=*)
862 exec_prefix
=$ac_optarg ;;
864 -gas |
--gas |
--ga |
--g)
865 # Obsolete; use --with-gas.
868 -help |
--help |
--hel |
--he |
-h)
870 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
871 ac_init_help
=recursive
;;
872 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
873 ac_init_help
=short
;;
875 -host |
--host |
--hos |
--ho)
876 ac_prev
=host_alias
;;
877 -host=* |
--host=* |
--hos=* |
--ho=*)
878 host_alias
=$ac_optarg ;;
880 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
882 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
884 htmldir
=$ac_optarg ;;
886 -includedir |
--includedir |
--includedi |
--included |
--include \
887 |
--includ |
--inclu |
--incl |
--inc)
888 ac_prev
=includedir
;;
889 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
890 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
891 includedir
=$ac_optarg ;;
893 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
895 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
896 infodir
=$ac_optarg ;;
898 -libdir |
--libdir |
--libdi |
--libd)
900 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
903 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
904 |
--libexe |
--libex |
--libe)
905 ac_prev
=libexecdir
;;
906 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
907 |
--libexe=* |
--libex=* |
--libe=*)
908 libexecdir
=$ac_optarg ;;
910 -localedir |
--localedir |
--localedi |
--localed |
--locale)
912 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
913 localedir
=$ac_optarg ;;
915 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
916 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
917 ac_prev
=localstatedir
;;
918 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
919 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
920 localstatedir
=$ac_optarg ;;
922 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
924 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
928 # Obsolete; use --without-fp.
931 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
932 |
--no-cr |
--no-c |
-n)
935 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
936 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
939 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
940 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
941 |
--oldin |
--oldi |
--old |
--ol |
--o)
942 ac_prev
=oldincludedir
;;
943 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
944 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
945 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
946 oldincludedir
=$ac_optarg ;;
948 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
950 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
953 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
954 |
--program-pre |
--program-pr |
--program-p)
955 ac_prev
=program_prefix
;;
956 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
957 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
958 program_prefix
=$ac_optarg ;;
960 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
961 |
--program-suf |
--program-su |
--program-s)
962 ac_prev
=program_suffix
;;
963 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
964 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
965 program_suffix
=$ac_optarg ;;
967 -program-transform-name |
--program-transform-name \
968 |
--program-transform-nam |
--program-transform-na \
969 |
--program-transform-n |
--program-transform- \
970 |
--program-transform |
--program-transfor \
971 |
--program-transfo |
--program-transf \
972 |
--program-trans |
--program-tran \
973 |
--progr-tra |
--program-tr |
--program-t)
974 ac_prev
=program_transform_name
;;
975 -program-transform-name=* |
--program-transform-name=* \
976 |
--program-transform-nam=* |
--program-transform-na=* \
977 |
--program-transform-n=* |
--program-transform-=* \
978 |
--program-transform=* |
--program-transfor=* \
979 |
--program-transfo=* |
--program-transf=* \
980 |
--program-trans=* |
--program-tran=* \
981 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
982 program_transform_name
=$ac_optarg ;;
984 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
986 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
989 -psdir |
--psdir |
--psdi |
--psd |
--ps)
991 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
994 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
995 |
-silent |
--silent |
--silen |
--sile |
--sil)
998 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1000 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1002 sbindir
=$ac_optarg ;;
1004 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1005 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1006 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1008 ac_prev
=sharedstatedir
;;
1009 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1010 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1011 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1013 sharedstatedir
=$ac_optarg ;;
1015 -site |
--site |
--sit)
1017 -site=* |
--site=* |
--sit=*)
1020 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1022 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1023 srcdir
=$ac_optarg ;;
1025 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1026 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1027 ac_prev
=sysconfdir
;;
1028 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1029 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1030 sysconfdir
=$ac_optarg ;;
1032 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1033 ac_prev
=target_alias
;;
1034 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1035 target_alias
=$ac_optarg ;;
1037 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1040 -version |
--version |
--versio |
--versi |
--vers |
-V)
1041 ac_init_version
=: ;;
1044 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1047 as_fn_error $?
"invalid package name: $ac_useropt"
1048 ac_useropt_orig
=$ac_useropt
1049 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep
=', ';;
1057 eval with_
$ac_useropt=\
$ac_optarg ;;
1059 -without-* |
--without-*)
1060 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1063 as_fn_error $?
"invalid package name: $ac_useropt"
1064 ac_useropt_orig
=$ac_useropt
1065 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1070 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep
=', ';;
1073 eval with_
$ac_useropt=no
;;
1076 # Obsolete; use --with-x.
1079 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1080 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1081 ac_prev
=x_includes
;;
1082 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1083 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1084 x_includes
=$ac_optarg ;;
1086 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1087 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1088 ac_prev
=x_libraries
;;
1089 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1090 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1091 x_libraries
=$ac_optarg ;;
1093 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1098 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 case $ac_envvar in #(
1101 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1102 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1104 eval $ac_envvar=\
$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118 if test -n "$ac_prev"; then
1119 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1120 as_fn_error $?
"missing argument to $ac_option"
1123 if test -n "$ac_unrecognized_opts"; then
1124 case $enable_option_checking in
1126 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1131 # Check all directory arguments for consistency.
1132 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir
1137 eval ac_val
=\$
$ac_var
1138 # Remove trailing slashes.
1141 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\
$ac_val;;
1144 # Be sure to have absolute directory names.
1146 [\\/$
]* | ?
:[\\/]* ) continue;;
1147 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1149 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1157 target
=$target_alias
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x
; then
1161 if test "x$build_alias" = x
; then
1162 cross_compiling
=maybe
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-gtk enable gdbtk graphical user interface
(GUI
)
1326 --enable-shared build shared libraries deault
=yes
1328 Some influential environment variables
:
1329 CC C compiler
command
1330 CFLAGS C compiler flags
1331 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1332 nonstandard directory
<lib dir
>
1333 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1334 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1335 you have headers
in a nonstandard directory
<include dir
>
1338 Use these variables to override the choices made by
`configure' or to help
1339 it to find libraries and programs with nonstandard names/locations.
1341 Report bugs to the package provider.
1346 if test "$ac_init_help" = "recursive"; then
1347 # If there are subdirs, report their specific --help.
1348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" ||
1350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1358 # A ".." for each directory in $ac_dir_suffix.
1359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1360 case $ac_top_builddir_sub in
1361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365 ac_abs_top_builddir=$ac_pwd
1366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1367 # for backward compatibility:
1368 ac_top_builddir=$ac_top_build_prefix
1371 .) # We are building in place.
1373 ac_top_srcdir=$ac_top_builddir_sub
1374 ac_abs_top_srcdir=$ac_pwd ;;
1375 [\\/]* | ?:[\\/]* ) # Absolute name.
1376 ac_srcdir=$srcdir$ac_dir_suffix;
1377 ac_top_srcdir=$srcdir
1378 ac_abs_top_srcdir=$srcdir ;;
1380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1381 ac_top_srcdir=$ac_top_build_prefix$srcdir
1382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1386 cd "$ac_dir" || { ac_status=$?; continue; }
1387 # Check for guested configure.
1388 if test -f "$ac_srcdir/configure.gnu"; then
1390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1391 elif test -f "$ac_srcdir/configure"; then
1393 $SHELL "$ac_srcdir/configure" --help=recursive
1395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1397 cd "$ac_pwd" || { ac_status=$?; break; }
1401 test -n "$ac_init_help" && exit $ac_status
1402 if $ac_init_version; then
1405 generated by GNU Autoconf 2.69
1407 Copyright (C) 2012 Free Software Foundation, Inc.
1408 This configure script is free software; the Free Software Foundation
1409 gives unlimited permission to copy, distribute and modify it.
1414 ## ------------------------ ##
1415 ## Autoconf initialization. ##
1416 ## ------------------------ ##
1418 # ac_fn_c_try_compile LINENO
1419 # --------------------------
1420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1421 ac_fn_c_try_compile ()
1423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1424 rm -f conftest.$ac_objext
1425 if { { ac_try="$ac_compile"
1427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1428 *) ac_try_echo
=$ac_try;;
1430 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1431 $as_echo "$ac_try_echo"; } >&5
1432 (eval "$ac_compile") 2>conftest.err
1434 if test -s conftest.err
; then
1435 grep -v '^ *+' conftest.err
>conftest.er1
1436 cat conftest.er1
>&5
1437 mv -f conftest.er1 conftest.err
1439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1440 test $ac_status = 0; } && {
1441 test -z "$ac_c_werror_flag" ||
1442 test ! -s conftest.err
1443 } && test -s conftest.
$ac_objext; then :
1446 $as_echo "$as_me: failed program was:" >&5
1447 sed 's/^/| /' conftest.
$ac_ext >&5
1451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1452 as_fn_set_status
$ac_retval
1454 } # ac_fn_c_try_compile
1456 # ac_fn_c_try_cpp LINENO
1457 # ----------------------
1458 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1461 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1462 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1471 if test -s conftest.err; then
1472 grep -v '^ *+' conftest.err >conftest.er1
1473 cat conftest.er1 >&5
1474 mv -f conftest.er1 conftest.err
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; } > conftest.i && {
1478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1479 test ! -s conftest.err
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1489 as_fn_set_status $ac_retval
1493 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1494 # -------------------------------------------------------
1495 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1496 # the include files in INCLUDES and setting the cache variable VAR
1498 ac_fn_c_check_header_mongrel ()
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 if eval \${$3+:} false; then :
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1503 $as_echo_n "checking for $2... " >&6; }
1504 if eval \${$3+:} false; then :
1505 $as_echo_n "(cached) " >&6
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1509 $as_echo "$ac_res" >&6; }
1511 # Is the header compilable?
1512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1513 $as_echo_n "checking $2 usability... " >&6; }
1514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1515 /* end confdefs.h. */
1519 if ac_fn_c_try_compile "$LINENO"; then :
1520 ac_header_compiler=yes
1522 ac_header_compiler=no
1524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1526 $as_echo "$ac_header_compiler" >&6; }
1528 # Is the header present?
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1530 $as_echo_n "checking $2 presence... " >&6; }
1531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1532 /* end confdefs.h. */
1535 if ac_fn_c_try_cpp "$LINENO"; then :
1536 ac_header_preproc=yes
1538 ac_header_preproc=no
1540 rm -f conftest.err conftest.i conftest.$ac_ext
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1542 $as_echo "$ac_header_preproc" >&6; }
1544 # So? What about this header?
1545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1548 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1550 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1554 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1556 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1558 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1560 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1562 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1566 $as_echo_n "checking for $2... " >&6; }
1567 if eval \${$3+:} false; then :
1568 $as_echo_n "(cached) " >&6
1570 eval "$3=\$ac_header_compiler"
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1574 $as_echo "$ac_res" >&6; }
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 } # ac_fn_c_check_header_mongrel
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1652 cat >config.log <<_ACEOF
1653 This file contains any messages produced by compilers while
1654 running configure, to aid debugging if configure makes a mistake.
1656 It was created by $as_me, which was
1657 generated by GNU Autoconf 2.69. Invocation command line was
1669 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1670 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1671 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1672 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1673 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1675 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1676 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1678 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1680 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1681 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1682 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1684 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 $as_echo "PATH: $as_dir"
1709 # Keep a trace of the command line.
1710 # Strip out --no-create and --no-recursion so they do not pile up.
1711 # Strip out --silent because we don't want to record it for future runs.
1712 # Also quote any args containing shell meta-characters.
1713 # Make two passes to allow for proper duplicate-argument suppression.
1717 ac_must_keep_next=false
1723 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725 | -silent | --silent | --silen | --sile | --sil)
1728 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1731 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1733 as_fn_append ac_configure_args1 " '$ac_arg'"
1734 if test $ac_must_keep_next = true; then
1735 ac_must_keep_next=false # Got value, back to normal.
1738 *=* | --config-cache | -C | -disable-* | --disable-* \
1739 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1740 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1741 | -with-* | --with-* | -without-* | --without-* | --x)
1742 case "$ac_configure_args0 " in
1743 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1746 -* ) ac_must_keep_next=true ;;
1749 as_fn_append ac_configure_args " '$ac_arg'"
1754 { ac_configure_args0=; unset ac_configure_args0;}
1755 { ac_configure_args1=; unset ac_configure_args1;}
1757 # When interrupted or exit'd, cleanup temporary files, and complete
1758 # config.log. We remove comments because anyway the quotes in there
1759 # would cause problems or look ugly.
1760 # WARNING: Use '\'' to represent an apostrophe within the trap.
1761 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1762 trap 'exit_status=$?
1763 # Save into config.log some information that might help in debugging.
1767 $as_echo "## ---------------- ##
1768 ## Cache variables. ##
1769 ## ---------------- ##"
1771 # The following way of writing the cache mishandles newlines in values,
1773 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1774 eval ac_val=\$$ac_var
1778 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1779 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1782 _ | IFS | as_nl) ;; #(
1783 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1784 *) { eval $ac_var=; unset $ac_var;} ;;
1789 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1790 *${as_nl}ac_space=\ *)
1792 "s/'\''/'\''\\\\'\'''\''/g;
1793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1803 $as_echo "## ----------------- ##
1804 ## Output variables. ##
1805 ## ----------------- ##"
1807 for ac_var in $ac_subst_vars
1809 eval ac_val=\$$ac_var
1811 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813 $as_echo "$ac_var='\''$ac_val'\''"
1817 if test -n "$ac_subst_files"; then
1818 $as_echo "## ------------------- ##
1819 ## File substitutions. ##
1820 ## ------------------- ##"
1822 for ac_var in $ac_subst_files
1824 eval ac_val=\$$ac_var
1826 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1828 $as_echo "$ac_var='\''$ac_val'\''"
1833 if test -s confdefs.h; then
1834 $as_echo "## ----------- ##
1841 test "$ac_signal" != 0 &&
1842 $as_echo "$as_me: caught signal $ac_signal"
1843 $as_echo "$as_me: exit $exit_status"
1845 rm -f core *.core core.conftest.* &&
1846 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1849 for ac_signal in 1 2 13 15; do
1850 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1854 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1855 rm -f -r conftest* confdefs.h
1857 $as_echo "/* confdefs.h */" > confdefs.h
1859 # Predefined preprocessor variables.
1861 cat >>confdefs.h <<_ACEOF
1862 #define PACKAGE_NAME "$PACKAGE_NAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1869 cat >>confdefs.h <<_ACEOF
1870 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_STRING "$PACKAGE_STRING"
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1881 cat >>confdefs.h <<_ACEOF
1882 #define PACKAGE_URL "$PACKAGE_URL"
1886 # Let the site file select an alternate cache file if it wants to.
1887 # Prefer an explicitly selected file to automatically selected ones.
1890 if test -n "$CONFIG_SITE"; then
1891 # We do not want a PATH search for config.site.
1892 case $CONFIG_SITE in #((
1893 -*) ac_site_file1=./$CONFIG_SITE;;
1894 */*) ac_site_file1=$CONFIG_SITE;;
1895 *) ac_site_file1=./$CONFIG_SITE;;
1897 elif test "x$prefix" != xNONE; then
1898 ac_site_file1=$prefix/share/config.site
1899 ac_site_file2=$prefix/etc/config.site
1901 ac_site_file1=$ac_default_prefix/share/config.site
1902 ac_site_file2=$ac_default_prefix/etc/config.site
1904 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1906 test "x$ac_site_file" = xNONE && continue
1907 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1909 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1910 sed 's/^/| /' "$ac_site_file" >&5
1912 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1914 as_fn_error $? "failed to load site
script $ac_site_file
1915 See \
`config.log' for more details" "$LINENO" 5; }
1919 if test -r "$cache_file"; then
1920 # Some versions of bash will fail to source /dev/null (special files
1921 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1922 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1924 $as_echo "$as_me: loading cache $cache_file" >&6;}
1926 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1927 *) . "./$cache_file";;
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1932 $as_echo "$as_me: creating cache $cache_file" >&6;}
1936 # Check that the precious variables saved in the cache have kept the same
1938 ac_cache_corrupted=false
1939 for ac_var in $ac_precious_vars; do
1940 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1941 eval ac_new_set=\$ac_env_${ac_var}_set
1942 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1943 eval ac_new_val=\$ac_env_${ac_var}_value
1944 case $ac_old_set,$ac_new_set in
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1947 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1948 ac_cache_corrupted=: ;;
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1951 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1952 ac_cache_corrupted=: ;;
1955 if test "x$ac_old_val" != "x$ac_new_val"; then
1956 # differences in whitespace do not lead to failure.
1957 ac_old_val_w=`echo x
$ac_old_val`
1958 ac_new_val_w=`echo x
$ac_new_val`
1959 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1961 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1962 ac_cache_corrupted=:
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1965 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1966 eval $ac_var=\$ac_old_val
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1969 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1971 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1974 # Pass precious variables to config.status.
1975 if test "$ac_new_set" = set; then
1977 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1978 *) ac_arg=$ac_var=$ac_new_val ;;
1980 case " $ac_configure_args " in
1981 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1982 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1986 if $ac_cache_corrupted; then
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1990 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1991 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1993 ## -------------------- ##
1994 ## Main body of script. ##
1995 ## -------------------- ##
1998 ac_cpp='$CPP $CPPFLAGS'
1999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2009 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2010 if test -f "$ac_dir/install-sh"; then
2012 ac_install_sh="$ac_aux_dir/install-sh -c"
2014 elif test -f "$ac_dir/install.sh"; then
2016 ac_install_sh="$ac_aux_dir/install.sh -c"
2018 elif test -f "$ac_dir/shtool"; then
2020 ac_install_sh="$ac_aux_dir/shtool install -c"
2024 if test -z "$ac_aux_dir"; then
2025 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2028 # These three variables are undocumented and unsupported,
2029 # and are intended to be withdrawn in a future Autoconf release.
2030 # They can cause serious problems if a builder's source tree is in a directory
2031 # whose full name contains unusual characters.
2032 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2033 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2034 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2037 # Make sure we can run config.sub.
2038 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2039 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2042 $as_echo_n "checking build system type... " >&6; }
2043 if ${ac_cv_build+:} false; then :
2044 $as_echo_n "(cached) " >&6
2046 ac_build_alias=$build_alias
2047 test "x$ac_build_alias" = x &&
2048 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2049 test "x$ac_build_alias" = x &&
2050 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2051 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2052 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2056 $as_echo "$ac_cv_build" >&6; }
2057 case $ac_cv_build in
2059 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2062 ac_save_IFS=$IFS; IFS='-'
2068 # Remember, the first character of IFS is used to create $*,
2069 # except with old shells:
2072 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2076 $as_echo_n "checking host system type... " >&6; }
2077 if ${ac_cv_host+:} false; then :
2078 $as_echo_n "(cached) " >&6
2080 if test "x$host_alias" = x; then
2081 ac_cv_host=$ac_cv_build
2083 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2084 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2089 $as_echo "$ac_cv_host" >&6; }
2092 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2095 ac_save_IFS=$IFS; IFS='-'
2101 # Remember, the first character of IFS is used to create $*,
2102 # except with old shells:
2105 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2109 $as_echo_n "checking target system type... " >&6; }
2110 if ${ac_cv_target+:} false; then :
2111 $as_echo_n "(cached) " >&6
2113 if test "x$target_alias" = x; then
2114 ac_cv_target=$ac_cv_host
2116 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2117 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2122 $as_echo "$ac_cv_target" >&6; }
2123 case $ac_cv_target in
2125 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2127 target=$ac_cv_target
2128 ac_save_IFS=$IFS; IFS='-'
2134 # Remember, the first character of IFS is used to create $*,
2135 # except with old shells:
2138 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2141 # The aliases save the names the user supplied, while $host etc.
2142 # will get canonicalized.
2143 test -n "$target_alias" &&
2144 test "$program_prefix$program_suffix$program_transform_name" = \
2146 program_prefix=${target_alias}-
2148 case ${build_alias} in
2149 "") build_noncanonical=${build} ;;
2150 *) build_noncanonical=${build_alias} ;;
2153 case ${host_alias} in
2154 "") host_noncanonical=${build_noncanonical} ;;
2155 *) host_noncanonical=${host_alias} ;;
2158 case ${target_alias} in
2159 "") target_noncanonical=${host_noncanonical} ;;
2160 *) target_noncanonical=${target_alias} ;;
2167 # Check whether --enable-gdbtk was given.
2168 if test "${enable_gdbtk+set}" = set; then :
2169 enableval=$enable_gdbtk;
2171 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2178 # We unconditionally disable gdbtk tests on selected platforms.
2184 # Add gdbtk tests when appropriate.
2185 if test $enable_gdbtk = yes; then
2188 subdirs="$subdirs gdb.gdbtk"
2192 # Enable shared libraries.
2193 # Check whether --enable-shared was given.
2194 if test "${enable_shared+set}" = set; then :
2195 enableval=$enable_shared;
2201 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2202 # such that we can find the shared libraries in the build tree.
2203 if test $enable_shared = no; then
2204 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
2206 RPATH_ENVVAR=RPATH_ENVVAR
2208 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2209 RPATH_ENVVAR
=LD_LIBRARY_PATH
2210 # The following exceptions are taken from Libtool 1.4.3.
2213 if test $host_cpu != ia64
; then
2214 RPATH_ENVVAR
=LIBPATH
2216 darwin
* | rhapsody
*)
2217 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
2223 ac_cpp
='$CPP $CPPFLAGS'
2224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2227 if test -n "$ac_tool_prefix"; then
2228 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2229 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2231 $as_echo_n "checking for $ac_word... " >&6; }
2232 if ${ac_cv_prog_CC+:} false
; then :
2233 $as_echo_n "(cached) " >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC
="$CC" # Let the user override the test.
2238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir
=.
2243 for ac_exec_ext
in '' $ac_executable_extensions; do
2244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2245 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2258 $as_echo "$CC" >&6; }
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2261 $as_echo "no" >&6; }
2266 if test -z "$ac_cv_prog_CC"; then
2268 # Extract the first word of "gcc", so it can be a program name with args.
2269 set dummy 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 ${ac_cv_prog_ac_ct_CC+:} false
; then :
2273 $as_echo_n "(cached) " >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_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 as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_ac_ct_CC
="gcc"
2286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2298 $as_echo "$ac_ct_CC" >&6; }
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2301 $as_echo "no" >&6; }
2304 if test "x$ac_ct_CC" = x
; then
2307 case $cross_compiling:$ac_tool_warned in
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2311 ac_tool_warned
=yes ;;
2319 if test -z "$CC"; then
2320 if test -n "$ac_tool_prefix"; then
2321 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2322 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2324 $as_echo_n "checking for $ac_word... " >&6; }
2325 if ${ac_cv_prog_CC+:} false
; then :
2326 $as_echo_n "(cached) " >&6
2328 if test -n "$CC"; then
2329 ac_cv_prog_CC
="$CC" # Let the user override the test.
2331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir
=.
2336 for ac_exec_ext
in '' $ac_executable_extensions; do
2337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2338 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 if test -n "$CC"; then
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2351 $as_echo "$CC" >&6; }
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2354 $as_echo "no" >&6; }
2360 if test -z "$CC"; then
2361 # Extract the first word of "cc", so it can be a program name with args.
2362 set dummy 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 ${ac_cv_prog_CC+:} false
; 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.
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2379 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2380 ac_prog_rejected
=yes
2384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 if test $ac_prog_rejected = yes; then
2392 # We found a bogon in the path, so make sure we never use it.
2393 set dummy
$ac_cv_prog_CC
2395 if test $# != 0; then
2396 # We chose a different compiler from the bogus one.
2397 # However, it has the same basename, so the bogon will be chosen
2398 # first if we set CC to just the basename; use the full file name.
2400 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2408 $as_echo "$CC" >&6; }
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2411 $as_echo "no" >&6; }
2416 if test -z "$CC"; then
2417 if test -n "$ac_tool_prefix"; then
2418 for ac_prog
in cl.exe
2420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2421 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_CC+:} false
; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC
="$CC" # Let the user override the test.
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2434 test -z "$as_dir" && as_dir
=.
2435 for ac_exec_ext
in '' $ac_executable_extensions; do
2436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2437 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 if test -n "$CC"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2450 $as_echo "$CC" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2457 test -n "$CC" && break
2460 if test -z "$CC"; then
2462 for ac_prog
in cl.exe
2464 # Extract the first word of "$ac_prog", so it can be a program name with args.
2465 set dummy
$ac_prog; ac_word
=$2
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2469 $as_echo_n "(cached) " >&6
2471 if test -n "$ac_ct_CC"; then
2472 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 for ac_exec_ext
in '' $ac_executable_extensions; do
2480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2481 ac_cv_prog_ac_ct_CC
="$ac_prog"
2482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2492 if test -n "$ac_ct_CC"; then
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2494 $as_echo "$ac_ct_CC" >&6; }
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2501 test -n "$ac_ct_CC" && break
2504 if test "x$ac_ct_CC" = x
; then
2507 case $cross_compiling:$ac_tool_warned in
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511 ac_tool_warned
=yes ;;
2520 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 as_fn_error $?
"no acceptable C compiler found in \$PATH
2523 See \`config.log' for more details" "$LINENO" 5; }
2525 # Provide some information about the compiler.
2526 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2529 for ac_option
in --version -v -V -qversion; do
2530 { { ac_try
="$ac_compiler $ac_option >&5"
2532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2539 if test -s conftest.err; then
2541 ... rest of stderr output deleted ...
2542 10q' conftest.err >conftest.er1
2543 cat conftest.er1 >&5
2545 rm -f conftest.er1 conftest.err
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; }
2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2551 /* end confdefs.h. */
2561 ac_clean_files_save=$ac_clean_files
2562 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2563 # Try to create an executable without -o first, disregard a.out.
2564 # It will help us diagnose broken compilers, and finding out an intuition
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2567 $as_echo_n "checking whether the C compiler works... " >&6; }
2568 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2570 # The possible output files:
2571 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2574 for ac_file in $ac_files
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2578 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2583 if { { ac_try="$ac_link_default"
2585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2586 *) ac_try_echo
=$ac_try;;
2588 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_link_default") 2>&5
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; }; then :
2594 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2595 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2596 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2597 # so that the user can short-circuit this test for compilers unknown to
2599 for ac_file
in $ac_files ''
2601 test -f "$ac_file" ||
continue
2603 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2606 # We found the default executable, but exeext='' is most
2610 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2612 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2614 # We set ac_cv_exeext here because the later test for it is not
2615 # safe: cross compilers may not add the suffix if given an `-o'
2616 # argument, so we may need to know it at that point already.
2617 # Even if this section looks crufty: it has the advantage of
2624 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2629 if test -z "$ac_file"; then :
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631 $as_echo "no" >&6; }
2632 $as_echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637 as_fn_error
77 "C compiler cannot create executables
2638 See \`config.log' for more details" "$LINENO" 5; }
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2641 $as_echo "yes" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2644 $as_echo_n "checking for C compiler default output file name... " >&6; }
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2646 $as_echo "$ac_file" >&6; }
2647 ac_exeext
=$ac_cv_exeext
2649 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2650 ac_clean_files
=$ac_clean_files_save
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2652 $as_echo_n "checking for suffix of executables... " >&6; }
2653 if { { ac_try
="$ac_link"
2655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2659 $as_echo "$ac_try_echo"; } >&5
2660 (eval "$ac_link") 2>&5
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; }; then :
2664 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2665 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2666 # work properly (i.e., refer to `conftest.exe'), while it won't with
2668 for ac_file
in conftest.exe conftest conftest.
*; do
2669 test -f "$ac_file" ||
continue
2671 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2672 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2680 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2681 See \`config.log' for more details" "$LINENO" 5; }
2683 rm -f conftest conftest
$ac_cv_exeext
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2685 $as_echo "$ac_cv_exeext" >&6; }
2687 rm -f conftest.
$ac_ext
2688 EXEEXT
=$ac_cv_exeext
2690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2696 FILE *f = fopen ("conftest.out", "w");
2697 return ferror (f) || fclose (f) != 0;
2703 ac_clean_files
="$ac_clean_files conftest.out"
2704 # Check that the compiler produces executables we can run. If not, either
2705 # the compiler is broken, or we cross compile.
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2707 $as_echo_n "checking whether we are cross compiling... " >&6; }
2708 if test "$cross_compiling" != yes; then
2709 { { ac_try
="$ac_link"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2715 $as_echo "$ac_try_echo"; } >&5
2716 (eval "$ac_link") 2>&5
2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2719 test $ac_status = 0; }
2720 if { ac_try='./conftest$ac_cv_exeext'
2721 { { case "(($ac_try" in
2722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2723 *) ac_try_echo
=$ac_try;;
2725 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_try") 2>&5
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; }; }; then
2733 if test "$cross_compiling" = maybe
; then
2736 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2737 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2738 as_fn_error $?
"cannot run C compiled programs.
2739 If you meant to cross compile, use \`--host'.
2740 See \`config.log' for more details" "$LINENO" 5; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2745 $as_echo "$cross_compiling" >&6; }
2747 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2748 ac_clean_files
=$ac_clean_files_save
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2750 $as_echo_n "checking for suffix of object files... " >&6; }
2751 if ${ac_cv_objext+:} false
; then :
2752 $as_echo_n "(cached) " >&6
2754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2755 /* end confdefs.h. */
2765 rm -f conftest.o conftest.obj
2766 if { { ac_try
="$ac_compile"
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2772 $as_echo "$ac_try_echo"; } >&5
2773 (eval "$ac_compile") 2>&5
2775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; }; then :
2777 for ac_file in conftest.o conftest.obj conftest.*; do
2778 test -f "$ac_file" || continue;
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2781 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2786 $as_echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2791 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2792 See \
`config.log' for more details" "$LINENO" 5; }
2794 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2797 $as_echo "$ac_cv_objext" >&6; }
2798 OBJEXT=$ac_cv_objext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2801 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2802 if ${ac_cv_c_compiler_gnu+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806 /* end confdefs.h. */
2819 if ac_fn_c_try_compile "$LINENO"; then :
2824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2825 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2829 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2830 if test $ac_compiler_gnu = yes; then
2835 ac_test_CFLAGS=${CFLAGS+set}
2836 ac_save_CFLAGS=$CFLAGS
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2838 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2839 if ${ac_cv_prog_cc_g+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 ac_save_c_werror_flag=$ac_c_werror_flag
2843 ac_c_werror_flag=yes
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2872 if ac_fn_c_try_compile "$LINENO"; then :
2875 ac_c_werror_flag=$ac_save_c_werror_flag
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2888 if ac_fn_c_try_compile "$LINENO"; then :
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_c_werror_flag=$ac_save_c_werror_flag
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2899 $as_echo "$ac_cv_prog_cc_g" >&6; }
2900 if test "$ac_test_CFLAGS" = set; then
2901 CFLAGS=$ac_save_CFLAGS
2902 elif test $ac_cv_prog_cc_g = yes; then
2903 if test "$GCC" = yes; then
2909 if test "$GCC" = yes; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2916 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2917 if ${ac_cv_prog_cc_c89+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 ac_cv_prog_cc_c89=no
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2927 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2928 struct buf { int x; };
2929 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2930 static char *e (p, i)
2936 static char *f (char * (*g) (char **, int), char **p, ...)
2941 s = g (p, va_arg (v,int));
2946 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2947 function prototypes and stuff, but not '\xHH' hex character constants.
2948 These don't provoke an error unfortunately, instead are silently treated
2949 as 'x'. The following induces an error, until -std is added to get
2950 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2951 array size at least. It's necessary to write '\x00'==0 to get something
2952 that's true only with -std. */
2953 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2955 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2956 inside strings and character constants. */
2958 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2960 int test (int i, double x);
2961 struct s1 {int (*f) (int a);};
2962 struct s2 {int (*f) (double a);};
2963 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2969 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2974 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2975 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2977 CC="$ac_save_CC $ac_arg"
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 ac_cv_prog_cc_c89=$ac_arg
2981 rm -f core conftest.err conftest.$ac_objext
2982 test "x$ac_cv_prog_cc_c89" != "xno" && break
2984 rm -f conftest.$ac_ext
2989 case "x$ac_cv_prog_cc_c89" in
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2992 $as_echo "none needed" >&6; } ;;
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2995 $as_echo "unsupported" >&6; } ;;
2997 CC="$CC $ac_cv_prog_cc_c89"
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2999 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3001 if test "x$ac_cv_prog_cc_c89" != xno; then :
3006 ac_cpp='$CPP $CPPFLAGS'
3007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3018 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3019 # On Suns, sometimes $CPP names a directory.
3020 if test -n "$CPP" && test -d "$CPP"; then
3023 if test -z "$CPP"; then
3024 if ${ac_cv_prog_CPP+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 # Double quotes because CPP needs to be expanded
3028 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3031 for ac_c_preproc_warn_flag in '' yes
3033 # Use a header file that comes with gcc, so configuring glibc
3034 # with a fresh cross-compiler works.
3035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3036 # <limits.h> exists even on freestanding compilers.
3037 # On the NeXT, cc -E runs the code through the compiler's parser,
3038 # not just through cpp. "Syntax error" is here to catch this case.
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3042 # include <limits.h>
3044 # include <assert.h>
3048 if ac_fn_c_try_cpp "$LINENO"; then :
3051 # Broken: fails on valid input.
3054 rm -f conftest.err conftest.i conftest.$ac_ext
3056 # OK, works on sane cases. Now check whether nonexistent headers
3057 # can be detected and how.
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3060 #include <ac_nonexistent.h>
3062 if ac_fn_c_try_cpp "$LINENO"; then :
3063 # Broken: success on invalid input.
3066 # Passes both tests.
3070 rm -f conftest.err conftest.i conftest.$ac_ext
3073 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3074 rm -f conftest.i conftest.err conftest.
$ac_ext
3075 if $ac_preproc_ok; then :
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3088 $as_echo "$CPP" >&6; }
3090 for ac_c_preproc_warn_flag
in '' yes
3092 # Use a header file that comes with gcc, so configuring glibc
3093 # with a fresh cross-compiler works.
3094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3095 # <limits.h> exists even on freestanding compilers.
3096 # On the NeXT, cc -E runs the code through the compiler's parser,
3097 # not just through cpp. "Syntax error" is here to catch this case.
3098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if ac_fn_c_try_cpp
"$LINENO"; then :
3110 # Broken: fails on valid input.
3113 rm -f conftest.err conftest.i conftest.
$ac_ext
3115 # OK, works on sane cases. Now check whether nonexistent headers
3116 # can be detected and how.
3117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #include <ac_nonexistent.h>
3121 if ac_fn_c_try_cpp
"$LINENO"; then :
3122 # Broken: success on invalid input.
3125 # Passes both tests.
3129 rm -f conftest.err conftest.i conftest.
$ac_ext
3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3133 rm -f conftest.i conftest.err conftest.
$ac_ext
3134 if $ac_preproc_ok; then :
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3140 See \`config.log' for more details" "$LINENO" 5; }
3144 ac_cpp
='$CPP $CPPFLAGS'
3145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3151 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3152 if ${ac_cv_path_GREP+:} false
; then :
3153 $as_echo_n "(cached) " >&6
3155 if test -z "$GREP"; then
3156 ac_path_GREP_found
=false
3157 # Loop through the user's path and test for each of PROGNAME-LIST
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_prog
in grep ggrep
; do
3164 for ac_exec_ext
in '' $ac_executable_extensions; do
3165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3166 as_fn_executable_p
"$ac_path_GREP" ||
continue
3167 # Check for GNU ac_path_GREP and select it if it is found.
3168 # Check for GNU $ac_path_GREP
3169 case `"$ac_path_GREP" --version 2>&1` in
3171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3174 $as_echo_n 0123456789 >"conftest.in"
3177 cat "conftest.in" "conftest.in" >"conftest.tmp"
3178 mv "conftest.tmp" "conftest.in"
3179 cp "conftest.in" "conftest.nl"
3180 $as_echo 'GREP' >> "conftest.nl"
3181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3183 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3185 # Best one so far, save it but keep looking for a better one
3186 ac_cv_path_GREP
="$ac_path_GREP"
3187 ac_path_GREP_max
=$ac_count
3189 # 10*(2^10) chars as input seems more than enough
3190 test $ac_count -gt 10 && break
3192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3195 $ac_path_GREP_found && break 3
3200 if test -z "$ac_cv_path_GREP"; then
3201 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3204 ac_cv_path_GREP
=$GREP
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3209 $as_echo "$ac_cv_path_GREP" >&6; }
3210 GREP
="$ac_cv_path_GREP"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3214 $as_echo_n "checking for egrep... " >&6; }
3215 if ${ac_cv_path_EGREP+:} false
; then :
3216 $as_echo_n "(cached) " >&6
3218 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3219 then ac_cv_path_EGREP
="$GREP -E"
3221 if test -z "$EGREP"; then
3222 ac_path_EGREP_found
=false
3223 # Loop through the user's path and test for each of PROGNAME-LIST
3224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3225 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3228 test -z "$as_dir" && as_dir
=.
3229 for ac_prog
in egrep; do
3230 for ac_exec_ext
in '' $ac_executable_extensions; do
3231 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3232 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3233 # Check for GNU ac_path_EGREP and select it if it is found.
3234 # Check for GNU $ac_path_EGREP
3235 case `"$ac_path_EGREP" --version 2>&1` in
3237 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3240 $as_echo_n 0123456789 >"conftest.in"
3243 cat "conftest.in" "conftest.in" >"conftest.tmp"
3244 mv "conftest.tmp" "conftest.in"
3245 cp "conftest.in" "conftest.nl"
3246 $as_echo 'EGREP' >> "conftest.nl"
3247 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3248 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3249 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3250 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3251 # Best one so far, save it but keep looking for a better one
3252 ac_cv_path_EGREP
="$ac_path_EGREP"
3253 ac_path_EGREP_max
=$ac_count
3255 # 10*(2^10) chars as input seems more than enough
3256 test $ac_count -gt 10 && break
3258 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3261 $ac_path_EGREP_found && break 3
3266 if test -z "$ac_cv_path_EGREP"; then
3267 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3270 ac_cv_path_EGREP
=$EGREP
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3276 $as_echo "$ac_cv_path_EGREP" >&6; }
3277 EGREP
="$ac_cv_path_EGREP"
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3281 $as_echo_n "checking for ANSI C header files... " >&6; }
3282 if ${ac_cv_header_stdc+:} false
; then :
3283 $as_echo_n "(cached) " >&6
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3300 if ac_fn_c_try_compile
"$LINENO"; then :
3301 ac_cv_header_stdc
=yes
3303 ac_cv_header_stdc
=no
3305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3307 if test $ac_cv_header_stdc = yes; then
3308 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3315 $EGREP "memchr" >/dev
/null
2>&1; then :
3318 ac_cv_header_stdc
=no
3324 if test $ac_cv_header_stdc = yes; then
3325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3332 $EGREP "free" >/dev
/null
2>&1; then :
3335 ac_cv_header_stdc
=no
3341 if test $ac_cv_header_stdc = yes; then
3342 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3343 if test "$cross_compiling" = yes; then :
3346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 #if ((' ' & 0x0FF) == 0x020)
3351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3354 # define ISLOWER(c) \
3355 (('a' <= (c) && (c) <= 'i') \
3356 || ('j' <= (c) && (c) <= 'r') \
3357 || ('s' <= (c) && (c) <= 'z'))
3358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3366 for (i = 0; i < 256; i++)
3367 if (XOR (islower (i), ISLOWER (i))
3368 || toupper (i) != TOUPPER (i))
3373 if ac_fn_c_try_run
"$LINENO"; then :
3376 ac_cv_header_stdc
=no
3378 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3379 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3385 $as_echo "$ac_cv_header_stdc" >&6; }
3386 if test $ac_cv_header_stdc = yes; then
3388 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3392 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3393 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3394 inttypes.h stdint.h unistd.h
3396 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3397 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3399 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3400 cat >>confdefs.h
<<_ACEOF
3401 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3409 for ac_header
in pthread.h
3411 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3412 if test "x$ac_cv_header_pthread_h" = xyes
; then :
3413 cat >>confdefs.h
<<_ACEOF
3414 #define HAVE_PTHREAD_H 1
3424 if test "${build}" = "${host}" -a "${host}" = "${target}"; then
3433 # Transform the name of some programs and generate the lib/pdtrace
3435 test "$program_prefix" != NONE
&&
3436 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3437 # Use a double $ so make ignores it.
3438 test "$program_suffix" != NONE
&&
3439 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3440 # Double any \ or $.
3441 # By default was `s,x,x', remove it if useless.
3442 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3443 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3446 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3447 STRIP_TRANSFORM_NAME
=`echo strip | sed -e "$gdb_ac_transform"`
3448 if test "x$STRIP_TRANSFORM_NAME" = x
; then
3449 STRIP_TRANSFORM_NAME
=strip
3454 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3455 READELF_TRANSFORM_NAME
=`echo readelf | sed -e "$gdb_ac_transform"`
3456 if test "x$READELF_TRANSFORM_NAME" = x
; then
3457 READELF_TRANSFORM_NAME
=readelf
3462 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3463 GAS_TRANSFORM_NAME
=`echo as | sed -e "$gdb_ac_transform"`
3464 if test "x$GAS_TRANSFORM_NAME" = x
; then
3465 GAS_TRANSFORM_NAME
=as
3470 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3471 NM_TRANSFORM_NAME
=`echo nm | sed -e "$gdb_ac_transform"`
3472 if test "x$NM_TRANSFORM_NAME" = x
; then
3473 NM_TRANSFORM_NAME
=nm
3477 ac_config_files
="$ac_config_files lib/pdtrace"
3479 ac_config_files
="$ac_config_files Makefile"
3482 cat >confcache
<<\_ACEOF
3483 # This file is a shell script that caches the results of configure
3484 # tests run on this system so they can be shared between configure
3485 # scripts and configure runs, see configure's option --config-cache.
3486 # It is not useful on other systems. If it contains results you don't
3487 # want to keep, you may remove or edit it.
3489 # config.status only pays attention to the cache file if you give it
3490 # the --recheck option to rerun configure.
3492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3498 # The following way of writing the cache mishandles newlines in values,
3499 # but we know of no workaround that is simple, portable, and efficient.
3500 # So, we kill variables containing newlines.
3501 # Ultrix sh set writes to stderr and can't be redirected directly,
3502 # and sets the high bit in the cache file unless we assign to the vars.
3504 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3505 eval ac_val
=\$
$ac_var
3509 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3513 _ | IFS | as_nl
) ;; #(
3514 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3515 *) { eval $ac_var=; unset $ac_var;} ;;
3521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3522 *${as_nl}ac_space
=\
*)
3523 # `set' does not quote correctly, so add quotes: double-quote
3524 # substitution turns \\\\ into \\, and sed turns \\ into \.
3527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3530 # `set' quotes correctly as required by POSIX, so do not add quotes.
3531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3544 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3545 if test -w "$cache_file"; then
3546 if test "x$cache_file" != "x/dev/null"; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3548 $as_echo "$as_me: updating cache $cache_file" >&6;}
3549 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3550 cat confcache
>"$cache_file"
3552 case $cache_file in #(
3554 mv -f confcache
"$cache_file"$$
&&
3555 mv -f "$cache_file"$$
"$cache_file" ;; #(
3557 mv -f confcache
"$cache_file" ;;
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3568 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3569 # Let make expand exec_prefix.
3570 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3572 # Transform confdefs.h into DEFS.
3573 # Protect against shell expansion while executing Makefile rules.
3574 # Protect against Makefile macro expansion.
3576 # If the first sed substitution is executed (which looks for macros that
3577 # take arguments), then branch to the quote section. Otherwise,
3578 # look for a macro that doesn't take arguments.
3588 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3590 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3594 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3607 DEFS
=`sed -n "$ac_script" confdefs.h`
3613 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3614 # 1. Remove the extension, and $U if already installed.
3615 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3616 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3617 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3618 # will be set to the directory where LIBOBJS objects are built.
3619 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3620 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3624 LTLIBOBJS
=$ac_ltlibobjs
3628 : "${CONFIG_STATUS=./config.status}"
3630 ac_clean_files_save
=$ac_clean_files
3631 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3633 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3635 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3637 # Generated by $as_me.
3638 # Run this file to recreate the current configuration.
3639 # Compiler output produced by configure, useful for debugging
3640 # configure, is in config.log if it exists.
3646 SHELL=\${CONFIG_SHELL-$SHELL}
3649 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3650 ## -------------------- ##
3651 ## M4sh Initialization. ##
3652 ## -------------------- ##
3654 # Be more Bourne compatible
3655 DUALCASE
=1; export DUALCASE
# for MKS sh
3656 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3659 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3660 # is contrary to our usage. Disable this feature.
3661 alias -g '${1+"$@"}'='"$@"'
3662 setopt NO_GLOB_SUBST
3664 case `(set -o) 2>/dev/null` in #(
3676 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3677 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3678 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3680 # Prefer a ksh shell builtin over an external printf program on Solaris,
3681 # but without wasting forks for bash or zsh.
3682 if test -z "$BASH_VERSION$ZSH_VERSION" \
3683 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3684 as_echo='print
-r --'
3685 as_echo_n='print
-rn --'
3686 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3687 as_echo='printf %s
\n'
3688 as_echo_n='printf %s
'
3690 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3691 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3692 as_echo_n='/usr
/ucb
/echo -n'
3694 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3695 as_echo_n_body='eval
3699 expr "X$arg" : "X\\(.*\\)$as_nl";
3700 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3702 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3704 export as_echo_n_body
3705 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3708 as_echo='sh
-c $as_echo_body as_echo
'
3711 # The user is always right.
3712 if test "${PATH_SEPARATOR+set}" != set; then
3714 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3715 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3722 # We need space, tab and new line, in precisely that order. Quoting is
3723 # there to prevent editors from complaining about space-tab.
3724 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3725 # splitting by setting IFS to empty value.)
3728 # Find who we are. Look in the path if we contain no directory separator.
3731 *[\\/]* ) as_myself=$0 ;;
3732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir=.
3737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3743 # We did not find ourselves, most probably we were run as `sh COMMAND'
3744 # in which case we are not to be found in the path.
3745 if test "x$as_myself" = x
; then
3748 if test ! -f "$as_myself"; then
3749 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3753 # Unset variables that we do not need and which cause bugs (e.g. in
3754 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3755 # suppresses any "Segmentation fault" message there. '((' could
3756 # trigger a bug in pdksh 5.2.14.
3757 for as_var
in BASH_ENV ENV MAIL MAILPATH
3758 do eval test x\
${$as_var+set} = xset \
3759 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3772 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3775 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3776 # ----------------------------------------
3777 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3778 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3779 # script with STATUS, using 1 if that was 0.
3782 as_status
=$1; test $as_status -eq 0 && as_status
=1
3784 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3785 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3787 $as_echo "$as_me: error: $2" >&2
3788 as_fn_exit
$as_status
3792 # as_fn_set_status STATUS
3793 # -----------------------
3794 # Set $? to STATUS, without forking.
3798 } # as_fn_set_status
3802 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3812 # Portably unset VAR.
3815 { eval $1=; unset $1;}
3817 as_unset
=as_fn_unset
3818 # as_fn_append VAR VALUE
3819 # ----------------------
3820 # Append the text in VALUE to the end of the definition contained in VAR. Take
3821 # advantage of any shell optimizations that allow amortized linear growth over
3822 # repeated appends, instead of the typical quadratic growth present in naive
3824 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3825 eval 'as_fn_append ()
3836 # as_fn_arith ARG...
3837 # ------------------
3838 # Perform arithmetic evaluation on the ARGs, and store the result in the
3839 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3840 # must be portable across $(()) and expr.
3841 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3842 eval 'as_fn_arith ()
3849 as_val
=`expr "$@" || test $? -eq 1`
3854 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3855 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3861 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3862 as_basename
=basename
3867 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3873 as_me
=`$as_basename -- "$0" ||
3874 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3875 X"$0" : 'X\(//\)$' \| \
3876 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3878 sed '/^.*\/\([^/][^/]*\)\/*$/{
3892 # Avoid depending upon Character Ranges.
3893 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3894 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3895 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3896 as_cr_digits
='0123456789'
3897 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3899 ECHO_C
= ECHO_N
= ECHO_T
=
3900 case `echo -n x` in #(((((
3902 case `echo 'xy\c'` in
3903 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3905 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3912 rm -f conf$$ conf$$.exe conf$$.
file
3913 if test -d conf$$.dir
; then
3914 rm -f conf$$.dir
/conf$$.
file
3917 mkdir conf$$.dir
2>/dev
/null
3919 if (echo >conf$$.
file) 2>/dev
/null
; then
3920 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3922 # ... but there are two gotchas:
3923 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3924 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3925 # In both cases, we have to default to `cp -pR'.
3926 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3928 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3936 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3937 rmdir conf$$.dir
2>/dev
/null
3942 # Create "$as_dir" as a directory, including parents if necessary.
3947 -*) as_dir
=.
/$as_dir;;
3949 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3953 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3954 *) as_qdir
=$as_dir;;
3956 as_dirs
="'$as_qdir' $as_dirs"
3957 as_dir
=`$as_dirname -- "$as_dir" ||
3958 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3959 X"$as_dir" : 'X\(//\)[^/]' \| \
3960 X"$as_dir" : 'X\(//\)$' \| \
3961 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3962 $as_echo X"$as_dir" |
3963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3980 test -d "$as_dir" && break
3982 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3983 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
3987 if mkdir
-p .
2>/dev
/null
; then
3988 as_mkdir_p
='mkdir -p "$as_dir"'
3990 test -d .
/-p && rmdir .
/-p
3995 # as_fn_executable_p FILE
3996 # -----------------------
3997 # Test if FILE is an executable regular file.
3998 as_fn_executable_p
()
4000 test -f "$1" && test -x "$1"
4001 } # as_fn_executable_p
4003 as_executable_p
=as_fn_executable_p
4005 # Sed expression to map a string onto a valid CPP name.
4006 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4008 # Sed expression to map a string onto a valid variable name.
4009 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4013 ## ----------------------------------- ##
4014 ## Main body of $CONFIG_STATUS script. ##
4015 ## ----------------------------------- ##
4017 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4020 # Save the log message, to keep $0 and so on meaningful, and to
4021 # report actual input values of CONFIG_FILES etc. instead of their
4022 # values after options handling.
4024 This file was extended by $as_me, which was
4025 generated by GNU Autoconf 2.69. Invocation command line was
4027 CONFIG_FILES = $CONFIG_FILES
4028 CONFIG_HEADERS = $CONFIG_HEADERS
4029 CONFIG_LINKS = $CONFIG_LINKS
4030 CONFIG_COMMANDS = $CONFIG_COMMANDS
4033 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4038 case $ac_config_files in *"
4039 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4045 # Files that config.status was made for.
4046 config_files="$ac_config_files"
4050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4052 \`$as_me' instantiates files and other configuration actions
4053 from templates according to the current configuration. Unless the files
4054 and actions are specified as TAGs, all are instantiated by default.
4056 Usage: $0 [OPTION]... [TAG]...
4058 -h, --help print this help, then exit
4059 -V, --version print version number and configuration settings, then exit
4060 --config print configuration, then exit
4061 -q, --quiet, --silent
4062 do not print progress messages
4063 -d, --debug don't remove temporary files
4064 --recheck update $as_me by reconfiguring in the same conditions
4065 --file=FILE[:TEMPLATE]
4066 instantiate the configuration file FILE
4068 Configuration files:
4071 Report bugs to the package provider."
4074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4075 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4078 configured by $0, generated by GNU Autoconf 2.69,
4079 with options \\"\$ac_cs_config\\"
4081 Copyright (C) 2012 Free Software Foundation, Inc.
4082 This config.status script is free software; the Free Software Foundation
4083 gives unlimited permission to copy, distribute and modify it."
4087 test -n "\$AWK" || AWK=awk
4090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4091 # The default lists apply if the user does not specify any file.
4097 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4098 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4102 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4114 # Handling of the options.
4115 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4117 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4118 $as_echo "$ac_cs_version"; exit ;;
4119 --config |
--confi |
--conf |
--con |
--co |
--c )
4120 $as_echo "$ac_cs_config"; exit ;;
4121 --debug |
--debu |
--deb |
--de |
--d |
-d )
4123 --file |
--fil |
--fi |
--f )
4126 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4127 '') as_fn_error $?
"missing file argument" ;;
4129 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4130 ac_need_defaults
=false
;;
4131 --he |
--h |
--help |
--hel |
-h )
4132 $as_echo "$ac_cs_usage"; exit ;;
4133 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4134 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4138 -*) as_fn_error $?
"unrecognized option: \`$1'
4139 Try \`$0 --help' for more information." ;;
4141 *) as_fn_append ac_config_targets
" $1"
4142 ac_need_defaults
=false
;;
4148 ac_configure_extra_args
=
4150 if $ac_cs_silent; then
4152 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4157 if \$ac_cs_recheck; then
4158 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4160 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4161 CONFIG_SHELL='$SHELL'
4167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4171 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4172 ## Running $as_me. ##
4178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4183 # Handling of arguments.
4184 for ac_config_target
in $ac_config_targets
4186 case $ac_config_target in
4187 "lib/pdtrace") CONFIG_FILES
="$CONFIG_FILES lib/pdtrace" ;;
4188 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4190 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4195 # If the user did not use the arguments to specify the items to instantiate,
4196 # then the envvar interface is used. Set only those that are not.
4197 # We use the long form for the default assignment because of an extremely
4198 # bizarre bug on SunOS 4.1.3.
4199 if $ac_need_defaults; then
4200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4203 # Have a temporary directory for convenience. Make it in the build tree
4204 # simply because there is no reason against having it here, and in addition,
4205 # creating and moving files from /tmp can sometimes cause problems.
4206 # Hook for its removal unless debugging.
4207 # Note that there is a small window in which the directory will not be cleaned:
4208 # after its creation but before its name has been assigned to `$tmp'.
4212 trap 'exit_status=$?
4214 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4216 trap 'as_fn_exit 1' 1 2 13 15
4218 # Create a (secure) tmp directory for tmp files.
4221 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4225 tmp
=.
/conf$$
-$RANDOM
4226 (umask 077 && mkdir
"$tmp")
4227 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4230 # Set up the scripts for CONFIG_FILES section.
4231 # No need to generate them if there are no CONFIG_FILES.
4232 # This happens for instance with `./config.status config.h'.
4233 if test -n "$CONFIG_FILES"; then
4236 ac_cr
=`echo X | tr X '\015'`
4237 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4238 # But we know of no other shell where ac_cr would be empty at this
4239 # point, so we can use a bashism as a fallback.
4240 if test "x$ac_cr" = x
; then
4241 eval ac_cr
=\$
\'\\r
\'
4243 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4244 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4250 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4255 echo "cat >conf$$subs.awk <<_ACEOF" &&
4256 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4262 for ac_last_try in false false false false false :; do
4263 . ./conf$$subs.sh ||
4264 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4266 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4267 if test $ac_delim_n = $ac_delim_num; then
4269 elif $ac_last_try; then
4270 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4272 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4278 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4282 s/^/S["/; s
/!.
*/"]=/
4292 s/\(.\{148\}\)..*/\1/
4294 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4299 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4306 s/\(.\{148\}\)..*/\1/
4308 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4312 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4317 ' <conf$$subs.awk | sed '
4322 ' >>$CONFIG_STATUS || ac_write_fail=1
4323 rm -f conf$$subs.awk
4324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4326 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4327 for (key in S) S_is_set[key] = 1
4333 nfields = split(line, field, "@
")
4335 len = length(field[1])
4336 for (i = 2; i < nfields; i++) {
4338 keylen = length(key)
4339 if (S_is_set[key]) {
4341 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4342 len += length(value) + length(field[++i])
4353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4354 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4355 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4358 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4359 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4362 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4363 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4364 # trailing colons and then remove the whole line if VPATH becomes empty
4365 # (actually we leave an empty line to preserve line numbers).
4366 if test "x
$srcdir" = x.; then
4367 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4386 fi # test -n "$CONFIG_FILES"
4389 eval set X " :F
$CONFIG_FILES "
4394 :[FHLC]) ac_mode=$ac_tag; continue;;
4396 case $ac_mode$ac_tag in
4398 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4399 :[FH]-) ac_tag=-:-;;
4400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4417 -) ac_f="$ac_tmp/stdin";;
4418 *) # Look for the file first in the build tree, then in the source tree
4419 # (if the path is not absolute). The absolute path cannot be DOS-style,
4420 # because $ac_f cannot contain `:'.
4424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4426 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4428 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4429 as_fn_append ac_file_inputs " '$ac_f'"
4432 # Let's still pretend it is `configure' which instantiates (i.e., don't
4433 # use $as_me), people would be surprised to read:
4434 # /* config.h. Generated by config.status. */
4435 configure_input='Generated from '`
4436 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4438 if test x"$ac_file" != x-; then
4439 configure_input="$ac_file.
$configure_input"
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4441 $as_echo "$as_me: creating
$ac_file" >&6;}
4443 # Neutralize special characters interpreted by sed in replacement strings.
4444 case $configure_input in #(
4445 *\&* | *\|* | *\\* )
4446 ac_sed_conf_input=`$as_echo "$configure_input" |
4447 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4448 *) ac_sed_conf_input=$configure_input;;
4452 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4453 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4458 ac_dir=`$as_dirname -- "$ac_file" ||
4459 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4460 X"$ac_file" : 'X\(//\)[^/]' \| \
4461 X"$ac_file" : 'X\(//\)$' \| \
4462 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4463 $as_echo X"$ac_file" |
4464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4481 as_dir="$ac_dir"; as_fn_mkdir_p
4485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4488 # A "..
" for each directory in $ac_dir_suffix.
4489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4490 case $ac_top_builddir_sub in
4491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4495 ac_abs_top_builddir=$ac_pwd
4496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4497 # for backward compatibility:
4498 ac_top_builddir=$ac_top_build_prefix
4501 .) # We are building in place.
4503 ac_top_srcdir=$ac_top_builddir_sub
4504 ac_abs_top_srcdir=$ac_pwd ;;
4505 [\\/]* | ?:[\\/]* ) # Absolute name.
4506 ac_srcdir=$srcdir$ac_dir_suffix;
4507 ac_top_srcdir=$srcdir
4508 ac_abs_top_srcdir=$srcdir ;;
4510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4511 ac_top_srcdir=$ac_top_build_prefix$srcdir
4512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4526 # If the template does not know about datarootdir, expand it.
4527 # FIXME: This hack should be removed a few years after 2.60.
4528 ac_datarootdir_hack=; ac_datarootdir_seen=
4539 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4540 *datarootdir*) ac_datarootdir_seen=yes;;
4541 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4543 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4546 ac_datarootdir_hack='
4547 s&@datadir@&$datadir&g
4548 s&@docdir@&$docdir&g
4549 s&@infodir@&$infodir&g
4550 s&@localedir@&$localedir&g
4551 s&@mandir@&$mandir&g
4552 s&\\\${datarootdir}&$datarootdir&g' ;;
4556 # Neutralize VPATH when `$srcdir' = `.'.
4557 # Shell code in configure.ac might set extrasub.
4558 # FIXME: do we really want to maintain this feature?
4559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4560 ac_sed_extra="$ac_vpsub
4563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4565 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4566 s|@configure_input@|
$ac_sed_conf_input|
;t t
4567 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4568 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4569 s
&@srcdir@
&$ac_srcdir&;t t
4570 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4571 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4572 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4573 s
&@builddir@
&$ac_builddir&;t t
4574 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4575 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4576 $ac_datarootdir_hack
4578 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4579 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4581 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4582 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4583 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4584 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4586 which seems to be undefined. Please make sure it is defined" >&5
4587 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4588 which seems to be undefined. Please make sure it is defined" >&2;}
4590 rm -f "$ac_tmp/stdin"
4592 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4593 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4595 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4603 case $ac_file$ac_mode in
4604 "lib/pdtrace":F) chmod +x lib/pdtrace ;;
4612 ac_clean_files=$ac_clean_files_save
4614 test $ac_write_fail = 0 ||
4615 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4618 # configure is writing to config.log, and then calls config.status.
4619 # config.status does its own redirection, appending to config.log.
4620 # Unfortunately, on DOS this fails, as config.log is still kept open
4621 # by configure, so config.status won't be able to
write to it
; its
4622 # output is simply discarded. So we exec the FD to /dev/null,
4623 # effectively closing config.log, so it can be properly (re)opened and
4624 # appended to by config.status. When coming back to configure, we
4625 # need to make the FD available again.
4626 if test "$no_create" != yes; then
4628 ac_config_status_args
=
4629 test "$silent" = yes &&
4630 ac_config_status_args
="$ac_config_status_args --quiet"
4632 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4634 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4635 # would make configure fail if this is the last instruction.
4636 $ac_cs_success || as_fn_exit
1
4640 # CONFIG_SUBDIRS section.
4642 if test "$no_recursion" != yes; then
4644 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4645 # so they do not pile up.
4646 ac_sub_configure_args
=
4648 eval "set x $ac_configure_args"
4652 if test -n "$ac_prev"; then
4657 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4658 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4659 ac_prev
=cache_file
;;
4660 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4661 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4664 --config-cache |
-C)
4666 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4668 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4670 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4672 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4674 --disable-option-checking)
4678 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4680 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4684 # Always prepend --prefix to ensure using the same prefix
4685 # in subdir configurations.
4686 ac_arg
="--prefix=$prefix"
4688 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4690 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4693 if test "$silent" = yes; then
4694 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4697 # Always prepend --disable-option-checking to silence warnings, since
4698 # different subdirs can have different --enable and --with options.
4699 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4702 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4704 # Do not complain, so a configure script can configure whichever
4705 # parts of a large source tree are present.
4706 test -d "$srcdir/$ac_dir" ||
continue
4708 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4709 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4710 $as_echo "$ac_msg" >&6
4711 as_dir
="$ac_dir"; as_fn_mkdir_p
4715 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4717 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4718 # A ".." for each directory in $ac_dir_suffix.
4719 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4720 case $ac_top_builddir_sub in
4721 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4722 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4725 ac_abs_top_builddir
=$ac_pwd
4726 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4727 # for backward compatibility:
4728 ac_top_builddir
=$ac_top_build_prefix
4731 .
) # We are building in place.
4733 ac_top_srcdir
=$ac_top_builddir_sub
4734 ac_abs_top_srcdir
=$ac_pwd ;;
4735 [\\/]* | ?
:[\\/]* ) # Absolute name.
4736 ac_srcdir
=$srcdir$ac_dir_suffix;
4737 ac_top_srcdir
=$srcdir
4738 ac_abs_top_srcdir
=$srcdir ;;
4740 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4741 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4742 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4744 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4749 # Check for guested configure; otherwise get Cygnus style configure.
4750 if test -f "$ac_srcdir/configure.gnu"; then
4751 ac_sub_configure
=$ac_srcdir/configure.gnu
4752 elif test -f "$ac_srcdir/configure"; then
4753 ac_sub_configure
=$ac_srcdir/configure
4754 elif test -f "$ac_srcdir/configure.in"; then
4755 # This should be Cygnus configure.
4756 ac_sub_configure
=$ac_aux_dir/configure
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4763 # The recursion is here.
4764 if test -n "$ac_sub_configure"; then
4765 # Make the cache file name correct relative to the subdirectory.
4767 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4769 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4772 { $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
4773 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4774 # The eval makes quoting arguments work.
4775 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4776 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4777 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4783 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4785 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}