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
683 program_transform_name
696 enable_option_checking
701 ac_precious_vars
='build_alias
710 ac_subdirs_all
='gdb.gdbtk'
712 # Initialize some variables set by options.
714 ac_init_version
=false
715 ac_unrecognized_opts
=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
726 program_transform_name
=s
,x
,x
,
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir
='${exec_prefix}/bin'
741 sbindir
='${exec_prefix}/sbin'
742 libexecdir
='${exec_prefix}/libexec'
743 datarootdir
='${prefix}/share'
744 datadir
='${datarootdir}'
745 sysconfdir
='${prefix}/etc'
746 sharedstatedir
='${prefix}/com'
747 localstatedir
='${prefix}/var'
748 includedir
='${prefix}/include'
749 oldincludedir
='/usr/include'
750 docdir
='${datarootdir}/doc/${PACKAGE}'
751 infodir
='${datarootdir}/info'
756 libdir
='${exec_prefix}/lib'
757 localedir
='${datarootdir}/locale'
758 mandir
='${datarootdir}/man'
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\
$ac_option
772 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
777 # Accept the important Cygnus configure options, so we can diagnose typos.
779 case $ac_dashdash$ac_option in
783 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
785 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
788 -build |
--build |
--buil |
--bui |
--bu)
789 ac_prev
=build_alias
;;
790 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
791 build_alias
=$ac_optarg ;;
793 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
794 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
795 ac_prev
=cache_file
;;
796 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
797 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
798 cache_file
=$ac_optarg ;;
801 cache_file
=config.cache
;;
803 -datadir |
--datadir |
--datadi |
--datad)
805 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
806 datadir
=$ac_optarg ;;
808 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
809 |
--dataroo |
--dataro |
--datar)
810 ac_prev
=datarootdir
;;
811 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
812 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
813 datarootdir
=$ac_optarg ;;
815 -disable-* |
--disable-*)
816 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
819 as_fn_error $?
"invalid feature name: $ac_useropt"
820 ac_useropt_orig
=$ac_useropt
821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827 ac_unrecognized_sep
=', ';;
829 eval enable_
$ac_useropt=no
;;
831 -docdir |
--docdir |
--docdi |
--doc |
--do)
833 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
836 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
838 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
841 -enable-* |
--enable-*)
842 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
845 as_fn_error $?
"invalid feature name: $ac_useropt"
846 ac_useropt_orig
=$ac_useropt
847 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
852 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853 ac_unrecognized_sep
=', ';;
855 eval enable_
$ac_useropt=\
$ac_optarg ;;
857 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
858 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
859 |
--exec |
--exe |
--ex)
860 ac_prev
=exec_prefix
;;
861 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
862 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
863 |
--exec=* |
--exe=* |
--ex=*)
864 exec_prefix
=$ac_optarg ;;
866 -gas |
--gas |
--ga |
--g)
867 # Obsolete; use --with-gas.
870 -help |
--help |
--hel |
--he |
-h)
872 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
873 ac_init_help
=recursive
;;
874 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
875 ac_init_help
=short
;;
877 -host |
--host |
--hos |
--ho)
878 ac_prev
=host_alias
;;
879 -host=* |
--host=* |
--hos=* |
--ho=*)
880 host_alias
=$ac_optarg ;;
882 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
884 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
886 htmldir
=$ac_optarg ;;
888 -includedir |
--includedir |
--includedi |
--included |
--include \
889 |
--includ |
--inclu |
--incl |
--inc)
890 ac_prev
=includedir
;;
891 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
892 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
893 includedir
=$ac_optarg ;;
895 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
897 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
898 infodir
=$ac_optarg ;;
900 -libdir |
--libdir |
--libdi |
--libd)
902 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
905 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
906 |
--libexe |
--libex |
--libe)
907 ac_prev
=libexecdir
;;
908 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
909 |
--libexe=* |
--libex=* |
--libe=*)
910 libexecdir
=$ac_optarg ;;
912 -localedir |
--localedir |
--localedi |
--localed |
--locale)
914 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
915 localedir
=$ac_optarg ;;
917 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
918 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
919 ac_prev
=localstatedir
;;
920 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
921 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
922 localstatedir
=$ac_optarg ;;
924 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
926 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
930 # Obsolete; use --without-fp.
933 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
934 |
--no-cr |
--no-c |
-n)
937 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
938 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
941 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
942 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
943 |
--oldin |
--oldi |
--old |
--ol |
--o)
944 ac_prev
=oldincludedir
;;
945 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
946 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
947 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
948 oldincludedir
=$ac_optarg ;;
950 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
952 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
955 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
956 |
--program-pre |
--program-pr |
--program-p)
957 ac_prev
=program_prefix
;;
958 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
959 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
960 program_prefix
=$ac_optarg ;;
962 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
963 |
--program-suf |
--program-su |
--program-s)
964 ac_prev
=program_suffix
;;
965 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
966 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
967 program_suffix
=$ac_optarg ;;
969 -program-transform-name |
--program-transform-name \
970 |
--program-transform-nam |
--program-transform-na \
971 |
--program-transform-n |
--program-transform- \
972 |
--program-transform |
--program-transfor \
973 |
--program-transfo |
--program-transf \
974 |
--program-trans |
--program-tran \
975 |
--progr-tra |
--program-tr |
--program-t)
976 ac_prev
=program_transform_name
;;
977 -program-transform-name=* |
--program-transform-name=* \
978 |
--program-transform-nam=* |
--program-transform-na=* \
979 |
--program-transform-n=* |
--program-transform-=* \
980 |
--program-transform=* |
--program-transfor=* \
981 |
--program-transfo=* |
--program-transf=* \
982 |
--program-trans=* |
--program-tran=* \
983 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
984 program_transform_name
=$ac_optarg ;;
986 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
988 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
991 -psdir |
--psdir |
--psdi |
--psd |
--ps)
993 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
996 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
997 |
-silent |
--silent |
--silen |
--sile |
--sil)
1000 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1002 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1004 sbindir
=$ac_optarg ;;
1006 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1007 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1008 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1010 ac_prev
=sharedstatedir
;;
1011 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1012 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1013 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1015 sharedstatedir
=$ac_optarg ;;
1017 -site |
--site |
--sit)
1019 -site=* |
--site=* |
--sit=*)
1022 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1024 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1025 srcdir
=$ac_optarg ;;
1027 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1028 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1029 ac_prev
=sysconfdir
;;
1030 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1031 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1032 sysconfdir
=$ac_optarg ;;
1034 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1035 ac_prev
=target_alias
;;
1036 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1037 target_alias
=$ac_optarg ;;
1039 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1042 -version |
--version |
--versio |
--versi |
--vers |
-V)
1043 ac_init_version
=: ;;
1046 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid package name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval with_
$ac_useropt=\
$ac_optarg ;;
1061 -without-* |
--without-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error $?
"invalid package name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval with_
$ac_useropt=no
;;
1078 # Obsolete; use --with-x.
1081 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1082 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1083 ac_prev
=x_includes
;;
1084 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1085 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1086 x_includes
=$ac_optarg ;;
1088 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1089 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1090 ac_prev
=x_libraries
;;
1091 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1092 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1093 x_libraries
=$ac_optarg ;;
1095 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1100 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1104 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1106 eval $ac_envvar=\
$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1120 if test -n "$ac_prev"; then
1121 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $?
"missing argument to $ac_option"
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1128 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 # Check all directory arguments for consistency.
1134 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1139 eval ac_val
=\$
$ac_var
1140 # Remove trailing slashes.
1143 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\
$ac_val;;
1146 # Be sure to have absolute directory names.
1148 [\\/$
]* | ?
:[\\/]* ) continue;;
1149 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1151 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1159 target
=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x
; then
1163 if test "x$build_alias" = x
; then
1164 cross_compiling
=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1171 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1173 test "$silent" = yes && exec 6>/dev
/null
1176 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di
=`ls -di .` &&
1178 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $?
"working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $?
"pwd does not report name of working directory"
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted
=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir
=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1216 ac_srcdir_defaulted
=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1220 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1222 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1234 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 for ac_var
in $ac_precious_vars; do
1237 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1239 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1250 \`configure' configures this package to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1308 --program-prefix=PREFIX prepend PREFIX to installed program names
1309 --program-suffix=SUFFIX append SUFFIX to installed program names
1310 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1313 --build=BUILD configure
for building on BUILD
[guessed
]
1314 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1315 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1319 if test -n "$ac_init_help"; then
1324 --disable-option-checking ignore unrecognized
--enable/--with options
1325 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1326 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1327 --enable-gtk enable gdbtk graphical user interface
(GUI
)
1328 --enable-libctf Handle .ctf type-info sections
[default
=yes]
1329 --enable-shared build shared libraries deault
=yes
1331 Some influential environment variables
:
1332 CC C compiler
command
1333 CFLAGS C compiler flags
1334 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1335 nonstandard directory
<lib dir
>
1336 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1337 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1338 you have headers
in a nonstandard directory
<include dir
>
1341 Use these variables to override the choices made by
`configure' or to help
1342 it to find libraries and programs with nonstandard names/locations.
1344 Report bugs to the package provider.
1349 if test "$ac_init_help" = "recursive"; then
1350 # If there are subdirs, report their specific --help.
1351 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1352 test -d "$ac_dir" ||
1353 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1361 # A ".." for each directory in $ac_dir_suffix.
1362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1363 case $ac_top_builddir_sub in
1364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368 ac_abs_top_builddir=$ac_pwd
1369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1370 # for backward compatibility:
1371 ac_top_builddir=$ac_top_build_prefix
1374 .) # We are building in place.
1376 ac_top_srcdir=$ac_top_builddir_sub
1377 ac_abs_top_srcdir=$ac_pwd ;;
1378 [\\/]* | ?:[\\/]* ) # Absolute name.
1379 ac_srcdir=$srcdir$ac_dir_suffix;
1380 ac_top_srcdir=$srcdir
1381 ac_abs_top_srcdir=$srcdir ;;
1383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1384 ac_top_srcdir=$ac_top_build_prefix$srcdir
1385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389 cd "$ac_dir" || { ac_status=$?; continue; }
1390 # Check for guested configure.
1391 if test -f "$ac_srcdir/configure.gnu"; then
1393 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1394 elif test -f "$ac_srcdir/configure"; then
1396 $SHELL "$ac_srcdir/configure" --help=recursive
1398 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1400 cd "$ac_pwd" || { ac_status=$?; break; }
1404 test -n "$ac_init_help" && exit $ac_status
1405 if $ac_init_version; then
1408 generated by GNU Autoconf 2.69
1410 Copyright (C) 2012 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1417 ## ------------------------ ##
1418 ## Autoconf initialization. ##
1419 ## ------------------------ ##
1421 # ac_fn_c_try_compile LINENO
1422 # --------------------------
1423 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1424 ac_fn_c_try_compile ()
1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1427 rm -f conftest.$ac_objext
1428 if { { ac_try="$ac_compile"
1430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1431 *) ac_try_echo
=$ac_try;;
1433 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1434 $as_echo "$ac_try_echo"; } >&5
1435 (eval "$ac_compile") 2>conftest.err
1437 if test -s conftest.err
; then
1438 grep -v '^ *+' conftest.err
>conftest.er1
1439 cat conftest.er1
>&5
1440 mv -f conftest.er1 conftest.err
1442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1443 test $ac_status = 0; } && {
1444 test -z "$ac_c_werror_flag" ||
1445 test ! -s conftest.err
1446 } && test -s conftest.
$ac_objext; then :
1449 $as_echo "$as_me: failed program was:" >&5
1450 sed 's/^/| /' conftest.
$ac_ext >&5
1454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1455 as_fn_set_status
$ac_retval
1457 } # ac_fn_c_try_compile
1459 # ac_fn_c_try_cpp LINENO
1460 # ----------------------
1461 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1464 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1465 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } > conftest.i && {
1481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1482 test ! -s conftest.err
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1496 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1497 # -------------------------------------------------------
1498 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1499 # the include files in INCLUDES and setting the cache variable VAR
1501 ac_fn_c_check_header_mongrel ()
1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504 if eval \${$3+:} false; then :
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1506 $as_echo_n "checking for $2... " >&6; }
1507 if eval \${$3+:} false; then :
1508 $as_echo_n "(cached) " >&6
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1512 $as_echo "$ac_res" >&6; }
1514 # Is the header compilable?
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1516 $as_echo_n "checking $2 usability... " >&6; }
1517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1518 /* end confdefs.h. */
1522 if ac_fn_c_try_compile "$LINENO"; then :
1523 ac_header_compiler=yes
1525 ac_header_compiler=no
1527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1529 $as_echo "$ac_header_compiler" >&6; }
1531 # Is the header present?
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1533 $as_echo_n "checking $2 presence... " >&6; }
1534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535 /* end confdefs.h. */
1538 if ac_fn_c_try_cpp "$LINENO"; then :
1539 ac_header_preproc=yes
1541 ac_header_preproc=no
1543 rm -f conftest.err conftest.i conftest.$ac_ext
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1545 $as_echo "$ac_header_preproc" >&6; }
1547 # So? What about this header?
1548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1551 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1553 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1557 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1559 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1561 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1563 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1565 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 $as_echo_n "checking for $2... " >&6; }
1570 if eval \${$3+:} false; then :
1571 $as_echo_n "(cached) " >&6
1573 eval "$3=\$ac_header_compiler"
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1577 $as_echo "$ac_res" >&6; }
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 } # ac_fn_c_check_header_mongrel
1583 # ac_fn_c_try_run LINENO
1584 # ----------------------
1585 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1586 # that executables *can* be run.
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 if { { ac_try="$ac_link"
1592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1593 *) ac_try_echo
=$ac_try;;
1595 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1596 $as_echo "$ac_try_echo"; } >&5
1597 (eval "$ac_link") 2>&5
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1601 { { case "(($ac_try" in
1602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1603 *) ac_try_echo=$ac_try;;
1605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_try") 2>&5
1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610 test $ac_status = 0; }; }; then :
1613 $as_echo "$as_me: program exited with status $ac_status" >&5
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1617 ac_retval=$ac_status
1619 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status $ac_retval
1625 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1626 # -------------------------------------------------------
1627 # Tests whether HEADER exists and can be compiled using the include files in
1628 # INCLUDES, setting the cache variable VAR accordingly.
1629 ac_fn_c_check_header_compile ()
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633 $as_echo_n "checking for $2... " >&6; }
1634 if eval \${$3+:} false; then :
1635 $as_echo_n "(cached) " >&6
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1642 if ac_fn_c_try_compile "$LINENO"; then :
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 $as_echo "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 } # ac_fn_c_check_header_compile
1655 cat >config.log <<_ACEOF
1656 This file contains any messages produced by compilers while
1657 running configure, to aid debugging if configure makes a mistake.
1659 It was created by $as_me, which was
1660 generated by GNU Autoconf 2.69. Invocation command line was
1672 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1673 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1674 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1675 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1676 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1678 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1679 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1681 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1683 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1684 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1685 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1686 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1687 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695 test -z "$as_dir" && as_dir=.
1696 $as_echo "PATH: $as_dir"
1712 # Keep a trace of the command line.
1713 # Strip out --no-create and --no-recursion so they do not pile up.
1714 # Strip out --silent because we don't want to record it for future runs.
1715 # Also quote any args containing shell meta-characters.
1716 # Make two passes to allow for proper duplicate-argument suppression.
1720 ac_must_keep_next=false
1726 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1727 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1728 | -silent | --silent | --silen | --sile | --sil)
1731 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1734 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1736 as_fn_append ac_configure_args1 " '$ac_arg'"
1737 if test $ac_must_keep_next = true; then
1738 ac_must_keep_next=false # Got value, back to normal.
1741 *=* | --config-cache | -C | -disable-* | --disable-* \
1742 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1743 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1744 | -with-* | --with-* | -without-* | --without-* | --x)
1745 case "$ac_configure_args0 " in
1746 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1749 -* ) ac_must_keep_next=true ;;
1752 as_fn_append ac_configure_args " '$ac_arg'"
1757 { ac_configure_args0=; unset ac_configure_args0;}
1758 { ac_configure_args1=; unset ac_configure_args1;}
1760 # When interrupted or exit'd, cleanup temporary files, and complete
1761 # config.log. We remove comments because anyway the quotes in there
1762 # would cause problems or look ugly.
1763 # WARNING: Use '\'' to represent an apostrophe within the trap.
1764 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1765 trap 'exit_status=$?
1766 # Save into config.log some information that might help in debugging.
1770 $as_echo "## ---------------- ##
1771 ## Cache variables. ##
1772 ## ---------------- ##"
1774 # The following way of writing the cache mishandles newlines in values,
1776 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1777 eval ac_val=\$$ac_var
1781 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1782 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1785 _ | IFS | as_nl) ;; #(
1786 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1787 *) { eval $ac_var=; unset $ac_var;} ;;
1792 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1793 *${as_nl}ac_space=\ *)
1795 "s/'\''/'\''\\\\'\'''\''/g;
1796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1799 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1806 $as_echo "## ----------------- ##
1807 ## Output variables. ##
1808 ## ----------------- ##"
1810 for ac_var in $ac_subst_vars
1812 eval ac_val=\$$ac_var
1814 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1816 $as_echo "$ac_var='\''$ac_val'\''"
1820 if test -n "$ac_subst_files"; then
1821 $as_echo "## ------------------- ##
1822 ## File substitutions. ##
1823 ## ------------------- ##"
1825 for ac_var in $ac_subst_files
1827 eval ac_val=\$$ac_var
1829 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1831 $as_echo "$ac_var='\''$ac_val'\''"
1836 if test -s confdefs.h; then
1837 $as_echo "## ----------- ##
1844 test "$ac_signal" != 0 &&
1845 $as_echo "$as_me: caught signal $ac_signal"
1846 $as_echo "$as_me: exit $exit_status"
1848 rm -f core *.core core.conftest.* &&
1849 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1852 for ac_signal in 1 2 13 15; do
1853 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1857 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1858 rm -f -r conftest* confdefs.h
1860 $as_echo "/* confdefs.h */" > confdefs.h
1862 # Predefined preprocessor variables.
1864 cat >>confdefs.h <<_ACEOF
1865 #define PACKAGE_NAME "$PACKAGE_NAME"
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1876 cat >>confdefs.h <<_ACEOF
1877 #define PACKAGE_STRING "$PACKAGE_STRING"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_URL "$PACKAGE_URL"
1889 # Let the site file select an alternate cache file if it wants to.
1890 # Prefer an explicitly selected file to automatically selected ones.
1893 if test -n "$CONFIG_SITE"; then
1894 # We do not want a PATH search for config.site.
1895 case $CONFIG_SITE in #((
1896 -*) ac_site_file1=./$CONFIG_SITE;;
1897 */*) ac_site_file1=$CONFIG_SITE;;
1898 *) ac_site_file1=./$CONFIG_SITE;;
1900 elif test "x$prefix" != xNONE; then
1901 ac_site_file1=$prefix/share/config.site
1902 ac_site_file2=$prefix/etc/config.site
1904 ac_site_file1=$ac_default_prefix/share/config.site
1905 ac_site_file2=$ac_default_prefix/etc/config.site
1907 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1909 test "x$ac_site_file" = xNONE && continue
1910 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1912 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1913 sed 's/^/| /' "$ac_site_file" >&5
1915 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1917 as_fn_error $? "failed to load site
script $ac_site_file
1918 See \
`config.log' for more details" "$LINENO" 5; }
1922 if test -r "$cache_file"; then
1923 # Some versions of bash will fail to source /dev/null (special files
1924 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1925 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1927 $as_echo "$as_me: loading cache $cache_file" >&6;}
1929 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1930 *) . "./$cache_file";;
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1935 $as_echo "$as_me: creating cache $cache_file" >&6;}
1939 # Check that the precious variables saved in the cache have kept the same
1941 ac_cache_corrupted=false
1942 for ac_var in $ac_precious_vars; do
1943 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1944 eval ac_new_set=\$ac_env_${ac_var}_set
1945 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1946 eval ac_new_val=\$ac_env_${ac_var}_value
1947 case $ac_old_set,$ac_new_set in
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1950 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1951 ac_cache_corrupted=: ;;
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
1954 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1955 ac_cache_corrupted=: ;;
1958 if test "x$ac_old_val" != "x$ac_new_val"; then
1959 # differences in whitespace do not lead to failure.
1960 ac_old_val_w=`echo x
$ac_old_val`
1961 ac_new_val_w=`echo x
$ac_new_val`
1962 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1964 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1965 ac_cache_corrupted=:
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1968 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1969 eval $ac_var=\$ac_old_val
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1972 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1974 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1977 # Pass precious variables to config.status.
1978 if test "$ac_new_set" = set; then
1980 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1981 *) ac_arg=$ac_var=$ac_new_val ;;
1983 case " $ac_configure_args " in
1984 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1985 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1989 if $ac_cache_corrupted; then
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
1991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1993 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1994 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
1996 ## -------------------- ##
1997 ## Main body of script. ##
1998 ## -------------------- ##
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2013 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2014 if test -f "$ac_dir/install-sh"; then
2016 ac_install_sh="$ac_aux_dir/install-sh -c"
2018 elif test -f "$ac_dir/install.sh"; then
2020 ac_install_sh="$ac_aux_dir/install.sh -c"
2022 elif test -f "$ac_dir/shtool"; then
2024 ac_install_sh="$ac_aux_dir/shtool install -c"
2028 if test -z "$ac_aux_dir"; then
2029 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2032 # These three variables are undocumented and unsupported,
2033 # and are intended to be withdrawn in a future Autoconf release.
2034 # They can cause serious problems if a builder's source tree is in a directory
2035 # whose full name contains unusual characters.
2036 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2037 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2038 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2041 # Make sure we can run config.sub.
2042 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2043 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2046 $as_echo_n "checking build system type... " >&6; }
2047 if ${ac_cv_build+:} false; then :
2048 $as_echo_n "(cached) " >&6
2050 ac_build_alias=$build_alias
2051 test "x$ac_build_alias" = x &&
2052 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2053 test "x$ac_build_alias" = x &&
2054 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2055 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2056 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2060 $as_echo "$ac_cv_build" >&6; }
2061 case $ac_cv_build in
2063 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2066 ac_save_IFS=$IFS; IFS='-'
2072 # Remember, the first character of IFS is used to create $*,
2073 # except with old shells:
2076 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2080 $as_echo_n "checking host system type... " >&6; }
2081 if ${ac_cv_host+:} false; then :
2082 $as_echo_n "(cached) " >&6
2084 if test "x$host_alias" = x; then
2085 ac_cv_host=$ac_cv_build
2087 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2088 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2093 $as_echo "$ac_cv_host" >&6; }
2096 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2099 ac_save_IFS=$IFS; IFS='-'
2105 # Remember, the first character of IFS is used to create $*,
2106 # except with old shells:
2109 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2113 $as_echo_n "checking target system type... " >&6; }
2114 if ${ac_cv_target+:} false; then :
2115 $as_echo_n "(cached) " >&6
2117 if test "x$target_alias" = x; then
2118 ac_cv_target=$ac_cv_host
2120 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2121 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2126 $as_echo "$ac_cv_target" >&6; }
2127 case $ac_cv_target in
2129 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2131 target=$ac_cv_target
2132 ac_save_IFS=$IFS; IFS='-'
2138 # Remember, the first character of IFS is used to create $*,
2139 # except with old shells:
2142 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2145 # The aliases save the names the user supplied, while $host etc.
2146 # will get canonicalized.
2147 test -n "$target_alias" &&
2148 test "$program_prefix$program_suffix$program_transform_name" = \
2150 program_prefix=${target_alias}-
2152 case ${build_alias} in
2153 "") build_noncanonical=${build} ;;
2154 *) build_noncanonical=${build_alias} ;;
2157 case ${host_alias} in
2158 "") host_noncanonical=${build_noncanonical} ;;
2159 *) host_noncanonical=${host_alias} ;;
2162 case ${target_alias} in
2163 "") target_noncanonical=${host_noncanonical} ;;
2164 *) target_noncanonical=${target_alias} ;;
2171 # Check whether --enable-gdbtk was given.
2172 if test "${enable_gdbtk+set}" = set; then :
2173 enableval=$enable_gdbtk;
2175 if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
2182 # We unconditionally disable gdbtk tests on selected platforms.
2188 # Add gdbtk tests when appropriate.
2189 if test $enable_gdbtk = yes; then
2192 subdirs="$subdirs gdb.gdbtk"
2196 # Check whether --enable-libctf was given.
2197 if test "${enable_libctf+set}" = set; then :
2198 enableval=$enable_libctf;
2199 case "$enableval" in
2201 *) as_fn_error $? "Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
2211 # Enable shared libraries.
2212 # Check whether --enable-shared was given.
2213 if test "${enable_shared+set}" = set; then :
2214 enableval=$enable_shared;
2220 # If we have shared libraries, try to set RPATH_ENVVAR reasonably,
2221 # such that we can find the shared libraries in the build tree.
2222 if test $enable_shared = no; then
2223 # The variable `RPATH_ENVVAR
' itself is not likely to be used on any
2225 RPATH_ENVVAR=RPATH_ENVVAR
2227 # The variable `LD_LIBRARY_PATH' is used on most platforms.
2228 RPATH_ENVVAR
=LD_LIBRARY_PATH
2229 # The following exceptions are taken from Libtool 1.4.3.
2232 if test $host_cpu != ia64
; then
2233 RPATH_ENVVAR
=LIBPATH
2235 darwin
* | rhapsody
*)
2236 RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
2242 ac_cpp
='$CPP $CPPFLAGS'
2243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2248 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_prog_CC+:} false
; then :
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC
="$CC" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test -n "$CC"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2277 $as_echo "$CC" >&6; }
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2285 if test -z "$ac_cv_prog_CC"; then
2287 # Extract the first word of "gcc", so it can be a program name with args.
2288 set dummy gcc
; ac_word
=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 for ac_exec_ext
in '' $ac_executable_extensions; do
2303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_ac_ct_CC
="gcc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2317 $as_echo "$ac_ct_CC" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2323 if test "x$ac_ct_CC" = x
; then
2326 case $cross_compiling:$ac_tool_warned in
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2330 ac_tool_warned
=yes ;;
2338 if test -z "$CC"; then
2339 if test -n "$ac_tool_prefix"; then
2340 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2341 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343 $as_echo_n "checking for $ac_word... " >&6; }
2344 if ${ac_cv_prog_CC+:} false
; then :
2345 $as_echo_n "(cached) " >&6
2347 if test -n "$CC"; then
2348 ac_cv_prog_CC
="$CC" # Let the user override the test.
2350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir
=.
2355 for ac_exec_ext
in '' $ac_executable_extensions; do
2356 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2357 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 if test -n "$CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370 $as_echo "$CC" >&6; }
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 $as_echo "no" >&6; }
2379 if test -z "$CC"; then
2380 # Extract the first word of "cc", so it can be a program name with args.
2381 set dummy cc
; ac_word
=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_CC+:} false
; then :
2385 $as_echo_n "(cached) " >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC
="$CC" # Let the user override the test.
2391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir
=.
2396 for ac_exec_ext
in '' $ac_executable_extensions; do
2397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2398 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2399 ac_prog_rejected
=yes
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test $ac_prog_rejected = yes; then
2411 # We found a bogon in the path, so make sure we never use it.
2412 set dummy
$ac_cv_prog_CC
2414 if test $# != 0; then
2415 # We chose a different compiler from the bogus one.
2416 # However, it has the same basename, so the bogon will be chosen
2417 # first if we set CC to just the basename; use the full file name.
2419 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2425 if test -n "$CC"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2427 $as_echo "$CC" >&6; }
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2435 if test -z "$CC"; then
2436 if test -n "$ac_tool_prefix"; then
2437 for ac_prog
in cl.exe
2439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2440 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if ${ac_cv_prog_CC+:} false
; then :
2444 $as_echo_n "(cached) " >&6
2446 if test -n "$CC"; then
2447 ac_cv_prog_CC
="$CC" # Let the user override the test.
2449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir
=.
2454 for ac_exec_ext
in '' $ac_executable_extensions; do
2455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2456 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 if test -n "$CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469 $as_echo "$CC" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2476 test -n "$CC" && break
2479 if test -z "$CC"; then
2481 for ac_prog
in cl.exe
2483 # Extract the first word of "$ac_prog", so it can be a program name with args.
2484 set dummy
$ac_prog; ac_word
=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2488 $as_echo_n "(cached) " >&6
2490 if test -n "$ac_ct_CC"; then
2491 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir
=.
2498 for ac_exec_ext
in '' $ac_executable_extensions; do
2499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_ac_ct_CC
="$ac_prog"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2511 if test -n "$ac_ct_CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2513 $as_echo "$ac_ct_CC" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2520 test -n "$ac_ct_CC" && break
2523 if test "x$ac_ct_CC" = x
; then
2526 case $cross_compiling:$ac_tool_warned in
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned
=yes ;;
2539 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2541 as_fn_error $?
"no acceptable C compiler found in \$PATH
2542 See \`config.log' for more details" "$LINENO" 5; }
2544 # Provide some information about the compiler.
2545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2548 for ac_option
in --version -v -V -qversion; do
2549 { { ac_try
="$ac_compiler $ac_option >&5"
2551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2558 if test -s conftest.err; then
2560 ... rest of stderr output deleted ...
2561 10q' conftest.err >conftest.er1
2562 cat conftest.er1 >&5
2564 rm -f conftest.er1 conftest.err
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2580 ac_clean_files_save=$ac_clean_files
2581 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2582 # Try to create an executable without -o first, disregard a.out.
2583 # It will help us diagnose broken compilers, and finding out an intuition
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2586 $as_echo_n "checking whether the C compiler works... " >&6; }
2587 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2589 # The possible output files:
2590 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2593 for ac_file in $ac_files
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2597 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2602 if { { ac_try="$ac_link_default"
2604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2605 *) ac_try_echo
=$ac_try;;
2607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link_default") 2>&5
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; }; then :
2613 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2615 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2616 # so that the user can short-circuit this test for compilers unknown to
2618 for ac_file
in $ac_files ''
2620 test -f "$ac_file" ||
continue
2622 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2625 # We found the default executable, but exeext='' is most
2629 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2631 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 # We set ac_cv_exeext here because the later test for it is not
2634 # safe: cross compilers may not add the suffix if given an `-o'
2635 # argument, so we may need to know it at that point already.
2636 # Even if this section looks crufty: it has the advantage of
2643 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2648 if test -z "$ac_file"; then :
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error
77 "C compiler cannot create executables
2657 See \`config.log' for more details" "$LINENO" 5; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2663 $as_echo_n "checking for C compiler default output file name... " >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2665 $as_echo "$ac_file" >&6; }
2666 ac_exeext
=$ac_cv_exeext
2668 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2669 ac_clean_files
=$ac_clean_files_save
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2671 $as_echo_n "checking for suffix of executables... " >&6; }
2672 if { { ac_try
="$ac_link"
2674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678 $as_echo "$ac_try_echo"; } >&5
2679 (eval "$ac_link") 2>&5
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; }; then :
2683 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2684 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2685 # work properly (i.e., refer to `conftest.exe'), while it won't with
2687 for ac_file
in conftest.exe conftest conftest.
*; do
2688 test -f "$ac_file" ||
continue
2690 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2691 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2700 See \`config.log' for more details" "$LINENO" 5; }
2702 rm -f conftest conftest
$ac_cv_exeext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2704 $as_echo "$ac_cv_exeext" >&6; }
2706 rm -f conftest.
$ac_ext
2707 EXEEXT
=$ac_cv_exeext
2709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2715 FILE *f = fopen ("conftest.out", "w");
2716 return ferror (f) || fclose (f) != 0;
2722 ac_clean_files
="$ac_clean_files conftest.out"
2723 # Check that the compiler produces executables we can run. If not, either
2724 # the compiler is broken, or we cross compile.
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2726 $as_echo_n "checking whether we are cross compiling... " >&6; }
2727 if test "$cross_compiling" != yes; then
2728 { { ac_try
="$ac_link"
2730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }
2739 if { ac_try='./conftest$ac_cv_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2742 *) ac_try_echo
=$ac_try;;
2744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then
2752 if test "$cross_compiling" = maybe
; then
2755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 as_fn_error $?
"cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details" "$LINENO" 5; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2764 $as_echo "$cross_compiling" >&6; }
2766 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2767 ac_clean_files
=$ac_clean_files_save
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2769 $as_echo_n "checking for suffix of object files... " >&6; }
2770 if ${ac_cv_objext+:} false
; then :
2771 $as_echo_n "(cached) " >&6
2773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2784 rm -f conftest.o conftest.obj
2785 if { { ac_try
="$ac_compile"
2787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>&5
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; then :
2796 for ac_file in conftest.o conftest.obj conftest.*; do
2797 test -f "$ac_file" || continue;
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2800 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2811 See \
`config.log' for more details" "$LINENO" 5; }
2813 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2816 $as_echo "$ac_cv_objext" >&6; }
2817 OBJEXT=$ac_cv_objext
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2821 if ${ac_cv_c_compiler_gnu+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2838 if ac_fn_c_try_compile "$LINENO"; then :
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2848 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2849 if test $ac_compiler_gnu = yes; then
2854 ac_test_CFLAGS=${CFLAGS+set}
2855 ac_save_CFLAGS=$CFLAGS
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2857 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2858 if ${ac_cv_prog_cc_g+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 ac_save_c_werror_flag=$ac_c_werror_flag
2862 ac_c_werror_flag=yes
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2876 if ac_fn_c_try_compile "$LINENO"; then :
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_c_werror_flag=$ac_save_c_werror_flag
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2907 if ac_fn_c_try_compile "$LINENO"; then :
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_c_werror_flag=$ac_save_c_werror_flag
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2918 $as_echo "$ac_cv_prog_cc_g" >&6; }
2919 if test "$ac_test_CFLAGS" = set; then
2920 CFLAGS=$ac_save_CFLAGS
2921 elif test $ac_cv_prog_cc_g = yes; then
2922 if test "$GCC" = yes; then
2928 if test "$GCC" = yes; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2936 if ${ac_cv_prog_cc_c89+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 ac_cv_prog_cc_c89=no
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2946 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2947 struct buf { int x; };
2948 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2949 static char *e (p, i)
2955 static char *f (char * (*g) (char **, int), char **p, ...)
2960 s = g (p, va_arg (v,int));
2965 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2966 function prototypes and stuff, but not '\xHH' hex character constants.
2967 These don't provoke an error unfortunately, instead are silently treated
2968 as 'x'. The following induces an error, until -std is added to get
2969 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2970 array size at least. It's necessary to write '\x00'==0 to get something
2971 that's true only with -std. */
2972 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2974 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2975 inside strings and character constants. */
2977 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2979 int test (int i, double x);
2980 struct s1 {int (*f) (int a);};
2981 struct s2 {int (*f) (double a);};
2982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2988 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2993 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2994 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2996 CC="$ac_save_CC $ac_arg"
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 ac_cv_prog_cc_c89=$ac_arg
3000 rm -f core conftest.err conftest.$ac_objext
3001 test "x$ac_cv_prog_cc_c89" != "xno" && break
3003 rm -f conftest.$ac_ext
3008 case "x$ac_cv_prog_cc_c89" in
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3011 $as_echo "none needed" >&6; } ;;
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3014 $as_echo "unsupported" >&6; } ;;
3016 CC="$CC $ac_cv_prog_cc_c89"
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3018 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3020 if test "x$ac_cv_prog_cc_c89" != xno; then :
3025 ac_cpp='$CPP $CPPFLAGS'
3026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032 ac_cpp='$CPP $CPPFLAGS'
3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3037 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3038 # On Suns, sometimes $CPP names a directory.
3039 if test -n "$CPP" && test -d "$CPP"; then
3042 if test -z "$CPP"; then
3043 if ${ac_cv_prog_CPP+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 # Double quotes because CPP needs to be expanded
3047 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3050 for ac_c_preproc_warn_flag in '' yes
3052 # Use a header file that comes with gcc, so configuring glibc
3053 # with a fresh cross-compiler works.
3054 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3055 # <limits.h> exists even on freestanding compilers.
3056 # On the NeXT, cc -E runs the code through the compiler's parser,
3057 # not just through cpp. "Syntax error" is here to catch this case.
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3061 # include <limits.h>
3063 # include <assert.h>
3067 if ac_fn_c_try_cpp "$LINENO"; then :
3070 # Broken: fails on valid input.
3073 rm -f conftest.err conftest.i conftest.$ac_ext
3075 # OK, works on sane cases. Now check whether nonexistent headers
3076 # can be detected and how.
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if ac_fn_c_try_cpp "$LINENO"; then :
3082 # Broken: success on invalid input.
3085 # Passes both tests.
3089 rm -f conftest.err conftest.i conftest.$ac_ext
3092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3093 rm -f conftest.i conftest.err conftest.
$ac_ext
3094 if $ac_preproc_ok; then :
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3107 $as_echo "$CPP" >&6; }
3109 for ac_c_preproc_warn_flag
in '' yes
3111 # Use a header file that comes with gcc, so configuring glibc
3112 # with a fresh cross-compiler works.
3113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3114 # <limits.h> exists even on freestanding compilers.
3115 # On the NeXT, cc -E runs the code through the compiler's parser,
3116 # not just through cpp. "Syntax error" is here to catch this case.
3117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3120 # include <limits.h>
3122 # include <assert.h>
3126 if ac_fn_c_try_cpp
"$LINENO"; then :
3129 # Broken: fails on valid input.
3132 rm -f conftest.err conftest.i conftest.
$ac_ext
3134 # OK, works on sane cases. Now check whether nonexistent headers
3135 # can be detected and how.
3136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3138 #include <ac_nonexistent.h>
3140 if ac_fn_c_try_cpp
"$LINENO"; then :
3141 # Broken: success on invalid input.
3144 # Passes both tests.
3148 rm -f conftest.err conftest.i conftest.
$ac_ext
3151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3152 rm -f conftest.i conftest.err conftest.
$ac_ext
3153 if $ac_preproc_ok; then :
3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3159 See \`config.log' for more details" "$LINENO" 5; }
3163 ac_cpp
='$CPP $CPPFLAGS'
3164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3171 if ${ac_cv_path_GREP+:} false
; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -z "$GREP"; then
3175 ac_path_GREP_found
=false
3176 # Loop through the user's path and test for each of PROGNAME-LIST
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_prog
in grep ggrep
; do
3183 for ac_exec_ext
in '' $ac_executable_extensions; do
3184 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3185 as_fn_executable_p
"$ac_path_GREP" ||
continue
3186 # Check for GNU ac_path_GREP and select it if it is found.
3187 # Check for GNU $ac_path_GREP
3188 case `"$ac_path_GREP" --version 2>&1` in
3190 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3193 $as_echo_n 0123456789 >"conftest.in"
3196 cat "conftest.in" "conftest.in" >"conftest.tmp"
3197 mv "conftest.tmp" "conftest.in"
3198 cp "conftest.in" "conftest.nl"
3199 $as_echo 'GREP' >> "conftest.nl"
3200 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3201 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3202 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3203 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3204 # Best one so far, save it but keep looking for a better one
3205 ac_cv_path_GREP
="$ac_path_GREP"
3206 ac_path_GREP_max
=$ac_count
3208 # 10*(2^10) chars as input seems more than enough
3209 test $ac_count -gt 10 && break
3211 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3214 $ac_path_GREP_found && break 3
3219 if test -z "$ac_cv_path_GREP"; then
3220 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3223 ac_cv_path_GREP
=$GREP
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3228 $as_echo "$ac_cv_path_GREP" >&6; }
3229 GREP
="$ac_cv_path_GREP"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3233 $as_echo_n "checking for egrep... " >&6; }
3234 if ${ac_cv_path_EGREP+:} false
; then :
3235 $as_echo_n "(cached) " >&6
3237 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3238 then ac_cv_path_EGREP
="$GREP -E"
3240 if test -z "$EGREP"; then
3241 ac_path_EGREP_found
=false
3242 # Loop through the user's path and test for each of PROGNAME-LIST
3243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3244 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3247 test -z "$as_dir" && as_dir
=.
3248 for ac_prog
in egrep; do
3249 for ac_exec_ext
in '' $ac_executable_extensions; do
3250 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3251 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3252 # Check for GNU ac_path_EGREP and select it if it is found.
3253 # Check for GNU $ac_path_EGREP
3254 case `"$ac_path_EGREP" --version 2>&1` in
3256 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3259 $as_echo_n 0123456789 >"conftest.in"
3262 cat "conftest.in" "conftest.in" >"conftest.tmp"
3263 mv "conftest.tmp" "conftest.in"
3264 cp "conftest.in" "conftest.nl"
3265 $as_echo 'EGREP' >> "conftest.nl"
3266 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3267 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3268 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3269 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3270 # Best one so far, save it but keep looking for a better one
3271 ac_cv_path_EGREP
="$ac_path_EGREP"
3272 ac_path_EGREP_max
=$ac_count
3274 # 10*(2^10) chars as input seems more than enough
3275 test $ac_count -gt 10 && break
3277 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3280 $ac_path_EGREP_found && break 3
3285 if test -z "$ac_cv_path_EGREP"; then
3286 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3289 ac_cv_path_EGREP
=$EGREP
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3295 $as_echo "$ac_cv_path_EGREP" >&6; }
3296 EGREP
="$ac_cv_path_EGREP"
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3300 $as_echo_n "checking for ANSI C header files... " >&6; }
3301 if ${ac_cv_header_stdc+:} false
; then :
3302 $as_echo_n "(cached) " >&6
3304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3319 if ac_fn_c_try_compile
"$LINENO"; then :
3320 ac_cv_header_stdc
=yes
3322 ac_cv_header_stdc
=no
3324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3326 if test $ac_cv_header_stdc = yes; then
3327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3334 $EGREP "memchr" >/dev
/null
2>&1; then :
3337 ac_cv_header_stdc
=no
3343 if test $ac_cv_header_stdc = yes; then
3344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3351 $EGREP "free" >/dev
/null
2>&1; then :
3354 ac_cv_header_stdc
=no
3360 if test $ac_cv_header_stdc = yes; then
3361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3362 if test "$cross_compiling" = yes; then :
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 #if ((' ' & 0x0FF) == 0x020)
3370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3373 # define ISLOWER(c) \
3374 (('a' <= (c) && (c) <= 'i') \
3375 || ('j' <= (c) && (c) <= 'r') \
3376 || ('s' <= (c) && (c) <= 'z'))
3377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3385 for (i = 0; i < 256; i++)
3386 if (XOR (islower (i), ISLOWER (i))
3387 || toupper (i) != TOUPPER (i))
3392 if ac_fn_c_try_run
"$LINENO"; then :
3395 ac_cv_header_stdc
=no
3397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3404 $as_echo "$ac_cv_header_stdc" >&6; }
3405 if test $ac_cv_header_stdc = yes; then
3407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3412 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3413 inttypes.h stdint.h unistd.h
3415 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3416 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3418 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3419 cat >>confdefs.h
<<_ACEOF
3420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3428 for ac_header
in pthread.h
3430 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3431 if test "x$ac_cv_header_pthread_h" = xyes
; then :
3432 cat >>confdefs.h
<<_ACEOF
3433 #define HAVE_PTHREAD_H 1
3443 if test "${build}" = "${host}" -a "${host}" = "${target}"; then
3452 # Transform the name of some programs and generate the lib/pdtrace
3454 test "$program_prefix" != NONE
&&
3455 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3456 # Use a double $ so make ignores it.
3457 test "$program_suffix" != NONE
&&
3458 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3459 # Double any \ or $.
3460 # By default was `s,x,x', remove it if useless.
3461 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3462 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3465 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3466 STRIP_TRANSFORM_NAME
=`echo strip | sed -e "$gdb_ac_transform"`
3467 if test "x$STRIP_TRANSFORM_NAME" = x
; then
3468 STRIP_TRANSFORM_NAME
=strip
3473 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3474 READELF_TRANSFORM_NAME
=`echo readelf | sed -e "$gdb_ac_transform"`
3475 if test "x$READELF_TRANSFORM_NAME" = x
; then
3476 READELF_TRANSFORM_NAME
=readelf
3481 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3482 GAS_TRANSFORM_NAME
=`echo as | sed -e "$gdb_ac_transform"`
3483 if test "x$GAS_TRANSFORM_NAME" = x
; then
3484 GAS_TRANSFORM_NAME
=as
3489 gdb_ac_transform
=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
3490 NM_TRANSFORM_NAME
=`echo nm | sed -e "$gdb_ac_transform"`
3491 if test "x$NM_TRANSFORM_NAME" = x
; then
3492 NM_TRANSFORM_NAME
=nm
3496 ac_config_files
="$ac_config_files lib/pdtrace"
3498 ac_config_files
="$ac_config_files Makefile"
3501 cat >confcache
<<\_ACEOF
3502 # This file is a shell script that caches the results of configure
3503 # tests run on this system so they can be shared between configure
3504 # scripts and configure runs, see configure's option --config-cache.
3505 # It is not useful on other systems. If it contains results you don't
3506 # want to keep, you may remove or edit it.
3508 # config.status only pays attention to the cache file if you give it
3509 # the --recheck option to rerun configure.
3511 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3512 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3517 # The following way of writing the cache mishandles newlines in values,
3518 # but we know of no workaround that is simple, portable, and efficient.
3519 # So, we kill variables containing newlines.
3520 # Ultrix sh set writes to stderr and can't be redirected directly,
3521 # and sets the high bit in the cache file unless we assign to the vars.
3523 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3524 eval ac_val
=\$
$ac_var
3528 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3529 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3532 _ | IFS | as_nl
) ;; #(
3533 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3534 *) { eval $ac_var=; unset $ac_var;} ;;
3540 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3541 *${as_nl}ac_space
=\
*)
3542 # `set' does not quote correctly, so add quotes: double-quote
3543 # substitution turns \\\\ into \\, and sed turns \\ into \.
3546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3549 # `set' quotes correctly as required by POSIX, so do not add quotes.
3550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3559 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3561 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3563 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3564 if test -w "$cache_file"; then
3565 if test "x$cache_file" != "x/dev/null"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3567 $as_echo "$as_me: updating cache $cache_file" >&6;}
3568 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
3569 cat confcache
>"$cache_file"
3571 case $cache_file in #(
3573 mv -f confcache
"$cache_file"$$
&&
3574 mv -f "$cache_file"$$
"$cache_file" ;; #(
3576 mv -f confcache
"$cache_file" ;;
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3582 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3587 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3588 # Let make expand exec_prefix.
3589 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3591 # Transform confdefs.h into DEFS.
3592 # Protect against shell expansion while executing Makefile rules.
3593 # Protect against Makefile macro expansion.
3595 # If the first sed substitution is executed (which looks for macros that
3596 # take arguments), then branch to the quote section. Otherwise,
3597 # look for a macro that doesn't take arguments.
3607 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3609 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3613 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3626 DEFS
=`sed -n "$ac_script" confdefs.h`
3632 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3633 # 1. Remove the extension, and $U if already installed.
3634 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3635 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3636 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3637 # will be set to the directory where LIBOBJS objects are built.
3638 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3639 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3643 LTLIBOBJS
=$ac_ltlibobjs
3647 : "${CONFIG_STATUS=./config.status}"
3649 ac_clean_files_save
=$ac_clean_files
3650 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3652 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3654 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3656 # Generated by $as_me.
3657 # Run this file to recreate the current configuration.
3658 # Compiler output produced by configure, useful for debugging
3659 # configure, is in config.log if it exists.
3665 SHELL=\${CONFIG_SHELL-$SHELL}
3668 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3669 ## -------------------- ##
3670 ## M4sh Initialization. ##
3671 ## -------------------- ##
3673 # Be more Bourne compatible
3674 DUALCASE
=1; export DUALCASE
# for MKS sh
3675 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3678 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3679 # is contrary to our usage. Disable this feature.
3680 alias -g '${1+"$@"}'='"$@"'
3681 setopt NO_GLOB_SUBST
3683 case `(set -o) 2>/dev/null` in #(
3695 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3696 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3697 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3699 # Prefer a ksh shell builtin over an external printf program on Solaris,
3700 # but without wasting forks for bash or zsh.
3701 if test -z "$BASH_VERSION$ZSH_VERSION" \
3702 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3703 as_echo='print
-r --'
3704 as_echo_n='print
-rn --'
3705 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3706 as_echo='printf %s
\n'
3707 as_echo_n='printf %s
'
3709 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3710 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3711 as_echo_n='/usr
/ucb
/echo -n'
3713 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3714 as_echo_n_body='eval
3718 expr "X$arg" : "X\\(.*\\)$as_nl";
3719 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3721 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3723 export as_echo_n_body
3724 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3727 as_echo='sh
-c $as_echo_body as_echo
'
3730 # The user is always right.
3731 if test "${PATH_SEPARATOR+set}" != set; then
3733 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3734 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3741 # We need space, tab and new line, in precisely that order. Quoting is
3742 # there to prevent editors from complaining about space-tab.
3743 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3744 # splitting by setting IFS to empty value.)
3747 # Find who we are. Look in the path if we contain no directory separator.
3750 *[\\/]* ) as_myself=$0 ;;
3751 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir=.
3756 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3762 # We did not find ourselves, most probably we were run as `sh COMMAND'
3763 # in which case we are not to be found in the path.
3764 if test "x$as_myself" = x
; then
3767 if test ! -f "$as_myself"; then
3768 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3772 # Unset variables that we do not need and which cause bugs (e.g. in
3773 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3774 # suppresses any "Segmentation fault" message there. '((' could
3775 # trigger a bug in pdksh 5.2.14.
3776 for as_var
in BASH_ENV ENV MAIL MAILPATH
3777 do eval test x\
${$as_var+set} = xset \
3778 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3791 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3794 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3795 # ----------------------------------------
3796 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3797 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3798 # script with STATUS, using 1 if that was 0.
3801 as_status
=$1; test $as_status -eq 0 && as_status
=1
3803 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3804 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3806 $as_echo "$as_me: error: $2" >&2
3807 as_fn_exit
$as_status
3811 # as_fn_set_status STATUS
3812 # -----------------------
3813 # Set $? to STATUS, without forking.
3817 } # as_fn_set_status
3821 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3831 # Portably unset VAR.
3834 { eval $1=; unset $1;}
3836 as_unset
=as_fn_unset
3837 # as_fn_append VAR VALUE
3838 # ----------------------
3839 # Append the text in VALUE to the end of the definition contained in VAR. Take
3840 # advantage of any shell optimizations that allow amortized linear growth over
3841 # repeated appends, instead of the typical quadratic growth present in naive
3843 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3844 eval 'as_fn_append ()
3855 # as_fn_arith ARG...
3856 # ------------------
3857 # Perform arithmetic evaluation on the ARGs, and store the result in the
3858 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3859 # must be portable across $(()) and expr.
3860 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3861 eval 'as_fn_arith ()
3868 as_val
=`expr "$@" || test $? -eq 1`
3873 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3874 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3880 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3881 as_basename
=basename
3886 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3892 as_me
=`$as_basename -- "$0" ||
3893 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3894 X"$0" : 'X\(//\)$' \| \
3895 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3897 sed '/^.*\/\([^/][^/]*\)\/*$/{
3911 # Avoid depending upon Character Ranges.
3912 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3913 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3914 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3915 as_cr_digits
='0123456789'
3916 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3918 ECHO_C
= ECHO_N
= ECHO_T
=
3919 case `echo -n x` in #(((((
3921 case `echo 'xy\c'` in
3922 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3924 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3931 rm -f conf$$ conf$$.exe conf$$.
file
3932 if test -d conf$$.dir
; then
3933 rm -f conf$$.dir
/conf$$.
file
3936 mkdir conf$$.dir
2>/dev
/null
3938 if (echo >conf$$.
file) 2>/dev
/null
; then
3939 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3941 # ... but there are two gotchas:
3942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3944 # In both cases, we have to default to `cp -pR'.
3945 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3947 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3955 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3956 rmdir conf$$.dir
2>/dev
/null
3961 # Create "$as_dir" as a directory, including parents if necessary.
3966 -*) as_dir
=.
/$as_dir;;
3968 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3972 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3973 *) as_qdir
=$as_dir;;
3975 as_dirs
="'$as_qdir' $as_dirs"
3976 as_dir
=`$as_dirname -- "$as_dir" ||
3977 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3978 X"$as_dir" : 'X\(//\)[^/]' \| \
3979 X"$as_dir" : 'X\(//\)$' \| \
3980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3981 $as_echo X"$as_dir" |
3982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3999 test -d "$as_dir" && break
4001 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4002 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
4006 if mkdir
-p .
2>/dev
/null
; then
4007 as_mkdir_p
='mkdir -p "$as_dir"'
4009 test -d .
/-p && rmdir .
/-p
4014 # as_fn_executable_p FILE
4015 # -----------------------
4016 # Test if FILE is an executable regular file.
4017 as_fn_executable_p
()
4019 test -f "$1" && test -x "$1"
4020 } # as_fn_executable_p
4022 as_executable_p
=as_fn_executable_p
4024 # Sed expression to map a string onto a valid CPP name.
4025 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4027 # Sed expression to map a string onto a valid variable name.
4028 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4032 ## ----------------------------------- ##
4033 ## Main body of $CONFIG_STATUS script. ##
4034 ## ----------------------------------- ##
4036 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4039 # Save the log message, to keep $0 and so on meaningful, and to
4040 # report actual input values of CONFIG_FILES etc. instead of their
4041 # values after options handling.
4043 This file was extended by $as_me, which was
4044 generated by GNU Autoconf 2.69. Invocation command line was
4046 CONFIG_FILES = $CONFIG_FILES
4047 CONFIG_HEADERS = $CONFIG_HEADERS
4048 CONFIG_LINKS = $CONFIG_LINKS
4049 CONFIG_COMMANDS = $CONFIG_COMMANDS
4052 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4057 case $ac_config_files in *"
4058 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4064 # Files that config.status was made for.
4065 config_files="$ac_config_files"
4069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4071 \`$as_me' instantiates files and other configuration actions
4072 from templates according to the current configuration. Unless the files
4073 and actions are specified as TAGs, all are instantiated by default.
4075 Usage: $0 [OPTION]... [TAG]...
4077 -h, --help print this help, then exit
4078 -V, --version print version number and configuration settings, then exit
4079 --config print configuration, then exit
4080 -q, --quiet, --silent
4081 do not print progress messages
4082 -d, --debug don't remove temporary files
4083 --recheck update $as_me by reconfiguring in the same conditions
4084 --file=FILE[:TEMPLATE]
4085 instantiate the configuration file FILE
4087 Configuration files:
4090 Report bugs to the package provider."
4093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4094 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4097 configured by $0, generated by GNU Autoconf 2.69,
4098 with options \\"\$ac_cs_config\\"
4100 Copyright (C) 2012 Free Software Foundation, Inc.
4101 This config.status script is free software; the Free Software Foundation
4102 gives unlimited permission to copy, distribute and modify it."
4106 test -n "\$AWK" || AWK=awk
4109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4110 # The default lists apply if the user does not specify any file.
4116 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4117 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4121 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4133 # Handling of the options.
4134 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4136 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4137 $as_echo "$ac_cs_version"; exit ;;
4138 --config |
--confi |
--conf |
--con |
--co |
--c )
4139 $as_echo "$ac_cs_config"; exit ;;
4140 --debug |
--debu |
--deb |
--de |
--d |
-d )
4142 --file |
--fil |
--fi |
--f )
4145 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4146 '') as_fn_error $?
"missing file argument" ;;
4148 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4149 ac_need_defaults
=false
;;
4150 --he |
--h |
--help |
--hel |
-h )
4151 $as_echo "$ac_cs_usage"; exit ;;
4152 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4153 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4157 -*) as_fn_error $?
"unrecognized option: \`$1'
4158 Try \`$0 --help' for more information." ;;
4160 *) as_fn_append ac_config_targets
" $1"
4161 ac_need_defaults
=false
;;
4167 ac_configure_extra_args
=
4169 if $ac_cs_silent; then
4171 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4176 if \$ac_cs_recheck; then
4177 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4179 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4180 CONFIG_SHELL='$SHELL'
4186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4190 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4191 ## Running $as_me. ##
4197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4202 # Handling of arguments.
4203 for ac_config_target
in $ac_config_targets
4205 case $ac_config_target in
4206 "lib/pdtrace") CONFIG_FILES
="$CONFIG_FILES lib/pdtrace" ;;
4207 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4209 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4214 # If the user did not use the arguments to specify the items to instantiate,
4215 # then the envvar interface is used. Set only those that are not.
4216 # We use the long form for the default assignment because of an extremely
4217 # bizarre bug on SunOS 4.1.3.
4218 if $ac_need_defaults; then
4219 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4222 # Have a temporary directory for convenience. Make it in the build tree
4223 # simply because there is no reason against having it here, and in addition,
4224 # creating and moving files from /tmp can sometimes cause problems.
4225 # Hook for its removal unless debugging.
4226 # Note that there is a small window in which the directory will not be cleaned:
4227 # after its creation but before its name has been assigned to `$tmp'.
4231 trap 'exit_status=$?
4233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4235 trap 'as_fn_exit 1' 1 2 13 15
4237 # Create a (secure) tmp directory for tmp files.
4240 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4244 tmp
=.
/conf$$
-$RANDOM
4245 (umask 077 && mkdir
"$tmp")
4246 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
4249 # Set up the scripts for CONFIG_FILES section.
4250 # No need to generate them if there are no CONFIG_FILES.
4251 # This happens for instance with `./config.status config.h'.
4252 if test -n "$CONFIG_FILES"; then
4255 ac_cr
=`echo X | tr X '\015'`
4256 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4257 # But we know of no other shell where ac_cr would be empty at this
4258 # point, so we can use a bashism as a fallback.
4259 if test "x$ac_cr" = x
; then
4260 eval ac_cr
=\$
\'\\r
\'
4262 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4263 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4269 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4274 echo "cat >conf$$subs.awk <<_ACEOF" &&
4275 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4278 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4279 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4281 for ac_last_try in false false false false false :; do
4282 . ./conf$$subs.sh ||
4283 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4285 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4286 if test $ac_delim_n = $ac_delim_num; then
4288 elif $ac_last_try; then
4289 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
4291 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4297 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
4301 s/^/S["/; s
/!.
*/"]=/
4311 s/\(.\{148\}\)..*/\1/
4313 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4318 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4325 s/\(.\{148\}\)..*/\1/
4327 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4331 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4336 ' <conf$$subs.awk | sed '
4341 ' >>$CONFIG_STATUS || ac_write_fail=1
4342 rm -f conf$$subs.awk
4343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4345 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
4346 for (key in S) S_is_set[key] = 1
4352 nfields = split(line, field, "@
")
4354 len = length(field[1])
4355 for (i = 2; i < nfields; i++) {
4357 keylen = length(key)
4358 if (S_is_set[key]) {
4360 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4361 len += length(value) + length(field[++i])
4372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4373 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4374 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4377 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
4378 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
4381 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4382 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
4383 # trailing colons and then remove the whole line if VPATH becomes empty
4384 # (actually we leave an empty line to preserve line numbers).
4385 if test "x
$srcdir" = x.; then
4386 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4405 fi # test -n "$CONFIG_FILES"
4408 eval set X " :F
$CONFIG_FILES "
4413 :[FHLC]) ac_mode=$ac_tag; continue;;
4415 case $ac_mode$ac_tag in
4417 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
4418 :[FH]-) ac_tag=-:-;;
4419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4436 -) ac_f="$ac_tmp/stdin";;
4437 *) # Look for the file first in the build tree, then in the source tree
4438 # (if the path is not absolute). The absolute path cannot be DOS-style,
4439 # because $ac_f cannot contain `:'.
4443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4445 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4447 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
4448 as_fn_append ac_file_inputs " '$ac_f'"
4451 # Let's still pretend it is `configure' which instantiates (i.e., don't
4452 # use $as_me), people would be surprised to read:
4453 # /* config.h. Generated by config.status. */
4454 configure_input='Generated from '`
4455 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4457 if test x"$ac_file" != x-; then
4458 configure_input="$ac_file.
$configure_input"
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
4460 $as_echo "$as_me: creating
$ac_file" >&6;}
4462 # Neutralize special characters interpreted by sed in replacement strings.
4463 case $configure_input in #(
4464 *\&* | *\|* | *\\* )
4465 ac_sed_conf_input=`$as_echo "$configure_input" |
4466 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4467 *) ac_sed_conf_input=$configure_input;;
4471 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
4472 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
4477 ac_dir=`$as_dirname -- "$ac_file" ||
4478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4479 X"$ac_file" : 'X\(//\)[^/]' \| \
4480 X"$ac_file" : 'X\(//\)$' \| \
4481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4482 $as_echo X"$ac_file" |
4483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4500 as_dir="$ac_dir"; as_fn_mkdir_p
4504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4507 # A "..
" for each directory in $ac_dir_suffix.
4508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4509 case $ac_top_builddir_sub in
4510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4514 ac_abs_top_builddir=$ac_pwd
4515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4516 # for backward compatibility:
4517 ac_top_builddir=$ac_top_build_prefix
4520 .) # We are building in place.
4522 ac_top_srcdir=$ac_top_builddir_sub
4523 ac_abs_top_srcdir=$ac_pwd ;;
4524 [\\/]* | ?:[\\/]* ) # Absolute name.
4525 ac_srcdir=$srcdir$ac_dir_suffix;
4526 ac_top_srcdir=$srcdir
4527 ac_abs_top_srcdir=$srcdir ;;
4529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4530 ac_top_srcdir=$ac_top_build_prefix$srcdir
4531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4545 # If the template does not know about datarootdir, expand it.
4546 # FIXME: This hack should be removed a few years after 2.60.
4547 ac_datarootdir_hack=; ac_datarootdir_seen=
4558 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
4559 *datarootdir*) ac_datarootdir_seen=yes;;
4560 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
4562 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
4564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4565 ac_datarootdir_hack='
4566 s&@datadir@&$datadir&g
4567 s&@docdir@&$docdir&g
4568 s&@infodir@&$infodir&g
4569 s&@localedir@&$localedir&g
4570 s&@mandir@&$mandir&g
4571 s&\\\${datarootdir}&$datarootdir&g' ;;
4575 # Neutralize VPATH when `$srcdir' = `.'.
4576 # Shell code in configure.ac might set extrasub.
4577 # FIXME: do we really want to maintain this feature?
4578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4579 ac_sed_extra="$ac_vpsub
4582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4584 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4585 s|@configure_input@|
$ac_sed_conf_input|
;t t
4586 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4587 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4588 s
&@srcdir@
&$ac_srcdir&;t t
4589 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4590 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4591 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4592 s
&@builddir@
&$ac_builddir&;t t
4593 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4594 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4595 $ac_datarootdir_hack
4597 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
4598 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
4600 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4601 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
4602 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4603 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4605 which seems to be undefined. Please make sure it is defined" >&5
4606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4607 which seems to be undefined. Please make sure it is defined" >&2;}
4609 rm -f "$ac_tmp/stdin"
4611 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4612 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4622 case $ac_file$ac_mode in
4623 "lib/pdtrace":F) chmod +x lib/pdtrace ;;
4631 ac_clean_files=$ac_clean_files_save
4633 test $ac_write_fail = 0 ||
4634 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4637 # configure is writing to config.log, and then calls config.status.
4638 # config.status does its own redirection, appending to config.log.
4639 # Unfortunately, on DOS this fails, as config.log is still kept open
4640 # by configure, so config.status won't be able to
write to it
; its
4641 # output is simply discarded. So we exec the FD to /dev/null,
4642 # effectively closing config.log, so it can be properly (re)opened and
4643 # appended to by config.status. When coming back to configure, we
4644 # need to make the FD available again.
4645 if test "$no_create" != yes; then
4647 ac_config_status_args
=
4648 test "$silent" = yes &&
4649 ac_config_status_args
="$ac_config_status_args --quiet"
4651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4654 # would make configure fail if this is the last instruction.
4655 $ac_cs_success || as_fn_exit
1
4659 # CONFIG_SUBDIRS section.
4661 if test "$no_recursion" != yes; then
4663 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4664 # so they do not pile up.
4665 ac_sub_configure_args
=
4667 eval "set x $ac_configure_args"
4671 if test -n "$ac_prev"; then
4676 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
4677 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
4678 ac_prev
=cache_file
;;
4679 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
4680 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
4683 --config-cache |
-C)
4685 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
4687 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
4689 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
4691 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
4693 --disable-option-checking)
4697 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4699 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
4703 # Always prepend --prefix to ensure using the same prefix
4704 # in subdir configurations.
4705 ac_arg
="--prefix=$prefix"
4707 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4709 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
4712 if test "$silent" = yes; then
4713 ac_sub_configure_args
="--silent $ac_sub_configure_args"
4716 # Always prepend --disable-option-checking to silence warnings, since
4717 # different subdirs can have different --enable and --with options.
4718 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
4721 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
4723 # Do not complain, so a configure script can configure whichever
4724 # parts of a large source tree are present.
4725 test -d "$srcdir/$ac_dir" ||
continue
4727 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4729 $as_echo "$ac_msg" >&6
4730 as_dir
="$ac_dir"; as_fn_mkdir_p
4734 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4736 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4737 # A ".." for each directory in $ac_dir_suffix.
4738 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4739 case $ac_top_builddir_sub in
4740 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4741 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4744 ac_abs_top_builddir
=$ac_pwd
4745 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4746 # for backward compatibility:
4747 ac_top_builddir
=$ac_top_build_prefix
4750 .
) # We are building in place.
4752 ac_top_srcdir
=$ac_top_builddir_sub
4753 ac_abs_top_srcdir
=$ac_pwd ;;
4754 [\\/]* | ?
:[\\/]* ) # Absolute name.
4755 ac_srcdir
=$srcdir$ac_dir_suffix;
4756 ac_top_srcdir
=$srcdir
4757 ac_abs_top_srcdir
=$srcdir ;;
4759 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4760 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4761 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4763 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4768 # Check for guested configure; otherwise get Cygnus style configure.
4769 if test -f "$ac_srcdir/configure.gnu"; then
4770 ac_sub_configure
=$ac_srcdir/configure.gnu
4771 elif test -f "$ac_srcdir/configure"; then
4772 ac_sub_configure
=$ac_srcdir/configure
4773 elif test -f "$ac_srcdir/configure.in"; then
4774 # This should be Cygnus configure.
4775 ac_sub_configure
=$ac_aux_dir/configure
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
4778 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4782 # The recursion is here.
4783 if test -n "$ac_sub_configure"; then
4784 # Make the cache file name correct relative to the subdirectory.
4786 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
4788 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
4791 { $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
4792 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4793 # The eval makes quoting arguments work.
4794 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4795 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4796 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4802 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4804 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}