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
655 program_transform_name
668 enable_option_checking
673 ac_precious_vars
='build_alias
684 # Initialize some variables set by options.
686 ac_init_version
=false
687 ac_unrecognized_opts
=
689 # The variables have the same names as the options, with
690 # dashes changed to underlines.
698 program_transform_name
=s
,x
,x
,
706 # Installation directory options.
707 # These are left unexpanded so users can "make install exec_prefix=/foo"
708 # and all the variables that are supposed to be based on exec_prefix
709 # by default will actually change.
710 # Use braces instead of parens because sh, perl, etc. also accept them.
711 # (The list follows the same order as the GNU Coding Standards.)
712 bindir
='${exec_prefix}/bin'
713 sbindir
='${exec_prefix}/sbin'
714 libexecdir
='${exec_prefix}/libexec'
715 datarootdir
='${prefix}/share'
716 datadir
='${datarootdir}'
717 sysconfdir
='${prefix}/etc'
718 sharedstatedir
='${prefix}/com'
719 localstatedir
='${prefix}/var'
720 includedir
='${prefix}/include'
721 oldincludedir
='/usr/include'
722 docdir
='${datarootdir}/doc/${PACKAGE}'
723 infodir
='${datarootdir}/info'
728 libdir
='${exec_prefix}/lib'
729 localedir
='${datarootdir}/locale'
730 mandir
='${datarootdir}/man'
736 # If the previous option needs an argument, assign it.
737 if test -n "$ac_prev"; then
738 eval $ac_prev=\
$ac_option
744 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
748 # Accept the important Cygnus configure options, so we can diagnose typos.
750 case $ac_dashdash$ac_option in
754 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
756 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
759 -build |
--build |
--buil |
--bui |
--bu)
760 ac_prev
=build_alias
;;
761 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
762 build_alias
=$ac_optarg ;;
764 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
765 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
766 ac_prev
=cache_file
;;
767 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
768 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
769 cache_file
=$ac_optarg ;;
772 cache_file
=config.cache
;;
774 -datadir |
--datadir |
--datadi |
--datad)
776 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
777 datadir
=$ac_optarg ;;
779 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
780 |
--dataroo |
--dataro |
--datar)
781 ac_prev
=datarootdir
;;
782 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
783 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
784 datarootdir
=$ac_optarg ;;
786 -disable-* |
--disable-*)
787 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
790 as_fn_error
"invalid feature name: $ac_useropt"
791 ac_useropt_orig
=$ac_useropt
792 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793 case $ac_user_opts in
797 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
798 ac_unrecognized_sep
=', ';;
800 eval enable_
$ac_useropt=no
;;
802 -docdir |
--docdir |
--docdi |
--doc |
--do)
804 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
807 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
809 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
812 -enable-* |
--enable-*)
813 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
816 as_fn_error
"invalid feature name: $ac_useropt"
817 ac_useropt_orig
=$ac_useropt
818 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
823 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
824 ac_unrecognized_sep
=', ';;
826 eval enable_
$ac_useropt=\
$ac_optarg ;;
828 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
829 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
830 |
--exec |
--exe |
--ex)
831 ac_prev
=exec_prefix
;;
832 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
833 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
834 |
--exec=* |
--exe=* |
--ex=*)
835 exec_prefix
=$ac_optarg ;;
837 -gas |
--gas |
--ga |
--g)
838 # Obsolete; use --with-gas.
841 -help |
--help |
--hel |
--he |
-h)
843 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
844 ac_init_help
=recursive
;;
845 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
846 ac_init_help
=short
;;
848 -host |
--host |
--hos |
--ho)
849 ac_prev
=host_alias
;;
850 -host=* |
--host=* |
--hos=* |
--ho=*)
851 host_alias
=$ac_optarg ;;
853 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
855 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
857 htmldir
=$ac_optarg ;;
859 -includedir |
--includedir |
--includedi |
--included |
--include \
860 |
--includ |
--inclu |
--incl |
--inc)
861 ac_prev
=includedir
;;
862 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
863 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
864 includedir
=$ac_optarg ;;
866 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
868 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
869 infodir
=$ac_optarg ;;
871 -libdir |
--libdir |
--libdi |
--libd)
873 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
876 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
877 |
--libexe |
--libex |
--libe)
878 ac_prev
=libexecdir
;;
879 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
880 |
--libexe=* |
--libex=* |
--libe=*)
881 libexecdir
=$ac_optarg ;;
883 -localedir |
--localedir |
--localedi |
--localed |
--locale)
885 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
886 localedir
=$ac_optarg ;;
888 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
889 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
890 ac_prev
=localstatedir
;;
891 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
892 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
893 localstatedir
=$ac_optarg ;;
895 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
897 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
901 # Obsolete; use --without-fp.
904 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
905 |
--no-cr |
--no-c |
-n)
908 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
909 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
912 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
913 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
914 |
--oldin |
--oldi |
--old |
--ol |
--o)
915 ac_prev
=oldincludedir
;;
916 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
917 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
918 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
919 oldincludedir
=$ac_optarg ;;
921 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
923 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
926 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
927 |
--program-pre |
--program-pr |
--program-p)
928 ac_prev
=program_prefix
;;
929 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
930 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
931 program_prefix
=$ac_optarg ;;
933 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
934 |
--program-suf |
--program-su |
--program-s)
935 ac_prev
=program_suffix
;;
936 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
937 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
938 program_suffix
=$ac_optarg ;;
940 -program-transform-name |
--program-transform-name \
941 |
--program-transform-nam |
--program-transform-na \
942 |
--program-transform-n |
--program-transform- \
943 |
--program-transform |
--program-transfor \
944 |
--program-transfo |
--program-transf \
945 |
--program-trans |
--program-tran \
946 |
--progr-tra |
--program-tr |
--program-t)
947 ac_prev
=program_transform_name
;;
948 -program-transform-name=* |
--program-transform-name=* \
949 |
--program-transform-nam=* |
--program-transform-na=* \
950 |
--program-transform-n=* |
--program-transform-=* \
951 |
--program-transform=* |
--program-transfor=* \
952 |
--program-transfo=* |
--program-transf=* \
953 |
--program-trans=* |
--program-tran=* \
954 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
955 program_transform_name
=$ac_optarg ;;
957 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
959 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
962 -psdir |
--psdir |
--psdi |
--psd |
--ps)
964 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
967 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
968 |
-silent |
--silent |
--silen |
--sile |
--sil)
971 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
973 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
975 sbindir
=$ac_optarg ;;
977 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
978 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
979 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
981 ac_prev
=sharedstatedir
;;
982 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
983 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
984 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
986 sharedstatedir
=$ac_optarg ;;
988 -site |
--site |
--sit)
990 -site=* |
--site=* |
--sit=*)
993 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
995 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
998 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
999 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1000 ac_prev
=sysconfdir
;;
1001 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1002 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1003 sysconfdir
=$ac_optarg ;;
1005 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1006 ac_prev
=target_alias
;;
1007 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1008 target_alias
=$ac_optarg ;;
1010 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1013 -version |
--version |
--versio |
--versi |
--vers |
-V)
1014 ac_init_version
=: ;;
1017 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error
"invalid package name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval with_
$ac_useropt=\
$ac_optarg ;;
1032 -without-* |
--without-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error
"invalid package name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval with_
$ac_useropt=no
;;
1049 # Obsolete; use --with-x.
1052 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1053 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1054 ac_prev
=x_includes
;;
1055 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1056 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1057 x_includes
=$ac_optarg ;;
1059 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1060 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1061 ac_prev
=x_libraries
;;
1062 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1063 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1064 x_libraries
=$ac_optarg ;;
1066 -*) as_fn_error
"unrecognized option: \`$ac_option'
1067 Try \`$0 --help' for more information."
1071 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 case $ac_envvar in #(
1074 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1075 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1077 eval $ac_envvar=\
$ac_optarg
1078 export $ac_envvar ;;
1081 # FIXME: should be removed in autoconf 3.0.
1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091 if test -n "$ac_prev"; then
1092 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1093 as_fn_error
"missing argument to $ac_option"
1096 if test -n "$ac_unrecognized_opts"; then
1097 case $enable_option_checking in
1099 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1100 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 # Check all directory arguments for consistency.
1105 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir
1110 eval ac_val
=\$
$ac_var
1111 # Remove trailing slashes.
1114 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1115 eval $ac_var=\
$ac_val;;
1117 # Be sure to have absolute directory names.
1119 [\\/$
]* | ?
:[\\/]* ) continue;;
1120 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1122 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1125 # There might be people who depend on the old broken behavior: `$host'
1126 # used to hold the argument of --host etc.
1127 # FIXME: To remove some day.
1130 target
=$target_alias
1132 # FIXME: To remove some day.
1133 if test "x$host_alias" != x
; then
1134 if test "x$build_alias" = x
; then
1135 cross_compiling
=maybe
1136 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1137 If a cross compiler is detected then cross compile mode will be used." >&2
1138 elif test "x$build_alias" != "x$host_alias"; then
1144 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1146 test "$silent" = yes && exec 6>/dev
/null
1149 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1150 ac_ls_di
=`ls -di .` &&
1151 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1152 as_fn_error
"working directory cannot be determined"
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 as_fn_error
"pwd does not report name of working directory"
1157 # Find the source files, if location was not specified.
1158 if test -z "$srcdir"; then
1159 ac_srcdir_defaulted
=yes
1160 # Try the directory containing this script, then the parent directory.
1161 ac_confdir
=`$as_dirname -- "$as_myself" ||
1162 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166 $as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1189 ac_srcdir_defaulted
=no
1191 if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1193 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1195 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1199 # When building in place, set srcdir=.
1200 if test "$ac_abs_confdir" = "$ac_pwd"; then
1203 # Remove unnecessary trailing slashes from srcdir.
1204 # Double slashes in file names in object file debugging info
1205 # mess up M-x gdb in Emacs.
1207 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1209 for ac_var
in $ac_precious_vars; do
1210 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1211 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1212 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1213 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1217 # Report the --help message.
1219 if test "$ac_init_help" = "long"; then
1220 # Omit some internal or obsolete options to make the list less imposing.
1221 # This message is too long to be a string in the A/UX 3.1 sh.
1223 \`configure' configures this package to adapt to many kinds of systems.
1225 Usage: $0 [OPTION]... [VAR=VALUE]...
1227 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1228 VAR=VALUE. See below for descriptions of some of the useful variables.
1230 Defaults for the options are specified in brackets.
1233 -h, --help display this help and exit
1234 --help=short display options specific to this package
1235 --help=recursive display the short help of all the included packages
1236 -V, --version display version information and exit
1237 -q, --quiet, --silent do not print \`checking...' messages
1238 --cache-file=FILE cache test results in FILE [disabled]
1239 -C, --config-cache alias for \`--cache-file=config.cache'
1240 -n, --no-create do not create output files
1241 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1243 Installation directories:
1244 --prefix=PREFIX install architecture-independent files in PREFIX
1245 [$ac_default_prefix]
1246 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1249 By default, \`make install' will install all the files in
1250 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1251 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1252 for instance \`--prefix=\$HOME'.
1254 For better control, use the options below.
1256 Fine tuning of the installation directories:
1257 --bindir=DIR user executables [EPREFIX/bin]
1258 --sbindir=DIR system admin executables [EPREFIX/sbin]
1259 --libexecdir=DIR program executables [EPREFIX/libexec]
1260 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1261 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1262 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1263 --libdir=DIR object code libraries [EPREFIX/lib]
1264 --includedir=DIR C header files [PREFIX/include]
1265 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1266 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1267 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1268 --infodir=DIR info documentation [DATAROOTDIR/info]
1269 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1270 --mandir=DIR man documentation [DATAROOTDIR/man]
1271 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1272 --htmldir=DIR html documentation [DOCDIR]
1273 --dvidir=DIR dvi documentation [DOCDIR]
1274 --pdfdir=DIR pdf documentation [DOCDIR]
1275 --psdir=DIR ps documentation [DOCDIR]
1281 --program-prefix=PREFIX prepend PREFIX to installed program names
1282 --program-suffix=SUFFIX append SUFFIX to installed program names
1283 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1286 --build=BUILD configure
for building on BUILD
[guessed
]
1287 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1288 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1292 if test -n "$ac_init_help"; then
1297 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1298 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1299 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
1300 --with-bugurl=URL Direct users to URL to report a bug
1301 --with-libthread-db=PATH
1302 use given libthread_db directly
1304 Some influential environment variables
:
1305 CC C compiler
command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1308 nonstandard directory
<lib dir
>
1309 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1310 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1311 you have headers
in a nonstandard directory
<include dir
>
1314 Use these variables to override the choices made by
`configure' or to help
1315 it to find libraries and programs with nonstandard names/locations.
1317 Report bugs to the package provider.
1322 if test "$ac_init_help" = "recursive"; then
1323 # If there are subdirs, report their specific --help.
1324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325 test -d "$ac_dir" ||
1326 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1334 # A ".." for each directory in $ac_dir_suffix.
1335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1336 case $ac_top_builddir_sub in
1337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 ac_abs_top_builddir=$ac_pwd
1342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343 # for backward compatibility:
1344 ac_top_builddir=$ac_top_build_prefix
1347 .) # We are building in place.
1349 ac_top_srcdir=$ac_top_builddir_sub
1350 ac_abs_top_srcdir=$ac_pwd ;;
1351 [\\/]* | ?:[\\/]* ) # Absolute name.
1352 ac_srcdir=$srcdir$ac_dir_suffix;
1353 ac_top_srcdir=$srcdir
1354 ac_abs_top_srcdir=$srcdir ;;
1356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357 ac_top_srcdir=$ac_top_build_prefix$srcdir
1358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362 cd "$ac_dir" || { ac_status=$?; continue; }
1363 # Check for guested configure.
1364 if test -f "$ac_srcdir/configure.gnu"; then
1366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367 elif test -f "$ac_srcdir/configure"; then
1369 $SHELL "$ac_srcdir/configure" --help=recursive
1371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 cd "$ac_pwd" || { ac_status=$?; break; }
1377 test -n "$ac_init_help" && exit $ac_status
1378 if $ac_init_version; then
1381 generated by GNU Autoconf 2.64
1383 Copyright (C) 2009 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1390 ## ------------------------ ##
1391 ## Autoconf initialization. ##
1392 ## ------------------------ ##
1394 # ac_fn_c_try_compile LINENO
1395 # --------------------------
1396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1397 ac_fn_c_try_compile ()
1399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1400 rm -f conftest.$ac_objext
1401 if { { ac_try="$ac_compile"
1403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1404 *) ac_try_echo
=$ac_try;;
1406 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1407 $as_echo "$ac_try_echo"; } >&5
1408 (eval "$ac_compile") 2>conftest.err
1410 if test -s conftest.err
; then
1411 grep -v '^ *+' conftest.err
>conftest.er1
1412 cat conftest.er1
>&5
1413 mv -f conftest.er1 conftest.err
1415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416 test $ac_status = 0; } && {
1417 test -z "$ac_c_werror_flag" ||
1418 test ! -s conftest.err
1419 } && test -s conftest.
$ac_objext; then :
1422 $as_echo "$as_me: failed program was:" >&5
1423 sed 's/^/| /' conftest.
$ac_ext >&5
1427 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1430 } # ac_fn_c_try_compile
1432 # ac_fn_c_try_cpp LINENO
1433 # ----------------------
1434 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1438 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1441 *) ac_try_echo=$ac_try;;
1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444 $as_echo "$ac_try_echo"; } >&5
1445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1447 if test -s conftest.err; then
1448 grep -v '^ *+' conftest.err >conftest.er1
1449 cat conftest.er1 >&5
1450 mv -f conftest.er1 conftest.err
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } >/dev/null && {
1454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1455 test ! -s conftest.err
1459 $as_echo "$as_me: failed program was:" >&5
1460 sed 's/^/| /' conftest.$ac_ext >&5
1464 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1469 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1470 # -------------------------------------------------------
1471 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1472 # the include files in INCLUDES and setting the cache variable VAR
1474 ac_fn_c_check_header_mongrel ()
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1479 $as_echo_n "checking for $2... " >&6; }
1480 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1481 $as_echo_n "(cached) " >&6
1484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1485 $as_echo "$ac_res" >&6; }
1487 # Is the header compilable?
1488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1489 $as_echo_n "checking $2 usability... " >&6; }
1490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1491 /* end confdefs.h. */
1495 if ac_fn_c_try_compile "$LINENO"; then :
1496 ac_header_compiler=yes
1498 ac_header_compiler=no
1500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1502 $as_echo "$ac_header_compiler" >&6; }
1504 # Is the header present?
1505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1506 $as_echo_n "checking $2 presence... " >&6; }
1507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1508 /* end confdefs.h. */
1511 if ac_fn_c_try_cpp "$LINENO"; then :
1512 ac_header_preproc=yes
1514 ac_header_preproc=no
1516 rm -f conftest.err conftest.$ac_ext
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1518 $as_echo "$ac_header_preproc" >&6; }
1520 # So? What about this header?
1521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1524 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1526 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1530 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1532 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1534 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1536 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1538 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1542 $as_echo_n "checking for $2... " >&6; }
1543 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1544 $as_echo_n "(cached) " >&6
1546 eval "$3=\$ac_header_compiler"
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1550 $as_echo "$ac_res" >&6; }
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1554 } # ac_fn_c_check_header_mongrel
1556 # ac_fn_c_try_run LINENO
1557 # ----------------------
1558 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1559 # that executables *can* be run.
1562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 if { { ac_try="$ac_link"
1565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1566 *) ac_try_echo
=$ac_try;;
1568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570 (eval "$ac_link") 2>&5
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1574 { { case "(($ac_try" in
1575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_try") 2>&5
1582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583 test $ac_status = 0; }; }; then :
1586 $as_echo "$as_me: program exited with status $ac_status" >&5
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1590 ac_retval=$ac_status
1592 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1593 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1599 # -------------------------------------------------------
1600 # Tests whether HEADER exists and can be compiled using the include files in
1601 # INCLUDES, setting the cache variable VAR accordingly.
1602 ac_fn_c_check_header_compile ()
1604 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1608 $as_echo_n "(cached) " >&6
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h. */
1615 if ac_fn_c_try_compile "$LINENO"; then :
1620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1624 $as_echo "$ac_res" >&6; }
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1627 } # ac_fn_c_check_header_compile
1629 # ac_fn_c_try_link LINENO
1630 # -----------------------
1631 # Try to link conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 rm -f conftest.$ac_objext conftest$ac_exeext
1636 if { { ac_try="$ac_link"
1638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1639 *) ac_try_echo
=$ac_try;;
1641 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_link") 2>conftest.err
1645 if test -s conftest.err
; then
1646 grep -v '^ *+' conftest.err
>conftest.er1
1647 cat conftest.er1
>&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } && {
1652 test -z "$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1654 } && test -s conftest
$ac_exeext && {
1655 test "$cross_compiling" = yes ||
1656 $as_test_x conftest
$ac_exeext
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.
$ac_ext >&5
1665 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1666 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1667 # interfere with the next link command; also delete a directory that is
1668 # left behind by Apple's compiler. We do this before executing the actions.
1669 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 } # ac_fn_c_try_link
1675 # ac_fn_c_check_func LINENO FUNC VAR
1676 # ----------------------------------
1677 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1678 ac_fn_c_check_func
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 $as_echo_n "(cached) " >&6
1686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1688 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1690 #define $2 innocuous_$2
1692 /* System header to define __stub macros and hopefully few prototypes,
1693 which can conflict with char $2 (); below.
1694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1695 <limits.h> exists even on freestanding compilers. */
1698 # include <limits.h>
1700 # include <assert.h>
1705 /* Override any GCC internal prototype to avoid an error.
1706 Use char because int might match the return type of a GCC
1707 builtin and then its argument prototype would still apply. */
1712 /* The GNU C library defines this for functions which it implements
1713 to always fail with ENOSYS. Some functions are actually named
1714 something starting with __ and the normal name is an alias. */
1715 #if defined __stub_$2 || defined __stub___$2
1727 if ac_fn_c_try_link
"$LINENO"; then :
1732 rm -f core conftest.err conftest.
$ac_objext \
1733 conftest
$ac_exeext conftest.
$ac_ext
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1740 } # ac_fn_c_check_func
1742 # ac_fn_c_check_decl LINENO SYMBOL VAR
1743 # ------------------------------------
1744 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1745 ac_fn_c_check_decl
()
1747 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1749 $as_echo_n "checking whether $2 is declared... " >&6; }
1750 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1767 if ac_fn_c_try_compile
"$LINENO"; then :
1772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1779 } # ac_fn_c_check_decl
1781 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1782 # -------------------------------------------
1783 # Tests whether TYPE exists after having included INCLUDES, setting cache
1784 # variable VAR accordingly.
1785 ac_fn_c_check_type
()
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1791 $as_echo_n "(cached) " >&6
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1806 if ac_fn_c_try_compile
"$LINENO"; then :
1807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1819 if ac_fn_c_try_compile
"$LINENO"; then :
1824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1833 } # ac_fn_c_check_type
1834 cat >config.log
<<_ACEOF
1835 This file contains any messages produced by compilers while
1836 running configure, to aid debugging if configure makes a mistake.
1838 It was created by $as_me, which was
1839 generated by GNU Autoconf 2.64. Invocation command line was
1851 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1852 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1853 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1854 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1855 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1857 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1858 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1860 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1861 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1862 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1863 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1864 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1865 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1866 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir
=.
1875 $as_echo "PATH: $as_dir"
1891 # Keep a trace of the command line.
1892 # Strip out --no-create and --no-recursion so they do not pile up.
1893 # Strip out --silent because we don't want to record it for future runs.
1894 # Also quote any args containing shell meta-characters.
1895 # Make two passes to allow for proper duplicate-argument suppression.
1899 ac_must_keep_next
=false
1905 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1906 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1907 |
-silent |
--silent |
--silen |
--sile |
--sil)
1910 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1913 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1915 as_fn_append ac_configure_args1
" '$ac_arg'"
1916 if test $ac_must_keep_next = true
; then
1917 ac_must_keep_next
=false
# Got value, back to normal.
1920 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1921 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1922 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1923 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1924 case "$ac_configure_args0 " in
1925 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1928 -* ) ac_must_keep_next
=true
;;
1931 as_fn_append ac_configure_args
" '$ac_arg'"
1936 { ac_configure_args0
=; unset ac_configure_args0
;}
1937 { ac_configure_args1
=; unset ac_configure_args1
;}
1939 # When interrupted or exit'd, cleanup temporary files, and complete
1940 # config.log. We remove comments because anyway the quotes in there
1941 # would cause problems or look ugly.
1942 # WARNING: Use '\'' to represent an apostrophe within the trap.
1943 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1944 trap 'exit_status=$?
1945 # Save into config.log some information that might help in debugging.
1950 ## ---------------- ##
1951 ## Cache variables. ##
1952 ## ---------------- ##
1955 # The following way of writing the cache mishandles newlines in values,
1957 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1958 eval ac_val=\$$ac_var
1962 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1963 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1966 _ | IFS | as_nl) ;; #(
1967 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1968 *) { eval $ac_var=; unset $ac_var;} ;;
1973 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1974 *${as_nl}ac_space=\ *)
1976 "s/'\''/'\''\\\\'\'''\''/g;
1977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1980 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1988 ## ----------------- ##
1989 ## Output variables. ##
1990 ## ----------------- ##
1993 for ac_var in $ac_subst_vars
1995 eval ac_val=\$$ac_var
1997 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1999 $as_echo "$ac_var='\''$ac_val'\''"
2003 if test -n "$ac_subst_files"; then
2005 ## ------------------- ##
2006 ## File substitutions. ##
2007 ## ------------------- ##
2010 for ac_var
in $ac_subst_files
2012 eval ac_val
=\$
$ac_var
2014 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2016 $as_echo "$ac_var='\''$ac_val'\''"
2021 if test -s confdefs.h; then
2031 test "$ac_signal" != 0 &&
2032 $as_echo "$as_me: caught signal $ac_signal"
2033 $as_echo "$as_me: exit $exit_status"
2035 rm -f core *.core core.conftest.* &&
2036 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2039 for ac_signal
in 1 2 13 15; do
2040 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2044 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2045 rm -f -r conftest
* confdefs.h
2047 $as_echo "/* confdefs.h */" > confdefs.h
2049 # Predefined preprocessor variables.
2051 cat >>confdefs.h
<<_ACEOF
2052 #define PACKAGE_NAME "$PACKAGE_NAME"
2055 cat >>confdefs.h
<<_ACEOF
2056 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2059 cat >>confdefs.h
<<_ACEOF
2060 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2063 cat >>confdefs.h
<<_ACEOF
2064 #define PACKAGE_STRING "$PACKAGE_STRING"
2067 cat >>confdefs.h
<<_ACEOF
2068 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2071 cat >>confdefs.h
<<_ACEOF
2072 #define PACKAGE_URL "$PACKAGE_URL"
2076 # Let the site file select an alternate cache file if it wants to.
2077 # Prefer an explicitly selected file to automatically selected ones.
2080 if test -n "$CONFIG_SITE"; then
2081 ac_site_file1
=$CONFIG_SITE
2082 elif test "x$prefix" != xNONE
; then
2083 ac_site_file1
=$prefix/share
/config.site
2084 ac_site_file2
=$prefix/etc
/config.site
2086 ac_site_file1
=$ac_default_prefix/share
/config.site
2087 ac_site_file2
=$ac_default_prefix/etc
/config.site
2089 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2091 test "x$ac_site_file" = xNONE
&& continue
2092 if test -r "$ac_site_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2094 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2095 sed 's/^/| /' "$ac_site_file" >&5
2100 if test -r "$cache_file"; then
2101 # Some versions of bash will fail to source /dev/null (special
2102 # files actually), so we avoid doing that.
2103 if test -f "$cache_file"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2105 $as_echo "$as_me: loading cache $cache_file" >&6;}
2107 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2108 *) .
"./$cache_file";;
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2113 $as_echo "$as_me: creating cache $cache_file" >&6;}
2117 # Check that the precious variables saved in the cache have kept the same
2119 ac_cache_corrupted
=false
2120 for ac_var
in $ac_precious_vars; do
2121 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2122 eval ac_new_set
=\
$ac_env_${ac_var}_set
2123 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2124 eval ac_new_val
=\
$ac_env_${ac_var}_value
2125 case $ac_old_set,$ac_new_set in
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2128 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2129 ac_cache_corrupted
=: ;;
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2132 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2133 ac_cache_corrupted
=: ;;
2136 if test "x$ac_old_val" != "x$ac_new_val"; then
2137 # differences in whitespace do not lead to failure.
2138 ac_old_val_w
=`echo x $ac_old_val`
2139 ac_new_val_w
=`echo x $ac_new_val`
2140 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2142 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2143 ac_cache_corrupted
=:
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2146 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2147 eval $ac_var=\
$ac_old_val
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2150 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2152 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2155 # Pass precious variables to config.status.
2156 if test "$ac_new_set" = set; then
2158 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2159 *) ac_arg
=$ac_var=$ac_new_val ;;
2161 case " $ac_configure_args " in
2162 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2163 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2167 if $ac_cache_corrupted; then
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2171 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2172 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2174 ## -------------------- ##
2175 ## Main body of script. ##
2176 ## -------------------- ##
2179 ac_cpp
='$CPP $CPPFLAGS'
2180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2188 ac_config_headers
="$ac_config_headers config.h:config.in"
2193 ac_cpp
='$CPP $CPPFLAGS'
2194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2197 if test -n "$ac_tool_prefix"; then
2198 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2199 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if test "${ac_cv_prog_CC+set}" = set; then :
2203 $as_echo_n "(cached) " >&6
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC
="$CC" # Let the user override the test.
2208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir
=.
2213 for ac_exec_ext
in '' $ac_executable_extensions; do
2214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 if test -n "$CC"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2228 $as_echo "$CC" >&6; }
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2236 if test -z "$ac_cv_prog_CC"; then
2238 # Extract the first word of "gcc", so it can be a program name with args.
2239 set dummy gcc
; ac_word
=$2
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2241 $as_echo_n "checking for $ac_word... " >&6; }
2242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2243 $as_echo_n "(cached) " >&6
2245 if test -n "$ac_ct_CC"; then
2246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir
=.
2253 for ac_exec_ext
in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_ac_ct_CC
="gcc"
2256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2266 if test -n "$ac_ct_CC"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2268 $as_echo "$ac_ct_CC" >&6; }
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271 $as_echo "no" >&6; }
2274 if test "x$ac_ct_CC" = x
; then
2277 case $cross_compiling:$ac_tool_warned in
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2281 ac_tool_warned
=yes ;;
2289 if test -z "$CC"; then
2290 if test -n "$ac_tool_prefix"; then
2291 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2292 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2294 $as_echo_n "checking for $ac_word... " >&6; }
2295 if test "${ac_cv_prog_CC+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 if test -n "$CC"; then
2299 ac_cv_prog_CC
="$CC" # Let the user override the test.
2301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir
=.
2306 for ac_exec_ext
in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 if test -n "$CC"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2321 $as_echo "$CC" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2324 $as_echo "no" >&6; }
2330 if test -z "$CC"; then
2331 # Extract the first word of "cc", so it can be a program name with args.
2332 set dummy cc
; ac_word
=$2
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2334 $as_echo_n "checking for $ac_word... " >&6; }
2335 if test "${ac_cv_prog_CC+set}" = set; then :
2336 $as_echo_n "(cached) " >&6
2338 if test -n "$CC"; then
2339 ac_cv_prog_CC
="$CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2350 ac_prog_rejected
=yes
2354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 if test $ac_prog_rejected = yes; then
2362 # We found a bogon in the path, so make sure we never use it.
2363 set dummy
$ac_cv_prog_CC
2365 if test $# != 0; then
2366 # We chose a different compiler from the bogus one.
2367 # However, it has the same basename, so the bogon will be chosen
2368 # first if we set CC to just the basename; use the full file name.
2370 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2376 if test -n "$CC"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2378 $as_echo "$CC" >&6; }
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2381 $as_echo "no" >&6; }
2386 if test -z "$CC"; then
2387 if test -n "$ac_tool_prefix"; then
2388 for ac_prog
in cl.exe
2390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2391 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if test "${ac_cv_prog_CC+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 if test -n "$CC"; then
2398 ac_cv_prog_CC
="$CC" # Let the user override the test.
2400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir
=.
2405 for ac_exec_ext
in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2418 if test -n "$CC"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2420 $as_echo "$CC" >&6; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2427 test -n "$CC" && break
2430 if test -z "$CC"; then
2432 for ac_prog
in cl.exe
2434 # Extract the first word of "$ac_prog", so it can be a program name with args.
2435 set dummy
$ac_prog; ac_word
=$2
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2437 $as_echo_n "checking for $ac_word... " >&6; }
2438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2439 $as_echo_n "(cached) " >&6
2441 if test -n "$ac_ct_CC"; then
2442 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir
=.
2449 for ac_exec_ext
in '' $ac_executable_extensions; do
2450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2451 ac_cv_prog_ac_ct_CC
="$ac_prog"
2452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2462 if test -n "$ac_ct_CC"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2464 $as_echo "$ac_ct_CC" >&6; }
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2467 $as_echo "no" >&6; }
2471 test -n "$ac_ct_CC" && break
2474 if test "x$ac_ct_CC" = x
; then
2477 case $cross_compiling:$ac_tool_warned in
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2481 ac_tool_warned
=yes ;;
2490 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2492 as_fn_error
"no acceptable C compiler found in \$PATH
2493 See \`config.log' for more details." "$LINENO" 5; }
2495 # Provide some information about the compiler.
2496 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2499 for ac_option
in --version -v -V -qversion; do
2500 { { ac_try
="$ac_compiler $ac_option >&5"
2502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2509 if test -s conftest.err; then
2511 ... rest of stderr output deleted ...
2512 10q' conftest.err >conftest.er1
2513 cat conftest.er1 >&5
2514 rm -f conftest.er1 conftest.err
2516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2517 test $ac_status = 0; }
2520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2521 /* end confdefs.h. */
2531 ac_clean_files_save=$ac_clean_files
2532 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2533 # Try to create an executable without -o first, disregard a.out.
2534 # It will help us diagnose broken compilers, and finding out an intuition
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2537 $as_echo_n "checking for C compiler default output file name... " >&6; }
2538 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2540 # The possible output files:
2541 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2544 for ac_file in $ac_files
2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2548 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2553 if { { ac_try="$ac_link_default"
2555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2556 *) ac_try_echo
=$ac_try;;
2558 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_link_default") 2>&5
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; }; then :
2564 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2565 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2566 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2567 # so that the user can short-circuit this test for compilers unknown to
2569 for ac_file
in $ac_files ''
2571 test -f "$ac_file" ||
continue
2573 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2576 # We found the default executable, but exeext='' is most
2580 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2582 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2584 # We set ac_cv_exeext here because the later test for it is not
2585 # safe: cross compilers may not add the suffix if given an `-o'
2586 # argument, so we may need to know it at that point already.
2587 # Even if this section looks crufty: it has the advantage of
2594 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2600 $as_echo "$ac_file" >&6; }
2601 if test -z "$ac_file"; then :
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 { as_fn_set_status
77
2608 as_fn_error
"C compiler cannot create executables
2609 See \`config.log' for more details." "$LINENO" 5; }; }
2611 ac_exeext
=$ac_cv_exeext
2613 # Check that the compiler produces executables we can run. If not, either
2614 # the compiler is broken, or we cross compile.
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2616 $as_echo_n "checking whether the C compiler works... " >&6; }
2617 # If not cross compiling, check that we can run a simple program.
2618 if test "$cross_compiling" != yes; then
2619 if { ac_try
='./$ac_file'
2620 { { case "(($ac_try" in
2621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_try") 2>&5
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }; }; then
2632 if test "$cross_compiling" = maybe; then
2635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637 as_fn_error "cannot run C compiled programs.
2638 If you meant to cross compile
, use \
`--host'.
2639 See \`config.log
' for more details." "$LINENO" 5; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2644 $as_echo "yes" >&6; }
2646 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2647 ac_clean_files=$ac_clean_files_save
2648 # Check that the compiler produces executables we can run. If not, either
2649 # the compiler is broken, or we cross compile.
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2651 $as_echo_n "checking whether we are cross compiling... " >&6; }
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2653 $as_echo "$cross_compiling" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2656 $as_echo_n "checking for suffix of executables... " >&6; }
2657 if { { ac_try="$ac_link"
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2663 $as_echo "$ac_try_echo"; } >&5
2664 (eval "$ac_link") 2>&5
2666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2667 test $ac_status = 0; }; then :
2668 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2669 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2670 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2672 for ac_file
in conftest.exe conftest conftest.
*; do
2673 test -f "$ac_file" ||
continue
2675 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2676 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2684 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2685 See \`config.log' for more details." "$LINENO" 5; }
2687 rm -f conftest
$ac_cv_exeext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2689 $as_echo "$ac_cv_exeext" >&6; }
2691 rm -f conftest.
$ac_ext
2692 EXEEXT
=$ac_cv_exeext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2695 $as_echo_n "checking for suffix of object files... " >&6; }
2696 if test "${ac_cv_objext+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2700 /* end confdefs.h. */
2710 rm -f conftest.o conftest.obj
2711 if { { ac_try
="$ac_compile"
2713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_compile") 2>&5
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }; then :
2722 for ac_file in conftest.o conftest.obj conftest.*; do
2723 test -f "$ac_file" || continue;
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2731 $as_echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2736 as_fn_error "cannot compute suffix of object files
: cannot compile
2737 See \
`config.log' for more details." "$LINENO" 5; }
2739 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2742 $as_echo "$ac_cv_objext" >&6; }
2743 OBJEXT=$ac_cv_objext
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2746 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2747 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2748 $as_echo_n "(cached) " >&6
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2764 if ac_fn_c_try_compile "$LINENO"; then :
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2770 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2774 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2775 if test $ac_compiler_gnu = yes; then
2780 ac_test_CFLAGS=${CFLAGS+set}
2781 ac_save_CFLAGS=$CFLAGS
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2783 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2784 if test "${ac_cv_prog_cc_g+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 ac_save_c_werror_flag=$ac_c_werror_flag
2788 ac_c_werror_flag=yes
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2802 if ac_fn_c_try_compile "$LINENO"; then :
2806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2807 /* end confdefs.h. */
2817 if ac_fn_c_try_compile "$LINENO"; then :
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2823 /* end confdefs.h. */
2833 if ac_fn_c_try_compile "$LINENO"; then :
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841 ac_c_werror_flag=$ac_save_c_werror_flag
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2844 $as_echo "$ac_cv_prog_cc_g" >&6; }
2845 if test "$ac_test_CFLAGS" = set; then
2846 CFLAGS=$ac_save_CFLAGS
2847 elif test $ac_cv_prog_cc_g = yes; then
2848 if test "$GCC" = yes; then
2854 if test "$GCC" = yes; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2861 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2862 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2863 $as_echo_n "(cached) " >&6
2865 ac_cv_prog_cc_c89=no
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2871 #include <sys/types.h>
2872 #include <sys/stat.h>
2873 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2874 struct buf { int x; };
2875 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2876 static char *e (p, i)
2882 static char *f (char * (*g) (char **, int), char **p, ...)
2887 s = g (p, va_arg (v,int));
2892 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2893 function prototypes and stuff, but not '\xHH' hex character constants.
2894 These don't provoke an error unfortunately, instead are silently treated
2895 as 'x'. The following induces an error, until -std is added to get
2896 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2897 array size at least. It's necessary to write '\x00'==0 to get something
2898 that's true only with -std. */
2899 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2901 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2902 inside strings and character constants. */
2904 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2906 int test (int i, double x);
2907 struct s1 {int (*f) (int a);};
2908 struct s2 {int (*f) (double a);};
2909 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2915 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2920 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2921 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2923 CC="$ac_save_CC $ac_arg"
2924 if ac_fn_c_try_compile "$LINENO"; then :
2925 ac_cv_prog_cc_c89=$ac_arg
2927 rm -f core conftest.err conftest.$ac_objext
2928 test "x$ac_cv_prog_cc_c89" != "xno" && break
2930 rm -f conftest.$ac_ext
2935 case "x$ac_cv_prog_cc_c89" in
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2938 $as_echo "none needed" >&6; } ;;
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2941 $as_echo "unsupported" >&6; } ;;
2943 CC="$CC $ac_cv_prog_cc_c89"
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2945 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2947 if test "x$ac_cv_prog_cc_c89" != xno; then :
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2964 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2965 # On Suns, sometimes $CPP names a directory.
2966 if test -n "$CPP" && test -d "$CPP"; then
2969 if test -z "$CPP"; then
2970 if test "${ac_cv_prog_CPP+set}" = set; then :
2971 $as_echo_n "(cached) " >&6
2973 # Double quotes because CPP needs to be expanded
2974 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2977 for ac_c_preproc_warn_flag in '' yes
2979 # Use a header file that comes with gcc, so configuring glibc
2980 # with a fresh cross-compiler works.
2981 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2982 # <limits.h> exists even on freestanding compilers.
2983 # On the NeXT, cc -E runs the code through the compiler's parser,
2984 # not just through cpp. "Syntax error" is here to catch this case.
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2988 # include <limits.h>
2990 # include <assert.h>
2994 if ac_fn_c_try_cpp "$LINENO"; then :
2997 # Broken: fails on valid input.
3000 rm -f conftest.err conftest.$ac_ext
3002 # OK, works on sane cases. Now check whether nonexistent headers
3003 # can be detected and how.
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3006 #include <ac_nonexistent.h>
3008 if ac_fn_c_try_cpp "$LINENO"; then :
3009 # Broken: success on invalid input.
3012 # Passes both tests.
3016 rm -f conftest.err conftest.$ac_ext
3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3020 rm -f conftest.err conftest.
$ac_ext
3021 if $ac_preproc_ok; then :
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3034 $as_echo "$CPP" >&6; }
3036 for ac_c_preproc_warn_flag
in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3047 # include <limits.h>
3049 # include <assert.h>
3053 if ac_fn_c_try_cpp
"$LINENO"; then :
3056 # Broken: fails on valid input.
3059 rm -f conftest.err conftest.
$ac_ext
3061 # OK, works on sane cases. Now check whether nonexistent headers
3062 # can be detected and how.
3063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3065 #include <ac_nonexistent.h>
3067 if ac_fn_c_try_cpp
"$LINENO"; then :
3068 # Broken: success on invalid input.
3071 # Passes both tests.
3075 rm -f conftest.err conftest.
$ac_ext
3078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3079 rm -f conftest.err conftest.
$ac_ext
3080 if $ac_preproc_ok; then :
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3086 See \`config.log' for more details." "$LINENO" 5; }
3090 ac_cpp
='$CPP $CPPFLAGS'
3091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3097 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3098 if test "${ac_cv_path_GREP+set}" = set; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -z "$GREP"; then
3102 ac_path_GREP_found
=false
3103 # Loop through the user's path and test for each of PROGNAME-LIST
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3105 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_prog
in grep ggrep
; do
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3112 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3113 # Check for GNU ac_path_GREP and select it if it is found.
3114 # Check for GNU $ac_path_GREP
3115 case `"$ac_path_GREP" --version 2>&1` in
3117 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3120 $as_echo_n 0123456789 >"conftest.in"
3123 cat "conftest.in" "conftest.in" >"conftest.tmp"
3124 mv "conftest.tmp" "conftest.in"
3125 cp "conftest.in" "conftest.nl"
3126 $as_echo 'GREP' >> "conftest.nl"
3127 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3128 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3129 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3130 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3131 # Best one so far, save it but keep looking for a better one
3132 ac_cv_path_GREP
="$ac_path_GREP"
3133 ac_path_GREP_max
=$ac_count
3135 # 10*(2^10) chars as input seems more than enough
3136 test $ac_count -gt 10 && break
3138 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3141 $ac_path_GREP_found && break 3
3146 if test -z "$ac_cv_path_GREP"; then
3147 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3150 ac_cv_path_GREP
=$GREP
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3155 $as_echo "$ac_cv_path_GREP" >&6; }
3156 GREP
="$ac_cv_path_GREP"
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3160 $as_echo_n "checking for egrep... " >&6; }
3161 if test "${ac_cv_path_EGREP+set}" = set; then :
3162 $as_echo_n "(cached) " >&6
3164 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3165 then ac_cv_path_EGREP
="$GREP -E"
3167 if test -z "$EGREP"; then
3168 ac_path_EGREP_found
=false
3169 # Loop through the user's path and test for each of PROGNAME-LIST
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_prog
in egrep; do
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3178 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3179 # Check for GNU ac_path_EGREP and select it if it is found.
3180 # Check for GNU $ac_path_EGREP
3181 case `"$ac_path_EGREP" --version 2>&1` in
3183 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3186 $as_echo_n 0123456789 >"conftest.in"
3189 cat "conftest.in" "conftest.in" >"conftest.tmp"
3190 mv "conftest.tmp" "conftest.in"
3191 cp "conftest.in" "conftest.nl"
3192 $as_echo 'EGREP' >> "conftest.nl"
3193 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3194 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3195 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3196 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3197 # Best one so far, save it but keep looking for a better one
3198 ac_cv_path_EGREP
="$ac_path_EGREP"
3199 ac_path_EGREP_max
=$ac_count
3201 # 10*(2^10) chars as input seems more than enough
3202 test $ac_count -gt 10 && break
3204 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3207 $ac_path_EGREP_found && break 3
3212 if test -z "$ac_cv_path_EGREP"; then
3213 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3216 ac_cv_path_EGREP
=$EGREP
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3222 $as_echo "$ac_cv_path_EGREP" >&6; }
3223 EGREP
="$ac_cv_path_EGREP"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3227 $as_echo_n "checking for ANSI C header files... " >&6; }
3228 if test "${ac_cv_header_stdc+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3232 /* end confdefs.h. */
3246 if ac_fn_c_try_compile
"$LINENO"; then :
3247 ac_cv_header_stdc
=yes
3249 ac_cv_header_stdc
=no
3251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3253 if test $ac_cv_header_stdc = yes; then
3254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3261 $EGREP "memchr" >/dev
/null
2>&1; then :
3264 ac_cv_header_stdc
=no
3270 if test $ac_cv_header_stdc = yes; then
3271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3278 $EGREP "free" >/dev
/null
2>&1; then :
3281 ac_cv_header_stdc
=no
3287 if test $ac_cv_header_stdc = yes; then
3288 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3289 if test "$cross_compiling" = yes; then :
3292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3296 #if ((' ' & 0x0FF) == 0x020)
3297 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3298 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3300 # define ISLOWER(c) \
3301 (('a' <= (c) && (c) <= 'i') \
3302 || ('j' <= (c) && (c) <= 'r') \
3303 || ('s' <= (c) && (c) <= 'z'))
3304 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3307 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3312 for (i = 0; i < 256; i++)
3313 if (XOR (islower (i), ISLOWER (i))
3314 || toupper (i) != TOUPPER (i))
3319 if ac_fn_c_try_run
"$LINENO"; then :
3322 ac_cv_header_stdc
=no
3324 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3325 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3331 $as_echo "$ac_cv_header_stdc" >&6; }
3332 if test $ac_cv_header_stdc = yes; then
3334 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3338 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3339 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3340 inttypes.h stdint.h unistd.h
3342 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3343 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3345 eval as_val
=\$
$as_ac_Header
3346 if test "x$as_val" = x
""yes; then :
3347 cat >>confdefs.h
<<_ACEOF
3348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3357 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3358 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
3365 if test "$MINIX" = yes; then
3367 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3370 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3373 $as_echo "#define _MINIX 1" >>confdefs.h
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3379 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3380 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3381 $as_echo_n "(cached) " >&6
3383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3386 # define __EXTENSIONS__ 1
3387 $ac_includes_default
3396 if ac_fn_c_try_compile
"$LINENO"; then :
3397 ac_cv_safe_to_define___extensions__
=yes
3399 ac_cv_safe_to_define___extensions__
=no
3401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3404 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3405 test $ac_cv_safe_to_define___extensions__ = yes &&
3406 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3408 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3410 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3412 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3414 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3420 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3421 for ac_t
in install-sh
install.sh shtool
; do
3422 if test -f "$ac_dir/$ac_t"; then
3424 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3429 if test -z "$ac_aux_dir"; then
3430 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3433 # These three variables are undocumented and unsupported,
3434 # and are intended to be withdrawn in a future Autoconf release.
3435 # They can cause serious problems if a builder's source tree is in a directory
3436 # whose full name contains unusual characters.
3437 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3438 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3439 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3442 # Make sure we can run config.sub.
3443 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3444 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3447 $as_echo_n "checking build system type... " >&6; }
3448 if test "${ac_cv_build+set}" = set; then :
3449 $as_echo_n "(cached) " >&6
3451 ac_build_alias
=$build_alias
3452 test "x$ac_build_alias" = x
&&
3453 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3454 test "x$ac_build_alias" = x
&&
3455 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3456 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3457 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3461 $as_echo "$ac_cv_build" >&6; }
3462 case $ac_cv_build in
3464 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3467 ac_save_IFS
=$IFS; IFS
='-'
3473 # Remember, the first character of IFS is used to create $*,
3474 # except with old shells:
3477 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3481 $as_echo_n "checking host system type... " >&6; }
3482 if test "${ac_cv_host+set}" = set; then :
3483 $as_echo_n "(cached) " >&6
3485 if test "x$host_alias" = x
; then
3486 ac_cv_host
=$ac_cv_build
3488 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3489 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3494 $as_echo "$ac_cv_host" >&6; }
3497 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3500 ac_save_IFS
=$IFS; IFS
='-'
3506 # Remember, the first character of IFS is used to create $*,
3507 # except with old shells:
3510 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3514 $as_echo_n "checking target system type... " >&6; }
3515 if test "${ac_cv_target+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 if test "x$target_alias" = x
; then
3519 ac_cv_target
=$ac_cv_host
3521 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3522 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3527 $as_echo "$ac_cv_target" >&6; }
3528 case $ac_cv_target in
3530 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3532 target
=$ac_cv_target
3533 ac_save_IFS
=$IFS; IFS
='-'
3539 # Remember, the first character of IFS is used to create $*,
3540 # except with old shells:
3543 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3546 # The aliases save the names the user supplied, while $host etc.
3547 # will get canonicalized.
3548 test -n "$target_alias" &&
3549 test "$program_prefix$program_suffix$program_transform_name" = \
3551 program_prefix
=${target_alias}-
3554 # Find a good install program. We prefer a C program (faster),
3555 # so one script is as good as another. But avoid the broken or
3556 # incompatible versions:
3557 # SysV /etc/install, /usr/sbin/install
3558 # SunOS /usr/etc/install
3559 # IRIX /sbin/install
3561 # AmigaOS /C/install, which installs bootblocks on floppy discs
3562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3565 # OS/2's system install, which has a completely different semantic
3566 # ./install, which can be erroneously created by make from ./install.sh.
3567 # Reject install programs that cannot install multiple files.
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3569 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3570 if test -z "$INSTALL"; then
3571 if test "${ac_cv_path_install+set}" = set; then :
3572 $as_echo_n "(cached) " >&6
3574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir
=.
3579 # Account for people who put trailing slashes in PATH elements.
3580 case $as_dir/ in #((
3581 .
/ | .
// |
/[cC
]/* | \
3582 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3583 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3586 # OSF1 and SCO ODT 3.0 have their own names for install.
3587 # Don't use installbsd from OSF since it installs stuff as root
3589 for ac_prog
in ginstall scoinst
install; do
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3592 if test $ac_prog = install &&
3593 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3594 # AIX install. It has an incompatible calling convention.
3596 elif test $ac_prog = install &&
3597 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3598 # program-specific install script used by HP pwplus--don't use.
3601 rm -rf conftest.one conftest.two conftest.dir
3602 echo one
> conftest.one
3603 echo two
> conftest.two
3605 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3606 test -s conftest.one
&& test -s conftest.two
&&
3607 test -s conftest.dir
/conftest.one
&&
3608 test -s conftest.dir
/conftest.two
3610 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3623 rm -rf conftest.one conftest.two conftest.dir
3626 if test "${ac_cv_path_install+set}" = set; then
3627 INSTALL
=$ac_cv_path_install
3629 # As a last resort, use the slow shell script. Don't cache a
3630 # value for INSTALL within a source directory, because that will
3631 # break other packages using the cache if that directory is
3632 # removed, or if the value is a relative name.
3633 INSTALL
=$ac_install_sh
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3637 $as_echo "$INSTALL" >&6; }
3639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3640 # It thinks the first close brace ends the variable substitution.
3641 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3643 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3645 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3648 test "$program_prefix" != NONE
&&
3649 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3650 # Use a double $ so make ignores it.
3651 test "$program_suffix" != NONE
&&
3652 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3653 # Double any \ or $.
3654 # By default was `s,x,x', remove it if useless.
3655 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3656 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3660 $as_echo_n "checking for ANSI C header files... " >&6; }
3661 if test "${ac_cv_header_stdc+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3665 /* end confdefs.h. */
3679 if ac_fn_c_try_compile
"$LINENO"; then :
3680 ac_cv_header_stdc
=yes
3682 ac_cv_header_stdc
=no
3684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3686 if test $ac_cv_header_stdc = yes; then
3687 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3694 $EGREP "memchr" >/dev
/null
2>&1; then :
3697 ac_cv_header_stdc
=no
3703 if test $ac_cv_header_stdc = yes; then
3704 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3711 $EGREP "free" >/dev
/null
2>&1; then :
3714 ac_cv_header_stdc
=no
3720 if test $ac_cv_header_stdc = yes; then
3721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3722 if test "$cross_compiling" = yes; then :
3725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3729 #if ((' ' & 0x0FF) == 0x020)
3730 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3731 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3733 # define ISLOWER(c) \
3734 (('a' <= (c) && (c) <= 'i') \
3735 || ('j' <= (c) && (c) <= 'r') \
3736 || ('s' <= (c) && (c) <= 'z'))
3737 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3740 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3745 for (i = 0; i < 256; i++)
3746 if (XOR (islower (i), ISLOWER (i))
3747 || toupper (i) != TOUPPER (i))
3752 if ac_fn_c_try_run
"$LINENO"; then :
3755 ac_cv_header_stdc
=no
3757 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3758 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3764 $as_echo "$ac_cv_header_stdc" >&6; }
3765 if test $ac_cv_header_stdc = yes; then
3767 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3772 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
3774 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3775 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3776 eval as_val
=\$
$as_ac_Header
3777 if test "x$as_val" = x
""yes; then :
3778 cat >>confdefs.h
<<_ACEOF
3779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3786 for ac_func
in pread pwrite pread64
3788 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3789 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3790 eval as_val
=\$
$as_ac_var
3791 if test "x$as_val" = x
""yes; then :
3792 cat >>confdefs.h
<<_ACEOF
3793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3799 for ac_func
in memmem
3801 ac_fn_c_check_func
"$LINENO" "memmem" "ac_cv_func_memmem"
3802 if test "x$ac_cv_func_memmem" = x
""yes; then :
3803 cat >>confdefs.h
<<_ACEOF
3804 #define HAVE_MEMMEM 1
3808 case " $LIBOBJS " in
3809 *" $ac_func.$ac_objext "* ) ;;
3810 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
3821 for ac_func
in dladdr
3823 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
3824 if test "x$ac_cv_func_dladdr" = x
""yes; then :
3825 cat >>confdefs.h
<<_ACEOF
3826 #define HAVE_DLADDR 1
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for errno" >&5
3836 $as_echo_n "checking for errno... " >&6; }
3837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3846 static int x; x = errno;
3851 if ac_fn_c_try_link
"$LINENO"; then :
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - in errno.h" >&5
3853 $as_echo "yes - in errno.h" >&6; };
3854 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
3857 rm -f core conftest.err conftest.
$ac_objext \
3858 conftest
$ac_exeext conftest.
$ac_ext
3859 if test $have_errno = no
; then
3860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3869 extern int errno; static int x; x = errno;
3874 if ac_fn_c_try_link
"$LINENO"; then :
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
3876 $as_echo "yes - must define" >&6; };
3877 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
3879 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3885 rm -f core conftest.err conftest.
$ac_objext \
3886 conftest
$ac_exeext conftest.
$ac_ext
3889 ac_fn_c_check_decl
"$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
3890 if test "x$ac_cv_have_decl_strerror" = x
""yes; then :
3896 cat >>confdefs.h
<<_ACEOF
3897 #define HAVE_DECL_STRERROR $ac_have_decl
3899 ac_fn_c_check_decl
"$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
3900 if test "x$ac_cv_have_decl_perror" = x
""yes; then :
3906 cat >>confdefs.h
<<_ACEOF
3907 #define HAVE_DECL_PERROR $ac_have_decl
3909 ac_fn_c_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
3910 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
3916 cat >>confdefs.h
<<_ACEOF
3917 #define HAVE_DECL_MEMMEM $ac_have_decl
3921 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
3922 #include <sys/socket.h>
3925 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
3927 cat >>confdefs.h
<<_ACEOF
3928 #define HAVE_SOCKLEN_T 1
3937 # Check whether --with-pkgversion was given.
3938 if test "${with_pkgversion+set}" = set; then :
3939 withval
=$with_pkgversion; case "$withval" in
3940 yes) as_fn_error
"package version not specified" "$LINENO" 5 ;;
3942 *) PKGVERSION
="($withval) " ;;
3953 # Check whether --with-bugurl was given.
3954 if test "${with_bugurl+set}" = set; then :
3955 withval
=$with_bugurl; case "$withval" in
3956 yes) as_fn_error
"bug URL not specified" "$LINENO" 5 ;;
3959 *) BUGURL
="$withval"
3963 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
3973 REPORT_BUGS_TO
="<$BUGURL>"
3974 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
3981 cat >>confdefs.h
<<_ACEOF
3982 #define PKGVERSION "$PKGVERSION"
3986 cat >>confdefs.h
<<_ACEOF
3987 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
3991 # Check for various supplementary target information (beyond the
3992 # triplet) which might affect the choices in configure.srv.
3994 i
[34567]86-*-linux*)
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
3996 $as_echo_n "checking if building for x86-64... " >&6; }
3997 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 save_CPPFLAGS
="$CPPFLAGS"
4001 CPPFLAGS
="$CPPFLAGS $CFLAGS"
4002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4011 $EGREP "got it" >/dev
/null
2>&1; then :
4012 gdb_cv_i386_is_x86_64
=yes
4014 gdb_cv_i386_is_x86_64
=no
4018 CPPFLAGS
="$save_CPPFLAGS"
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_i386_is_x86_64" >&5
4021 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Coldfire" >&5
4025 $as_echo_n "checking if building for Coldfire... " >&6; }
4026 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
4027 $as_echo_n "(cached) " >&6
4029 save_CPPFLAGS
="$CPPFLAGS"
4030 CPPFLAGS
="$CPPFLAGS $CFLAGS"
4031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4034 #ifdef __mcoldfire__
4039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4040 $EGREP "got it" >/dev
/null
2>&1; then :
4041 gdb_cv_m68k_is_coldfire
=yes
4043 gdb_cv_m68k_is_coldfire
=no
4047 CPPFLAGS
="$save_CPPFLAGS"
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_m68k_is_coldfire" >&5
4050 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
4054 .
${srcdir}/configure.srv
4056 if test "${srv_mingwce}" = "yes"; then
4058 elif test "${srv_mingw}" = "yes"; then
4059 LIBS
="$LIBS -lwsock32"
4060 elif test "${srv_qnx}" = "yes"; then
4061 LIBS
="$LIBS -lsocket"
4064 if test "${srv_mingw}" = "yes"; then
4066 $as_echo "#define USE_WIN32API 1" >>confdefs.h
4070 if test "${srv_linux_usrregs}" = "yes"; then
4072 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
4076 if test "${srv_linux_regsets}" = "yes"; then
4078 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
4082 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
4083 if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4087 /* end confdefs.h. */
4088 #include <sys/ptrace.h>
4097 if ac_fn_c_try_compile
"$LINENO"; then :
4098 gdbsrv_cv_have_ptrace_getregs
=yes
4100 gdbsrv_cv_have_ptrace_getregs
=no
4102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
4106 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
4107 if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
4109 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
4114 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
4115 if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120 #include <sys/ptrace.h>
4129 if ac_fn_c_try_compile
"$LINENO"; then :
4130 gdbsrv_cv_have_ptrace_getfpxregs
=yes
4132 gdbsrv_cv_have_ptrace_getfpxregs
=no
4134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
4138 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
4139 if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
4141 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
4146 if test "$ac_cv_header_sys_procfs_h" = yes; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
4148 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
4149 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
4150 $as_echo_n "(cached) " >&6
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4156 #include <sys/procfs.h>
4165 if ac_fn_c_try_compile
"$LINENO"; then :
4166 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
4168 bfd_cv_have_sys_procfs_type_lwpid_t
=no
4171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4174 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
4176 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
4180 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
4183 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
4184 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4191 #include <sys/procfs.h>
4200 if ac_fn_c_try_compile
"$LINENO"; then :
4201 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
4203 bfd_cv_have_sys_procfs_type_psaddr_t
=no
4206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4209 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
4211 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
4215 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
4218 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
4219 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4226 #include <sys/procfs.h>
4235 if ac_fn_c_try_compile
"$LINENO"; then :
4236 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
4238 bfd_cv_have_sys_procfs_type_prgregset_t
=no
4241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
4246 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
4250 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
4253 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
4254 if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 #include <sys/procfs.h>
4270 if ac_fn_c_try_compile
"$LINENO"; then :
4271 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=yes
4273 bfd_cv_have_sys_procfs_type_elf_fpregset_t
=no
4276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4279 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4281 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
4285 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4289 srv_thread_depfiles
=
4293 if test "$srv_linux_thread_db" = "yes"; then
4295 old_LDFLAGS
="$LDFLAGS"
4296 LDFLAGS
="$LDFLAGS -rdynamic"
4297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4308 if ac_fn_c_try_link
"$LINENO"; then :
4313 rm -f core conftest.err conftest.
$ac_objext \
4314 conftest
$ac_exeext conftest.
$ac_ext
4316 LDFLAGS
="$old_LDFLAGS"
4318 srv_thread_depfiles
="thread-db.o proc-service.o"
4319 USE_THREAD_DB
="-DUSE_THREAD_DB"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
4321 $as_echo_n "checking for TD_VERSION... " >&6; }
4322 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
4323 $as_echo_n "(cached) " >&6
4325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4327 #include <thread_db.h>
4336 if ac_fn_c_try_compile
"$LINENO"; then :
4337 gdbsrv_cv_have_td_version
=yes
4339 gdbsrv_cv_have_td_version
=no
4341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
4344 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
4345 if test $gdbsrv_cv_have_td_version = yes; then
4347 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
4353 # Check whether --with-libthread-db was given.
4354 if test "${with_libthread_db+set}" = set; then :
4355 withval
=$with_libthread_db; srv_libthread_db_path
="${withval}"
4357 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
4359 srv_libs
="$srv_libthread_db_path"
4364 if test "$srv_xmlfiles" != ""; then
4365 srv_xmlbuiltin
="xml-builtin.o"
4367 $as_echo "#define USE_XML 1" >>confdefs.h
4370 tmp_xmlfiles
=$srv_xmlfiles
4372 for f
in $tmp_xmlfiles; do
4373 srv_xmlfiles
="$srv_xmlfiles \$(XML_DIR)/$f"
4377 GDBSERVER_DEPFILES
="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
4378 GDBSERVER_LIBS
="$srv_libs"
4386 ac_config_files
="$ac_config_files Makefile"
4388 ac_config_commands
="$ac_config_commands default"
4390 cat >confcache
<<\_ACEOF
4391 # This file is a shell script that caches the results of configure
4392 # tests run on this system so they can be shared between configure
4393 # scripts and configure runs, see configure's option --config-cache.
4394 # It is not useful on other systems. If it contains results you don't
4395 # want to keep, you may remove or edit it.
4397 # config.status only pays attention to the cache file if you give it
4398 # the --recheck option to rerun configure.
4400 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4401 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4406 # The following way of writing the cache mishandles newlines in values,
4407 # but we know of no workaround that is simple, portable, and efficient.
4408 # So, we kill variables containing newlines.
4409 # Ultrix sh set writes to stderr and can't be redirected directly,
4410 # and sets the high bit in the cache file unless we assign to the vars.
4412 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4413 eval ac_val
=\$
$ac_var
4417 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4418 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4421 _ | IFS | as_nl
) ;; #(
4422 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4423 *) { eval $ac_var=; unset $ac_var;} ;;
4429 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4430 *${as_nl}ac_space
=\
*)
4431 # `set' does not quote correctly, so add quotes: double-quote
4432 # substitution turns \\\\ into \\, and sed turns \\ into \.
4435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4438 # `set' quotes correctly as required by POSIX, so do not add quotes.
4439 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4448 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4450 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4452 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4453 if test -w "$cache_file"; then
4454 test "x$cache_file" != "x/dev/null" &&
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4456 $as_echo "$as_me: updating cache $cache_file" >&6;}
4457 cat confcache
>$cache_file
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4460 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4465 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4466 # Let make expand exec_prefix.
4467 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4469 DEFS
=-DHAVE_CONFIG_H
4473 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4474 # 1. Remove the extension, and $U if already installed.
4475 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4476 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4478 # will be set to the directory where LIBOBJS objects are built.
4479 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4480 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4484 LTLIBOBJS
=$ac_ltlibobjs
4488 : ${CONFIG_STATUS=./config.status}
4490 ac_clean_files_save
=$ac_clean_files
4491 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4497 # Generated by $as_me.
4498 # Run this file to recreate the current configuration.
4499 # Compiler output produced by configure, useful for debugging
4500 # configure, is in config.log if it exists.
4506 SHELL=\${CONFIG_SHELL-$SHELL}
4509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4510 ## -------------------- ##
4511 ## M4sh Initialization. ##
4512 ## -------------------- ##
4514 # Be more Bourne compatible
4515 DUALCASE
=1; export DUALCASE
# for MKS sh
4516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4520 # is contrary to our usage. Disable this feature.
4521 alias -g '${1+"$@"}'='"$@"'
4522 setopt NO_GLOB_SUBST
4524 case `(set -o) 2>/dev/null` in #(
4536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4537 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4540 # Prefer a ksh shell builtin over an external printf program on Solaris,
4541 # but without wasting forks for bash or zsh.
4542 if test -z "$BASH_VERSION$ZSH_VERSION" \
4543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4544 as_echo='print
-r --'
4545 as_echo_n='print
-rn --'
4546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4547 as_echo='printf %s
\n'
4548 as_echo_n='printf %s
'
4550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4551 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4552 as_echo_n='/usr
/ucb
/echo -n'
4554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4555 as_echo_n_body='eval
4559 expr "X$arg" : "X\\(.*\\)$as_nl";
4560 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4562 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4564 export as_echo_n_body
4565 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4568 as_echo='sh
-c $as_echo_body as_echo
'
4571 # The user is always right.
4572 if test "${PATH_SEPARATOR+set}" != set; then
4574 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4575 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4582 # We need space, tab and new line, in precisely that order. Quoting is
4583 # there to prevent editors from complaining about space-tab.
4584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4585 # splitting by setting IFS to empty value.)
4588 # Find who we are. Look in the path if we contain no directory separator.
4590 *[\\/]* ) as_myself=$0 ;;
4591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir=.
4596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4602 # We did not find ourselves, most probably we were run as `sh COMMAND'
4603 # in which case we are not to be found in the path.
4604 if test "x$as_myself" = x
; then
4607 if test ! -f "$as_myself"; then
4608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4612 # Unset variables that we do not need and which cause bugs (e.g. in
4613 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4614 # suppresses any "Segmentation fault" message there. '((' could
4615 # trigger a bug in pdksh 5.2.14.
4616 for as_var
in BASH_ENV ENV MAIL MAILPATH
4617 do eval test x\
${$as_var+set} = xset \
4618 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4631 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4634 # as_fn_error ERROR [LINENO LOG_FD]
4635 # ---------------------------------
4636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4638 # script with status $?, using 1 if that was 0.
4641 as_status
=$?
; test $as_status -eq 0 && as_status
=1
4643 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
4644 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4646 $as_echo "$as_me: error: $1" >&2
4647 as_fn_exit
$as_status
4651 # as_fn_set_status STATUS
4652 # -----------------------
4653 # Set $? to STATUS, without forking.
4657 } # as_fn_set_status
4661 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4671 # Portably unset VAR.
4674 { eval $1=; unset $1;}
4676 as_unset
=as_fn_unset
4677 # as_fn_append VAR VALUE
4678 # ----------------------
4679 # Append the text in VALUE to the end of the definition contained in VAR. Take
4680 # advantage of any shell optimizations that allow amortized linear growth over
4681 # repeated appends, instead of the typical quadratic growth present in naive
4683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
4684 eval 'as_fn_append ()
4695 # as_fn_arith ARG...
4696 # ------------------
4697 # Perform arithmetic evaluation on the ARGs, and store the result in the
4698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4699 # must be portable across $(()) and expr.
4700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
4701 eval 'as_fn_arith ()
4708 as_val
=`expr "$@" || test $? -eq 1`
4713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
4714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
4720 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4721 as_basename
=basename
4726 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
4732 as_me
=`$as_basename -- "$0" ||
4733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4734 X"$0" : 'X\(//\)$' \| \
4735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4737 sed '/^.*\/\([^/][^/]*\)\/*$/{
4751 # Avoid depending upon Character Ranges.
4752 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4753 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4754 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4755 as_cr_digits
='0123456789'
4756 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4758 ECHO_C
= ECHO_N
= ECHO_T
=
4759 case `echo -n x` in #(((((
4761 case `echo 'xy\c'` in
4762 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
4764 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
4771 rm -f conf$$ conf$$.exe conf$$.
file
4772 if test -d conf$$.dir
; then
4773 rm -f conf$$.dir
/conf$$.
file
4776 mkdir conf$$.dir
2>/dev
/null
4778 if (echo >conf$$.
file) 2>/dev
/null
; then
4779 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4781 # ... but there are two gotchas:
4782 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4783 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4784 # In both cases, we have to default to `cp -p'.
4785 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
4787 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4795 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
4796 rmdir conf$$.dir
2>/dev
/null
4801 # Create "$as_dir" as a directory, including parents if necessary.
4806 -*) as_dir
=.
/$as_dir;;
4808 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4812 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4813 *) as_qdir
=$as_dir;;
4815 as_dirs
="'$as_qdir' $as_dirs"
4816 as_dir
=`$as_dirname -- "$as_dir" ||
4817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4818 X"$as_dir" : 'X\(//\)[^/]' \| \
4819 X"$as_dir" : 'X\(//\)$' \| \
4820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4821 $as_echo X"$as_dir" |
4822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4839 test -d "$as_dir" && break
4841 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4842 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4846 if mkdir
-p .
2>/dev
/null
; then
4847 as_mkdir_p
='mkdir -p "$as_dir"'
4849 test -d .
/-p && rmdir .
/-p
4853 if test -x / >/dev
/null
2>&1; then
4856 if ls -dL / >/dev
/null
2>&1; then
4863 if test -d "$1"; then
4869 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4870 ???[sx]*):;;*)false;;esac;fi
4874 as_executable_p
=$as_test_x
4876 # Sed expression to map a string onto a valid CPP name.
4877 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4879 # Sed expression to map a string onto a valid variable name.
4880 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4884 ## ----------------------------------- ##
4885 ## Main body of $CONFIG_STATUS script. ##
4886 ## ----------------------------------- ##
4888 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4891 # Save the log message, to keep $0 and so on meaningful, and to
4892 # report actual input values of CONFIG_FILES etc. instead of their
4893 # values after options handling.
4895 This file was extended by $as_me, which was
4896 generated by GNU Autoconf 2.64. Invocation command line was
4898 CONFIG_FILES = $CONFIG_FILES
4899 CONFIG_HEADERS = $CONFIG_HEADERS
4900 CONFIG_LINKS = $CONFIG_LINKS
4901 CONFIG_COMMANDS = $CONFIG_COMMANDS
4904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4909 case $ac_config_files in *"
4910 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4913 case $ac_config_headers in *"
4914 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4919 # Files that config.status was made for.
4920 config_files="$ac_config_files"
4921 config_headers="$ac_config_headers"
4922 config_commands="$ac_config_commands"
4926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4928 \`$as_me' instantiates files and other configuration actions
4929 from templates according to the current configuration. Unless the files
4930 and actions are specified as TAGs, all are instantiated by default.
4932 Usage: $0 [OPTION]... [TAG]...
4934 -h, --help print this help, then exit
4935 -V, --version print version number and configuration settings, then exit
4936 -q, --quiet, --silent
4937 do not print progress messages
4938 -d, --debug don't remove temporary files
4939 --recheck update $as_me by reconfiguring in the same conditions
4940 --file=FILE[:TEMPLATE]
4941 instantiate the configuration file FILE
4942 --header=FILE[:TEMPLATE]
4943 instantiate the configuration header FILE
4945 Configuration files:
4948 Configuration headers:
4951 Configuration commands:
4954 Report bugs to the package provider."
4957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4960 configured by $0, generated by GNU Autoconf 2.64,
4961 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4963 Copyright (C) 2009 Free Software Foundation, Inc.
4964 This config.status script is free software; the Free Software Foundation
4965 gives unlimited permission to copy, distribute and modify it."
4970 test -n "\$AWK" || AWK=awk
4973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4974 # The default lists apply if the user does not specify any file.
4980 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4981 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4992 # Handling of the options.
4993 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4995 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4996 $as_echo "$ac_cs_version"; exit ;;
4997 --debug |
--debu |
--deb |
--de |
--d |
-d )
4999 --file |
--fil |
--fi |
--f )
5002 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5004 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5005 ac_need_defaults
=false
;;
5006 --header |
--heade |
--head |
--hea )
5009 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5011 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5012 ac_need_defaults
=false
;;
5014 # Conflict between --help and --header
5015 as_fn_error
"ambiguous option: \`$1'
5016 Try \`$0 --help' for more information.";;
5017 --help |
--hel |
-h )
5018 $as_echo "$ac_cs_usage"; exit ;;
5019 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5020 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5024 -*) as_fn_error
"unrecognized option: \`$1'
5025 Try \`$0 --help' for more information." ;;
5027 *) as_fn_append ac_config_targets
" $1"
5028 ac_need_defaults
=false
;;
5034 ac_configure_extra_args
=
5036 if $ac_cs_silent; then
5038 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5043 if \$ac_cs_recheck; then
5044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5047 CONFIG_SHELL='$SHELL'
5053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5058 ## Running $as_me. ##
5064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5069 # Handling of arguments.
5070 for ac_config_target
in $ac_config_targets
5072 case $ac_config_target in
5073 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
5074 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5075 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
5077 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5082 # If the user did not use the arguments to specify the items to instantiate,
5083 # then the envvar interface is used. Set only those that are not.
5084 # We use the long form for the default assignment because of an extremely
5085 # bizarre bug on SunOS 4.1.3.
5086 if $ac_need_defaults; then
5087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5088 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5092 # Have a temporary directory for convenience. Make it in the build tree
5093 # simply because there is no reason against having it here, and in addition,
5094 # creating and moving files from /tmp can sometimes cause problems.
5095 # Hook for its removal unless debugging.
5096 # Note that there is a small window in which the directory will not be cleaned:
5097 # after its creation but before its name has been assigned to `$tmp'.
5101 trap 'exit_status=$?
5102 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5104 trap 'as_fn_exit 1' 1 2 13 15
5106 # Create a (secure) tmp directory for tmp files.
5109 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5110 test -n "$tmp" && test -d "$tmp"
5113 tmp
=.
/conf$$
-$RANDOM
5114 (umask 077 && mkdir
"$tmp")
5115 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
5117 # Set up the scripts for CONFIG_FILES section.
5118 # No need to generate them if there are no CONFIG_FILES.
5119 # This happens for instance with `./config.status config.h'.
5120 if test -n "$CONFIG_FILES"; then
5123 ac_cr
=`echo X | tr X '\015'`
5124 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5125 # But we know of no other shell where ac_cr would be empty at this
5126 # point, so we can use a bashism as a fallback.
5127 if test "x$ac_cr" = x
; then
5128 eval ac_cr
=\$
\'\\r
\'
5130 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5131 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5137 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5142 echo "cat >conf$$subs.awk <<_ACEOF" &&
5143 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5146 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5147 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5149 for ac_last_try in false false false false false :; do
5150 . ./conf$$subs.sh ||
5151 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5153 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5154 if test $ac_delim_n = $ac_delim_num; then
5156 elif $ac_last_try; then
5157 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
5159 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
5169 s/^/S["/; s
/!.
*/"]=/
5179 s/\(.\{148\}\).*/\1/
5181 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5186 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5193 s/\(.\{148\}\).*/\1/
5195 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5199 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5204 ' <conf$$subs.awk | sed '
5209 ' >>$CONFIG_STATUS || ac_write_fail=1
5210 rm -f conf$$subs.awk
5211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5213 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
5214 for (key in S) S_is_set[key] = 1
5220 nfields = split(line, field, "@
")
5222 len = length(field[1])
5223 for (i = 2; i < nfields; i++) {
5225 keylen = length(key)
5226 if (S_is_set[key]) {
5228 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5229 len += length(value) + length(field[++i])
5240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5241 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5242 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5245 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
5246 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
5249 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5250 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
5251 # trailing colons and then remove the whole line if VPATH becomes empty
5252 # (actually we leave an empty line to preserve line numbers).
5253 if test "x
$srcdir" = x.; then
5254 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5258 s/^\([^=]*=[ ]*\):*/\1/
5264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5265 fi # test -n "$CONFIG_FILES"
5267 # Set up the scripts for CONFIG_HEADERS section.
5268 # No need to generate them if there are no CONFIG_HEADERS.
5269 # This happens for instance with `./config.status Makefile'.
5270 if test -n "$CONFIG_HEADERS"; then
5271 cat >"$tmp/defines.
awk" <<\_ACAWK ||
5275 # Transform confdefs.h into an awk script `defines.awk', embedded as
5276 # here-document in config.status, that substitutes the proper values into
5277 # config.h.in to produce config.h.
5279 # Create a delimiter string that does not exist in confdefs.h, to ease
5280 # handling of long lines.
5282 for ac_last_try in false false :; do
5283 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
5284 if test -z "$ac_t"; then
5286 elif $ac_last_try; then
5287 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
5289 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5293 # For the awk script, D is an array of macro values keyed by name,
5294 # likewise P contains macro parameters if any. Preserve backslash
5295 # newline sequences.
5297 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5299 s/.\{148\}/&'"$ac_delim"'/g
5302 s/^[ ]*#[ ]*define[ ][ ]*/ /
5309 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5311 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5315 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5316 D["\
1"]=" \
3\\\\\\n
"\\/p
5318 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5323 s/.\{148\}/&'"$ac_delim"'/g
5328 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5331 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5333 ' <confdefs.h | sed '
5334 s/'"$ac_delim"'/"\\\
5335 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5338 for (key in D) D_is_set[key] = 1
5341 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5343 split(line, arg, " ")
5344 if (arg[1] == "#") {
5348 defundef
= substr
(arg
[1], 2)
5351 split(mac1
, mac2
, "(") #)
5353 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5354 if (D_is_set
[macro
]) {
5355 # Preserve the white space surrounding the "#".
5356 print prefix
"define", macro P
[macro
] D
[macro
]
5359 # Replace #undef with comments. This is necessary, for example,
5360 # in the case of _POSIX_SOURCE, which is predefined and required
5361 # on some systems where configure will not decide to define it.
5362 if (defundef
== "undef") {
5363 print
"/*", prefix defundef
, macro
, "*/"
5371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5372 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
5373 fi # test -n "$CONFIG_HEADERS"
5376 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5381 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5383 case $ac_mode$ac_tag in
5385 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5386 :[FH
]-) ac_tag
=-:-;;
5387 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5404 -) ac_f
="$tmp/stdin";;
5405 *) # Look for the file first in the build tree, then in the source tree
5406 # (if the path is not absolute). The absolute path cannot be DOS-style,
5407 # because $ac_f cannot contain `:'.
5411 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5413 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
5415 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5416 as_fn_append ac_file_inputs
" '$ac_f'"
5419 # Let's still pretend it is `configure' which instantiates (i.e., don't
5420 # use $as_me), people would be surprised to read:
5421 # /* config.h. Generated by config.status. */
5422 configure_input
='Generated from '`
5423 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5425 if test x
"$ac_file" != x-
; then
5426 configure_input
="$ac_file. $configure_input"
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5428 $as_echo "$as_me: creating $ac_file" >&6;}
5430 # Neutralize special characters interpreted by sed in replacement strings.
5431 case $configure_input in #(
5432 *\
&* |
*\|
* |
*\\* )
5433 ac_sed_conf_input
=`$as_echo "$configure_input" |
5434 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5435 *) ac_sed_conf_input
=$configure_input;;
5439 *:-:* |
*:-) cat >"$tmp/stdin" \
5440 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
5445 ac_dir
=`$as_dirname -- "$ac_file" ||
5446 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5447 X"$ac_file" : 'X\(//\)[^/]' \| \
5448 X"$ac_file" : 'X\(//\)$' \| \
5449 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5450 $as_echo X"$ac_file" |
5451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5468 as_dir
="$ac_dir"; as_fn_mkdir_p
5472 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5474 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5475 # A ".." for each directory in $ac_dir_suffix.
5476 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5477 case $ac_top_builddir_sub in
5478 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5479 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5482 ac_abs_top_builddir
=$ac_pwd
5483 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5484 # for backward compatibility:
5485 ac_top_builddir
=$ac_top_build_prefix
5488 .
) # We are building in place.
5490 ac_top_srcdir
=$ac_top_builddir_sub
5491 ac_abs_top_srcdir
=$ac_pwd ;;
5492 [\\/]* | ?
:[\\/]* ) # Absolute name.
5493 ac_srcdir
=$srcdir$ac_dir_suffix;
5494 ac_top_srcdir
=$srcdir
5495 ac_abs_top_srcdir
=$srcdir ;;
5497 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5498 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5499 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5501 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5511 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5512 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
5516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5517 # If the template does not know about datarootdir, expand it.
5518 # FIXME: This hack should be removed a few years after 2.60.
5519 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5530 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5531 *datarootdir
*) ac_datarootdir_seen
=yes;;
5532 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5534 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5537 ac_datarootdir_hack='
5538 s&@datadir@&$datadir&g
5539 s&@docdir@&$docdir&g
5540 s&@infodir@&$infodir&g
5541 s&@localedir@&$localedir&g
5542 s&@mandir@&$mandir&g
5543 s&\\\${datarootdir}&$datarootdir&g' ;;
5547 # Neutralize VPATH when `$srcdir' = `.'.
5548 # Shell code in configure.ac might set extrasub.
5549 # FIXME: do we really want to maintain this feature?
5550 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5551 ac_sed_extra="$ac_vpsub
5554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5556 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5557 s|@configure_input@|
$ac_sed_conf_input|
;t t
5558 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5559 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5560 s
&@srcdir@
&$ac_srcdir&;t t
5561 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5562 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5563 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5564 s
&@builddir@
&$ac_builddir&;t t
5565 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5566 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5567 s
&@INSTALL@
&$ac_INSTALL&;t t
5568 $ac_datarootdir_hack
5570 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
5571 || as_fn_error "could not create
$ac_file" "$LINENO" 5
5573 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5574 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
5575 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
5577 which seems to be undefined. Please make sure it is defined." >&5
5578 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
5579 which seems to be undefined. Please make sure it is defined." >&2;}
5583 -) cat "$tmp/out" && rm -f "$tmp/out";;
5584 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5586 || as_fn_error "could not create $ac_file" "$LINENO" 5
5592 if test x"$ac_file" != x-; then
5594 $as_echo "/* $configure_input */" \
5595 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5596 } >"$tmp/config.h" \
5597 || as_fn_error "could not create $ac_file" "$LINENO" 5
5598 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5600 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5603 mv "$tmp/config.h" "$ac_file" \
5604 || as_fn_error "could not create $ac_file" "$LINENO" 5
5607 $as_echo "/* $configure_input */" \
5608 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5609 || as_fn_error "could not create -" "$LINENO" 5
5613 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5614 $as_echo "$as_me: executing $ac_file commands" >&6;}
5619 case $ac_file$ac_mode in
5620 "default":C) case x$CONFIG_HEADERS in
5621 xconfig.h:config.in)
5632 ac_clean_files=$ac_clean_files_save
5634 test $ac_write_fail = 0 ||
5635 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5638 # configure is writing to config.log, and then calls config.status.
5639 # config.status does its own redirection, appending to config.log.
5640 # Unfortunately, on DOS this fails, as config.log is still kept open
5641 # by configure, so config.status won't be able to
write to it
; its
5642 # output is simply discarded. So we exec the FD to /dev/null,
5643 # effectively closing config.log, so it can be properly (re)opened and
5644 # appended to by config.status. When coming back to configure, we
5645 # need to make the FD available again.
5646 if test "$no_create" != yes; then
5648 ac_config_status_args
=
5649 test "$silent" = yes &&
5650 ac_config_status_args
="$ac_config_status_args --quiet"
5652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5655 # would make configure fail if this is the last instruction.
5656 $ac_cs_success || as_fn_exit $?
5658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}