2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="server.c"
555 ac_config_libobj_dir
=..
/gnulib
556 # Factoring default headers for most tests.
557 ac_includes_default
="\
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
569 # ifdef HAVE_STDLIB_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
592 ac_subst_vars
='LTLIBOBJS
661 program_transform_name
674 enable_option_checking
683 ac_precious_vars
='build_alias
694 # Initialize some variables set by options.
696 ac_init_version
=false
697 ac_unrecognized_opts
=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name
=s
,x
,x
,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir
='${exec_prefix}/bin'
723 sbindir
='${exec_prefix}/sbin'
724 libexecdir
='${exec_prefix}/libexec'
725 datarootdir
='${prefix}/share'
726 datadir
='${datarootdir}'
727 sysconfdir
='${prefix}/etc'
728 sharedstatedir
='${prefix}/com'
729 localstatedir
='${prefix}/var'
730 includedir
='${prefix}/include'
731 oldincludedir
='/usr/include'
732 docdir
='${datarootdir}/doc/${PACKAGE}'
733 infodir
='${datarootdir}/info'
738 libdir
='${exec_prefix}/lib'
739 localedir
='${datarootdir}/locale'
740 mandir
='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\
$ac_option
754 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
766 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
769 -build |
--build |
--buil |
--bui |
--bu)
770 ac_prev
=build_alias
;;
771 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
772 build_alias
=$ac_optarg ;;
774 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
775 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
776 ac_prev
=cache_file
;;
777 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
778 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
779 cache_file
=$ac_optarg ;;
782 cache_file
=config.cache
;;
784 -datadir |
--datadir |
--datadi |
--datad)
786 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
787 datadir
=$ac_optarg ;;
789 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
790 |
--dataroo |
--dataro |
--datar)
791 ac_prev
=datarootdir
;;
792 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
793 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
794 datarootdir
=$ac_optarg ;;
796 -disable-* |
--disable-*)
797 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
800 as_fn_error
"invalid feature name: $ac_useropt"
801 ac_useropt_orig
=$ac_useropt
802 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
807 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep
=', ';;
810 eval enable_
$ac_useropt=no
;;
812 -docdir |
--docdir |
--docdi |
--doc |
--do)
814 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
817 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
819 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
822 -enable-* |
--enable-*)
823 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
826 as_fn_error
"invalid feature name: $ac_useropt"
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=\
$ac_optarg ;;
838 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
839 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
840 |
--exec |
--exe |
--ex)
841 ac_prev
=exec_prefix
;;
842 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
843 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
844 |
--exec=* |
--exe=* |
--ex=*)
845 exec_prefix
=$ac_optarg ;;
847 -gas |
--gas |
--ga |
--g)
848 # Obsolete; use --with-gas.
851 -help |
--help |
--hel |
--he |
-h)
853 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
854 ac_init_help
=recursive
;;
855 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
856 ac_init_help
=short
;;
858 -host |
--host |
--hos |
--ho)
859 ac_prev
=host_alias
;;
860 -host=* |
--host=* |
--hos=* |
--ho=*)
861 host_alias
=$ac_optarg ;;
863 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
865 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
867 htmldir
=$ac_optarg ;;
869 -includedir |
--includedir |
--includedi |
--included |
--include \
870 |
--includ |
--inclu |
--incl |
--inc)
871 ac_prev
=includedir
;;
872 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
873 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
874 includedir
=$ac_optarg ;;
876 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
878 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
879 infodir
=$ac_optarg ;;
881 -libdir |
--libdir |
--libdi |
--libd)
883 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
886 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
887 |
--libexe |
--libex |
--libe)
888 ac_prev
=libexecdir
;;
889 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
890 |
--libexe=* |
--libex=* |
--libe=*)
891 libexecdir
=$ac_optarg ;;
893 -localedir |
--localedir |
--localedi |
--localed |
--locale)
895 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
896 localedir
=$ac_optarg ;;
898 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
899 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
900 ac_prev
=localstatedir
;;
901 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
902 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
903 localstatedir
=$ac_optarg ;;
905 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
907 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
911 # Obsolete; use --without-fp.
914 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
915 |
--no-cr |
--no-c |
-n)
918 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
919 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
922 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
923 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
924 |
--oldin |
--oldi |
--old |
--ol |
--o)
925 ac_prev
=oldincludedir
;;
926 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
927 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
928 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
929 oldincludedir
=$ac_optarg ;;
931 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
933 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
936 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
937 |
--program-pre |
--program-pr |
--program-p)
938 ac_prev
=program_prefix
;;
939 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
940 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
941 program_prefix
=$ac_optarg ;;
943 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
944 |
--program-suf |
--program-su |
--program-s)
945 ac_prev
=program_suffix
;;
946 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
947 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
948 program_suffix
=$ac_optarg ;;
950 -program-transform-name |
--program-transform-name \
951 |
--program-transform-nam |
--program-transform-na \
952 |
--program-transform-n |
--program-transform- \
953 |
--program-transform |
--program-transfor \
954 |
--program-transfo |
--program-transf \
955 |
--program-trans |
--program-tran \
956 |
--progr-tra |
--program-tr |
--program-t)
957 ac_prev
=program_transform_name
;;
958 -program-transform-name=* |
--program-transform-name=* \
959 |
--program-transform-nam=* |
--program-transform-na=* \
960 |
--program-transform-n=* |
--program-transform-=* \
961 |
--program-transform=* |
--program-transfor=* \
962 |
--program-transfo=* |
--program-transf=* \
963 |
--program-trans=* |
--program-tran=* \
964 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
965 program_transform_name
=$ac_optarg ;;
967 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
969 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
972 -psdir |
--psdir |
--psdi |
--psd |
--ps)
974 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
977 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
978 |
-silent |
--silent |
--silen |
--sile |
--sil)
981 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
983 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
985 sbindir
=$ac_optarg ;;
987 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
988 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
989 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
991 ac_prev
=sharedstatedir
;;
992 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
993 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
994 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
996 sharedstatedir
=$ac_optarg ;;
998 -site |
--site |
--sit)
1000 -site=* |
--site=* |
--sit=*)
1003 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1005 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1006 srcdir
=$ac_optarg ;;
1008 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1009 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1010 ac_prev
=sysconfdir
;;
1011 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1012 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1013 sysconfdir
=$ac_optarg ;;
1015 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1016 ac_prev
=target_alias
;;
1017 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1018 target_alias
=$ac_optarg ;;
1020 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1023 -version |
--version |
--versio |
--versi |
--vers |
-V)
1024 ac_init_version
=: ;;
1027 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1030 as_fn_error
"invalid package name: $ac_useropt"
1031 ac_useropt_orig
=$ac_useropt
1032 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep
=', ';;
1040 eval with_
$ac_useropt=\
$ac_optarg ;;
1042 -without-* |
--without-*)
1043 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1046 as_fn_error
"invalid package name: $ac_useropt"
1047 ac_useropt_orig
=$ac_useropt
1048 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep
=', ';;
1056 eval with_
$ac_useropt=no
;;
1059 # Obsolete; use --with-x.
1062 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1063 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1064 ac_prev
=x_includes
;;
1065 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1066 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1067 x_includes
=$ac_optarg ;;
1069 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1070 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1071 ac_prev
=x_libraries
;;
1072 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1073 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1074 x_libraries
=$ac_optarg ;;
1076 -*) as_fn_error
"unrecognized option: \`$ac_option'
1077 Try \`$0 --help' for more information."
1081 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1085 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1087 eval $ac_envvar=\
$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1101 if test -n "$ac_prev"; then
1102 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error
"missing argument to $ac_option"
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1109 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 # Check all directory arguments for consistency.
1115 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val
=\$
$ac_var
1121 # Remove trailing slashes.
1124 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\
$ac_val;;
1127 # Be sure to have absolute directory names.
1129 [\\/$
]* | ?
:[\\/]* ) continue;;
1130 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1132 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target
=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x
; then
1144 if test "x$build_alias" = x
; then
1145 cross_compiling
=maybe
1146 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147 If a cross compiler is detected then cross compile mode will be used." >&2
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1156 test "$silent" = yes && exec 6>/dev
/null
1159 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di
=`ls -di .` &&
1161 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1162 as_fn_error
"working directory cannot be determined"
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 as_fn_error
"pwd does not report name of working directory"
1167 # Find the source files, if location was not specified.
1168 if test -z "$srcdir"; then
1169 ac_srcdir_defaulted
=yes
1170 # Try the directory containing this script, then the parent directory.
1171 ac_confdir
=`$as_dirname -- "$as_myself" ||
1172 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173 X"$as_myself" : 'X\(//\)[^/]' \| \
1174 X"$as_myself" : 'X\(//\)$' \| \
1175 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176 $as_echo X"$as_myself" |
1177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1199 ac_srcdir_defaulted
=no
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1203 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1205 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1217 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 for ac_var
in $ac_precious_vars; do
1220 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1222 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1233 \`configure' configures this package to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1296 --build=BUILD configure
for building on BUILD
[guessed
]
1297 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1298 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1302 if test -n "$ac_init_help"; then
1307 --disable-option-checking ignore unrecognized
--enable/--with options
1308 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1309 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1310 --enable-werror treat compile warnings as errors
1313 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1314 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1315 --with-ust=PATH Specify prefix directory
for the installed UST package
1316 Equivalent to
--with-ust-include=PATH
/include
1317 plus
--with-ust-lib=PATH
/lib
1318 --with-ust-include=PATH Specify directory
for installed UST include files
1319 --with-ust-lib=PATH Specify the directory
for the installed UST library
1320 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1321 --with-bugurl=URL Direct users to URL to report a bug
1322 --with-libthread-db=PATH
1323 use given libthread_db directly
1325 Some influential environment variables
:
1326 CC C compiler
command
1327 CFLAGS C compiler flags
1328 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1329 nonstandard directory
<lib dir
>
1330 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1331 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1332 you have headers
in a nonstandard directory
<include dir
>
1335 Use these variables to override the choices made by
`configure' or to help
1336 it to find libraries and programs with nonstandard names/locations.
1338 Report bugs to the package provider.
1343 if test "$ac_init_help" = "recursive"; then
1344 # If there are subdirs, report their specific --help.
1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346 test -d "$ac_dir" ||
1347 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1355 # A ".." for each directory in $ac_dir_suffix.
1356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1357 case $ac_top_builddir_sub in
1358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1362 ac_abs_top_builddir=$ac_pwd
1363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1364 # for backward compatibility:
1365 ac_top_builddir=$ac_top_build_prefix
1368 .) # We are building in place.
1370 ac_top_srcdir=$ac_top_builddir_sub
1371 ac_abs_top_srcdir=$ac_pwd ;;
1372 [\\/]* | ?:[\\/]* ) # Absolute name.
1373 ac_srcdir=$srcdir$ac_dir_suffix;
1374 ac_top_srcdir=$srcdir
1375 ac_abs_top_srcdir=$srcdir ;;
1377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1378 ac_top_srcdir=$ac_top_build_prefix$srcdir
1379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1383 cd "$ac_dir" || { ac_status=$?; continue; }
1384 # Check for guested configure.
1385 if test -f "$ac_srcdir/configure.gnu"; then
1387 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1388 elif test -f "$ac_srcdir/configure"; then
1390 $SHELL "$ac_srcdir/configure" --help=recursive
1392 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394 cd "$ac_pwd" || { ac_status=$?; break; }
1398 test -n "$ac_init_help" && exit $ac_status
1399 if $ac_init_version; then
1402 generated by GNU Autoconf 2.64
1404 Copyright (C) 2009 Free Software Foundation, Inc.
1405 This configure script is free software; the Free Software Foundation
1406 gives unlimited permission to copy, distribute and modify it.
1411 ## ------------------------ ##
1412 ## Autoconf initialization. ##
1413 ## ------------------------ ##
1415 # ac_fn_c_try_compile LINENO
1416 # --------------------------
1417 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1418 ac_fn_c_try_compile ()
1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421 rm -f conftest.$ac_objext
1422 if { { ac_try="$ac_compile"
1424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1425 *) ac_try_echo
=$ac_try;;
1427 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429 (eval "$ac_compile") 2>conftest.err
1431 if test -s conftest.err
; then
1432 grep -v '^ *+' conftest.err
>conftest.er1
1433 cat conftest.er1
>&5
1434 mv -f conftest.er1 conftest.err
1436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437 test $ac_status = 0; } && {
1438 test -z "$ac_c_werror_flag" ||
1439 test ! -s conftest.err
1440 } && test -s conftest.
$ac_objext; then :
1443 $as_echo "$as_me: failed program was:" >&5
1444 sed 's/^/| /' conftest.
$ac_ext >&5
1448 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1451 } # ac_fn_c_try_compile
1453 # ac_fn_c_try_cpp LINENO
1454 # ----------------------
1455 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1458 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1459 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1462 *) ac_try_echo=$ac_try;;
1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1465 $as_echo "$ac_try_echo"; } >&5
1466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1468 if test -s conftest.err; then
1469 grep -v '^ *+' conftest.err >conftest.er1
1470 cat conftest.er1 >&5
1471 mv -f conftest.er1 conftest.err
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; } >/dev/null && {
1475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1476 test ! -s conftest.err
1480 $as_echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.$ac_ext >&5
1485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1490 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1491 # -------------------------------------------------------
1492 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1493 # the include files in INCLUDES and setting the cache variable VAR
1495 ac_fn_c_check_header_mongrel ()
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1500 $as_echo_n "checking for $2... " >&6; }
1501 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1502 $as_echo_n "(cached) " >&6
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1506 $as_echo "$ac_res" >&6; }
1508 # Is the header compilable?
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1510 $as_echo_n "checking $2 usability... " >&6; }
1511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1512 /* end confdefs.h. */
1516 if ac_fn_c_try_compile "$LINENO"; then :
1517 ac_header_compiler=yes
1519 ac_header_compiler=no
1521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1523 $as_echo "$ac_header_compiler" >&6; }
1525 # Is the header present?
1526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1527 $as_echo_n "checking $2 presence... " >&6; }
1528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1529 /* end confdefs.h. */
1532 if ac_fn_c_try_cpp "$LINENO"; then :
1533 ac_header_preproc=yes
1535 ac_header_preproc=no
1537 rm -f conftest.err conftest.$ac_ext
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1539 $as_echo "$ac_header_preproc" >&6; }
1541 # So? What about this header?
1542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1545 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1547 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1551 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1553 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1555 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1557 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1559 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1563 $as_echo_n "checking for $2... " >&6; }
1564 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1565 $as_echo_n "(cached) " >&6
1567 eval "$3=\$ac_header_compiler"
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1573 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_c_check_header_mongrel
1577 # ac_fn_c_try_run LINENO
1578 # ----------------------
1579 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1580 # that executables *can* be run.
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 if { { ac_try="$ac_link"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_link") 2>&5
1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1595 { { case "(($ac_try" in
1596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1597 *) ac_try_echo=$ac_try;;
1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_try") 2>&5
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; }; }; then :
1607 $as_echo "$as_me: program exited with status $ac_status" >&5
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1611 ac_retval=$ac_status
1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1619 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1620 # -------------------------------------------------------
1621 # Tests whether HEADER exists and can be compiled using the include files in
1622 # INCLUDES, setting the cache variable VAR accordingly.
1623 ac_fn_c_check_header_compile ()
1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1627 $as_echo_n "checking for $2... " >&6; }
1628 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1629 $as_echo_n "(cached) " >&6
1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1632 /* end confdefs.h. */
1636 if ac_fn_c_try_compile "$LINENO"; then :
1641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1645 $as_echo "$ac_res" >&6; }
1646 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1648 } # ac_fn_c_check_header_compile
1650 # ac_fn_c_try_link LINENO
1651 # -----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext conftest$ac_exeext
1657 if { { ac_try="$ac_link"
1659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1660 *) ac_try_echo
=$ac_try;;
1662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>conftest.err
1666 if test -s conftest.err
; then
1667 grep -v '^ *+' conftest.err
>conftest.er1
1668 cat conftest.er1
>&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest
$ac_exeext && {
1676 test "$cross_compiling" = yes ||
1677 $as_test_x conftest
$ac_exeext
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.
$ac_ext >&5
1686 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1687 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1688 # interfere with the next link command; also delete a directory that is
1689 # left behind by Apple's compiler. We do this before executing the actions.
1690 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1691 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1694 } # ac_fn_c_try_link
1696 # ac_fn_c_check_func LINENO FUNC VAR
1697 # ----------------------------------
1698 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1699 ac_fn_c_check_func
()
1701 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1703 $as_echo_n "checking for $2... " >&6; }
1704 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1705 $as_echo_n "(cached) " >&6
1707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h. */
1709 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1711 #define $2 innocuous_$2
1713 /* System header to define __stub macros and hopefully few prototypes,
1714 which can conflict with char $2 (); below.
1715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1716 <limits.h> exists even on freestanding compilers. */
1719 # include <limits.h>
1721 # include <assert.h>
1726 /* Override any GCC internal prototype to avoid an error.
1727 Use char because int might match the return type of a GCC
1728 builtin and then its argument prototype would still apply. */
1733 /* The GNU C library defines this for functions which it implements
1734 to always fail with ENOSYS. Some functions are actually named
1735 something starting with __ and the normal name is an alias. */
1736 #if defined __stub_$2 || defined __stub___$2
1748 if ac_fn_c_try_link
"$LINENO"; then :
1753 rm -f core conftest.err conftest.
$ac_objext \
1754 conftest
$ac_exeext conftest.
$ac_ext
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1761 } # ac_fn_c_check_func
1763 # ac_fn_c_check_decl LINENO SYMBOL VAR
1764 # ------------------------------------
1765 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1766 ac_fn_c_check_decl
()
1768 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1769 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1770 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1772 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1773 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1774 $as_echo_n "(cached) " >&6
1776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1782 #ifndef $as_decl_name
1784 (void) $as_decl_use;
1786 (void) $as_decl_name;
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1806 } # ac_fn_c_check_decl
1808 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1809 # -------------------------------------------
1810 # Tests whether TYPE exists after having included INCLUDES, setting cache
1811 # variable VAR accordingly.
1812 ac_fn_c_check_type
()
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818 $as_echo_n "(cached) " >&6
1821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1833 if ac_fn_c_try_compile
"$LINENO"; then :
1834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1846 if ac_fn_c_try_compile
"$LINENO"; then :
1851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1860 } # ac_fn_c_check_type
1861 cat >config.log
<<_ACEOF
1862 This file contains any messages produced by compilers while
1863 running configure, to aid debugging if configure makes a mistake.
1865 It was created by $as_me, which was
1866 generated by GNU Autoconf 2.64. Invocation command line was
1878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1879 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1880 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1881 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1882 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1885 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1887 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1888 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1890 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1891 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1892 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1893 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1901 test -z "$as_dir" && as_dir
=.
1902 $as_echo "PATH: $as_dir"
1918 # Keep a trace of the command line.
1919 # Strip out --no-create and --no-recursion so they do not pile up.
1920 # Strip out --silent because we don't want to record it for future runs.
1921 # Also quote any args containing shell meta-characters.
1922 # Make two passes to allow for proper duplicate-argument suppression.
1926 ac_must_keep_next
=false
1932 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1933 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1934 |
-silent |
--silent |
--silen |
--sile |
--sil)
1937 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1940 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1942 as_fn_append ac_configure_args1
" '$ac_arg'"
1943 if test $ac_must_keep_next = true
; then
1944 ac_must_keep_next
=false
# Got value, back to normal.
1947 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1948 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1949 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1950 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1951 case "$ac_configure_args0 " in
1952 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1955 -* ) ac_must_keep_next
=true
;;
1958 as_fn_append ac_configure_args
" '$ac_arg'"
1963 { ac_configure_args0
=; unset ac_configure_args0
;}
1964 { ac_configure_args1
=; unset ac_configure_args1
;}
1966 # When interrupted or exit'd, cleanup temporary files, and complete
1967 # config.log. We remove comments because anyway the quotes in there
1968 # would cause problems or look ugly.
1969 # WARNING: Use '\'' to represent an apostrophe within the trap.
1970 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1971 trap 'exit_status=$?
1972 # Save into config.log some information that might help in debugging.
1977 ## ---------------- ##
1978 ## Cache variables. ##
1979 ## ---------------- ##
1982 # The following way of writing the cache mishandles newlines in values,
1984 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1985 eval ac_val=\$$ac_var
1989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1993 _ | IFS | as_nl) ;; #(
1994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1995 *) { eval $ac_var=; unset $ac_var;} ;;
2000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 ## ----------------- ##
2016 ## Output variables. ##
2017 ## ----------------- ##
2020 for ac_var in $ac_subst_vars
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2030 if test -n "$ac_subst_files"; then
2032 ## ------------------- ##
2033 ## File substitutions. ##
2034 ## ------------------- ##
2037 for ac_var
in $ac_subst_files
2039 eval ac_val
=\$
$ac_var
2041 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2043 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -s confdefs.h; then
2058 test "$ac_signal" != 0 &&
2059 $as_echo "$as_me: caught signal $ac_signal"
2060 $as_echo "$as_me: exit $exit_status"
2062 rm -f core *.core core.conftest.* &&
2063 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2066 for ac_signal
in 1 2 13 15; do
2067 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2071 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2072 rm -f -r conftest
* confdefs.h
2074 $as_echo "/* confdefs.h */" > confdefs.h
2076 # Predefined preprocessor variables.
2078 cat >>confdefs.h
<<_ACEOF
2079 #define PACKAGE_NAME "$PACKAGE_NAME"
2082 cat >>confdefs.h
<<_ACEOF
2083 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2086 cat >>confdefs.h
<<_ACEOF
2087 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2090 cat >>confdefs.h
<<_ACEOF
2091 #define PACKAGE_STRING "$PACKAGE_STRING"
2094 cat >>confdefs.h
<<_ACEOF
2095 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_URL "$PACKAGE_URL"
2103 # Let the site file select an alternate cache file if it wants to.
2104 # Prefer an explicitly selected file to automatically selected ones.
2107 if test -n "$CONFIG_SITE"; then
2108 ac_site_file1
=$CONFIG_SITE
2109 elif test "x$prefix" != xNONE
; then
2110 ac_site_file1
=$prefix/share
/config.site
2111 ac_site_file2
=$prefix/etc
/config.site
2113 ac_site_file1
=$ac_default_prefix/share
/config.site
2114 ac_site_file2
=$ac_default_prefix/etc
/config.site
2116 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2118 test "x$ac_site_file" = xNONE
&& continue
2119 if test -r "$ac_site_file"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2121 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2122 sed 's/^/| /' "$ac_site_file" >&5
2127 if test -r "$cache_file"; then
2128 # Some versions of bash will fail to source /dev/null (special
2129 # files actually), so we avoid doing that.
2130 if test -f "$cache_file"; then
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2132 $as_echo "$as_me: loading cache $cache_file" >&6;}
2134 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2135 *) .
"./$cache_file";;
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2140 $as_echo "$as_me: creating cache $cache_file" >&6;}
2144 # Check that the precious variables saved in the cache have kept the same
2146 ac_cache_corrupted
=false
2147 for ac_var
in $ac_precious_vars; do
2148 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2149 eval ac_new_set
=\
$ac_env_${ac_var}_set
2150 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2151 eval ac_new_val
=\
$ac_env_${ac_var}_value
2152 case $ac_old_set,$ac_new_set in
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2156 ac_cache_corrupted
=: ;;
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2159 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2160 ac_cache_corrupted
=: ;;
2163 if test "x$ac_old_val" != "x$ac_new_val"; then
2164 # differences in whitespace do not lead to failure.
2165 ac_old_val_w
=`echo x $ac_old_val`
2166 ac_new_val_w
=`echo x $ac_new_val`
2167 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2169 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2170 ac_cache_corrupted
=:
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2173 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2174 eval $ac_var=\
$ac_old_val
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2177 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2179 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2182 # Pass precious variables to config.status.
2183 if test "$ac_new_set" = set; then
2185 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2186 *) ac_arg
=$ac_var=$ac_new_val ;;
2188 case " $ac_configure_args " in
2189 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2190 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2194 if $ac_cache_corrupted; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2198 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2199 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2201 ## -------------------- ##
2202 ## Main body of script. ##
2203 ## -------------------- ##
2206 ac_cpp
='$CPP $CPPFLAGS'
2207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2215 ac_config_headers
="$ac_config_headers config.h:config.in"
2220 ac_cpp
='$CPP $CPPFLAGS'
2221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2224 if test -n "$ac_tool_prefix"; then
2225 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2226 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2228 $as_echo_n "checking for $ac_word... " >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then :
2230 $as_echo_n "(cached) " >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2255 $as_echo "$CC" >&6; }
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2258 $as_echo "no" >&6; }
2263 if test -z "$ac_cv_prog_CC"; then
2265 # Extract the first word of "gcc", so it can be a program name with args.
2266 set dummy gcc
; ac_word
=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2282 ac_cv_prog_ac_ct_CC
="gcc"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295 $as_echo "$ac_ct_CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2301 if test "x$ac_ct_CC" = x
; then
2304 case $cross_compiling:$ac_tool_warned in
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2308 ac_tool_warned
=yes ;;
2316 if test -z "$CC"; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2319 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2325 if test -n "$CC"; then
2326 ac_cv_prog_CC
="$CC" # Let the user override the test.
2328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir
=.
2333 for ac_exec_ext
in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test -n "$CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2348 $as_echo "$CC" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2357 if test -z "$CC"; then
2358 # Extract the first word of "cc", so it can be a program name with args.
2359 set dummy cc
; ac_word
=$2
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2361 $as_echo_n "checking for $ac_word... " >&6; }
2362 if test "${ac_cv_prog_CC+set}" = set; then :
2363 $as_echo_n "(cached) " >&6
2365 if test -n "$CC"; then
2366 ac_cv_prog_CC
="$CC" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2376 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2377 ac_prog_rejected
=yes
2381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 if test $ac_prog_rejected = yes; then
2389 # We found a bogon in the path, so make sure we never use it.
2390 set dummy
$ac_cv_prog_CC
2392 if test $# != 0; then
2393 # We chose a different compiler from the bogus one.
2394 # However, it has the same basename, so the bogon will be chosen
2395 # first if we set CC to just the basename; use the full file name.
2397 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2403 if test -n "$CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405 $as_echo "$CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2413 if test -z "$CC"; then
2414 if test -n "$ac_tool_prefix"; then
2415 for ac_prog
in cl.exe
2417 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2418 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if test "${ac_cv_prog_CC+set}" = set; then :
2422 $as_echo_n "(cached) " >&6
2424 if test -n "$CC"; then
2425 ac_cv_prog_CC
="$CC" # Let the user override the test.
2427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir
=.
2432 for ac_exec_ext
in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test -n "$CC"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2447 $as_echo "$CC" >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2454 test -n "$CC" && break
2457 if test -z "$CC"; then
2459 for ac_prog
in cl.exe
2461 # Extract the first word of "$ac_prog", so it can be a program name with args.
2462 set dummy
$ac_prog; ac_word
=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$ac_ct_CC"; then
2469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir
=.
2476 for ac_exec_ext
in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_ac_ct_CC
="$ac_prog"
2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2489 if test -n "$ac_ct_CC"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2491 $as_echo "$ac_ct_CC" >&6; }
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2498 test -n "$ac_ct_CC" && break
2501 if test "x$ac_ct_CC" = x
; then
2504 case $cross_compiling:$ac_tool_warned in
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2508 ac_tool_warned
=yes ;;
2517 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 as_fn_error
"no acceptable C compiler found in \$PATH
2520 See \`config.log' for more details." "$LINENO" 5; }
2522 # Provide some information about the compiler.
2523 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2526 for ac_option
in --version -v -V -qversion; do
2527 { { ac_try
="$ac_compiler $ac_option >&5"
2529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2536 if test -s conftest.err; then
2538 ... rest of stderr output deleted ...
2539 10q' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 rm -f conftest.er1 conftest.err
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; }
2547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2548 /* end confdefs.h. */
2558 ac_clean_files_save=$ac_clean_files
2559 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2560 # Try to create an executable without -o first, disregard a.out.
2561 # It will help us diagnose broken compilers, and finding out an intuition
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2564 $as_echo_n "checking for C compiler default output file name... " >&6; }
2565 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2567 # The possible output files:
2568 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2571 for ac_file in $ac_files
2574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2575 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 if { { ac_try="$ac_link_default"
2582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2583 *) ac_try_echo
=$ac_try;;
2585 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_link_default") 2>&5
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; }; then :
2591 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2592 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2593 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2594 # so that the user can short-circuit this test for compilers unknown to
2596 for ac_file
in $ac_files ''
2598 test -f "$ac_file" ||
continue
2600 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2603 # We found the default executable, but exeext='' is most
2607 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2609 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2611 # We set ac_cv_exeext here because the later test for it is not
2612 # safe: cross compilers may not add the suffix if given an `-o'
2613 # argument, so we may need to know it at that point already.
2614 # Even if this section looks crufty: it has the advantage of
2621 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2627 $as_echo "$ac_file" >&6; }
2628 if test -z "$ac_file"; then :
2629 $as_echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.
$ac_ext >&5
2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2634 { as_fn_set_status
77
2635 as_fn_error
"C compiler cannot create executables
2636 See \`config.log' for more details." "$LINENO" 5; }; }
2638 ac_exeext
=$ac_cv_exeext
2640 # Check that the compiler produces executables we can run. If not, either
2641 # the compiler is broken, or we cross compile.
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2643 $as_echo_n "checking whether the C compiler works... " >&6; }
2644 # If not cross compiling, check that we can run a simple program.
2645 if test "$cross_compiling" != yes; then
2646 if { ac_try
='./$ac_file'
2647 { { case "(($ac_try" in
2648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2652 $as_echo "$ac_try_echo"; } >&5
2653 (eval "$ac_try") 2>&5
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }; }; then
2659 if test "$cross_compiling" = maybe; then
2662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664 as_fn_error "cannot run C compiled programs.
2665 If you meant to cross compile
, use \
`--host'.
2666 See \`config.log
' for more details." "$LINENO" 5; }
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2673 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2674 ac_clean_files=$ac_clean_files_save
2675 # Check that the compiler produces executables we can run. If not, either
2676 # the compiler is broken, or we cross compile.
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2678 $as_echo_n "checking whether we are cross compiling... " >&6; }
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2680 $as_echo "$cross_compiling" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2683 $as_echo_n "checking for suffix of executables... " >&6; }
2684 if { { ac_try="$ac_link"
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>&5
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; }; then :
2695 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2696 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2697 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2699 for ac_file
in conftest.exe conftest conftest.
*; do
2700 test -f "$ac_file" ||
continue
2702 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2703 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2712 See \`config.log' for more details." "$LINENO" 5; }
2714 rm -f conftest
$ac_cv_exeext
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2716 $as_echo "$ac_cv_exeext" >&6; }
2718 rm -f conftest.
$ac_ext
2719 EXEEXT
=$ac_cv_exeext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2722 $as_echo_n "checking for suffix of object files... " >&6; }
2723 if test "${ac_cv_objext+set}" = set; then :
2724 $as_echo_n "(cached) " >&6
2726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2737 rm -f conftest.o conftest.obj
2738 if { { ac_try
="$ac_compile"
2740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_compile") 2>&5
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }; then :
2749 for ac_file in conftest.o conftest.obj conftest.*; do
2750 test -f "$ac_file" || continue;
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2753 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2758 $as_echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 as_fn_error "cannot compute suffix of object files
: cannot compile
2764 See \
`config.log' for more details." "$LINENO" 5; }
2766 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2769 $as_echo "$ac_cv_objext" >&6; }
2770 OBJEXT=$ac_cv_objext
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2773 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2774 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2775 $as_echo_n "(cached) " >&6
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2791 if ac_fn_c_try_compile "$LINENO"; then :
2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2801 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2802 if test $ac_compiler_gnu = yes; then
2807 ac_test_CFLAGS=${CFLAGS+set}
2808 ac_save_CFLAGS=$CFLAGS
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2810 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2811 if test "${ac_cv_prog_cc_g+set}" = set; then :
2812 $as_echo_n "(cached) " >&6
2814 ac_save_c_werror_flag=$ac_c_werror_flag
2815 ac_c_werror_flag=yes
2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2819 /* end confdefs.h. */
2829 if ac_fn_c_try_compile "$LINENO"; then :
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2844 if ac_fn_c_try_compile "$LINENO"; then :
2847 ac_c_werror_flag=$ac_save_c_werror_flag
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2860 if ac_fn_c_try_compile "$LINENO"; then :
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 ac_c_werror_flag=$ac_save_c_werror_flag
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2871 $as_echo "$ac_cv_prog_cc_g" >&6; }
2872 if test "$ac_test_CFLAGS" = set; then
2873 CFLAGS=$ac_save_CFLAGS
2874 elif test $ac_cv_prog_cc_g = yes; then
2875 if test "$GCC" = yes; then
2881 if test "$GCC" = yes; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2888 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2889 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2890 $as_echo_n "(cached) " >&6
2892 ac_cv_prog_cc_c89=no
2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2895 /* end confdefs.h. */
2898 #include <sys/types.h>
2899 #include <sys/stat.h>
2900 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2901 struct buf { int x; };
2902 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2903 static char *e (p, i)
2909 static char *f (char * (*g) (char **, int), char **p, ...)
2914 s = g (p, va_arg (v,int));
2919 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2920 function prototypes and stuff, but not '\xHH' hex character constants.
2921 These don't provoke an error unfortunately, instead are silently treated
2922 as 'x'. The following induces an error, until -std is added to get
2923 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2924 array size at least. It's necessary to write '\x00'==0 to get something
2925 that's true only with -std. */
2926 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2928 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2929 inside strings and character constants. */
2931 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2933 int test (int i, double x);
2934 struct s1 {int (*f) (int a);};
2935 struct s2 {int (*f) (double a);};
2936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2947 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2948 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2950 CC="$ac_save_CC $ac_arg"
2951 if ac_fn_c_try_compile "$LINENO"; then :
2952 ac_cv_prog_cc_c89=$ac_arg
2954 rm -f core conftest.err conftest.$ac_objext
2955 test "x$ac_cv_prog_cc_c89" != "xno" && break
2957 rm -f conftest.$ac_ext
2962 case "x$ac_cv_prog_cc_c89" in
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2965 $as_echo "none needed" >&6; } ;;
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2968 $as_echo "unsupported" >&6; } ;;
2970 CC="$CC $ac_cv_prog_cc_c89"
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2972 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2974 if test "x$ac_cv_prog_cc_c89" != xno; then :
2979 ac_cpp='$CPP $CPPFLAGS'
2980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2986 ac_cpp='$CPP $CPPFLAGS'
2987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2992 # On Suns, sometimes $CPP names a directory.
2993 if test -n "$CPP" && test -d "$CPP"; then
2996 if test -z "$CPP"; then
2997 if test "${ac_cv_prog_CPP+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 # Double quotes because CPP needs to be expanded
3001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3004 for ac_c_preproc_warn_flag in '' yes
3006 # Use a header file that comes with gcc, so configuring glibc
3007 # with a fresh cross-compiler works.
3008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3009 # <limits.h> exists even on freestanding compilers.
3010 # On the NeXT, cc -E runs the code through the compiler's parser,
3011 # not just through cpp. "Syntax error" is here to catch this case.
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3015 # include <limits.h>
3017 # include <assert.h>
3021 if ac_fn_c_try_cpp "$LINENO"; then :
3024 # Broken: fails on valid input.
3027 rm -f conftest.err conftest.$ac_ext
3029 # OK, works on sane cases. Now check whether nonexistent headers
3030 # can be detected and how.
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3033 #include <ac_nonexistent.h>
3035 if ac_fn_c_try_cpp "$LINENO"; then :
3036 # Broken: success on invalid input.
3039 # Passes both tests.
3043 rm -f conftest.err conftest.$ac_ext
3046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3047 rm -f conftest.err conftest.
$ac_ext
3048 if $ac_preproc_ok; then :
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3061 $as_echo "$CPP" >&6; }
3063 for ac_c_preproc_warn_flag
in '' yes
3065 # Use a header file that comes with gcc, so configuring glibc
3066 # with a fresh cross-compiler works.
3067 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3068 # <limits.h> exists even on freestanding compilers.
3069 # On the NeXT, cc -E runs the code through the compiler's parser,
3070 # not just through cpp. "Syntax error" is here to catch this case.
3071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3074 # include <limits.h>
3076 # include <assert.h>
3080 if ac_fn_c_try_cpp
"$LINENO"; then :
3083 # Broken: fails on valid input.
3086 rm -f conftest.err conftest.
$ac_ext
3088 # OK, works on sane cases. Now check whether nonexistent headers
3089 # can be detected and how.
3090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if ac_fn_c_try_cpp
"$LINENO"; then :
3095 # Broken: success on invalid input.
3098 # Passes both tests.
3102 rm -f conftest.err conftest.
$ac_ext
3105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3106 rm -f conftest.err conftest.
$ac_ext
3107 if $ac_preproc_ok; then :
3110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3112 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3113 See \`config.log' for more details." "$LINENO" 5; }
3117 ac_cpp
='$CPP $CPPFLAGS'
3118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3125 if test "${ac_cv_path_GREP+set}" = set; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -z "$GREP"; then
3129 ac_path_GREP_found
=false
3130 # Loop through the user's path and test for each of PROGNAME-LIST
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_prog
in grep ggrep
; do
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3139 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3140 # Check for GNU ac_path_GREP and select it if it is found.
3141 # Check for GNU $ac_path_GREP
3142 case `"$ac_path_GREP" --version 2>&1` in
3144 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3147 $as_echo_n 0123456789 >"conftest.in"
3150 cat "conftest.in" "conftest.in" >"conftest.tmp"
3151 mv "conftest.tmp" "conftest.in"
3152 cp "conftest.in" "conftest.nl"
3153 $as_echo 'GREP' >> "conftest.nl"
3154 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3155 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3156 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3157 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3158 # Best one so far, save it but keep looking for a better one
3159 ac_cv_path_GREP
="$ac_path_GREP"
3160 ac_path_GREP_max
=$ac_count
3162 # 10*(2^10) chars as input seems more than enough
3163 test $ac_count -gt 10 && break
3165 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3168 $ac_path_GREP_found && break 3
3173 if test -z "$ac_cv_path_GREP"; then
3174 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3177 ac_cv_path_GREP
=$GREP
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3182 $as_echo "$ac_cv_path_GREP" >&6; }
3183 GREP
="$ac_cv_path_GREP"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3187 $as_echo_n "checking for egrep... " >&6; }
3188 if test "${ac_cv_path_EGREP+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3191 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3192 then ac_cv_path_EGREP
="$GREP -E"
3194 if test -z "$EGREP"; then
3195 ac_path_EGREP_found
=false
3196 # Loop through the user's path and test for each of PROGNAME-LIST
3197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3201 test -z "$as_dir" && as_dir
=.
3202 for ac_prog
in egrep; do
3203 for ac_exec_ext
in '' $ac_executable_extensions; do
3204 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3205 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3206 # Check for GNU ac_path_EGREP and select it if it is found.
3207 # Check for GNU $ac_path_EGREP
3208 case `"$ac_path_EGREP" --version 2>&1` in
3210 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3213 $as_echo_n 0123456789 >"conftest.in"
3216 cat "conftest.in" "conftest.in" >"conftest.tmp"
3217 mv "conftest.tmp" "conftest.in"
3218 cp "conftest.in" "conftest.nl"
3219 $as_echo 'EGREP' >> "conftest.nl"
3220 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3221 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3222 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3223 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3224 # Best one so far, save it but keep looking for a better one
3225 ac_cv_path_EGREP
="$ac_path_EGREP"
3226 ac_path_EGREP_max
=$ac_count
3228 # 10*(2^10) chars as input seems more than enough
3229 test $ac_count -gt 10 && break
3231 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3234 $ac_path_EGREP_found && break 3
3239 if test -z "$ac_cv_path_EGREP"; then
3240 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3243 ac_cv_path_EGREP
=$EGREP
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3249 $as_echo "$ac_cv_path_EGREP" >&6; }
3250 EGREP
="$ac_cv_path_EGREP"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3254 $as_echo_n "checking for ANSI C header files... " >&6; }
3255 if test "${ac_cv_header_stdc+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3273 if ac_fn_c_try_compile
"$LINENO"; then :
3274 ac_cv_header_stdc
=yes
3276 ac_cv_header_stdc
=no
3278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3280 if test $ac_cv_header_stdc = yes; then
3281 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3288 $EGREP "memchr" >/dev
/null
2>&1; then :
3291 ac_cv_header_stdc
=no
3297 if test $ac_cv_header_stdc = yes; then
3298 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3305 $EGREP "free" >/dev
/null
2>&1; then :
3308 ac_cv_header_stdc
=no
3314 if test $ac_cv_header_stdc = yes; then
3315 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3316 if test "$cross_compiling" = yes; then :
3319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 #if ((' ' & 0x0FF) == 0x020)
3324 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3325 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3327 # define ISLOWER(c) \
3328 (('a' <= (c) && (c) <= 'i') \
3329 || ('j' <= (c) && (c) <= 'r') \
3330 || ('s' <= (c) && (c) <= 'z'))
3331 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3334 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3339 for (i = 0; i < 256; i++)
3340 if (XOR (islower (i), ISLOWER (i))
3341 || toupper (i) != TOUPPER (i))
3346 if ac_fn_c_try_run
"$LINENO"; then :
3349 ac_cv_header_stdc
=no
3351 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3352 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3358 $as_echo "$ac_cv_header_stdc" >&6; }
3359 if test $ac_cv_header_stdc = yes; then
3361 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3366 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3367 inttypes.h stdint.h unistd.h
3369 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3370 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3372 eval as_val
=\$
$as_ac_Header
3373 if test "x$as_val" = x
""yes; then :
3374 cat >>confdefs.h
<<_ACEOF
3375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3384 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3385 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3392 if test "$MINIX" = yes; then
3394 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3397 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3400 $as_echo "#define _MINIX 1" >>confdefs.h
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3406 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3407 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3413 # define __EXTENSIONS__ 1
3414 $ac_includes_default
3423 if ac_fn_c_try_compile
"$LINENO"; then :
3424 ac_cv_safe_to_define___extensions__
=yes
3426 ac_cv_safe_to_define___extensions__
=no
3428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3431 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3432 test $ac_cv_safe_to_define___extensions__ = yes &&
3433 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3435 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3437 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3439 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3441 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3447 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3448 for ac_t
in install-sh
install.sh shtool
; do
3449 if test -f "$ac_dir/$ac_t"; then
3451 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3456 if test -z "$ac_aux_dir"; then
3457 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3460 # These three variables are undocumented and unsupported,
3461 # and are intended to be withdrawn in a future Autoconf release.
3462 # They can cause serious problems if a builder's source tree is in a directory
3463 # whose full name contains unusual characters.
3464 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3465 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3466 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3469 # Make sure we can run config.sub.
3470 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3471 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3474 $as_echo_n "checking build system type... " >&6; }
3475 if test "${ac_cv_build+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 ac_build_alias
=$build_alias
3479 test "x$ac_build_alias" = x
&&
3480 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3481 test "x$ac_build_alias" = x
&&
3482 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3483 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3484 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3488 $as_echo "$ac_cv_build" >&6; }
3489 case $ac_cv_build in
3491 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3494 ac_save_IFS
=$IFS; IFS
='-'
3500 # Remember, the first character of IFS is used to create $*,
3501 # except with old shells:
3504 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3508 $as_echo_n "checking host system type... " >&6; }
3509 if test "${ac_cv_host+set}" = set; then :
3510 $as_echo_n "(cached) " >&6
3512 if test "x$host_alias" = x
; then
3513 ac_cv_host
=$ac_cv_build
3515 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3516 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3521 $as_echo "$ac_cv_host" >&6; }
3524 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3527 ac_save_IFS
=$IFS; IFS
='-'
3533 # Remember, the first character of IFS is used to create $*,
3534 # except with old shells:
3537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3541 $as_echo_n "checking target system type... " >&6; }
3542 if test "${ac_cv_target+set}" = set; then :
3543 $as_echo_n "(cached) " >&6
3545 if test "x$target_alias" = x
; then
3546 ac_cv_target
=$ac_cv_host
3548 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3549 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3554 $as_echo "$ac_cv_target" >&6; }
3555 case $ac_cv_target in
3557 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3559 target
=$ac_cv_target
3560 ac_save_IFS
=$IFS; IFS
='-'
3566 # Remember, the first character of IFS is used to create $*,
3567 # except with old shells:
3570 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3573 # The aliases save the names the user supplied, while $host etc.
3574 # will get canonicalized.
3575 test -n "$target_alias" &&
3576 test "$program_prefix$program_suffix$program_transform_name" = \
3578 program_prefix
=${target_alias}-
3581 # Find a good install program. We prefer a C program (faster),
3582 # so one script is as good as another. But avoid the broken or
3583 # incompatible versions:
3584 # SysV /etc/install, /usr/sbin/install
3585 # SunOS /usr/etc/install
3586 # IRIX /sbin/install
3588 # AmigaOS /C/install, which installs bootblocks on floppy discs
3589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3592 # OS/2's system install, which has a completely different semantic
3593 # ./install, which can be erroneously created by make from ./install.sh.
3594 # Reject install programs that cannot install multiple files.
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3596 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3597 if test -z "$INSTALL"; then
3598 if test "${ac_cv_path_install+set}" = set; then :
3599 $as_echo_n "(cached) " >&6
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 # Account for people who put trailing slashes in PATH elements.
3607 case $as_dir/ in #((
3608 .
/ | .
// |
/[cC
]/* | \
3609 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3610 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3613 # OSF1 and SCO ODT 3.0 have their own names for install.
3614 # Don't use installbsd from OSF since it installs stuff as root
3616 for ac_prog
in ginstall scoinst
install; do
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3619 if test $ac_prog = install &&
3620 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3621 # AIX install. It has an incompatible calling convention.
3623 elif test $ac_prog = install &&
3624 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3625 # program-specific install script used by HP pwplus--don't use.
3628 rm -rf conftest.one conftest.two conftest.dir
3629 echo one
> conftest.one
3630 echo two
> conftest.two
3632 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3633 test -s conftest.one
&& test -s conftest.two
&&
3634 test -s conftest.dir
/conftest.one
&&
3635 test -s conftest.dir
/conftest.two
3637 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3650 rm -rf conftest.one conftest.two conftest.dir
3653 if test "${ac_cv_path_install+set}" = set; then
3654 INSTALL
=$ac_cv_path_install
3656 # As a last resort, use the slow shell script. Don't cache a
3657 # value for INSTALL within a source directory, because that will
3658 # break other packages using the cache if that directory is
3659 # removed, or if the value is a relative name.
3660 INSTALL
=$ac_install_sh
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3664 $as_echo "$INSTALL" >&6; }
3666 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3667 # It thinks the first close brace ends the variable substitution.
3668 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3670 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3672 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3675 test "$program_prefix" != NONE
&&
3676 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3677 # Use a double $ so make ignores it.
3678 test "$program_suffix" != NONE
&&
3679 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3680 # Double any \ or $.
3681 # By default was `s,x,x', remove it if useless.
3682 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3683 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3687 $as_echo_n "checking for ANSI C header files... " >&6; }
3688 if test "${ac_cv_header_stdc+set}" = set; then :
3689 $as_echo_n "(cached) " >&6
3691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3692 /* end confdefs.h. */
3706 if ac_fn_c_try_compile
"$LINENO"; then :
3707 ac_cv_header_stdc
=yes
3709 ac_cv_header_stdc
=no
3711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3713 if test $ac_cv_header_stdc = yes; then
3714 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3716 /* end confdefs.h. */
3720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3721 $EGREP "memchr" >/dev
/null
2>&1; then :
3724 ac_cv_header_stdc
=no
3730 if test $ac_cv_header_stdc = yes; then
3731 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3733 /* end confdefs.h. */
3737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3738 $EGREP "free" >/dev
/null
2>&1; then :
3741 ac_cv_header_stdc
=no
3747 if test $ac_cv_header_stdc = yes; then
3748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3749 if test "$cross_compiling" = yes; then :
3752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3756 #if ((' ' & 0x0FF) == 0x020)
3757 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3758 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3760 # define ISLOWER(c) \
3761 (('a' <= (c) && (c) <= 'i') \
3762 || ('j' <= (c) && (c) <= 'r') \
3763 || ('s' <= (c) && (c) <= 'z'))
3764 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3767 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3772 for (i = 0; i < 256; i++)
3773 if (XOR (islower (i), ISLOWER (i))
3774 || toupper (i) != TOUPPER (i))
3779 if ac_fn_c_try_run
"$LINENO"; then :
3782 ac_cv_header_stdc
=no
3784 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3785 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3791 $as_echo "$ac_cv_header_stdc" >&6; }
3792 if test $ac_cv_header_stdc = yes; then
3794 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3799 for ac_header
in sgtty.h termio.h termios.h sys
/reg.h string.h proc_service.h sys
/procfs.h thread_db.h linux
/elf.h stdlib.h unistd.h errno.h fcntl.h signal.h sys
/file.h malloc.h sys
/ioctl.h netinet
/in.h sys
/socket.h netdb.h netinet
/tcp.h arpa
/inet.h sys
/wait.h
3801 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3802 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3803 eval as_val
=\$
$as_ac_Header
3804 if test "x$as_val" = x
""yes; then :
3805 cat >>confdefs.h
<<_ACEOF
3806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3813 for ac_func
in pread pwrite pread64
3815 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3816 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3817 eval as_val
=\$
$as_ac_var
3818 if test "x$as_val" = x
""yes; then :
3819 cat >>confdefs.h
<<_ACEOF
3820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3826 for ac_func
in memmem
3828 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
3829 if test "x$ac_cv_func_memmem" = x
""yes; then :
3830 cat >>confdefs.h
<<_ACEOF
3831 #define HAVE_MEMMEM 1
3835 case " $LIBOBJS " in
3836 *" $ac_func.$ac_objext "* ) ;;
3837 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
3851 # Check whether --with-ust was given.
3852 if test "${with_ust+set}" = set; then :
3857 # Check whether --with-ust_include was given.
3858 if test "${with_ust_include+set}" = set; then :
3859 withval
=$with_ust_include;
3863 # Check whether --with-ust_lib was given.
3864 if test "${with_ust_lib+set}" = set; then :
3865 withval
=$with_ust_lib;
3879 ustlibs
="-L$with_ust/lib -lust"
3880 ustinc
="-I$with_ust/include "
3883 if test "x$with_ust_include" != x
; then
3884 ustinc
="-I$with_ust_include "
3886 if test "x$with_ust_lib" != x
; then
3887 ustlibs
="-L$with_ust_lib -lust"
3890 if test "x$with_ust" != "xno"; then
3891 saved_CFLAGS
="$CFLAGS"
3892 CFLAGS
="$CFLAGS $ustinc"
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ust" >&5
3894 $as_echo_n "checking for ust... " >&6; }
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3898 #define CONFIG_UST_GDB_INTEGRATION
3899 #include <ust/ust.h>
3909 if ac_fn_c_try_compile
"$LINENO"; then :
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3911 $as_echo "yes" >&6; };
3912 $as_echo "#define HAVE_UST 1" >>confdefs.h
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }; ustlibs
= ; ustinc
=
3918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3919 CFLAGS
="$saved_CFLAGS"
3922 # Flags needed for UST
3926 # Check whether --enable-werror was given.
3927 if test "${enable_werror+set}" = set; then :
3928 enableval
=$enable_werror; case "${enableval}" in
3929 yes | y
) ERROR_ON_WARNING
="yes" ;;
3930 no | n
) ERROR_ON_WARNING
="no" ;;
3931 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
3936 # Enable -Werror by default when using gcc
3937 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
3938 ERROR_ON_WARNING
=yes
3942 if test "${ERROR_ON_WARNING}" = yes ; then
3943 WERROR_CFLAGS
="-Werror"
3946 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
3947 -Wformat-nonliteral -Wno-char-subscripts"
3950 if test "x$GCC" = xyes
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
3953 $as_echo_n "checking compiler warning flags... " >&6; }
3954 # Separate out the -Werror flag as some files just cannot be
3955 # compiled with it enabled.
3956 for w
in ${build_warnings}; do
3958 -Werr*) WERROR_CFLAGS
=-Werror ;;
3959 *) # Check that GCC accepts it
3960 saved_CFLAGS
="$CFLAGS"
3962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3973 if ac_fn_c_try_compile
"$LINENO"; then :
3974 WARN_CFLAGS
="${WARN_CFLAGS} $w"
3976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3977 CFLAGS
="$saved_CFLAGS"
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
3981 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
3988 for ac_func in dladdr
3990 ac_fn_c_check_func "$LINENO" "dladdr
" "ac_cv_func_dladdr
"
3991 if test "x
$ac_cv_func_dladdr" = x""yes; then :
3992 cat >>confdefs.h <<_ACEOF
3993 #define HAVE_DLADDR 1
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for errno
" >&5
4003 $as_echo_n "checking
for errno...
" >&6; }
4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4005 /* end confdefs.h. */
4013 static int x; x = errno;
4018 if ac_fn_c_try_link "$LINENO"; then :
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes - in errno.h
" >&5
4020 $as_echo "yes - in errno.h
" >&6; };
4021 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4024 rm -f core conftest.err conftest.
$ac_objext \
4025 conftest
$ac_exeext conftest.
$ac_ext
4026 if test $have_errno = no
; then
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4036 extern int errno; static int x; x = errno;
4041 if ac_fn_c_try_link
"$LINENO"; then :
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
4043 $as_echo "yes - must define" >&6; };
4044 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4046 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4052 rm -f core conftest.err conftest.
$ac_objext \
4053 conftest
$ac_exeext conftest.
$ac_ext
4056 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
4057 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
4063 cat >>confdefs.h
<<_ACEOF
4064 #define HAVE_DECL_STRERROR $ac_have_decl
4066 ac_fn_c_check_decl
"$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
4067 if test "x$ac_cv_have_decl_perror" = x
""yes; then :
4073 cat >>confdefs.h
<<_ACEOF
4074 #define HAVE_DECL_PERROR $ac_have_decl
4076 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
4077 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
4083 cat >>confdefs.h
<<_ACEOF
4084 #define HAVE_DECL_MEMMEM $ac_have_decl
4088 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
4089 #include <sys/socket.h>
4092 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
4094 cat >>confdefs.h
<<_ACEOF
4095 #define HAVE_SOCKLEN_T 1
4104 # Check whether --with-pkgversion was given.
4105 if test "${with_pkgversion+set}" = set; then :
4106 withval
=$with_pkgversion; case "$withval" in
4107 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
4109 *) PKGVERSION
="($withval) " ;;
4120 # Check whether --with-bugurl was given.
4121 if test "${with_bugurl+set}" = set; then :
4122 withval
=$with_bugurl; case "$withval" in
4123 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
4126 *) BUGURL
="$withval"
4130 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
4140 REPORT_BUGS_TO
="<$BUGURL>"
4141 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
4148 cat >>confdefs.h
<<_ACEOF
4149 #define PKGVERSION "$PKGVERSION"
4153 cat >>confdefs.h
<<_ACEOF
4154 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4158 # Check for various supplementary target information (beyond the
4159 # triplet) which might affect the choices in configure.srv.
4161 i
[34567]86-*-linux*)
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
4163 $as_echo_n "checking if building for x86-64... " >&6; }
4164 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
4165 $as_echo_n "(cached) " >&6
4167 save_CPPFLAGS
="$CPPFLAGS"
4168 CPPFLAGS
="$CPPFLAGS $CFLAGS"
4169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4178 $EGREP "got it" >/dev
/null
2>&1; then :
4179 gdb_cv_i386_is_x86_64
=yes
4181 gdb_cv_i386_is_x86_64
=no
4185 CPPFLAGS
="$save_CPPFLAGS"
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_i386_is_x86_64" >&5
4188 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Coldfire" >&5
4192 $as_echo_n "checking if building for Coldfire... " >&6; }
4193 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
4194 $as_echo_n "(cached) " >&6
4196 save_CPPFLAGS
="$CPPFLAGS"
4197 CPPFLAGS
="$CPPFLAGS $CFLAGS"
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 #ifdef __mcoldfire__
4206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4207 $EGREP "got it" >/dev
/null
2>&1; then :
4208 gdb_cv_m68k_is_coldfire
=yes
4210 gdb_cv_m68k_is_coldfire
=no
4214 CPPFLAGS
="$save_CPPFLAGS"
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_m68k_is_coldfire" >&5
4217 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
4221 .
${srcdir}/configure.srv
4223 if test "${srv_mingwce}" = "yes"; then
4225 elif test "${srv_mingw}" = "yes"; then
4226 LIBS
="$LIBS -lws2_32"
4227 elif test "${srv_qnx}" = "yes"; then
4228 LIBS
="$LIBS -lsocket"
4231 if test "${srv_mingw}" = "yes"; then
4233 $as_echo "#define USE_WIN32API 1" >>confdefs.h
4237 if test "${srv_linux_usrregs}" = "yes"; then
4239 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
4243 if test "${srv_linux_regsets}" = "yes"; then
4245 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
4249 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
4250 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4255 #include <sys/ptrace.h>
4264 if ac_fn_c_try_compile
"$LINENO"; then :
4265 gdbsrv_cv_have_ptrace_getregs
=yes
4267 gdbsrv_cv_have_ptrace_getregs
=no
4269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
4273 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
4274 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
4276 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
4281 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
4282 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
4283 $as_echo_n "(cached) " >&6
4285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 #include <sys/ptrace.h>
4296 if ac_fn_c_try_compile
"$LINENO"; then :
4297 gdbsrv_cv_have_ptrace_getfpxregs
=yes
4299 gdbsrv_cv_have_ptrace_getfpxregs
=no
4301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
4305 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
4306 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
4308 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
4313 if test "$ac_cv_header_sys_procfs_h" = yes; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
4315 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
4316 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
4317 $as_echo_n "(cached) " >&6
4319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4323 /* Needed for new procfs interface on sparc-solaris. */
4324 #define _STRUCTURED_PROC 1
4325 #include <sys/procfs.h>
4334 if ac_fn_c_try_compile
"$LINENO"; then :
4335 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
4337 bfd_cv_have_sys_procfs_type_lwpid_t
=no
4340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4343 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
4345 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
4349 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
4352 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
4353 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4360 /* Needed for new procfs interface on sparc-solaris. */
4361 #define _STRUCTURED_PROC 1
4362 #include <sys/procfs.h>
4371 if ac_fn_c_try_compile
"$LINENO"; then :
4372 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
4374 bfd_cv_have_sys_procfs_type_psaddr_t
=no
4377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4380 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
4382 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
4386 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
4389 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
4390 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
4391 $as_echo_n "(cached) " >&6
4393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4397 /* Needed for new procfs interface on sparc-solaris. */
4398 #define _STRUCTURED_PROC 1
4399 #include <sys/procfs.h>
4408 if ac_fn_c_try_compile
"$LINENO"; then :
4409 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
4411 bfd_cv_have_sys_procfs_type_prgregset_t
=no
4414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4417 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
4419 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
4423 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
4426 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
4427 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
4428 $as_echo_n "(cached) " >&6
4430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4434 /* Needed for new procfs interface on sparc-solaris. */
4435 #define _STRUCTURED_PROC 1
4436 #include <sys/procfs.h>
4445 if ac_fn_c_try_compile
"$LINENO"; then :
4446 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
4448 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
4451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4454 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4456 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
4460 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
4466 $as_echo_n "checking for dlopen in -ldl... " >&6; }
4467 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 ac_check_lib_save_LIBS
=$LIBS
4472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4475 /* Override any GCC internal prototype to avoid an error.
4476 Use char because int might match the return type of a GCC
4477 builtin and then its argument prototype would still apply. */
4490 if ac_fn_c_try_link
"$LINENO"; then :
4491 ac_cv_lib_dl_dlopen
=yes
4493 ac_cv_lib_dl_dlopen
=no
4495 rm -f core conftest.err conftest.
$ac_objext \
4496 conftest
$ac_exeext conftest.
$ac_ext
4497 LIBS
=$ac_check_lib_save_LIBS
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
4500 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
4501 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
4502 cat >>confdefs.h
<<_ACEOF
4503 #define HAVE_LIBDL 1
4512 srv_thread_depfiles
=
4516 if test "$srv_linux_thread_db" = "yes"; then
4517 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
4520 $as_echo_n "checking for the dynamic export flag... " >&6; }
4521 old_LDFLAGS
="$LDFLAGS"
4522 # Older GNU ld supports --export-dynamic but --dynamic-list may not be
4524 RDYNAMIC
="-Wl,--dynamic-list=${srcdir}/proc-service.list"
4525 LDFLAGS
="$LDFLAGS $RDYNAMIC"
4526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4537 if ac_fn_c_try_link
"$LINENO"; then :
4538 found
="-Wl,--dynamic-list"
4539 RDYNAMIC
='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
4541 RDYNAMIC
="-rdynamic"
4542 LDFLAGS
="$old_LDFLAGS $RDYNAMIC"
4543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4554 if ac_fn_c_try_link
"$LINENO"; then :
4560 rm -f core conftest.err conftest.
$ac_objext \
4561 conftest
$ac_exeext conftest.
$ac_ext
4563 rm -f core conftest.err conftest.
$ac_objext \
4564 conftest
$ac_exeext conftest.
$ac_ext
4566 LDFLAGS
="$old_LDFLAGS"
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
4568 $as_echo "$found" >&6; }
4570 srv_libs
="-lthread_db"
4573 srv_thread_depfiles
="thread-db.o proc-service.o"
4574 USE_THREAD_DB
="-DUSE_THREAD_DB"
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
4576 $as_echo_n "checking for TD_VERSION... " >&6; }
4577 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
4578 $as_echo_n "(cached) " >&6
4580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4581 /* end confdefs.h. */
4582 #include <thread_db.h>
4591 if ac_fn_c_try_compile
"$LINENO"; then :
4592 gdbsrv_cv_have_td_version
=yes
4594 gdbsrv_cv_have_td_version
=no
4596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
4599 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
4600 if test $gdbsrv_cv_have_td_version = yes; then
4602 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
4608 # Check whether --with-libthread-db was given.
4609 if test "${with_libthread_db+set}" = set; then :
4610 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
4611 srv_libs
="$srv_libthread_db_path"
4616 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
4618 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
4622 if test "$srv_xmlfiles" != ""; then
4623 srv_xmlbuiltin
="xml-builtin.o"
4625 $as_echo "#define USE_XML 1" >>confdefs.h
4628 tmp_xmlfiles
=$srv_xmlfiles
4630 for f
in $tmp_xmlfiles; do
4631 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
4635 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
4636 GDBSERVER_LIBS
="$srv_libs"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
4639 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
4640 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4650 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
4655 if ac_fn_c_try_link
"$LINENO"; then :
4656 gdbsrv_cv_have_sync_builtins
=yes
4658 gdbsrv_cv_have_sync_builtins
=no
4660 rm -f core conftest.err conftest.
$ac_objext \
4661 conftest
$ac_exeext conftest.
$ac_ext
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
4664 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
4665 if test $gdbsrv_cv_have_sync_builtins = yes; then
4667 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
4671 saved_cflags
="$CFLAGS"
4672 CFLAGS
="$CFLAGS -fvisibility=hidden"
4673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4684 if ac_fn_c_try_compile
"$LINENO"; then :
4685 gdbsrv_cv_have_visibility_hidden
=yes
4687 gdbsrv_cv_have_visibility_hidden
=no
4689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 CFLAGS
="$saved_cflags"
4694 # Rather than allowing to build a broken IPA, we simply disable it if
4695 # we don't find a compiler supporting all the features we need.
4696 if test "$ipa_obj" != "" \
4697 -a "$gdbsrv_cv_have_sync_builtins" = yes \
4698 -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
4699 IPA_DEPFILES
="$ipa_obj"
4700 extra_libraries
="libinproctrace.so"
4711 ac_config_files
="$ac_config_files Makefile"
4713 ac_config_commands
="$ac_config_commands default"
4715 cat >confcache
<<\_ACEOF
4716 # This file is a shell script that caches the results of configure
4717 # tests run on this system so they can be shared between configure
4718 # scripts and configure runs, see configure's option --config-cache.
4719 # It is not useful on other systems. If it contains results you don't
4720 # want to keep, you may remove or edit it.
4722 # config.status only pays attention to the cache file if you give it
4723 # the --recheck option to rerun configure.
4725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4731 # The following way of writing the cache mishandles newlines in values,
4732 # but we know of no workaround that is simple, portable, and efficient.
4733 # So, we kill variables containing newlines.
4734 # Ultrix sh set writes to stderr and can't be redirected directly,
4735 # and sets the high bit in the cache file unless we assign to the vars.
4737 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4738 eval ac_val
=\$
$ac_var
4742 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4743 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4746 _ | IFS | as_nl
) ;; #(
4747 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4748 *) { eval $ac_var=; unset $ac_var;} ;;
4754 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4755 *${as_nl}ac_space
=\
*)
4756 # `set' does not quote correctly, so add quotes: double-quote
4757 # substitution turns \\\\ into \\, and sed turns \\ into \.
4760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4763 # `set' quotes correctly as required by POSIX, so do not add quotes.
4764 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4773 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4775 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4777 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4778 if test -w "$cache_file"; then
4779 test "x$cache_file" != "x/dev/null" &&
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4781 $as_echo "$as_me: updating cache $cache_file" >&6;}
4782 cat confcache
>$cache_file
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4785 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4790 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4791 # Let make expand exec_prefix.
4792 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4794 DEFS
=-DHAVE_CONFIG_H
4798 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4799 # 1. Remove the extension, and $U if already installed.
4800 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4801 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4803 # will be set to the directory where LIBOBJS objects are built.
4804 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4805 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4809 LTLIBOBJS
=$ac_ltlibobjs
4813 : ${CONFIG_STATUS=./config.status}
4815 ac_clean_files_save
=$ac_clean_files
4816 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4822 # Generated by $as_me.
4823 # Run this file to recreate the current configuration.
4824 # Compiler output produced by configure, useful for debugging
4825 # configure, is in config.log if it exists.
4831 SHELL=\${CONFIG_SHELL-$SHELL}
4834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4835 ## -------------------- ##
4836 ## M4sh Initialization. ##
4837 ## -------------------- ##
4839 # Be more Bourne compatible
4840 DUALCASE
=1; export DUALCASE
# for MKS sh
4841 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4845 # is contrary to our usage. Disable this feature.
4846 alias -g '${1+"$@"}'='"$@"'
4847 setopt NO_GLOB_SUBST
4849 case `(set -o) 2>/dev/null` in #(
4861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4862 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4865 # Prefer a ksh shell builtin over an external printf program on Solaris,
4866 # but without wasting forks for bash or zsh.
4867 if test -z "$BASH_VERSION$ZSH_VERSION" \
4868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4869 as_echo='print
-r --'
4870 as_echo_n='print
-rn --'
4871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4872 as_echo='printf %s
\n'
4873 as_echo_n='printf %s
'
4875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4876 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4877 as_echo_n='/usr
/ucb
/echo -n'
4879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4880 as_echo_n_body='eval
4884 expr "X$arg" : "X\\(.*\\)$as_nl";
4885 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4887 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4889 export as_echo_n_body
4890 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4893 as_echo='sh
-c $as_echo_body as_echo
'
4896 # The user is always right.
4897 if test "${PATH_SEPARATOR+set}" != set; then
4899 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4900 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4907 # We need space, tab and new line, in precisely that order. Quoting is
4908 # there to prevent editors from complaining about space-tab.
4909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4910 # splitting by setting IFS to empty value.)
4913 # Find who we are. Look in the path if we contain no directory separator.
4915 *[\\/]* ) as_myself=$0 ;;
4916 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir=.
4921 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4927 # We did not find ourselves, most probably we were run as `sh COMMAND'
4928 # in which case we are not to be found in the path.
4929 if test "x$as_myself" = x
; then
4932 if test ! -f "$as_myself"; then
4933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4937 # Unset variables that we do not need and which cause bugs (e.g. in
4938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4939 # suppresses any "Segmentation fault" message there. '((' could
4940 # trigger a bug in pdksh 5.2.14.
4941 for as_var
in BASH_ENV ENV MAIL MAILPATH
4942 do eval test x\
${$as_var+set} = xset \
4943 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4956 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4959 # as_fn_error ERROR [LINENO LOG_FD]
4960 # ---------------------------------
4961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4963 # script with status $?, using 1 if that was 0.
4966 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4968 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4971 $as_echo "$as_me: error: $1" >&2
4972 as_fn_exit
$as_status
4976 # as_fn_set_status STATUS
4977 # -----------------------
4978 # Set $? to STATUS, without forking.
4982 } # as_fn_set_status
4986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4996 # Portably unset VAR.
4999 { eval $1=; unset $1;}
5001 as_unset
=as_fn_unset
5002 # as_fn_append VAR VALUE
5003 # ----------------------
5004 # Append the text in VALUE to the end of the definition contained in VAR. Take
5005 # advantage of any shell optimizations that allow amortized linear growth over
5006 # repeated appends, instead of the typical quadratic growth present in naive
5008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5009 eval 'as_fn_append ()
5020 # as_fn_arith ARG...
5021 # ------------------
5022 # Perform arithmetic evaluation on the ARGs, and store the result in the
5023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5024 # must be portable across $(()) and expr.
5025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5026 eval 'as_fn_arith ()
5033 as_val
=`expr "$@" || test $? -eq 1`
5038 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5039 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5045 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5046 as_basename
=basename
5051 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5057 as_me
=`$as_basename -- "$0" ||
5058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5059 X"$0" : 'X\(//\)$' \| \
5060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5062 sed '/^.*\/\([^/][^/]*\)\/*$/{
5076 # Avoid depending upon Character Ranges.
5077 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5078 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5079 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5080 as_cr_digits
='0123456789'
5081 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5083 ECHO_C
= ECHO_N
= ECHO_T
=
5084 case `echo -n x` in #(((((
5086 case `echo 'xy\c'` in
5087 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5089 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5096 rm -f conf$$ conf$$.exe conf$$.
file
5097 if test -d conf$$.dir
; then
5098 rm -f conf$$.dir
/conf$$.
file
5101 mkdir conf$$.dir
2>/dev
/null
5103 if (echo >conf$$.
file) 2>/dev
/null
; then
5104 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5106 # ... but there are two gotchas:
5107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5109 # In both cases, we have to default to `cp -p'.
5110 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5112 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5120 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5121 rmdir conf$$.dir
2>/dev
/null
5126 # Create "$as_dir" as a directory, including parents if necessary.
5131 -*) as_dir
=.
/$as_dir;;
5133 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5137 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5138 *) as_qdir
=$as_dir;;
5140 as_dirs
="'$as_qdir' $as_dirs"
5141 as_dir
=`$as_dirname -- "$as_dir" ||
5142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5143 X"$as_dir" : 'X\(//\)[^/]' \| \
5144 X"$as_dir" : 'X\(//\)$' \| \
5145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5146 $as_echo X"$as_dir" |
5147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5164 test -d "$as_dir" && break
5166 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5167 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
5171 if mkdir
-p .
2>/dev
/null
; then
5172 as_mkdir_p
='mkdir -p "$as_dir"'
5174 test -d .
/-p && rmdir .
/-p
5178 if test -x / >/dev
/null
2>&1; then
5181 if ls -dL / >/dev
/null
2>&1; then
5188 if test -d "$1"; then
5194 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5195 ???[sx]*):;;*)false;;esac;fi
5199 as_executable_p
=$as_test_x
5201 # Sed expression to map a string onto a valid CPP name.
5202 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5204 # Sed expression to map a string onto a valid variable name.
5205 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5209 ## ----------------------------------- ##
5210 ## Main body of $CONFIG_STATUS script. ##
5211 ## ----------------------------------- ##
5213 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5216 # Save the log message, to keep $0 and so on meaningful, and to
5217 # report actual input values of CONFIG_FILES etc. instead of their
5218 # values after options handling.
5220 This file was extended by $as_me, which was
5221 generated by GNU Autoconf 2.64. Invocation command line was
5223 CONFIG_FILES = $CONFIG_FILES
5224 CONFIG_HEADERS = $CONFIG_HEADERS
5225 CONFIG_LINKS = $CONFIG_LINKS
5226 CONFIG_COMMANDS = $CONFIG_COMMANDS
5229 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5234 case $ac_config_files in *"
5235 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5238 case $ac_config_headers in *"
5239 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5244 # Files that config.status was made for.
5245 config_files="$ac_config_files"
5246 config_headers="$ac_config_headers"
5247 config_commands="$ac_config_commands"
5251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5253 \`$as_me' instantiates files and other configuration actions
5254 from templates according to the current configuration. Unless the files
5255 and actions are specified as TAGs, all are instantiated by default.
5257 Usage: $0 [OPTION]... [TAG]...
5259 -h, --help print this help, then exit
5260 -V, --version print version number and configuration settings, then exit
5261 -q, --quiet, --silent
5262 do not print progress messages
5263 -d, --debug don't remove temporary files
5264 --recheck update $as_me by reconfiguring in the same conditions
5265 --file=FILE[:TEMPLATE]
5266 instantiate the configuration file FILE
5267 --header=FILE[:TEMPLATE]
5268 instantiate the configuration header FILE
5270 Configuration files:
5273 Configuration headers:
5276 Configuration commands:
5279 Report bugs to the package provider."
5282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5285 configured by $0, generated by GNU Autoconf 2.64,
5286 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5288 Copyright (C) 2009 Free Software Foundation, Inc.
5289 This config.status script is free software; the Free Software Foundation
5290 gives unlimited permission to copy, distribute and modify it."
5295 test -n "\$AWK" || AWK=awk
5298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5299 # The default lists apply if the user does not specify any file.
5305 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5306 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5317 # Handling of the options.
5318 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5320 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5321 $as_echo "$ac_cs_version"; exit ;;
5322 --debug |
--debu |
--deb |
--de |
--d |
-d )
5324 --file |
--fil |
--fi |
--f )
5327 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5329 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5330 ac_need_defaults
=false
;;
5331 --header |
--heade |
--head |
--hea )
5334 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5336 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5337 ac_need_defaults
=false
;;
5339 # Conflict between --help and --header
5340 as_fn_error
"ambiguous option: \`$1'
5341 Try \`$0 --help' for more information.";;
5342 --help |
--hel |
-h )
5343 $as_echo "$ac_cs_usage"; exit ;;
5344 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5345 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5349 -*) as_fn_error
"unrecognized option: \`$1'
5350 Try \`$0 --help' for more information." ;;
5352 *) as_fn_append ac_config_targets
" $1"
5353 ac_need_defaults
=false
;;
5359 ac_configure_extra_args
=
5361 if $ac_cs_silent; then
5363 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5368 if \$ac_cs_recheck; then
5369 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5371 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5372 CONFIG_SHELL='$SHELL'
5378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5382 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5383 ## Running $as_me. ##
5389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5394 # Handling of arguments.
5395 for ac_config_target
in $ac_config_targets
5397 case $ac_config_target in
5398 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5399 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5400 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5402 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5407 # If the user did not use the arguments to specify the items to instantiate,
5408 # then the envvar interface is used. Set only those that are not.
5409 # We use the long form for the default assignment because of an extremely
5410 # bizarre bug on SunOS 4.1.3.
5411 if $ac_need_defaults; then
5412 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5413 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5414 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5417 # Have a temporary directory for convenience. Make it in the build tree
5418 # simply because there is no reason against having it here, and in addition,
5419 # creating and moving files from /tmp can sometimes cause problems.
5420 # Hook for its removal unless debugging.
5421 # Note that there is a small window in which the directory will not be cleaned:
5422 # after its creation but before its name has been assigned to `$tmp'.
5426 trap 'exit_status=$?
5427 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5429 trap 'as_fn_exit 1' 1 2 13 15
5431 # Create a (secure) tmp directory for tmp files.
5434 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5435 test -n "$tmp" && test -d "$tmp"
5438 tmp
=.
/conf$$
-$RANDOM
5439 (umask 077 && mkdir
"$tmp")
5440 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5442 # Set up the scripts for CONFIG_FILES section.
5443 # No need to generate them if there are no CONFIG_FILES.
5444 # This happens for instance with `./config.status config.h'.
5445 if test -n "$CONFIG_FILES"; then
5448 ac_cr
=`echo X | tr X '\015'`
5449 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5450 # But we know of no other shell where ac_cr would be empty at this
5451 # point, so we can use a bashism as a fallback.
5452 if test "x$ac_cr" = x
; then
5453 eval ac_cr
=\$
\'\\r
\'
5455 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5456 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5462 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5467 echo "cat >conf$$subs.awk <<_ACEOF" &&
5468 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5471 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5472 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5474 for ac_last_try in false false false false false :; do
5475 . ./conf$$subs.sh ||
5476 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5478 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5479 if test $ac_delim_n = $ac_delim_num; then
5481 elif $ac_last_try; then
5482 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5484 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5490 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5494 s/^/S["/; s
/!.
*/"]=/
5504 s/\(.\{148\}\).*/\1/
5506 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5511 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5518 s/\(.\{148\}\).*/\1/
5520 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5524 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5529 ' <conf$$subs.awk | sed '
5534 ' >>$CONFIG_STATUS || ac_write_fail=1
5535 rm -f conf$$subs.awk
5536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5538 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5539 for (key in S) S_is_set[key] = 1
5545 nfields = split(line, field, "@
")
5547 len = length(field[1])
5548 for (i = 2; i < nfields; i++) {
5550 keylen = length(key)
5551 if (S_is_set[key]) {
5553 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5554 len += length(value) + length(field[++i])
5565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5566 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5567 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5570 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5571 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5574 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5575 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5576 # trailing colons and then remove the whole line if VPATH becomes empty
5577 # (actually we leave an empty line to preserve line numbers).
5578 if test "x
$srcdir" = x.; then
5579 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5583 s/^\([^=]*=[ ]*\):*/\1/
5589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5590 fi # test -n "$CONFIG_FILES"
5592 # Set up the scripts for CONFIG_HEADERS section.
5593 # No need to generate them if there are no CONFIG_HEADERS.
5594 # This happens for instance with `./config.status Makefile'.
5595 if test -n "$CONFIG_HEADERS"; then
5596 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5600 # Transform confdefs.h into an awk script `defines.awk', embedded as
5601 # here-document in config.status, that substitutes the proper values into
5602 # config.h.in to produce config.h.
5604 # Create a delimiter string that does not exist in confdefs.h, to ease
5605 # handling of long lines.
5607 for ac_last_try in false false :; do
5608 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5609 if test -z "$ac_t"; then
5611 elif $ac_last_try; then
5612 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5614 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5618 # For the awk script, D is an array of macro values keyed by name,
5619 # likewise P contains macro parameters if any. Preserve backslash
5620 # newline sequences.
5622 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5624 s/.\{148\}/&'"$ac_delim"'/g
5627 s/^[ ]*#[ ]*define[ ][ ]*/ /
5634 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5636 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5640 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5641 D["\
1"]=" \
3\\\\\\n
"\\/p
5643 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5648 s/.\{148\}/&'"$ac_delim"'/g
5653 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5656 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5658 ' <confdefs.h | sed '
5659 s/'"$ac_delim"'/"\\\
5660 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5663 for (key in D) D_is_set[key] = 1
5666 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5668 split(line, arg, " ")
5669 if (arg[1] == "#") {
5673 defundef
= substr
(arg
[1], 2)
5676 split(mac1
, mac2
, "(") #)
5678 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5679 if (D_is_set
[macro
]) {
5680 # Preserve the white space surrounding the "#".
5681 print prefix
"define", macro P
[macro
] D
[macro
]
5684 # Replace #undef with comments. This is necessary, for example,
5685 # in the case of _POSIX_SOURCE, which is predefined and required
5686 # on some systems where configure will not decide to define it.
5687 if (defundef
== "undef") {
5688 print
"/*", prefix defundef
, macro
, "*/"
5696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5697 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5698 fi # test -n "$CONFIG_HEADERS"
5701 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5706 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5708 case $ac_mode$ac_tag in
5710 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5711 :[FH
]-) ac_tag
=-:-;;
5712 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5729 -) ac_f
="$tmp/stdin";;
5730 *) # Look for the file first in the build tree, then in the source tree
5731 # (if the path is not absolute). The absolute path cannot be DOS-style,
5732 # because $ac_f cannot contain `:'.
5736 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5738 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5740 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5741 as_fn_append ac_file_inputs
" '$ac_f'"
5744 # Let's still pretend it is `configure' which instantiates (i.e., don't
5745 # use $as_me), people would be surprised to read:
5746 # /* config.h. Generated by config.status. */
5747 configure_input
='Generated from '`
5748 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5750 if test x
"$ac_file" != x-
; then
5751 configure_input
="$ac_file. $configure_input"
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5753 $as_echo "$as_me: creating $ac_file" >&6;}
5755 # Neutralize special characters interpreted by sed in replacement strings.
5756 case $configure_input in #(
5757 *\
&* |
*\|
* |
*\\* )
5758 ac_sed_conf_input
=`$as_echo "$configure_input" |
5759 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5760 *) ac_sed_conf_input
=$configure_input;;
5764 *:-:* |
*:-) cat >"$tmp/stdin" \
5765 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5770 ac_dir
=`$as_dirname -- "$ac_file" ||
5771 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5772 X"$ac_file" : 'X\(//\)[^/]' \| \
5773 X"$ac_file" : 'X\(//\)$' \| \
5774 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5775 $as_echo X"$ac_file" |
5776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5793 as_dir
="$ac_dir"; as_fn_mkdir_p
5797 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5799 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5800 # A ".." for each directory in $ac_dir_suffix.
5801 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5802 case $ac_top_builddir_sub in
5803 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5804 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5807 ac_abs_top_builddir
=$ac_pwd
5808 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5809 # for backward compatibility:
5810 ac_top_builddir
=$ac_top_build_prefix
5813 .
) # We are building in place.
5815 ac_top_srcdir
=$ac_top_builddir_sub
5816 ac_abs_top_srcdir
=$ac_pwd ;;
5817 [\\/]* | ?
:[\\/]* ) # Absolute name.
5818 ac_srcdir
=$srcdir$ac_dir_suffix;
5819 ac_top_srcdir
=$srcdir
5820 ac_abs_top_srcdir
=$srcdir ;;
5822 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5823 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5824 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5826 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5836 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5837 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5842 # If the template does not know about datarootdir, expand it.
5843 # FIXME: This hack should be removed a few years after 2.60.
5844 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5855 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5856 *datarootdir
*) ac_datarootdir_seen
=yes;;
5857 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5859 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5862 ac_datarootdir_hack='
5863 s&@datadir@&$datadir&g
5864 s&@docdir@&$docdir&g
5865 s&@infodir@&$infodir&g
5866 s&@localedir@&$localedir&g
5867 s&@mandir@&$mandir&g
5868 s&\\\${datarootdir}&$datarootdir&g' ;;
5872 # Neutralize VPATH when `$srcdir' = `.'.
5873 # Shell code in configure.ac might set extrasub.
5874 # FIXME: do we really want to maintain this feature?
5875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5876 ac_sed_extra="$ac_vpsub
5879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5881 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5882 s|@configure_input@|
$ac_sed_conf_input|
;t t
5883 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5884 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5885 s
&@srcdir@
&$ac_srcdir&;t t
5886 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5887 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5888 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5889 s
&@builddir@
&$ac_builddir&;t t
5890 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5891 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5892 s
&@INSTALL@
&$ac_INSTALL&;t t
5893 $ac_datarootdir_hack
5895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5896 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5899 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5900 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5902 which seems to be undefined. Please make sure it is defined." >&5
5903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5904 which seems to be undefined. Please make sure it is defined." >&2;}
5908 -) cat "$tmp/out" && rm -f "$tmp/out";;
5909 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5911 || as_fn_error "could not create $ac_file" "$LINENO" 5
5917 if test x"$ac_file" != x-; then
5919 $as_echo "/* $configure_input */" \
5920 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5921 } >"$tmp/config.h" \
5922 || as_fn_error "could not create $ac_file" "$LINENO" 5
5923 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5928 mv "$tmp/config.h" "$ac_file" \
5929 || as_fn_error "could not create $ac_file" "$LINENO" 5
5932 $as_echo "/* $configure_input */" \
5933 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5934 || as_fn_error "could not create -" "$LINENO" 5
5938 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5939 $as_echo "$as_me: executing $ac_file commands" >&6;}
5944 case $ac_file$ac_mode in
5945 "default":C) case x$CONFIG_HEADERS in
5946 xconfig.h:config.in)
5957 ac_clean_files=$ac_clean_files_save
5959 test $ac_write_fail = 0 ||
5960 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5963 # configure is writing to config.log, and then calls config.status.
5964 # config.status does its own redirection, appending to config.log.
5965 # Unfortunately, on DOS this fails, as config.log is still kept open
5966 # by configure, so config.status won't be able to
write to it
; its
5967 # output is simply discarded. So we exec the FD to /dev/null,
5968 # effectively closing config.log, so it can be properly (re)opened and
5969 # appended to by config.status. When coming back to configure, we
5970 # need to make the FD available again.
5971 if test "$no_create" != yes; then
5973 ac_config_status_args
=
5974 test "$silent" = yes &&
5975 ac_config_status_args
="$ac_config_status_args --quiet"
5977 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5979 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5980 # would make configure fail if this is the last instruction.
5981 $ac_cs_success || as_fn_exit $?
5983 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5985 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}