2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gold 0.1.
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.
548 PACKAGE_TARNAME
='gold'
549 PACKAGE_VERSION
='0.1'
550 PACKAGE_STRING
='gold 0.1'
554 ac_unique_file
="gold.cc"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='am__EXEEXT_FALSE
595 MAINTAINER_MODE_FALSE
612 TLS_DESCRIPTORS_FALSE
614 TLS_GNU2_DIALECT_FALSE
615 TLS_GNU2_DIALECT_TRUE
624 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
625 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
628 NATIVE_OR_CROSS_LINKER_FALSE
629 NATIVE_OR_CROSS_LINKER_TRUE
680 DEFAULT_TARGET_X86_64_FALSE
681 DEFAULT_TARGET_X86_64_TRUE
682 DEFAULT_TARGET_SPARC_FALSE
683 DEFAULT_TARGET_SPARC_TRUE
684 DEFAULT_TARGET_POWERPC_FALSE
685 DEFAULT_TARGET_POWERPC_TRUE
686 DEFAULT_TARGET_I386_FALSE
687 DEFAULT_TARGET_I386_TRUE
688 DEFAULT_TARGET_ARM_FALSE
689 DEFAULT_TARGET_ARM_TRUE
704 INSTALL_STRIP_PROGRAM
758 program_transform_name
771 enable_option_checking
778 enable_dependency_tracking
781 enable_build_warnings
784 enable_maintainer_mode
786 ac_precious_vars
='build_alias
803 # Initialize some variables set by options.
805 ac_init_version
=false
806 ac_unrecognized_opts
=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
817 program_transform_name
=s
,x
,x
,
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir
='${exec_prefix}/bin'
832 sbindir
='${exec_prefix}/sbin'
833 libexecdir
='${exec_prefix}/libexec'
834 datarootdir
='${prefix}/share'
835 datadir
='${datarootdir}'
836 sysconfdir
='${prefix}/etc'
837 sharedstatedir
='${prefix}/com'
838 localstatedir
='${prefix}/var'
839 includedir
='${prefix}/include'
840 oldincludedir
='/usr/include'
841 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
842 infodir
='${datarootdir}/info'
847 libdir
='${exec_prefix}/lib'
848 localedir
='${datarootdir}/locale'
849 mandir
='${datarootdir}/man'
855 # If the previous option needs an argument, assign it.
856 if test -n "$ac_prev"; then
857 eval $ac_prev=\
$ac_option
863 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867 # Accept the important Cygnus configure options, so we can diagnose typos.
869 case $ac_dashdash$ac_option in
873 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
875 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
878 -build |
--build |
--buil |
--bui |
--bu)
879 ac_prev
=build_alias
;;
880 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
881 build_alias
=$ac_optarg ;;
883 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
884 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
885 ac_prev
=cache_file
;;
886 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
887 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
888 cache_file
=$ac_optarg ;;
891 cache_file
=config.cache
;;
893 -datadir |
--datadir |
--datadi |
--datad)
895 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
896 datadir
=$ac_optarg ;;
898 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
899 |
--dataroo |
--dataro |
--datar)
900 ac_prev
=datarootdir
;;
901 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
902 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
903 datarootdir
=$ac_optarg ;;
905 -disable-* |
--disable-*)
906 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
909 as_fn_error
"invalid feature name: $ac_useropt"
910 ac_useropt_orig
=$ac_useropt
911 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
916 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
917 ac_unrecognized_sep
=', ';;
919 eval enable_
$ac_useropt=no
;;
921 -docdir |
--docdir |
--docdi |
--doc |
--do)
923 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
926 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
928 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
931 -enable-* |
--enable-*)
932 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
935 as_fn_error
"invalid feature name: $ac_useropt"
936 ac_useropt_orig
=$ac_useropt
937 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
943 ac_unrecognized_sep
=', ';;
945 eval enable_
$ac_useropt=\
$ac_optarg ;;
947 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
948 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
949 |
--exec |
--exe |
--ex)
950 ac_prev
=exec_prefix
;;
951 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
952 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
953 |
--exec=* |
--exe=* |
--ex=*)
954 exec_prefix
=$ac_optarg ;;
956 -gas |
--gas |
--ga |
--g)
957 # Obsolete; use --with-gas.
960 -help |
--help |
--hel |
--he |
-h)
962 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
963 ac_init_help
=recursive
;;
964 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
965 ac_init_help
=short
;;
967 -host |
--host |
--hos |
--ho)
968 ac_prev
=host_alias
;;
969 -host=* |
--host=* |
--hos=* |
--ho=*)
970 host_alias
=$ac_optarg ;;
972 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
974 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
976 htmldir
=$ac_optarg ;;
978 -includedir |
--includedir |
--includedi |
--included |
--include \
979 |
--includ |
--inclu |
--incl |
--inc)
980 ac_prev
=includedir
;;
981 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
982 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
983 includedir
=$ac_optarg ;;
985 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
987 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
988 infodir
=$ac_optarg ;;
990 -libdir |
--libdir |
--libdi |
--libd)
992 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
995 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
996 |
--libexe |
--libex |
--libe)
997 ac_prev
=libexecdir
;;
998 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
999 |
--libexe=* |
--libex=* |
--libe=*)
1000 libexecdir
=$ac_optarg ;;
1002 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1003 ac_prev
=localedir
;;
1004 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1005 localedir
=$ac_optarg ;;
1007 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1008 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1009 ac_prev
=localstatedir
;;
1010 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1011 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1012 localstatedir
=$ac_optarg ;;
1014 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1016 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1017 mandir
=$ac_optarg ;;
1019 -nfp |
--nfp |
--nf)
1020 # Obsolete; use --without-fp.
1023 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1024 |
--no-cr |
--no-c |
-n)
1027 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1028 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1031 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1032 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1033 |
--oldin |
--oldi |
--old |
--ol |
--o)
1034 ac_prev
=oldincludedir
;;
1035 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1036 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1037 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1038 oldincludedir
=$ac_optarg ;;
1040 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1042 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1043 prefix
=$ac_optarg ;;
1045 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1046 |
--program-pre |
--program-pr |
--program-p)
1047 ac_prev
=program_prefix
;;
1048 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1049 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1050 program_prefix
=$ac_optarg ;;
1052 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1053 |
--program-suf |
--program-su |
--program-s)
1054 ac_prev
=program_suffix
;;
1055 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1056 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1057 program_suffix
=$ac_optarg ;;
1059 -program-transform-name |
--program-transform-name \
1060 |
--program-transform-nam |
--program-transform-na \
1061 |
--program-transform-n |
--program-transform- \
1062 |
--program-transform |
--program-transfor \
1063 |
--program-transfo |
--program-transf \
1064 |
--program-trans |
--program-tran \
1065 |
--progr-tra |
--program-tr |
--program-t)
1066 ac_prev
=program_transform_name
;;
1067 -program-transform-name=* |
--program-transform-name=* \
1068 |
--program-transform-nam=* |
--program-transform-na=* \
1069 |
--program-transform-n=* |
--program-transform-=* \
1070 |
--program-transform=* |
--program-transfor=* \
1071 |
--program-transfo=* |
--program-transf=* \
1072 |
--program-trans=* |
--program-tran=* \
1073 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1074 program_transform_name
=$ac_optarg ;;
1076 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1078 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1079 pdfdir
=$ac_optarg ;;
1081 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1083 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1086 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1087 |
-silent |
--silent |
--silen |
--sile |
--sil)
1090 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1092 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1094 sbindir
=$ac_optarg ;;
1096 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1097 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1098 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1100 ac_prev
=sharedstatedir
;;
1101 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1102 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1103 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1105 sharedstatedir
=$ac_optarg ;;
1107 -site |
--site |
--sit)
1109 -site=* |
--site=* |
--sit=*)
1112 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1114 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1115 srcdir
=$ac_optarg ;;
1117 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1118 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1119 ac_prev
=sysconfdir
;;
1120 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1121 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1122 sysconfdir
=$ac_optarg ;;
1124 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1125 ac_prev
=target_alias
;;
1126 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1127 target_alias
=$ac_optarg ;;
1129 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1132 -version |
--version |
--versio |
--versi |
--vers |
-V)
1133 ac_init_version
=: ;;
1136 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=\
$ac_optarg ;;
1151 -without-* |
--without-*)
1152 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) as_fn_error
"unrecognized option: \`$ac_option'
1186 Try \`$0 --help' for more information."
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 case $ac_envvar in #(
1193 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1194 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 as_fn_error
"missing argument to $ac_option"
1215 if test -n "$ac_unrecognized_opts"; then
1216 case $enable_option_checking in
1218 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1219 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1223 # Check all directory arguments for consistency.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1230 # Remove trailing slashes.
1233 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1234 eval $ac_var=\
$ac_val;;
1236 # Be sure to have absolute directory names.
1238 [\\/$
]* | ?
:[\\/]* ) continue;;
1239 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1241 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1256 If a cross compiler is detected then cross compile mode will be used." >&2
1257 elif test "x$build_alias" != "x$host_alias"; then
1263 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1265 test "$silent" = yes && exec 6>/dev
/null
1268 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di
=`ls -di .` &&
1270 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1271 as_fn_error
"working directory cannot be determined"
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273 as_fn_error
"pwd does not report name of working directory"
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted
=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir
=`$as_dirname -- "$as_myself" ||
1281 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$as_myself" : 'X\(//\)[^/]' \| \
1283 X"$as_myself" : 'X\(//\)$' \| \
1284 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1285 $as_echo X"$as_myself" |
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted
=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1312 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1314 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1316 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1318 # When building in place, set srcdir=.
1319 if test "$ac_abs_confdir" = "$ac_pwd"; then
1322 # Remove unnecessary trailing slashes from srcdir.
1323 # Double slashes in file names in object file debugging info
1324 # mess up M-x gdb in Emacs.
1326 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1328 for ac_var
in $ac_precious_vars; do
1329 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1331 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1336 # Report the --help message.
1338 if test "$ac_init_help" = "long"; then
1339 # Omit some internal or obsolete options to make the list less imposing.
1340 # This message is too long to be a string in the A/UX 3.1 sh.
1342 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1344 Usage: $0 [OPTION]... [VAR=VALUE]...
1346 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1347 VAR=VALUE. See below for descriptions of some of the useful variables.
1349 Defaults for the options are specified in brackets.
1352 -h, --help display this help and exit
1353 --help=short display options specific to this package
1354 --help=recursive display the short help of all the included packages
1355 -V, --version display version information and exit
1356 -q, --quiet, --silent do not print \`checking...' messages
1357 --cache-file=FILE cache test results in FILE [disabled]
1358 -C, --config-cache alias for \`--cache-file=config.cache'
1359 -n, --no-create do not create output files
1360 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1362 Installation directories:
1363 --prefix=PREFIX install architecture-independent files in PREFIX
1364 [$ac_default_prefix]
1365 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1368 By default, \`make install' will install all the files in
1369 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1370 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1371 for instance \`--prefix=\$HOME'.
1373 For better control, use the options below.
1375 Fine tuning of the installation directories:
1376 --bindir=DIR user executables [EPREFIX/bin]
1377 --sbindir=DIR system admin executables [EPREFIX/sbin]
1378 --libexecdir=DIR program executables [EPREFIX/libexec]
1379 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1380 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1381 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1382 --libdir=DIR object code libraries [EPREFIX/lib]
1383 --includedir=DIR C header files [PREFIX/include]
1384 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1385 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1386 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1387 --infodir=DIR info documentation [DATAROOTDIR/info]
1388 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1389 --mandir=DIR man documentation [DATAROOTDIR/man]
1390 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1391 --htmldir=DIR html documentation [DOCDIR]
1392 --dvidir=DIR dvi documentation [DOCDIR]
1393 --pdfdir=DIR pdf documentation [DOCDIR]
1394 --psdir=DIR ps documentation [DOCDIR]
1400 --program-prefix=PREFIX prepend PREFIX to installed program names
1401 --program-suffix=SUFFIX append SUFFIX to installed program names
1402 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1405 --build=BUILD configure
for building on BUILD
[guessed
]
1406 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1407 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1411 if test -n "$ac_init_help"; then
1412 case $ac_init_help in
1413 short | recursive
) echo "Configuration of gold 0.1:";;
1418 --disable-option-checking ignore unrecognized
--enable/--with options
1419 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1420 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1421 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1422 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1423 --enable-threads multi-threaded linking
1424 --enable-plugins linker plugins
1425 --enable-targets alternative target configurations
1426 --disable-dependency-tracking speeds up one-time build
1427 --enable-dependency-tracking do not reject slow dependency extractors
1428 --disable-nls do not use Native Language Support
1429 --enable-werror treat compile warnings as errors
1430 --enable-build-warnings enable build-time compiler warnings
1431 --enable-maintainer-mode enable make rules and dependencies not useful
1432 (and sometimes confusing
) to the casual installer
1435 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1436 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1437 --with-sysroot=DIR search
for usr
/lib et al within DIR
1438 --with-gold-ldflags=FLAGS additional link flags
for gold
1439 --with-gold-ldadd=LIBS additional libraries
for gold
1441 Some influential environment variables
:
1442 CC C compiler
command
1443 CFLAGS C compiler flags
1444 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1445 nonstandard directory
<lib dir
>
1446 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1447 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1448 you have headers
in a nonstandard directory
<include dir
>
1449 CXX C
++ compiler
command
1450 CXXFLAGS C
++ compiler flags
1451 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1452 the first program found out of: `bison
-y', `byacc', `yacc'.
1453 YFLAGS The list of arguments that will be passed by default to $YACC.
1454 This script will default YFLAGS to the empty string to avoid a
1455 default value of `-d' given by some make applications.
1457 CXXCPP C++ preprocessor
1459 Use these variables to override the choices made by `configure' or to
help
1460 it to
find libraries and programs with nonstandard names
/locations.
1462 Report bugs to the package provider.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1476 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1478 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1483 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir
=$ac_pwd
1487 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir
=$ac_top_build_prefix
1492 .
) # We are building in place.
1494 ac_top_srcdir
=$ac_top_builddir_sub
1495 ac_abs_top_srcdir
=$ac_pwd ;;
1496 [\\/]* | ?
:[\\/]* ) # Absolute name.
1497 ac_srcdir
=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir
=$srcdir
1499 ac_abs_top_srcdir
=$srcdir ;;
1501 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1526 generated by GNU Autoconf
2.64
1528 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1529 This configure
script is free software
; the Free Software Foundation
1530 gives unlimited permission to copy
, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile
()
1544 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1545 rm -f conftest.
$ac_objext
1546 if { { ac_try
="$ac_compile"
1548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1549 *) ac_try_echo=$ac_try;;
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err; then
1556 grep -v '^ *+' conftest.err >conftest.er1
1557 cat conftest.er1 >&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.$ac_ext >&5
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_c_try_compile
1577 # ac_fn_cxx_try_compile LINENO
1578 # ----------------------------
1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1580 ac_fn_cxx_try_compile ()
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 rm -f conftest.$ac_objext
1584 if { { ac_try="$ac_compile"
1586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1587 *) ac_try_echo
=$ac_try;;
1589 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590 $as_echo "$ac_try_echo"; } >&5
1591 (eval "$ac_compile") 2>conftest.err
1593 if test -s conftest.err
; then
1594 grep -v '^ *+' conftest.err
>conftest.er1
1595 cat conftest.er1
>&5
1596 mv -f conftest.er1 conftest.err
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && {
1600 test -z "$ac_cxx_werror_flag" ||
1601 test ! -s conftest.err
1602 } && test -s conftest.
$ac_objext; then :
1605 $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.
$ac_ext >&5
1610 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1613 } # ac_fn_cxx_try_compile
1615 # ac_fn_c_try_cpp LINENO
1616 # ----------------------
1617 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1621 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1624 *) ac_try_echo=$ac_try;;
1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627 $as_echo "$ac_try_echo"; } >&5
1628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1630 if test -s conftest.err; then
1631 grep -v '^ *+' conftest.err >conftest.er1
1632 cat conftest.er1 >&5
1633 mv -f conftest.er1 conftest.err
1635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636 test $ac_status = 0; } >/dev/null && {
1637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1638 test ! -s conftest.err
1642 $as_echo "$as_me: failed program was:" >&5
1643 sed 's/^/| /' conftest.$ac_ext >&5
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1653 # -------------------------------------------------------
1654 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1655 # the include files in INCLUDES and setting the cache variable VAR
1657 ac_fn_c_check_header_mongrel ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1664 $as_echo_n "(cached) " >&6
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1670 # Is the header compilable?
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1672 $as_echo_n "checking $2 usability... " >&6; }
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1678 if ac_fn_c_try_compile "$LINENO"; then :
1679 ac_header_compiler=yes
1681 ac_header_compiler=no
1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1685 $as_echo "$ac_header_compiler" >&6; }
1687 # Is the header present?
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1689 $as_echo_n "checking $2 presence... " >&6; }
1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h. */
1694 if ac_fn_c_try_cpp "$LINENO"; then :
1695 ac_header_preproc=yes
1697 ac_header_preproc=no
1699 rm -f conftest.err conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1701 $as_echo "$ac_header_preproc" >&6; }
1703 # So? What about this header?
1704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1707 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1709 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1713 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1715 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1717 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1719 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1727 $as_echo_n "(cached) " >&6
1729 eval "$3=\$ac_header_compiler"
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 } # ac_fn_c_check_header_mongrel
1739 # ac_fn_c_try_run LINENO
1740 # ----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1742 # that executables *can* be run.
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>&5
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1757 { { case "(($ac_try" in
1758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_try") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; }; }; then :
1769 $as_echo "$as_me: program exited with status $ac_status" >&5
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=$ac_status
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782 # -------------------------------------------------------
1783 # Tests whether HEADER exists and can be compiled using the include files in
1784 # INCLUDES, setting the cache variable VAR accordingly.
1785 ac_fn_c_check_header_compile ()
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
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1798 if ac_fn_c_try_compile "$LINENO"; then :
1803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810 } # ac_fn_c_check_header_compile
1812 # ac_fn_c_try_link LINENO
1813 # -----------------------
1814 # Try to link conftest.$ac_ext, and return whether this succeeded.
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 rm -f conftest.$ac_objext conftest$ac_exeext
1819 if { { ac_try="$ac_link"
1821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1822 *) ac_try_echo
=$ac_try;;
1824 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1825 $as_echo "$ac_try_echo"; } >&5
1826 (eval "$ac_link") 2>conftest.err
1828 if test -s conftest.err
; then
1829 grep -v '^ *+' conftest.err
>conftest.er1
1830 cat conftest.er1
>&5
1831 mv -f conftest.er1 conftest.err
1833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1834 test $ac_status = 0; } && {
1835 test -z "$ac_c_werror_flag" ||
1836 test ! -s conftest.err
1837 } && test -s conftest
$ac_exeext && {
1838 test "$cross_compiling" = yes ||
1839 $as_test_x conftest
$ac_exeext
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.
$ac_ext >&5
1848 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1849 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1850 # interfere with the next link command; also delete a directory that is
1851 # left behind by Apple's compiler. We do this before executing the actions.
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1856 } # ac_fn_c_try_link
1858 # ac_fn_c_check_func LINENO FUNC VAR
1859 # ----------------------------------
1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1861 ac_fn_c_check_func
()
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1873 #define $2 innocuous_$2
1875 /* System header to define __stub macros and hopefully few prototypes,
1876 which can conflict with char $2 (); below.
1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878 <limits.h> exists even on freestanding compilers. */
1881 # include <limits.h>
1883 # include <assert.h>
1888 /* Override any GCC internal prototype to avoid an error.
1889 Use char because int might match the return type of a GCC
1890 builtin and then its argument prototype would still apply. */
1895 /* The GNU C library defines this for functions which it implements
1896 to always fail with ENOSYS. Some functions are actually named
1897 something starting with __ and the normal name is an alias. */
1898 #if defined __stub_$2 || defined __stub___$2
1910 if ac_fn_c_try_link
"$LINENO"; then :
1915 rm -f core conftest.err conftest.
$ac_objext \
1916 conftest
$ac_exeext conftest.
$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1923 } # ac_fn_c_check_func
1925 # ac_fn_c_check_decl LINENO SYMBOL VAR
1926 # ------------------------------------
1927 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1928 ac_fn_c_check_decl
()
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1932 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1934 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1935 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1936 $as_echo_n "(cached) " >&6
1938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1944 #ifndef $as_decl_name
1946 (void) $as_decl_use;
1948 (void) $as_decl_name;
1956 if ac_fn_c_try_compile
"$LINENO"; then :
1961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1968 } # ac_fn_c_check_decl
1970 # ac_fn_cxx_try_cpp LINENO
1971 # ------------------------
1972 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_cxx_try_cpp
()
1975 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1976 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } >/dev/null && {
1992 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1993 test ! -s conftest.err
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2002 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005 } # ac_fn_cxx_try_cpp
2007 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2008 # ---------------------------------------------------------
2009 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2010 # the include files in INCLUDES and setting the cache variable VAR
2012 ac_fn_cxx_check_header_mongrel ()
2014 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017 $as_echo_n "checking for $2... " >&6; }
2018 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2019 $as_echo_n "(cached) " >&6
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 # Is the header compilable?
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2027 $as_echo_n "checking $2 usability... " >&6; }
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2033 if ac_fn_cxx_try_compile "$LINENO"; then :
2034 ac_header_compiler=yes
2036 ac_header_compiler=no
2038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2040 $as_echo "$ac_header_compiler" >&6; }
2042 # Is the header present?
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2044 $as_echo_n "checking $2 presence... " >&6; }
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2049 if ac_fn_cxx_try_cpp "$LINENO"; then :
2050 ac_header_preproc=yes
2052 ac_header_preproc=no
2054 rm -f conftest.err conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2056 $as_echo "$ac_header_preproc" >&6; }
2058 # So? What about this header?
2059 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2062 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2064 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2068 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2070 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2072 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2074 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082 $as_echo_n "(cached) " >&6
2084 eval "$3=\$ac_header_compiler"
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2092 } # ac_fn_cxx_check_header_mongrel
2094 # ac_fn_cxx_try_link LINENO
2095 # -------------------------
2096 # Try to link conftest.$ac_ext, and return whether this succeeded.
2097 ac_fn_cxx_try_link ()
2099 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2100 rm -f conftest.$ac_objext conftest$ac_exeext
2101 if { { ac_try="$ac_link"
2103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2104 *) ac_try_echo
=$ac_try;;
2106 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107 $as_echo "$ac_try_echo"; } >&5
2108 (eval "$ac_link") 2>conftest.err
2110 if test -s conftest.err
; then
2111 grep -v '^ *+' conftest.err
>conftest.er1
2112 cat conftest.er1
>&5
2113 mv -f conftest.er1 conftest.err
2115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2116 test $ac_status = 0; } && {
2117 test -z "$ac_cxx_werror_flag" ||
2118 test ! -s conftest.err
2119 } && test -s conftest
$ac_exeext && {
2120 test "$cross_compiling" = yes ||
2121 $as_test_x conftest
$ac_exeext
2125 $as_echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.
$ac_ext >&5
2130 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2131 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2132 # interfere with the next link command; also delete a directory that is
2133 # left behind by Apple's compiler. We do this before executing the actions.
2134 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2138 } # ac_fn_cxx_try_link
2140 # ac_fn_cxx_check_func LINENO FUNC VAR
2141 # ------------------------------------
2142 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2143 ac_fn_cxx_check_func
()
2145 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2149 $as_echo_n "(cached) " >&6
2151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2153 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2155 #define $2 innocuous_$2
2157 /* System header to define __stub macros and hopefully few prototypes,
2158 which can conflict with char $2 (); below.
2159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2160 <limits.h> exists even on freestanding compilers. */
2163 # include <limits.h>
2165 # include <assert.h>
2170 /* Override any GCC internal prototype to avoid an error.
2171 Use char because int might match the return type of a GCC
2172 builtin and then its argument prototype would still apply. */
2177 /* The GNU C library defines this for functions which it implements
2178 to always fail with ENOSYS. Some functions are actually named
2179 something starting with __ and the normal name is an alias. */
2180 #if defined __stub_$2 || defined __stub___$2
2192 if ac_fn_cxx_try_link
"$LINENO"; then :
2197 rm -f core conftest.err conftest.
$ac_objext \
2198 conftest
$ac_exeext conftest.
$ac_ext
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2205 } # ac_fn_cxx_check_func
2207 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2208 # --------------------------------------
2209 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2210 ac_fn_cxx_check_decl
()
2212 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2213 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2214 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2216 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2217 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2218 $as_echo_n "(cached) " >&6
2220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2226 #ifndef $as_decl_name
2228 (void) $as_decl_use;
2230 (void) $as_decl_name;
2238 if ac_fn_cxx_try_compile
"$LINENO"; then :
2243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2250 } # ac_fn_cxx_check_decl
2251 cat >config.log
<<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2255 It was created by gold $as_me 0.1, which was
2256 generated by GNU Autoconf 2.64. Invocation command line was
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2277 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2278 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2281 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2282 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2283 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 $as_echo "PATH: $as_dir"
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2316 ac_must_keep_next
=false
2322 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2323 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2324 |
-silent |
--silent |
--silen |
--sile |
--sil)
2327 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2332 as_fn_append ac_configure_args1
" '$ac_arg'"
2333 if test $ac_must_keep_next = true
; then
2334 ac_must_keep_next
=false
# Got value, back to normal.
2337 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2338 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2339 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2340 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2341 case "$ac_configure_args0 " in
2342 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345 -* ) ac_must_keep_next
=true
;;
2348 as_fn_append ac_configure_args
" '$ac_arg'"
2353 { ac_configure_args0
=; unset ac_configure_args0
;}
2354 { ac_configure_args1
=; unset ac_configure_args1
;}
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log. We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362 # Save into config.log some information that might help in debugging.
2367 ## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##
2372 # The following way of writing the cache mishandles newlines in values,
2374 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375 eval ac_val=\$$ac_var
2379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2383 _ | IFS | as_nl) ;; #(
2384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385 *) { eval $ac_var=; unset $ac_var;} ;;
2390 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391 *${as_nl}ac_space=\ *)
2393 "s/'\''/'\''\\\\'\'''\''/g;
2394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405 ## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##
2410 for ac_var in $ac_subst_vars
2412 eval ac_val=\$$ac_var
2414 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -n "$ac_subst_files"; then
2422 ## ------------------- ##
2423 ## File substitutions. ##
2424 ## ------------------- ##
2427 for ac_var
in $ac_subst_files
2429 eval ac_val
=\$
$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2438 if test -s confdefs.h; then
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal
in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest
* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h
<<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 ac_site_file1
=$CONFIG_SITE
2499 elif test "x$prefix" != xNONE
; then
2500 ac_site_file1
=$prefix/share
/config.site
2501 ac_site_file2
=$prefix/etc
/config.site
2503 ac_site_file1
=$ac_default_prefix/share
/config.site
2504 ac_site_file2
=$ac_default_prefix/etc
/config.site
2506 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE
&& continue
2509 if test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2517 if test -r "$cache_file"; then
2518 # Some versions of bash will fail to source /dev/null (special
2519 # files actually), so we avoid doing that.
2520 if test -f "$cache_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2525 *) .
"./$cache_file";;
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2534 # Check that the precious variables saved in the cache have kept the same
2536 ac_cache_corrupted
=false
2537 for ac_var
in $ac_precious_vars; do
2538 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2539 eval ac_new_set
=\
$ac_env_${ac_var}_set
2540 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2541 eval ac_new_val
=\
$ac_env_${ac_var}_value
2542 case $ac_old_set,$ac_new_set in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2545 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2546 ac_cache_corrupted
=: ;;
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2549 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2550 ac_cache_corrupted
=: ;;
2553 if test "x$ac_old_val" != "x$ac_new_val"; then
2554 # differences in whitespace do not lead to failure.
2555 ac_old_val_w
=`echo x $ac_old_val`
2556 ac_new_val_w
=`echo x $ac_new_val`
2557 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2559 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2560 ac_cache_corrupted
=:
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2563 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2564 eval $ac_var=\
$ac_old_val
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2567 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2569 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2572 # Pass precious variables to config.status.
2573 if test "$ac_new_set" = set; then
2575 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 *) ac_arg
=$ac_var=$ac_new_val ;;
2578 case " $ac_configure_args " in
2579 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2580 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2584 if $ac_cache_corrupted; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2588 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2589 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2591 ## -------------------- ##
2592 ## Main body of script. ##
2593 ## -------------------- ##
2596 ac_cpp
='$CPP $CPPFLAGS'
2597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2608 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2609 for ac_t
in install-sh
install.sh shtool
; do
2610 if test -f "$ac_dir/$ac_t"; then
2612 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2617 if test -z "$ac_aux_dir"; then
2618 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2621 # These three variables are undocumented and unsupported,
2622 # and are intended to be withdrawn in a future Autoconf release.
2623 # They can cause serious problems if a builder's source tree is in a directory
2624 # whose full name contains unusual characters.
2625 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2626 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2627 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2630 # Make sure we can run config.sub.
2631 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2632 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2635 $as_echo_n "checking build system type... " >&6; }
2636 if test "${ac_cv_build+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 ac_build_alias
=$build_alias
2640 test "x$ac_build_alias" = x
&&
2641 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2642 test "x$ac_build_alias" = x
&&
2643 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2644 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2645 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2649 $as_echo "$ac_cv_build" >&6; }
2650 case $ac_cv_build in
2652 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2655 ac_save_IFS
=$IFS; IFS
='-'
2661 # Remember, the first character of IFS is used to create $*,
2662 # except with old shells:
2665 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2669 $as_echo_n "checking host system type... " >&6; }
2670 if test "${ac_cv_host+set}" = set; then :
2671 $as_echo_n "(cached) " >&6
2673 if test "x$host_alias" = x
; then
2674 ac_cv_host
=$ac_cv_build
2676 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2677 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2682 $as_echo "$ac_cv_host" >&6; }
2685 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2688 ac_save_IFS
=$IFS; IFS
='-'
2694 # Remember, the first character of IFS is used to create $*,
2695 # except with old shells:
2698 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2702 $as_echo_n "checking target system type... " >&6; }
2703 if test "${ac_cv_target+set}" = set; then :
2704 $as_echo_n "(cached) " >&6
2706 if test "x$target_alias" = x
; then
2707 ac_cv_target
=$ac_cv_host
2709 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2710 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2715 $as_echo "$ac_cv_target" >&6; }
2716 case $ac_cv_target in
2718 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2720 target
=$ac_cv_target
2721 ac_save_IFS
=$IFS; IFS
='-'
2727 # Remember, the first character of IFS is used to create $*,
2728 # except with old shells:
2731 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2734 # The aliases save the names the user supplied, while $host etc.
2735 # will get canonicalized.
2736 test -n "$target_alias" &&
2737 test "$program_prefix$program_suffix$program_transform_name" = \
2739 program_prefix
=${target_alias}-
2741 am__api_version
='1.11'
2743 # Find a good install program. We prefer a C program (faster),
2744 # so one script is as good as another. But avoid the broken or
2745 # incompatible versions:
2746 # SysV /etc/install, /usr/sbin/install
2747 # SunOS /usr/etc/install
2748 # IRIX /sbin/install
2750 # AmigaOS /C/install, which installs bootblocks on floppy discs
2751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2754 # OS/2's system install, which has a completely different semantic
2755 # ./install, which can be erroneously created by make from ./install.sh.
2756 # Reject install programs that cannot install multiple files.
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2758 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2759 if test -z "$INSTALL"; then
2760 if test "${ac_cv_path_install+set}" = set; then :
2761 $as_echo_n "(cached) " >&6
2763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir
=.
2768 # Account for people who put trailing slashes in PATH elements.
2769 case $as_dir/ in #((
2770 .
/ | .
// |
/[cC
]/* | \
2771 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2772 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2775 # OSF1 and SCO ODT 3.0 have their own names for install.
2776 # Don't use installbsd from OSF since it installs stuff as root
2778 for ac_prog
in ginstall scoinst
install; do
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2781 if test $ac_prog = install &&
2782 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2783 # AIX install. It has an incompatible calling convention.
2785 elif test $ac_prog = install &&
2786 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2787 # program-specific install script used by HP pwplus--don't use.
2790 rm -rf conftest.one conftest.two conftest.dir
2791 echo one
> conftest.one
2792 echo two
> conftest.two
2794 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2795 test -s conftest.one
&& test -s conftest.two
&&
2796 test -s conftest.dir
/conftest.one
&&
2797 test -s conftest.dir
/conftest.two
2799 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2812 rm -rf conftest.one conftest.two conftest.dir
2815 if test "${ac_cv_path_install+set}" = set; then
2816 INSTALL
=$ac_cv_path_install
2818 # As a last resort, use the slow shell script. Don't cache a
2819 # value for INSTALL within a source directory, because that will
2820 # break other packages using the cache if that directory is
2821 # removed, or if the value is a relative name.
2822 INSTALL
=$ac_install_sh
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2826 $as_echo "$INSTALL" >&6; }
2828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2829 # It thinks the first close brace ends the variable substitution.
2830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2834 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2837 $as_echo_n "checking whether build environment is sane... " >&6; }
2840 echo timestamp
> conftest.
file
2841 # Reject unsafe characters in $srcdir or the absolute working directory
2842 # name. Accept space and tab only in the latter.
2846 *[\\\"\
#\$\&\'\`$am_lf]*)
2847 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2850 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2851 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2854 # Do `set' in a subshell so we don't clobber the current shell's
2855 # arguments. Must try -L first in case configure is actually a
2856 # symlink; some systems play weird games with the mod time of symlinks
2857 # (eg FreeBSD returns the mod time of the symlink's containing
2860 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2861 if test "$*" = "X"; then
2863 set X
`ls -t "$srcdir/configure" conftest.file`
2866 if test "$*" != "X $srcdir/configure conftest.file" \
2867 && test "$*" != "X conftest.file $srcdir/configure"; then
2869 # If neither matched, then we have a broken ls. This can happen
2870 # if, for instance, CONFIG_SHELL is bash and it inherits a
2871 # broken ls alias from the environment. This has actually
2872 # happened. Such a system could not be considered "sane".
2873 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2874 alias in your environment" "$LINENO" 5
2877 test "$2" = conftest.
file
2883 as_fn_error
"newly created file is older than distributed files!
2884 Check your system clock" "$LINENO" 5
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2888 test "$program_prefix" != NONE
&&
2889 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2890 # Use a double $ so make ignores it.
2891 test "$program_suffix" != NONE
&&
2892 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2893 # Double any \ or $.
2894 # By default was `s,x,x', remove it if useless.
2895 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2896 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2898 # expand $ac_aux_dir to an absolute path
2899 am_aux_dir
=`cd $ac_aux_dir && pwd`
2901 if test x
"${MISSING+set}" != xset
; then
2904 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2906 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2909 # Use eval to expand $SHELL
2910 if eval "$MISSING --run true"; then
2911 am_missing_run
="$MISSING --run "
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2915 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2918 if test x
"${install_sh}" != xset
; then
2921 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2923 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2927 # Installed binaries are usually stripped using `strip' when the user
2928 # run `make install-strip'. However `strip' might not be the right
2929 # tool to use in cross-compilation environments, therefore Automake
2930 # will honor the `STRIP' environment variable to overrule this program.
2931 if test "$cross_compiling" != no
; then
2932 if test -n "$ac_tool_prefix"; then
2933 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2934 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if test "${ac_cv_prog_STRIP+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$STRIP"; then
2941 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 STRIP
=$ac_cv_prog_STRIP
2961 if test -n "$STRIP"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2963 $as_echo "$STRIP" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2971 if test -z "$ac_cv_prog_STRIP"; then
2973 # Extract the first word of "strip", so it can be a program name with args.
2974 set dummy strip
; ac_word
=$2
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 $as_echo_n "checking for $ac_word... " >&6; }
2977 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2980 if test -n "$ac_ct_STRIP"; then
2981 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir
=.
2988 for ac_exec_ext
in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_ac_ct_STRIP
="strip"
2991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3001 if test -n "$ac_ct_STRIP"; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3003 $as_echo "$ac_ct_STRIP" >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006 $as_echo "no" >&6; }
3009 if test "x$ac_ct_STRIP" = x
; then
3012 case $cross_compiling:$ac_tool_warned in
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3016 ac_tool_warned
=yes ;;
3021 STRIP
="$ac_cv_prog_STRIP"
3025 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3028 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3029 if test -z "$MKDIR_P"; then
3030 if test "${ac_cv_path_mkdir+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_prog
in mkdir gmkdir
; do
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3041 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3042 'mkdir (GNU coreutils) '* | \
3043 'mkdir (coreutils) '* | \
3044 'mkdir (fileutils) '4.1*)
3045 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3055 if test "${ac_cv_path_mkdir+set}" = set; then
3056 MKDIR_P
="$ac_cv_path_mkdir -p"
3058 # As a last resort, use the slow shell script. Don't cache a
3059 # value for MKDIR_P within a source directory, because that will
3060 # break other packages using the cache if that directory is
3061 # removed, or if the value is a relative name.
3062 test -d .
/--version && rmdir .
/--version
3063 MKDIR_P
="$ac_install_sh -d"
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3067 $as_echo "$MKDIR_P" >&6; }
3071 [\\/$
]* | ?
:[\\/]*) ;;
3072 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3075 for ac_prog
in gawk mawk nawk
awk
3077 # Extract the first word of "$ac_prog", so it can be a program name with args.
3078 set dummy
$ac_prog; ac_word
=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if test "${ac_cv_prog_AWK+set}" = set; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$AWK"; then
3085 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_exec_ext
in '' $ac_executable_extensions; do
3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094 ac_cv_prog_AWK
="$ac_prog"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test -n "$AWK"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3107 $as_echo "$AWK" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3114 test -n "$AWK" && break
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3118 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3120 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3121 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3122 $as_echo_n "(cached) " >&6
3124 cat >conftest.
make <<\_ACEOF
3127 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3130 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3132 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3134 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3138 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3140 $as_echo "yes" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 SET_MAKE
="MAKE=${MAKE-make}"
3148 rm -rf .tst
2>/dev
/null
3149 mkdir .tst
2>/dev
/null
3150 if test -d .tst
; then
3155 rmdir .tst
2>/dev
/null
3157 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3158 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3159 # is not polluted with repeated "-I."
3160 am__isrc
=' -I$(srcdir)'
3161 # test to see if srcdir already configured
3162 if test -f $srcdir/config.status
; then
3163 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3167 # test whether we have cygpath
3168 if test -z "$CYGPATH_W"; then
3169 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3170 CYGPATH_W
='cygpath -w'
3177 # Define the identity of the package.
3182 cat >>confdefs.h
<<_ACEOF
3183 #define PACKAGE "$PACKAGE"
3187 cat >>confdefs.h
<<_ACEOF
3188 #define VERSION "$VERSION"
3191 # Some tools Automake needs.
3193 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3196 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3199 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3202 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3205 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3207 # We need awk for the "check" target. The system "awk" is bad on
3209 # Always define AMTAR for backward compatibility.
3211 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3213 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3220 ac_config_headers
="$ac_config_headers config.h:config.in"
3224 # Check whether --with-sysroot was given.
3225 if test "${with_sysroot+set}" = set; then :
3226 withval
=$with_sysroot; sysroot
=$withval
3232 if test "$sysroot" = "yes"; then
3233 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3234 elif test "$sysroot" = "no"; then
3238 sysroot_relocatable
=0
3239 if test -n "$sysroot"; then
3241 "${prefix}" |
"${prefix}/"* | \
3242 "${exec_prefix}" |
"${exec_prefix}/"* | \
3243 '${prefix}' |
'${prefix}/'*| \
3244 '${exec_prefix}' |
'${exec_prefix}/'*)
3245 sysroot_relocatable
=1
3251 cat >>confdefs.h
<<_ACEOF
3252 #define TARGET_SYSTEM_ROOT "$sysroot"
3256 cat >>confdefs.h
<<_ACEOF
3257 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3263 # Check whether --enable-ld was given.
3264 if test "${enable_ld+set}" = set; then :
3265 enableval
=$enable_ld; case "${enableval}" in
3273 # Check whether --enable-gold was given.
3274 if test "${enable_gold+set}" = set; then :
3275 enableval
=$enable_gold; case "${enableval}" in
3277 if test x
${default_ld} = x
; then
3278 install_as_default
=yes
3280 installed_linker
=ld.gold
3285 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3289 install_as_default
=no
3290 installed_linker
=ld.gold
3296 # Check whether --enable-threads was given.
3297 if test "${enable_threads+set}" = set; then :
3298 enableval
=$enable_threads; case "${enableval}" in
3299 yes |
"") threads
=yes ;;
3307 if test "$threads" = "yes"; then
3309 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3312 if test "$threads" = "yes"; then
3321 # Check whether --enable-plugins was given.
3322 if test "${enable_plugins+set}" = set; then :
3323 enableval
=$enable_plugins; case "${enableval}" in
3324 yes |
"") plugins
=yes ;;
3332 if test "$plugins" = "yes"; then
3334 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3337 if test "$plugins" = "yes"; then
3346 # Check whether --enable-targets was given.
3347 if test "${enable_targets+set}" = set; then :
3348 enableval
=$enable_targets; case "${enableval}" in
3350 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3356 enable_targets
=$enableval
3360 # For now, enable all targets by default
3366 # Canonicalize the enabled targets.
3367 if test -n "$enable_targets"; then
3368 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3369 result
=`$ac_config_sub $targ 2>/dev/null`
3370 if test -n "$result"; then
3371 canon_targets
="$canon_targets $result"
3373 # Permit unrecognized target names, like "all".
3374 canon_targets
="$canon_targets $targ"
3379 # See which specific instantiations we need.
3385 default_osabi
=ELFOSABI_NONE
3390 for targ
in $target $canon_targets; do
3391 if test "$targ" = "all"; then
3398 .
${srcdir}/configure.tgt
3400 if test "$targ_obj" = "UNKNOWN"; then
3401 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3403 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3404 if test "$targ_extra_obj" != ""; then
3405 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3407 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3408 if test "$targ_big_endian" = "true" \
3409 -o "$targ_extra_big_endian" = "true"; then
3412 if test "$targ_big_endian" = "false" \
3413 -o "$targ_extra_big_endian" = "false"; then
3417 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3418 if test "$targ_big_endian" = "true" \
3419 -o "$targ_extra_big_endian" = "true"; then
3422 if test "$targ_big_endian" = "false" \
3423 -o "$targ_extra_big_endian" = "false"; then
3428 if test "$target" = "$targ"; then
3429 default_machine
=$targ_machine
3430 default_size
=$targ_size
3431 default_big_endian
=$targ_big_endian
3432 default_osabi
=$targ_osabi
3434 if test "$targ_obj" = "arm"; then
3435 DEFAULT_TARGET_ARM_TRUE
=
3436 DEFAULT_TARGET_ARM_FALSE
='#'
3438 DEFAULT_TARGET_ARM_TRUE
='#'
3439 DEFAULT_TARGET_ARM_FALSE
=
3442 if test "$targ_obj" = "i386"; then
3443 DEFAULT_TARGET_I386_TRUE
=
3444 DEFAULT_TARGET_I386_FALSE
='#'
3446 DEFAULT_TARGET_I386_TRUE
='#'
3447 DEFAULT_TARGET_I386_FALSE
=
3450 if test "$targ_obj" = "powerpc"; then
3451 DEFAULT_TARGET_POWERPC_TRUE
=
3452 DEFAULT_TARGET_POWERPC_FALSE
='#'
3454 DEFAULT_TARGET_POWERPC_TRUE
='#'
3455 DEFAULT_TARGET_POWERPC_FALSE
=
3458 if test "$targ_obj" = "sparc"; then
3459 DEFAULT_TARGET_SPARC_TRUE
=
3460 DEFAULT_TARGET_SPARC_FALSE
='#'
3462 DEFAULT_TARGET_SPARC_TRUE
='#'
3463 DEFAULT_TARGET_SPARC_FALSE
=
3466 if test "$targ_obj" = "x86_64"; then
3467 DEFAULT_TARGET_X86_64_TRUE
=
3468 DEFAULT_TARGET_X86_64_FALSE
='#'
3470 DEFAULT_TARGET_X86_64_TRUE
='#'
3471 DEFAULT_TARGET_X86_64_FALSE
=
3479 # Remove any duplicates.
3481 for t
in $targetobjs; do
3489 if test -n "$targ_32_little"; then
3491 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3494 if test -n "$targ_32_big"; then
3496 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3499 if test -n "$targ_64_little"; then
3501 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3504 if test -n "$targ_64_big"; then
3506 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3510 if test -n "$all_targets"; then
3511 TARGETOBJS
='$(ALL_TARGETOBJS)'
3513 TARGETOBJS
="$targetobjs"
3518 cat >>confdefs.h
<<_ACEOF
3519 #define GOLD_DEFAULT_MACHINE $default_machine
3523 cat >>confdefs.h
<<_ACEOF
3524 #define GOLD_DEFAULT_SIZE $default_size
3528 cat >>confdefs.h
<<_ACEOF
3529 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3533 cat >>confdefs.h
<<_ACEOF
3534 #define GOLD_DEFAULT_OSABI $default_osabi
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3540 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_NM+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$NM"; then
3547 ac_cv_prog_NM
="$NM" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$NM"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3569 $as_echo "$NM" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3577 if test -z "$ac_cv_prog_NM"; then
3579 # Extract the first word of "nm", so it can be a program name with args.
3580 set dummy nm
; ac_word
=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$ac_ct_NM"; then
3587 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_ac_ct_NM
="nm"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3607 if test -n "$ac_ct_NM"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3609 $as_echo "$ac_ct_NM" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3615 if test "x$ac_ct_NM" = x
; then
3618 case $cross_compiling:$ac_tool_warned in
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned
=yes ;;
3632 ac_cpp
='$CPP $CPPFLAGS'
3633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3638 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC
="$CC" # Let the user override the test.
3647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir
=.
3652 for ac_exec_ext
in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$ac_cv_prog_CC"; then
3677 # Extract the first word of "gcc", so it can be a program name with args.
3678 set dummy gcc
; ac_word
=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$ac_ct_CC"; then
3685 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 ac_cv_prog_ac_ct_CC
="gcc"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3713 if test "x$ac_ct_CC" = x
; then
3716 case $cross_compiling:$ac_tool_warned in
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720 ac_tool_warned
=yes ;;
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3731 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if test "${ac_cv_prog_CC+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$CC"; then
3738 ac_cv_prog_CC
="$CC" # Let the user override the test.
3740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir
=.
3745 for ac_exec_ext
in '' $ac_executable_extensions; do
3746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 if test -n "$CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3760 $as_echo "$CC" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3769 if test -z "$CC"; then
3770 # Extract the first word of "cc", so it can be a program name with args.
3771 set dummy cc
; ac_word
=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if test "${ac_cv_prog_CC+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$CC"; then
3778 ac_cv_prog_CC
="$CC" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3788 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3789 ac_prog_rejected
=yes
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 if test $ac_prog_rejected = yes; then
3801 # We found a bogon in the path, so make sure we never use it.
3802 set dummy
$ac_cv_prog_CC
3804 if test $# != 0; then
3805 # We chose a different compiler from the bogus one.
3806 # However, it has the same basename, so the bogon will be chosen
3807 # first if we set CC to just the basename; use the full file name.
3809 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3825 if test -z "$CC"; then
3826 if test -n "$ac_tool_prefix"; then
3827 for ac_prog
in cl.exe
3829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_CC+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC
="$CC" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3866 test -n "$CC" && break
3869 if test -z "$CC"; then
3871 for ac_prog
in cl.exe
3873 # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy
$ac_prog; ac_word
=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_CC"; then
3881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890 ac_cv_prog_ac_ct_CC
="$ac_prog"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3901 if test -n "$ac_ct_CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3903 $as_echo "$ac_ct_CC" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3910 test -n "$ac_ct_CC" && break
3913 if test "x$ac_ct_CC" = x
; then
3916 case $cross_compiling:$ac_tool_warned in
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3920 ac_tool_warned
=yes ;;
3929 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error
"no acceptable C compiler found in \$PATH
3932 See \`config.log' for more details." "$LINENO" 5; }
3934 # Provide some information about the compiler.
3935 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3938 for ac_option
in --version -v -V -qversion; do
3939 { { ac_try
="$ac_compiler $ac_option >&5"
3941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3945 $as_echo "$ac_try_echo"; } >&5
3946 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3948 if test -s conftest.err; then
3950 ... rest of stderr output deleted ...
3951 10q' conftest.err >conftest.er1
3952 cat conftest.er1 >&5
3953 rm -f conftest.er1 conftest.err
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3956 test $ac_status = 0; }
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3970 ac_clean_files_save=$ac_clean_files
3971 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3972 # Try to create an executable without -o first, disregard a.out.
3973 # It will help us diagnose broken compilers, and finding out an intuition
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3976 $as_echo_n "checking for C compiler default output file name... " >&6; }
3977 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3979 # The possible output files:
3980 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3983 for ac_file in $ac_files
3986 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3987 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3992 if { { ac_try="$ac_link_default"
3994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3995 *) ac_try_echo
=$ac_try;;
3997 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link_default") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; then :
4003 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4005 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4006 # so that the user can short-circuit this test for compilers unknown to
4008 for ac_file
in $ac_files ''
4010 test -f "$ac_file" ||
continue
4012 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4015 # We found the default executable, but exeext='' is most
4019 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4021 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 # We set ac_cv_exeext here because the later test for it is not
4024 # safe: cross compilers may not add the suffix if given an `-o'
4025 # argument, so we may need to know it at that point already.
4026 # Even if this section looks crufty: it has the advantage of
4033 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4039 $as_echo "$ac_file" >&6; }
4040 if test -z "$ac_file"; then :
4041 $as_echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.
$ac_ext >&5
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 { as_fn_set_status
77
4047 as_fn_error
"C compiler cannot create executables
4048 See \`config.log' for more details." "$LINENO" 5; }; }
4050 ac_exeext
=$ac_cv_exeext
4052 # Check that the compiler produces executables we can run. If not, either
4053 # the compiler is broken, or we cross compile.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4055 $as_echo_n "checking whether the C compiler works... " >&6; }
4056 # If not cross compiling, check that we can run a simple program.
4057 if test "$cross_compiling" != yes; then
4058 if { ac_try
='./$ac_file'
4059 { { case "(($ac_try" in
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_try") 2>&5
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; }; then
4071 if test "$cross_compiling" = maybe; then
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error "cannot run C compiled programs.
4077 If you meant to cross compile
, use \
`--host'.
4078 See \`config.log
' for more details." "$LINENO" 5; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4083 $as_echo "yes" >&6; }
4085 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4086 ac_clean_files=$ac_clean_files_save
4087 # Check that the compiler produces executables we can run. If not, either
4088 # the compiler is broken, or we cross compile.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4090 $as_echo_n "checking whether we are cross compiling... " >&6; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4092 $as_echo "$cross_compiling" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4095 $as_echo_n "checking for suffix of executables... " >&6; }
4096 if { { ac_try="$ac_link"
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_link") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4108 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4109 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4111 for ac_file
in conftest.exe conftest conftest.
*; do
4112 test -f "$ac_file" ||
continue
4114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4115 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4124 See \`config.log' for more details." "$LINENO" 5; }
4126 rm -f conftest
$ac_cv_exeext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4128 $as_echo "$ac_cv_exeext" >&6; }
4130 rm -f conftest.
$ac_ext
4131 EXEEXT
=$ac_cv_exeext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if test "${ac_cv_objext+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try
="$ac_compile"
4152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_compile") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 for ac_file in conftest.o conftest.obj conftest.*; do
4162 test -f "$ac_file" || continue;
4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error "cannot compute suffix of object files
: cannot compile
4176 See \
`config.log' for more details." "$LINENO" 5; }
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4187 $as_echo_n "(cached) " >&6
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if test "${ac_cv_prog_cc_g+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4226 ac_save_c_werror_flag=$ac_c_werror_flag
4227 ac_c_werror_flag=yes
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4241 if ac_fn_c_try_compile "$LINENO"; then :
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_save_c_werror_flag
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285 CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287 if test "$GCC" = yes; then
4293 if test "$GCC" = yes; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4302 $as_echo_n "(cached) " >&6
4304 ac_cv_prog_cc_c89=no
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4310 #include <sys/types.h>
4311 #include <sys/stat.h>
4312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4313 struct buf { int x; };
4314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4315 static char *e (p, i)
4321 static char *f (char * (*g) (char **, int), char **p, ...)
4326 s = g (p, va_arg (v,int));
4331 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4332 function prototypes and stuff, but not '\xHH' hex character constants.
4333 These don't provoke an error unfortunately, instead are silently treated
4334 as 'x'. The following induces an error, until -std is added to get
4335 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4336 array size at least. It's necessary to write '\x00'==0 to get something
4337 that's true only with -std. */
4338 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4340 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4341 inside strings and character constants. */
4343 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4345 int test (int i, double x);
4346 struct s1 {int (*f) (int a);};
4347 struct s2 {int (*f) (double a);};
4348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4354 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4360 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4362 CC="$ac_save_CC $ac_arg"
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 ac_cv_prog_cc_c89=$ac_arg
4366 rm -f core conftest.err conftest.$ac_objext
4367 test "x$ac_cv_prog_cc_c89" != "xno" && break
4369 rm -f conftest.$ac_ext
4374 case "x$ac_cv_prog_cc_c89" in
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4377 $as_echo "none needed" >&6; } ;;
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4380 $as_echo "unsupported" >&6; } ;;
4382 CC="$CC $ac_cv_prog_cc_c89"
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4384 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4386 if test "x$ac_cv_prog_cc_c89" != xno; then :
4391 ac_cpp='$CPP $CPPFLAGS'
4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395 DEPDIR="${am__leading_dot}deps"
4397 ac_config_commands="$ac_config_commands depfiles"
4400 am_make=${MAKE-make}
4401 cat > confinc << 'END'
4403 @echo this is the am__doit target
4406 # If we don't find an include directive, just comment out the code.
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4408 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4412 # First try GNU make style include.
4413 echo "include confinc" > confmf
4414 # Ignore all kinds of additional output from `make'.
4415 case `$am_make -s -f confmf 2> /dev/null` in #(
4416 *the\ am__doit\ target*)
4422 # Now try BSD make style include.
4423 if test "$am__include" = "#"; then
4424 echo '.include
"confinc"' > confmf
4425 case `$am_make -s -f confmf 2> /dev/null` in #(
4426 *the\ am__doit\ target*)
4427 am__include=.include
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4436 $as_echo "$_am_result" >&6; }
4437 rm -f confinc confmf
4439 # Check whether --enable-dependency-tracking was given.
4440 if test "${enable_dependency_tracking+set}" = set; then :
4441 enableval=$enable_dependency_tracking;
4444 if test "x$enable_dependency_tracking" != xno; then
4445 am_depcomp="$ac_aux_dir/depcomp"
4448 if test "x$enable_dependency_tracking" != xno
; then
4458 depcc
="$CC" am_compiler_list
=
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
4462 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4463 $as_echo_n "(cached) " >&6
4465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466 # We make a subdir and do the tests there. Otherwise we can end up
4467 # making bogus files that we don't know about and never remove. For
4468 # instance it was reported that on HP-UX the gcc test will end up
4469 # making a dummy file named `D' -- because `-MD' means `put the output
4472 # Copy depcomp to subdir because otherwise we won't find it if we're
4473 # using a relative directory.
4474 cp "$am_depcomp" conftest.dir
4476 # We will build objects and dependencies in a subdirectory because
4477 # it helps to detect inapplicable dependency modes. For instance
4478 # both Tru64's cc and ICC support -MD to output dependencies as a
4479 # side effect of compilation, but ICC will put the dependencies in
4480 # the current directory while Tru64 will put them in the object
4484 am_cv_CC_dependencies_compiler_type
=none
4485 if test "$am_compiler_list" = ""; then
4486 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4489 case " $depcc " in #(
4490 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4493 for depmode
in $am_compiler_list; do
4494 # Setup a source with many dependencies, because some compilers
4495 # like to wrap large dependency lists on column 80 (with \), and
4496 # we should not choose a depcomp mode which is confused by this.
4498 # We need to recreate these files for each test, as the compiler may
4499 # overwrite some of them when testing with obscure command lines.
4500 # This happens at least with the AIX C compiler.
4502 for i
in 1 2 3 4 5 6; do
4503 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4505 # Solaris 8's {/usr,}/bin/sh.
4506 touch sub
/conftst
$i.h
4508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4511 # mode. It turns out that the SunPro C++ compiler does not properly
4512 # handle `-M -o', and we need to detect this. Also, some Intel
4513 # versions had trouble with output in subdirs
4514 am__obj
=sub
/conftest.
${OBJEXT-o}
4515 am__minus_obj
="-o $am__obj"
4518 # This depmode causes a compiler race in universal mode.
4519 test "$am__universal" = false ||
continue
4522 # after this tag, mechanisms are not by side-effect, so they'll
4523 # only be used when explicitly requested
4524 if test "x$enable_dependency_tracking" = xyes
; then
4530 msvisualcpp | msvcmsys
)
4531 # This compiler won't grok `-c -o', but also, the minuso test has
4532 # not run yet. These depmodes are late enough in the game, and
4533 # so weak that their functioning should not be impacted.
4534 am__obj
=conftest.
${OBJEXT-o}
4539 if depmode
=$depmode \
4540 source=sub
/conftest.c object
=$am__obj \
4541 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4542 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4543 >/dev
/null
2>conftest.err
&&
4544 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4545 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4546 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4547 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4548 # icc doesn't choke on unknown options, it will just issue warnings
4549 # or remarks (even with -Werror). So we grep stderr for any message
4550 # that says an option was ignored or not supported.
4551 # When given -MP, icc 7.0 and 7.1 complain thusly:
4552 # icc: Command line warning: ignoring option '-M'; no argument required
4553 # The diagnosis changed in icc 8.0:
4554 # icc: Command line remark: option '-MP' not supported
4555 if (grep 'ignoring option' conftest.err ||
4556 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4557 am_cv_CC_dependencies_compiler_type
=$depmode
4566 am_cv_CC_dependencies_compiler_type
=none
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4571 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4572 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4575 test "x$enable_dependency_tracking" != xno \
4576 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4578 am__fastdepCC_FALSE
='#'
4580 am__fastdepCC_TRUE
='#'
4581 am__fastdepCC_FALSE
=
4586 ac_cpp
='$CXXCPP $CPPFLAGS'
4587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4590 if test -z "$CXX"; then
4591 if test -n "$CCC"; then
4594 if test -n "$ac_tool_prefix"; then
4595 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4598 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_CXX+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$CXX"; then
4605 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 if test -n "$CXX"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4627 $as_echo "$CXX" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$CXX" && break
4637 if test -z "$CXX"; then
4639 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4641 # Extract the first word of "$ac_prog", so it can be a program name with args.
4642 set dummy
$ac_prog; ac_word
=$2
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4644 $as_echo_n "checking for $ac_word... " >&6; }
4645 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4646 $as_echo_n "(cached) " >&6
4648 if test -n "$ac_ct_CXX"; then
4649 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir
=.
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4669 if test -n "$ac_ct_CXX"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4671 $as_echo "$ac_ct_CXX" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 test -n "$ac_ct_CXX" && break
4681 if test "x$ac_ct_CXX" = x
; then
4684 case $cross_compiling:$ac_tool_warned in
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4688 ac_tool_warned
=yes ;;
4696 # Provide some information about the compiler.
4697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4700 for ac_option
in --version -v -V -qversion; do
4701 { { ac_try
="$ac_compiler $ac_option >&5"
4703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4704 *) ac_try_echo=$ac_try;;
4706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4707 $as_echo "$ac_try_echo"; } >&5
4708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4710 if test -s conftest.err; then
4712 ... rest of stderr output deleted ...
4713 10q' conftest.err >conftest.er1
4714 cat conftest.er1 >&5
4715 rm -f conftest.er1 conftest.err
4717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4718 test $ac_status = 0; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4722 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4723 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4740 if ac_fn_cxx_try_compile "$LINENO"; then :
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4750 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4751 if test $ac_compiler_gnu = yes; then
4756 ac_test_CXXFLAGS=${CXXFLAGS+set}
4757 ac_save_CXXFLAGS=$CXXFLAGS
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4759 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4760 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4761 $as_echo_n "(cached) " >&6
4763 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4764 ac_cxx_werror_flag=yes
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4778 if ac_fn_cxx_try_compile "$LINENO"; then :
4779 ac_cv_prog_cxx_g=yes
4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4796 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_cxx_try_compile "$LINENO"; then :
4810 ac_cv_prog_cxx_g=yes
4812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4820 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4821 if test "$ac_test_CXXFLAGS" = set; then
4822 CXXFLAGS=$ac_save_CXXFLAGS
4823 elif test $ac_cv_prog_cxx_g = yes; then
4824 if test "$GXX" = yes; then
4830 if test "$GXX" = yes; then
4837 ac_cpp='$CPP $CPPFLAGS'
4838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4842 depcc="$CXX" am_compiler_list=
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4845 $as_echo_n "checking dependency style of $depcc... " >&6; }
4846 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4850 # We make a subdir and do the tests there. Otherwise we can end up
4851 # making bogus files that we don't know about and never remove. For
4852 # instance it was reported that on HP-UX the gcc test will end up
4853 # making a dummy file named `D
' -- because `-MD' means
`put the output
4856 # Copy depcomp to subdir because otherwise we won't find it if we're
4857 # using a relative directory.
4858 cp "$am_depcomp" conftest.dir
4860 # We will build objects and dependencies in a subdirectory because
4861 # it helps to detect inapplicable dependency modes. For instance
4862 # both Tru64's cc and ICC support -MD to output dependencies as a
4863 # side effect of compilation, but ICC will put the dependencies in
4864 # the current directory while Tru64 will put them in the object
4868 am_cv_CXX_dependencies_compiler_type=none
4869 if test "$am_compiler_list" = ""; then
4870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4873 case " $depcc " in #(
4874 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4877 for depmode in $am_compiler_list; do
4878 # Setup a source with many dependencies, because some compilers
4879 # like to wrap large dependency lists on column 80 (with \), and
4880 # we should not choose a depcomp mode which is confused by this.
4882 # We need to recreate these files for each test, as the compiler may
4883 # overwrite some of them when testing with obscure command lines.
4884 # This happens at least with the AIX C compiler.
4886 for i in 1 2 3 4 5 6; do
4887 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4888 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4889 # Solaris 8's
{/usr
,}/bin
/sh.
4890 touch sub
/conftst
$i.h
4892 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4894 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4895 # mode. It turns out that the SunPro C++ compiler does not properly
4896 # handle `-M -o', and we need to detect this. Also, some Intel
4897 # versions had trouble with output in subdirs
4898 am__obj
=sub
/conftest.
${OBJEXT-o}
4899 am__minus_obj
="-o $am__obj"
4902 # This depmode causes a compiler race in universal mode.
4903 test "$am__universal" = false ||
continue
4906 # after this tag, mechanisms are not by side-effect, so they'll
4907 # only be used when explicitly requested
4908 if test "x$enable_dependency_tracking" = xyes
; then
4914 msvisualcpp | msvcmsys
)
4915 # This compiler won't grok `-c -o', but also, the minuso test has
4916 # not run yet. These depmodes are late enough in the game, and
4917 # so weak that their functioning should not be impacted.
4918 am__obj
=conftest.
${OBJEXT-o}
4923 if depmode
=$depmode \
4924 source=sub
/conftest.c object
=$am__obj \
4925 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4926 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4927 >/dev
/null
2>conftest.err
&&
4928 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4929 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4930 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4931 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4932 # icc doesn't choke on unknown options, it will just issue warnings
4933 # or remarks (even with -Werror). So we grep stderr for any message
4934 # that says an option was ignored or not supported.
4935 # When given -MP, icc 7.0 and 7.1 complain thusly:
4936 # icc: Command line warning: ignoring option '-M'; no argument required
4937 # The diagnosis changed in icc 8.0:
4938 # icc: Command line remark: option '-MP' not supported
4939 if (grep 'ignoring option' conftest.err ||
4940 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4941 am_cv_CXX_dependencies_compiler_type
=$depmode
4950 am_cv_CXX_dependencies_compiler_type
=none
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4955 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4956 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4959 test "x$enable_dependency_tracking" != xno \
4960 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4961 am__fastdepCXX_TRUE
=
4962 am__fastdepCXX_FALSE
='#'
4964 am__fastdepCXX_TRUE
='#'
4965 am__fastdepCXX_FALSE
=
4969 for ac_prog
in 'bison -y' byacc
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy
$ac_prog; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_YACC+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$YACC"; then
4979 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_YACC
="$ac_prog"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 YACC
=$ac_cv_prog_YACC
4999 if test -n "$YACC"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5001 $as_echo "$YACC" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 test -n "$YACC" && break
5010 test -n "$YACC" || YACC
="yacc"
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5014 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5020 if test -n "$RANLIB"; then
5021 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5027 test -z "$as_dir" && as_dir
=.
5028 for ac_exec_ext
in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 RANLIB
=$ac_cv_prog_RANLIB
5041 if test -n "$RANLIB"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5043 $as_echo "$RANLIB" >&6; }
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_RANLIB"; then
5052 ac_ct_RANLIB
=$RANLIB
5053 # Extract the first word of "ranlib", so it can be a program name with args.
5054 set dummy ranlib
; ac_word
=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$ac_ct_RANLIB"; then
5061 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5081 if test -n "$ac_ct_RANLIB"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5083 $as_echo "$ac_ct_RANLIB" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_RANLIB" = x
; then
5092 case $cross_compiling:$ac_tool_warned in
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned
=yes ;;
5098 RANLIB
=$ac_ct_RANLIB
5101 RANLIB
="$ac_cv_prog_RANLIB"
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5106 $as_echo_n "checking whether ln -s works... " >&6; }
5108 if test "$LN_S" = "ln -s"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5110 $as_echo "yes" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5113 $as_echo "no, using $LN_S" >&6; }
5119 ac_cpp
='$CPP $CPPFLAGS'
5120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5124 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5125 # On Suns, sometimes $CPP names a directory.
5126 if test -n "$CPP" && test -d "$CPP"; then
5129 if test -z "$CPP"; then
5130 if test "${ac_cv_prog_CPP+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 # Double quotes because CPP needs to be expanded
5134 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5137 for ac_c_preproc_warn_flag
in '' yes
5139 # Use a header file that comes with gcc, so configuring glibc
5140 # with a fresh cross-compiler works.
5141 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5142 # <limits.h> exists even on freestanding compilers.
5143 # On the NeXT, cc -E runs the code through the compiler's parser,
5144 # not just through cpp. "Syntax error" is here to catch this case.
5145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5148 # include <limits.h>
5150 # include <assert.h>
5154 if ac_fn_c_try_cpp
"$LINENO"; then :
5157 # Broken: fails on valid input.
5160 rm -f conftest.err conftest.
$ac_ext
5162 # OK, works on sane cases. Now check whether nonexistent headers
5163 # can be detected and how.
5164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5166 #include <ac_nonexistent.h>
5168 if ac_fn_c_try_cpp
"$LINENO"; then :
5169 # Broken: success on invalid input.
5172 # Passes both tests.
5176 rm -f conftest.err conftest.
$ac_ext
5179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5180 rm -f conftest.err conftest.
$ac_ext
5181 if $ac_preproc_ok; then :
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5194 $as_echo "$CPP" >&6; }
5196 for ac_c_preproc_warn_flag
in '' yes
5198 # Use a header file that comes with gcc, so configuring glibc
5199 # with a fresh cross-compiler works.
5200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5201 # <limits.h> exists even on freestanding compilers.
5202 # On the NeXT, cc -E runs the code through the compiler's parser,
5203 # not just through cpp. "Syntax error" is here to catch this case.
5204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5207 # include <limits.h>
5209 # include <assert.h>
5213 if ac_fn_c_try_cpp
"$LINENO"; then :
5216 # Broken: fails on valid input.
5219 rm -f conftest.err conftest.
$ac_ext
5221 # OK, works on sane cases. Now check whether nonexistent headers
5222 # can be detected and how.
5223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5225 #include <ac_nonexistent.h>
5227 if ac_fn_c_try_cpp
"$LINENO"; then :
5228 # Broken: success on invalid input.
5231 # Passes both tests.
5235 rm -f conftest.err conftest.
$ac_ext
5238 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5239 rm -f conftest.err conftest.
$ac_ext
5240 if $ac_preproc_ok; then :
5243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5245 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5246 See \`config.log' for more details." "$LINENO" 5; }
5250 ac_cpp
='$CPP $CPPFLAGS'
5251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5257 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5258 if test "${ac_cv_path_GREP+set}" = set; then :
5259 $as_echo_n "(cached) " >&6
5261 if test -z "$GREP"; then
5262 ac_path_GREP_found
=false
5263 # Loop through the user's path and test for each of PROGNAME-LIST
5264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5268 test -z "$as_dir" && as_dir
=.
5269 for ac_prog
in grep ggrep
; do
5270 for ac_exec_ext
in '' $ac_executable_extensions; do
5271 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5272 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5273 # Check for GNU ac_path_GREP and select it if it is found.
5274 # Check for GNU $ac_path_GREP
5275 case `"$ac_path_GREP" --version 2>&1` in
5277 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5280 $as_echo_n 0123456789 >"conftest.in"
5283 cat "conftest.in" "conftest.in" >"conftest.tmp"
5284 mv "conftest.tmp" "conftest.in"
5285 cp "conftest.in" "conftest.nl"
5286 $as_echo 'GREP' >> "conftest.nl"
5287 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5288 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5289 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5290 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5291 # Best one so far, save it but keep looking for a better one
5292 ac_cv_path_GREP
="$ac_path_GREP"
5293 ac_path_GREP_max
=$ac_count
5295 # 10*(2^10) chars as input seems more than enough
5296 test $ac_count -gt 10 && break
5298 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5301 $ac_path_GREP_found && break 3
5306 if test -z "$ac_cv_path_GREP"; then
5307 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5310 ac_cv_path_GREP
=$GREP
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5315 $as_echo "$ac_cv_path_GREP" >&6; }
5316 GREP
="$ac_cv_path_GREP"
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5320 $as_echo_n "checking for egrep... " >&6; }
5321 if test "${ac_cv_path_EGREP+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5324 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5325 then ac_cv_path_EGREP
="$GREP -E"
5327 if test -z "$EGREP"; then
5328 ac_path_EGREP_found
=false
5329 # Loop through the user's path and test for each of PROGNAME-LIST
5330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5334 test -z "$as_dir" && as_dir
=.
5335 for ac_prog
in egrep; do
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5338 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5339 # Check for GNU ac_path_EGREP and select it if it is found.
5340 # Check for GNU $ac_path_EGREP
5341 case `"$ac_path_EGREP" --version 2>&1` in
5343 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5346 $as_echo_n 0123456789 >"conftest.in"
5349 cat "conftest.in" "conftest.in" >"conftest.tmp"
5350 mv "conftest.tmp" "conftest.in"
5351 cp "conftest.in" "conftest.nl"
5352 $as_echo 'EGREP' >> "conftest.nl"
5353 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5354 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5355 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5356 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5357 # Best one so far, save it but keep looking for a better one
5358 ac_cv_path_EGREP
="$ac_path_EGREP"
5359 ac_path_EGREP_max
=$ac_count
5361 # 10*(2^10) chars as input seems more than enough
5362 test $ac_count -gt 10 && break
5364 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5367 $ac_path_EGREP_found && break 3
5372 if test -z "$ac_cv_path_EGREP"; then
5373 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5376 ac_cv_path_EGREP
=$EGREP
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5382 $as_echo "$ac_cv_path_EGREP" >&6; }
5383 EGREP
="$ac_cv_path_EGREP"
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5387 $as_echo_n "checking for ANSI C header files... " >&6; }
5388 if test "${ac_cv_header_stdc+set}" = set; then :
5389 $as_echo_n "(cached) " >&6
5391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5406 if ac_fn_c_try_compile
"$LINENO"; then :
5407 ac_cv_header_stdc
=yes
5409 ac_cv_header_stdc
=no
5411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5413 if test $ac_cv_header_stdc = yes; then
5414 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5421 $EGREP "memchr" >/dev
/null
2>&1; then :
5424 ac_cv_header_stdc
=no
5430 if test $ac_cv_header_stdc = yes; then
5431 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5438 $EGREP "free" >/dev
/null
2>&1; then :
5441 ac_cv_header_stdc
=no
5447 if test $ac_cv_header_stdc = yes; then
5448 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5449 if test "$cross_compiling" = yes; then :
5452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5456 #if ((' ' & 0x0FF) == 0x020)
5457 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5458 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5460 # define ISLOWER(c) \
5461 (('a' <= (c) && (c) <= 'i') \
5462 || ('j' <= (c) && (c) <= 'r') \
5463 || ('s' <= (c) && (c) <= 'z'))
5464 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5472 for (i = 0; i < 256; i++)
5473 if (XOR (islower (i), ISLOWER (i))
5474 || toupper (i) != TOUPPER (i))
5479 if ac_fn_c_try_run
"$LINENO"; then :
5482 ac_cv_header_stdc
=no
5484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5485 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5491 $as_echo "$ac_cv_header_stdc" >&6; }
5492 if test $ac_cv_header_stdc = yes; then
5494 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5498 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5499 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5500 inttypes.h stdint.h unistd.h
5502 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5503 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5505 eval as_val
=\$
$as_ac_Header
5506 if test "x$as_val" = x
""yes; then :
5507 cat >>confdefs.h
<<_ACEOF
5508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5517 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5518 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5525 if test "$MINIX" = yes; then
5527 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5530 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5533 $as_echo "#define _MINIX 1" >>confdefs.h
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5539 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5540 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5541 $as_echo_n "(cached) " >&6
5543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5546 # define __EXTENSIONS__ 1
5547 $ac_includes_default
5556 if ac_fn_c_try_compile
"$LINENO"; then :
5557 ac_cv_safe_to_define___extensions__
=yes
5559 ac_cv_safe_to_define___extensions__
=no
5561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5564 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5565 test $ac_cv_safe_to_define___extensions__ = yes &&
5566 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5568 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5570 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5572 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5574 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5579 # If we haven't got the data from the intl directory,
5580 # assume NLS is disabled.
5589 if test -f ..
/intl
/config.intl
; then
5590 . ..
/intl
/config.intl
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5593 $as_echo_n "checking whether NLS is requested... " >&6; }
5594 if test x
"$USE_NLS" != xyes
; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5599 $as_echo "yes" >&6; }
5601 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5605 $as_echo_n "checking for catalogs to be installed... " >&6; }
5606 # Look for .po and .gmo files in the source directory.
5609 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5610 # If there aren't any .gmo files the shell will give us the
5611 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5613 case "$cat" in *\
**)
5616 # The quadruple backslash is collapsed to a double backslash
5617 # by the backticks, then collapsed again by the double quotes,
5618 # leaving us with one backslash in the sed expression (right
5619 # before the dot that mustn't act as a wildcard).
5620 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5621 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5622 # The user is allowed to set LINGUAS to a list of languages to
5623 # install catalogs for. If it's empty that means "all of them."
5624 if test "x$LINGUAS" = x
; then
5625 CATALOGS
="$CATALOGS $cat"
5626 XLINGUAS
="$XLINGUAS $lang"
5628 case "$LINGUAS" in *$lang*)
5629 CATALOGS
="$CATALOGS $cat"
5630 XLINGUAS
="$XLINGUAS $lang"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5637 $as_echo "$LINGUAS" >&6; }
5651 if test -n "$ac_aux_dir"; then
5652 case "$ac_aux_dir" in
5653 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5654 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5657 if test -z "$MKINSTALLDIRS"; then
5658 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5664 $as_echo_n "checking whether NLS is requested... " >&6; }
5665 # Check whether --enable-nls was given.
5666 if test "${enable_nls+set}" = set; then :
5667 enableval
=$enable_nls; USE_NLS
=$enableval
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5673 $as_echo "$USE_NLS" >&6; }
5680 # Prepare PATH_SEPARATOR.
5681 # The user is always right.
5682 if test "${PATH_SEPARATOR+set}" != set; then
5683 echo "#! /bin/sh" >conf$$.sh
5684 echo "exit 0" >>conf$$.sh
5686 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5694 # Find out how to test for executable files. Don't use a zero-byte file,
5695 # as systems may use methods other than mode bits to determine executability.
5696 cat >conf$$.
file <<_ASEOF
5700 chmod +x conf$$.
file
5701 if test -x conf$$.
file >/dev
/null
2>&1; then
5702 ac_executable_p
="test -x"
5704 ac_executable_p
="test -f"
5708 # Extract the first word of "msgfmt", so it can be a program name with args.
5709 set dummy msgfmt
; ac_word
=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5713 $as_echo_n "(cached) " >&6
5717 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5720 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5721 for ac_dir
in $PATH; do
5723 test -z "$ac_dir" && ac_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5726 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5727 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5728 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5735 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5739 MSGFMT
="$ac_cv_path_MSGFMT"
5740 if test "$MSGFMT" != ":"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5742 $as_echo "$MSGFMT" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5748 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5749 set dummy gmsgfmt
; ac_word
=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5753 $as_echo_n "(cached) " >&6
5757 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir
=.
5765 for ac_exec_ext
in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5779 GMSGFMT
=$ac_cv_path_GMSGFMT
5780 if test -n "$GMSGFMT"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5782 $as_echo "$GMSGFMT" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5791 # Prepare PATH_SEPARATOR.
5792 # The user is always right.
5793 if test "${PATH_SEPARATOR+set}" != set; then
5794 echo "#! /bin/sh" >conf$$.sh
5795 echo "exit 0" >>conf$$.sh
5797 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5805 # Find out how to test for executable files. Don't use a zero-byte file,
5806 # as systems may use methods other than mode bits to determine executability.
5807 cat >conf$$.
file <<_ASEOF
5811 chmod +x conf$$.
file
5812 if test -x conf$$.
file >/dev
/null
2>&1; then
5813 ac_executable_p
="test -x"
5815 ac_executable_p
="test -f"
5819 # Extract the first word of "xgettext", so it can be a program name with args.
5820 set dummy xgettext
; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5828 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5831 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5832 for ac_dir
in $PATH; do
5834 test -z "$ac_dir" && ac_dir
=.
5835 for ac_exec_ext
in '' $ac_executable_extensions; do
5836 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5837 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5838 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5839 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5846 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5850 XGETTEXT
="$ac_cv_path_XGETTEXT"
5851 if test "$XGETTEXT" != ":"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5853 $as_echo "$XGETTEXT" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5862 # Prepare PATH_SEPARATOR.
5863 # The user is always right.
5864 if test "${PATH_SEPARATOR+set}" != set; then
5865 echo "#! /bin/sh" >conf$$.sh
5866 echo "exit 0" >>conf$$.sh
5868 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5876 # Find out how to test for executable files. Don't use a zero-byte file,
5877 # as systems may use methods other than mode bits to determine executability.
5878 cat >conf$$.
file <<_ASEOF
5882 chmod +x conf$$.
file
5883 if test -x conf$$.
file >/dev
/null
2>&1; then
5884 ac_executable_p
="test -x"
5886 ac_executable_p
="test -f"
5890 # Extract the first word of "msgmerge", so it can be a program name with args.
5891 set dummy msgmerge
; ac_word
=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5899 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5902 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5903 for ac_dir
in $PATH; do
5905 test -z "$ac_dir" && ac_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5908 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5909 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5916 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5920 MSGMERGE
="$ac_cv_path_MSGMERGE"
5921 if test "$MSGMERGE" != ":"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5923 $as_echo "$MSGMERGE" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5930 if test "$GMSGFMT" != ":"; then
5931 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5932 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5935 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5937 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5942 if test "$XGETTEXT" != ":"; then
5943 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5944 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5948 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5954 ac_config_commands
="$ac_config_commands default-1"
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5959 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5960 if test "${ac_cv_c_bigendian+set}" = set; then :
5961 $as_echo_n "(cached) " >&6
5963 ac_cv_c_bigendian
=unknown
5964 # See if we're dealing with a universal compiler.
5965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 #ifndef __APPLE_CC__
5968 not a universal capable compiler
5973 if ac_fn_c_try_compile
"$LINENO"; then :
5975 # Check for potential -arch flags. It is not universal unless
5976 # there are at least two -arch flags with different values.
5979 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5980 if test -n "$ac_prev"; then
5982 i?
86 | x86_64 | ppc | ppc64
)
5983 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5986 ac_cv_c_bigendian
=universal
5992 elif test "x$ac_word" = "x-arch"; then
5997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5998 if test $ac_cv_c_bigendian = unknown
; then
5999 # See if sys/param.h defines the BYTE_ORDER macro.
6000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h. */
6002 #include <sys/types.h>
6003 #include <sys/param.h>
6008 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6009 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6018 if ac_fn_c_try_compile
"$LINENO"; then :
6019 # It does; now see whether it defined to BIG_ENDIAN or not.
6020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6022 #include <sys/types.h>
6023 #include <sys/param.h>
6028 #if BYTE_ORDER != BIG_ENDIAN
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6037 ac_cv_c_bigendian
=yes
6039 ac_cv_c_bigendian
=no
6041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6045 if test $ac_cv_c_bigendian = unknown
; then
6046 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h. */
6054 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6062 if ac_fn_c_try_compile
"$LINENO"; then :
6063 # It does; now see whether it defined to _BIG_ENDIAN or not.
6064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6079 if ac_fn_c_try_compile
"$LINENO"; then :
6080 ac_cv_c_bigendian
=yes
6082 ac_cv_c_bigendian
=no
6084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6088 if test $ac_cv_c_bigendian = unknown
; then
6089 # Compile a test program.
6090 if test "$cross_compiling" = yes; then :
6091 # Try to guess by grepping values from an object file.
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6094 short int ascii_mm[] =
6095 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6096 short int ascii_ii[] =
6097 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6098 int use_ascii (int i) {
6099 return ascii_mm[i] + ascii_ii[i];
6101 short int ebcdic_ii[] =
6102 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6103 short int ebcdic_mm[] =
6104 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6105 int use_ebcdic (int i) {
6106 return ebcdic_mm[i] + ebcdic_ii[i];
6113 return use_ascii (foo) == use_ebcdic (foo);
6118 if ac_fn_c_try_compile
"$LINENO"; then :
6119 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6120 ac_cv_c_bigendian
=yes
6122 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6123 if test "$ac_cv_c_bigendian" = unknown
; then
6124 ac_cv_c_bigendian
=no
6126 # finding both strings is unlikely to happen, but who knows?
6127 ac_cv_c_bigendian
=unknown
6131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6135 $ac_includes_default
6140 /* Are we little or big endian? From Harbison&Steele. */
6144 char c[sizeof (long int)];
6147 return u.c[sizeof (long int) - 1] == 1;
6153 if ac_fn_c_try_run
"$LINENO"; then :
6154 ac_cv_c_bigendian
=no
6156 ac_cv_c_bigendian
=yes
6158 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6159 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6165 $as_echo "$ac_cv_c_bigendian" >&6; }
6166 case $ac_cv_c_bigendian in #(
6168 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6174 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6178 as_fn_error
"unknown endianness
6179 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6185 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6187 NATIVE_LINKER_FALSE
='#'
6189 NATIVE_LINKER_TRUE
='#'
6190 NATIVE_LINKER_FALSE
=
6193 if test "$GCC" = yes; then
6202 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6203 NATIVE_OR_CROSS_LINKER_TRUE
=
6204 NATIVE_OR_CROSS_LINKER_FALSE
='#'
6206 NATIVE_OR_CROSS_LINKER_TRUE
='#'
6207 NATIVE_OR_CROSS_LINKER_FALSE
=
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6212 $as_echo_n "checking whether static linking works... " >&6; }
6213 if test "${gold_cv_lib_static+set}" = set; then :
6214 $as_echo_n "(cached) " >&6
6216 LDFLAGS_hold
=$LDFLAGS
6217 LDFLAGS
="$LDFLAGS -static"
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6230 if ac_fn_c_try_link
"$LINENO"; then :
6231 gold_cv_lib_static
=yes
6233 gold_cv_lib_static
=no
6235 rm -f core conftest.err conftest.
$ac_objext \
6236 conftest
$ac_exeext conftest.
$ac_ext
6237 LDFLAGS
=$LDFLAGS_hold
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6240 $as_echo "$gold_cv_lib_static" >&6; }
6241 if test "$gold_cv_lib_static" = "yes"; then
6243 HAVE_STATIC_FALSE
='#'
6245 HAVE_STATIC_TRUE
='#'
6257 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6258 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6260 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6261 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6266 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6267 if test "${gold_cv_prog_gcc41+set}" = set; then :
6268 $as_echo_n "(cached) " >&6
6270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6273 #if !defined __GNUC__
6275 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6280 if ac_fn_c_try_compile
"$LINENO"; then :
6281 gold_cv_prog_gcc41
=yes
6283 gold_cv_prog_gcc41
=no
6285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6288 $as_echo "$gold_cv_prog_gcc41" >&6; }
6290 if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
6291 MCMODEL_MEDIUM_TRUE
=
6292 MCMODEL_MEDIUM_FALSE
='#'
6294 MCMODEL_MEDIUM_TRUE
='#'
6295 MCMODEL_MEDIUM_FALSE
=
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6300 $as_echo_n "checking for thread support... " >&6; }
6301 if test "${gold_cv_c_thread+set}" = set; then :
6302 $as_echo_n "(cached) " >&6
6304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6308 if ac_fn_c_try_compile
"$LINENO"; then :
6309 gold_cv_c_thread
=yes
6313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6316 $as_echo "$gold_cv_c_thread" >&6; }
6318 if test "$gold_cv_c_thread" = "yes"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6328 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6329 if test "${gold_cv_lib_glibc24+set}" = set; then :
6330 $as_echo_n "(cached) " >&6
6332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6335 #include <features.h>
6336 #if !defined __GLIBC__
6338 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6343 if ac_fn_c_try_compile
"$LINENO"; then :
6344 gold_cv_lib_glibc24
=yes
6346 gold_cv_lib_glibc24
=no
6348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6351 $as_echo "$gold_cv_lib_glibc24" >&6; }
6353 if test "$gold_cv_lib_glibc24" = "yes"; then
6355 STATIC_TLS_FALSE
='#'
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6363 $as_echo_n "checking for omp support... " >&6; }
6364 if test "${gold_cv_c_threadprivate+set}" = set; then :
6365 $as_echo_n "(cached) " >&6
6367 save_CFLAGS
="$CFLAGS"
6368 CFLAGS
="$CFLAGS -fopenmp"
6369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6374 #pragma omp threadprivate (i)
6377 if ac_fn_c_try_compile
"$LINENO"; then :
6378 gold_cv_c_threadprivate
=yes
6380 gold_cv_c_threadprivate
=no
6382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 CFLAGS
="$save_CFLAGS"
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6386 $as_echo "$gold_cv_c_threadprivate" >&6; }
6387 if test "$gold_cv_c_threadprivate" = "yes"; then
6389 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6392 if test "$gold_cv_c_threadprivate" = "yes"; then
6394 OMP_SUPPORT_FALSE
='#'
6396 OMP_SUPPORT_TRUE
='#'
6401 save_CFLAGS
="$CFLAGS"
6402 CFLAGS
="$CFLAGS -mtls-dialect=gnu2"
6403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6404 /* end confdefs.h. */
6407 if ac_fn_c_try_compile
"$LINENO"; then :
6412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6413 CFLAGS
="$save_CFLAGS"
6414 if test "$have_tls_gnu2" = "yes"; then
6415 TLS_GNU2_DIALECT_TRUE
=
6416 TLS_GNU2_DIALECT_FALSE
='#'
6418 TLS_GNU2_DIALECT_TRUE
='#'
6419 TLS_GNU2_DIALECT_FALSE
=
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6424 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6425 if test "${gold_cv_lib_glibc29+set}" = set; then :
6426 $as_echo_n "(cached) " >&6
6428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6431 #include <features.h>
6432 #if !defined __GLIBC__
6434 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6439 if ac_fn_c_try_compile
"$LINENO"; then :
6440 gold_cv_lib_glibc29
=yes
6442 gold_cv_lib_glibc29
=no
6444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6447 $as_echo "$gold_cv_lib_glibc29" >&6; }
6449 if test "$gold_cv_lib_glibc29" = "yes"; then
6450 TLS_DESCRIPTORS_TRUE
=
6451 TLS_DESCRIPTORS_FALSE
='#'
6453 TLS_DESCRIPTORS_TRUE
='#'
6454 TLS_DESCRIPTORS_FALSE
=
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6459 $as_echo_n "checking for -frandom-seed support... " >&6; }
6460 if test "${gold_cv_c_random_seed+set}" = set; then :
6461 $as_echo_n "(cached) " >&6
6463 save_CFLAGS
="$CFLAGS"
6464 CFLAGS
="$CFLAGS -frandom-seed=foo"
6465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6469 if ac_fn_c_try_compile
"$LINENO"; then :
6470 gold_cv_c_random_seed
=yes
6472 gold_cv_c_random_seed
=no
6474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6475 CFLAGS
="$save_CFLAGS"
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6478 $as_echo "$gold_cv_c_random_seed" >&6; }
6479 if test "$gold_cv_c_random_seed" = "yes"; then
6480 # In Makefile, '$@' will be expanded to be the name of the file
6481 # being built, providing a unique seed for each file.
6482 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6487 $as_echo_n "checking for glibc ifunc support... " >&6; }
6488 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6489 $as_echo_n "(cached) " >&6
6491 save_LDFLAGS
="$LDFLAGS"
6492 LDFLAGS
="$LDFLAGS -static"
6493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6496 #include <features.h>
6497 #if !defined __GLIBC__
6499 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6502 void func (void) { }
6504 __asm__(".type invoke, %gnu_indirect_function");
6505 typedef void (*funcptr) (void);
6506 funcptr dispatch (void) __asm__ ("invoke");
6507 funcptr dispatch (void) { return &func; }
6517 if ac_fn_c_try_link
"$LINENO"; then :
6519 if ${NM} conftest
$EXEEXT |
grep "__rela\?_iplt_start" >/dev
/null
2>&1; then
6520 gold_cv_lib_glibc_ifunc
=both
6522 gold_cv_lib_glibc_ifunc
=dyn
6525 gold_cv_lib_glibc_ifunc
=no
6527 rm -f core conftest.err conftest.
$ac_objext \
6528 conftest
$ac_exeext conftest.
$ac_ext
6529 LDFLAGS
="$save_LDFLAGS"
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6532 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6534 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6542 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6544 IFUNC_STATIC_FALSE
='#'
6546 IFUNC_STATIC_TRUE
='#'
6552 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6561 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6566 # Check whether --enable-werror was given.
6567 if test "${enable_werror+set}" = set; then :
6568 enableval
=$enable_werror; case "${enableval}" in
6569 yes | y
) ERROR_ON_WARNING
="yes" ;;
6570 no | n
) ERROR_ON_WARNING
="no" ;;
6571 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6576 # Disable -Wformat by default when using gcc on mingw
6579 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6580 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6586 # Enable -Werror by default when using gcc
6587 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6588 ERROR_ON_WARNING
=yes
6592 if test "${ERROR_ON_WARNING}" = yes ; then
6593 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6594 NO_WERROR
="-Wno-error"
6597 if test "${GCC}" = yes ; then
6598 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6601 # Check whether --enable-build-warnings was given.
6602 if test "${enable_build_warnings+set}" = set; then :
6603 enableval
=$enable_build_warnings; case "${enableval}" in
6604 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6605 no
) if test "${GCC}" = yes ; then
6608 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6609 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6610 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6611 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6612 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6617 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6618 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6625 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6629 # Check whether --with-gold-ldflags was given.
6630 if test "${with_gold_ldflags+set}" = set; then :
6631 withval
=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6634 GOLD_LDFLAGS
=$withval
6643 # Check whether --with-gold-ldadd was given.
6644 if test "${with_gold_ldadd+set}" = set; then :
6645 withval
=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6656 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6659 for ac_header
in sys
/mman.h
6661 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6662 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
6663 cat >>confdefs.h
<<_ACEOF
6664 #define HAVE_SYS_MMAN_H 1
6671 for ac_func
in chsize mmap
6673 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6674 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6675 eval as_val
=\$
$as_ac_var
6676 if test "x$as_val" = x
""yes; then :
6677 cat >>confdefs.h
<<_ACEOF
6678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6684 for ac_func
in pread ftruncate ffsll
6686 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6687 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6688 eval as_val
=\$
$as_ac_var
6689 if test "x$as_val" = x
""yes; then :
6690 cat >>confdefs.h
<<_ACEOF
6691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6695 case " $LIBOBJS " in
6696 *" $ac_func.$ac_objext "* ) ;;
6697 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6707 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6708 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6715 #include <sys/mman.h>
6716 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6726 if ac_fn_c_try_link
"$LINENO"; then :
6727 gold_cv_lib_mremap_maymove
=yes
6729 gold_cv_lib_mremap_maymove
=no
6731 rm -f core conftest.err conftest.
$ac_objext \
6732 conftest
$ac_exeext conftest.
$ac_ext
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6735 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6736 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6738 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6741 case " $LIBOBJS " in
6742 *" mremap.$ac_objext "* ) ;;
6743 *) LIBOBJS
="$LIBOBJS mremap.$ac_objext"
6749 # Link in zlib if we can. This allows us to write compressed sections.
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6751 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6752 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6753 $as_echo_n "(cached) " >&6
6755 ac_func_search_save_LIBS
=$LIBS
6756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6759 /* Override any GCC internal prototype to avoid an error.
6760 Use char because int might match the return type of a GCC
6761 builtin and then its argument prototype would still apply. */
6765 char zlibVersion ();
6769 return zlibVersion ();
6774 for ac_lib
in '' z
; do
6775 if test -z "$ac_lib"; then
6776 ac_res
="none required"
6779 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6781 if ac_fn_c_try_link
"$LINENO"; then :
6782 ac_cv_search_zlibVersion
=$ac_res
6784 rm -f core conftest.err conftest.
$ac_objext \
6786 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6790 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6793 ac_cv_search_zlibVersion
=no
6796 LIBS
=$ac_func_search_save_LIBS
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6799 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6800 ac_res
=$ac_cv_search_zlibVersion
6801 if test "$ac_res" != no
; then :
6802 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6803 for ac_header
in zlib.h
6805 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6806 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define HAVE_ZLIB_H 1
6817 if test "$ac_cv_search_zlibVersion" != "no"; then
6826 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6827 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define HAVE_DECL_BASENAME $ac_have_decl
6836 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6837 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6843 cat >>confdefs.h
<<_ACEOF
6844 #define HAVE_DECL_FFS $ac_have_decl
6846 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6847 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6853 cat >>confdefs.h
<<_ACEOF
6854 #define HAVE_DECL_ASPRINTF $ac_have_decl
6856 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6857 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6863 cat >>confdefs.h
<<_ACEOF
6864 #define HAVE_DECL_VASPRINTF $ac_have_decl
6866 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6867 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_DECL_SNPRINTF $ac_have_decl
6876 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6877 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6883 cat >>confdefs.h
<<_ACEOF
6884 #define HAVE_DECL_VSNPRINTF $ac_have_decl
6886 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
6887 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define HAVE_DECL_STRVERSCMP $ac_have_decl
6899 ac_cpp
='$CXXCPP $CPPFLAGS'
6900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6907 ac_cpp
='$CXXCPP $CPPFLAGS'
6908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6912 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6913 if test -z "$CXXCPP"; then
6914 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6915 $as_echo_n "(cached) " >&6
6917 # Double quotes because CXXCPP needs to be expanded
6918 for CXXCPP
in "$CXX -E" "/lib/cpp"
6921 for ac_cxx_preproc_warn_flag
in '' yes
6923 # Use a header file that comes with gcc, so configuring glibc
6924 # with a fresh cross-compiler works.
6925 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6926 # <limits.h> exists even on freestanding compilers.
6927 # On the NeXT, cc -E runs the code through the compiler's parser,
6928 # not just through cpp. "Syntax error" is here to catch this case.
6929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6932 # include <limits.h>
6934 # include <assert.h>
6938 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6941 # Broken: fails on valid input.
6944 rm -f conftest.err conftest.
$ac_ext
6946 # OK, works on sane cases. Now check whether nonexistent headers
6947 # can be detected and how.
6948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6950 #include <ac_nonexistent.h>
6952 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6953 # Broken: success on invalid input.
6956 # Passes both tests.
6960 rm -f conftest.err conftest.
$ac_ext
6963 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6964 rm -f conftest.err conftest.
$ac_ext
6965 if $ac_preproc_ok; then :
6970 ac_cv_prog_CXXCPP
=$CXXCPP
6973 CXXCPP
=$ac_cv_prog_CXXCPP
6975 ac_cv_prog_CXXCPP
=$CXXCPP
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6978 $as_echo "$CXXCPP" >&6; }
6980 for ac_cxx_preproc_warn_flag
in '' yes
6982 # Use a header file that comes with gcc, so configuring glibc
6983 # with a fresh cross-compiler works.
6984 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6985 # <limits.h> exists even on freestanding compilers.
6986 # On the NeXT, cc -E runs the code through the compiler's parser,
6987 # not just through cpp. "Syntax error" is here to catch this case.
6988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
6991 # include <limits.h>
6993 # include <assert.h>
6997 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7000 # Broken: fails on valid input.
7003 rm -f conftest.err conftest.
$ac_ext
7005 # OK, works on sane cases. Now check whether nonexistent headers
7006 # can be detected and how.
7007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <ac_nonexistent.h>
7011 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7012 # Broken: success on invalid input.
7015 # Passes both tests.
7019 rm -f conftest.err conftest.
$ac_ext
7022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7023 rm -f conftest.err conftest.
$ac_ext
7024 if $ac_preproc_ok; then :
7027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7029 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
7030 See \`config.log' for more details." "$LINENO" 5; }
7034 ac_cpp
='$CXXCPP $CPPFLAGS'
7035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7040 for ac_header
in tr1/unordered_set
tr1/unordered_map
7042 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7044 eval as_val
=\$
$as_ac_Header
7045 if test "x$as_val" = x
""yes; then :
7046 cat >>confdefs.h
<<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7054 for ac_header
in ext
/hash_map ext
/hash_set
7056 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7057 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7058 eval as_val
=\$
$as_ac_Header
7059 if test "x$as_val" = x
""yes; then :
7060 cat >>confdefs.h
<<_ACEOF
7061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7068 for ac_header
in byteswap.h
7070 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7071 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
7072 cat >>confdefs.h
<<_ACEOF
7073 #define HAVE_BYTESWAP_H 1
7080 for ac_func
in mallinfo posix_fallocate readv sysconf
times
7082 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7083 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7084 eval as_val
=\$
$as_ac_var
7085 if test "x$as_val" = x
""yes; then :
7086 cat >>confdefs.h
<<_ACEOF
7087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7093 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7094 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7100 cat >>confdefs.h
<<_ACEOF
7101 #define HAVE_DECL_BASENAME $ac_have_decl
7103 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7104 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7110 cat >>confdefs.h
<<_ACEOF
7111 #define HAVE_DECL_FFS $ac_have_decl
7113 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7114 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7120 cat >>confdefs.h
<<_ACEOF
7121 #define HAVE_DECL_ASPRINTF $ac_have_decl
7123 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7124 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7130 cat >>confdefs.h
<<_ACEOF
7131 #define HAVE_DECL_VASPRINTF $ac_have_decl
7133 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7134 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7140 cat >>confdefs.h
<<_ACEOF
7141 #define HAVE_DECL_SNPRINTF $ac_have_decl
7143 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7144 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7150 cat >>confdefs.h
<<_ACEOF
7151 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7153 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7154 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7160 cat >>confdefs.h
<<_ACEOF
7161 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7163 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7164 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
7170 cat >>confdefs.h
<<_ACEOF
7171 #define HAVE_DECL_STRNDUP $ac_have_decl
7173 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7174 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
7180 cat >>confdefs.h
<<_ACEOF
7181 #define HAVE_DECL_MEMMEM $ac_have_decl
7185 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7186 # at link time with some versions of GCC.
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7188 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7189 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7190 $as_echo_n "(cached) " >&6
7192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7195 #include <tr1/unordered_map>
7196 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7206 if ac_fn_cxx_try_link
"$LINENO"; then :
7207 gold_cv_unordered_map_rehash
=yes
7209 gold_cv_unordered_map_rehash
=no
7211 rm -f core conftest.err conftest.
$ac_objext \
7212 conftest
$ac_exeext conftest.
$ac_ext
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7215 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7216 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7218 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7222 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7223 # function. Check for that. This is gcc bug 35546. This test can
7224 # probably be removed after the bug has been fixed for a while.
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7226 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7227 if test "${gold_cv_template_attribute+set}" = set; then :
7228 $as_echo_n "(cached) " >&6
7230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7231 /* end confdefs.h. */
7233 template<typename T> extern void foo(const char*, ...)
7234 __attribute__ ((__format__ (__printf__, 1, 2)));
7235 template<typename T> void foo(const char* format, ...) {}
7236 void bar() { foo<int>("%s\n", "foo"); }
7239 if ac_fn_cxx_try_compile
"$LINENO"; then :
7240 gold_cv_template_attribute
=yes
7242 gold_cv_template_attribute
=no
7244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7247 $as_echo "$gold_cv_template_attribute" >&6; }
7248 if test "$gold_cv_template_attribute" = "yes"; then
7250 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7255 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7256 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7257 $as_echo_n "(cached) " >&6
7259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7262 #include <sys/stat.h>
7263 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7273 if ac_fn_cxx_try_compile
"$LINENO"; then :
7274 gold_cv_stat_st_mtim
=yes
7276 gold_cv_stat_st_mtim
=no
7278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7281 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7282 if test "$gold_cv_stat_st_mtim" = "yes"; then
7284 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7289 ac_cpp
='$CPP $CPPFLAGS'
7290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7297 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7298 # Check whether --enable-maintainer-mode was given.
7299 if test "${enable_maintainer_mode+set}" = set; then :
7300 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7302 USE_MAINTAINER_MODE
=no
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7306 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7307 if test $USE_MAINTAINER_MODE = yes; then
7308 MAINTAINER_MODE_TRUE
=
7309 MAINTAINER_MODE_FALSE
='#'
7311 MAINTAINER_MODE_TRUE
='#'
7312 MAINTAINER_MODE_FALSE
=
7315 MAINT
=$MAINTAINER_MODE_TRUE
7319 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7321 cat >confcache
<<\_ACEOF
7322 # This file is a shell script that caches the results of configure
7323 # tests run on this system so they can be shared between configure
7324 # scripts and configure runs, see configure's option --config-cache.
7325 # It is not useful on other systems. If it contains results you don't
7326 # want to keep, you may remove or edit it.
7328 # config.status only pays attention to the cache file if you give it
7329 # the --recheck option to rerun configure.
7331 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7337 # The following way of writing the cache mishandles newlines in values,
7338 # but we know of no workaround that is simple, portable, and efficient.
7339 # So, we kill variables containing newlines.
7340 # Ultrix sh set writes to stderr and can't be redirected directly,
7341 # and sets the high bit in the cache file unless we assign to the vars.
7343 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7344 eval ac_val
=\$
$ac_var
7348 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7349 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7352 _ | IFS | as_nl
) ;; #(
7353 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7354 *) { eval $ac_var=; unset $ac_var;} ;;
7360 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7361 *${as_nl}ac_space
=\
*)
7362 # `set' does not quote correctly, so add quotes: double-quote
7363 # substitution turns \\\\ into \\, and sed turns \\ into \.
7366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7369 # `set' quotes correctly as required by POSIX, so do not add quotes.
7370 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7381 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7383 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7384 if test -w "$cache_file"; then
7385 test "x$cache_file" != "x/dev/null" &&
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7387 $as_echo "$as_me: updating cache $cache_file" >&6;}
7388 cat confcache
>$cache_file
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7396 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7397 # Let make expand exec_prefix.
7398 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7400 DEFS
=-DHAVE_CONFIG_H
7404 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7405 # 1. Remove the extension, and $U if already installed.
7406 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7407 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7408 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7409 # will be set to the directory where LIBOBJS objects are built.
7410 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7411 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7415 LTLIBOBJS
=$ac_ltlibobjs
7418 if test -n "$EXEEXT"; then
7420 am__EXEEXT_FALSE
='#'
7426 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7427 as_fn_error
"conditional \"THREADS\" was never defined.
7428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7430 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7431 as_fn_error
"conditional \"PLUGINS\" was never defined.
7432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7434 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7435 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7438 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7439 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7442 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7443 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7446 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7447 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7450 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7451 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7454 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7455 as_fn_error
"conditional \"AMDEP\" was never defined.
7456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7458 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7459 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7462 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7463 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7467 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7468 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7471 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7472 as_fn_error
"conditional \"GCC\" was never defined.
7473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7475 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7476 as_fn_error
"conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7479 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7480 as_fn_error
"conditional \"HAVE_STATIC\" was never defined.
7481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7483 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7484 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7487 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7488 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7491 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7492 as_fn_error
"conditional \"TLS\" was never defined.
7493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7495 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7496 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7499 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7500 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7503 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7504 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7507 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7508 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7511 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7512 as_fn_error
"conditional \"IFUNC\" was never defined.
7513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7515 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7516 as_fn_error
"conditional \"IFUNC_STATIC\" was never defined.
7517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7519 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7520 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
7521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7523 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7524 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7528 : ${CONFIG_STATUS=./config.status}
7530 ac_clean_files_save
=$ac_clean_files
7531 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7533 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7535 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7537 # Generated by $as_me.
7538 # Run this file to recreate the current configuration.
7539 # Compiler output produced by configure, useful for debugging
7540 # configure, is in config.log if it exists.
7546 SHELL=\${CONFIG_SHELL-$SHELL}
7549 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7550 ## -------------------- ##
7551 ## M4sh Initialization. ##
7552 ## -------------------- ##
7554 # Be more Bourne compatible
7555 DUALCASE
=1; export DUALCASE
# for MKS sh
7556 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7559 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7560 # is contrary to our usage. Disable this feature.
7561 alias -g '${1+"$@"}'='"$@"'
7562 setopt NO_GLOB_SUBST
7564 case `(set -o) 2>/dev/null` in #(
7576 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7577 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7578 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7580 # Prefer a ksh shell builtin over an external printf program on Solaris,
7581 # but without wasting forks for bash or zsh.
7582 if test -z "$BASH_VERSION$ZSH_VERSION" \
7583 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7584 as_echo='print
-r --'
7585 as_echo_n='print
-rn --'
7586 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7587 as_echo='printf %s
\n'
7588 as_echo_n='printf %s
'
7590 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7591 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7592 as_echo_n='/usr
/ucb
/echo -n'
7594 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7595 as_echo_n_body='eval
7599 expr "X$arg" : "X\\(.*\\)$as_nl";
7600 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7602 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7604 export as_echo_n_body
7605 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7608 as_echo='sh
-c $as_echo_body as_echo
'
7611 # The user is always right.
7612 if test "${PATH_SEPARATOR+set}" != set; then
7614 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7615 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7622 # We need space, tab and new line, in precisely that order. Quoting is
7623 # there to prevent editors from complaining about space-tab.
7624 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7625 # splitting by setting IFS to empty value.)
7628 # Find who we are. Look in the path if we contain no directory separator.
7630 *[\\/]* ) as_myself=$0 ;;
7631 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7642 # We did not find ourselves, most probably we were run as `sh COMMAND'
7643 # in which case we are not to be found in the path.
7644 if test "x$as_myself" = x
; then
7647 if test ! -f "$as_myself"; then
7648 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7652 # Unset variables that we do not need and which cause bugs (e.g. in
7653 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7654 # suppresses any "Segmentation fault" message there. '((' could
7655 # trigger a bug in pdksh 5.2.14.
7656 for as_var
in BASH_ENV ENV MAIL MAILPATH
7657 do eval test x\
${$as_var+set} = xset \
7658 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7671 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7674 # as_fn_error ERROR [LINENO LOG_FD]
7675 # ---------------------------------
7676 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7677 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7678 # script with status $?, using 1 if that was 0.
7681 as_status
=$?
; test $as_status -eq 0 && as_status
=1
7683 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7684 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7686 $as_echo "$as_me: error: $1" >&2
7687 as_fn_exit
$as_status
7691 # as_fn_set_status STATUS
7692 # -----------------------
7693 # Set $? to STATUS, without forking.
7697 } # as_fn_set_status
7701 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7711 # Portably unset VAR.
7714 { eval $1=; unset $1;}
7716 as_unset
=as_fn_unset
7717 # as_fn_append VAR VALUE
7718 # ----------------------
7719 # Append the text in VALUE to the end of the definition contained in VAR. Take
7720 # advantage of any shell optimizations that allow amortized linear growth over
7721 # repeated appends, instead of the typical quadratic growth present in naive
7723 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7724 eval 'as_fn_append ()
7735 # as_fn_arith ARG...
7736 # ------------------
7737 # Perform arithmetic evaluation on the ARGs, and store the result in the
7738 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7739 # must be portable across $(()) and expr.
7740 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7741 eval 'as_fn_arith ()
7748 as_val
=`expr "$@" || test $? -eq 1`
7753 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7754 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7760 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7761 as_basename
=basename
7766 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7772 as_me
=`$as_basename -- "$0" ||
7773 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7774 X"$0" : 'X\(//\)$' \| \
7775 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7777 sed '/^.*\/\([^/][^/]*\)\/*$/{
7791 # Avoid depending upon Character Ranges.
7792 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7793 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7794 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7795 as_cr_digits
='0123456789'
7796 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7798 ECHO_C
= ECHO_N
= ECHO_T
=
7799 case `echo -n x` in #(((((
7801 case `echo 'xy\c'` in
7802 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7804 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7811 rm -f conf$$ conf$$.exe conf$$.
file
7812 if test -d conf$$.dir
; then
7813 rm -f conf$$.dir
/conf$$.
file
7816 mkdir conf$$.dir
2>/dev
/null
7818 if (echo >conf$$.
file) 2>/dev
/null
; then
7819 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7821 # ... but there are two gotchas:
7822 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7823 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7824 # In both cases, we have to default to `cp -p'.
7825 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7827 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7835 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7836 rmdir conf$$.dir
2>/dev
/null
7841 # Create "$as_dir" as a directory, including parents if necessary.
7846 -*) as_dir
=.
/$as_dir;;
7848 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7852 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7853 *) as_qdir
=$as_dir;;
7855 as_dirs
="'$as_qdir' $as_dirs"
7856 as_dir
=`$as_dirname -- "$as_dir" ||
7857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7858 X"$as_dir" : 'X\(//\)[^/]' \| \
7859 X"$as_dir" : 'X\(//\)$' \| \
7860 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7861 $as_echo X"$as_dir" |
7862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7879 test -d "$as_dir" && break
7881 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7882 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
7886 if mkdir
-p .
2>/dev
/null
; then
7887 as_mkdir_p
='mkdir -p "$as_dir"'
7889 test -d .
/-p && rmdir .
/-p
7893 if test -x / >/dev
/null
2>&1; then
7896 if ls -dL / >/dev
/null
2>&1; then
7903 if test -d "$1"; then
7909 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7910 ???[sx]*):;;*)false;;esac;fi
7914 as_executable_p
=$as_test_x
7916 # Sed expression to map a string onto a valid CPP name.
7917 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7919 # Sed expression to map a string onto a valid variable name.
7920 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7924 ## ----------------------------------- ##
7925 ## Main body of $CONFIG_STATUS script. ##
7926 ## ----------------------------------- ##
7928 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7931 # Save the log message, to keep $0 and so on meaningful, and to
7932 # report actual input values of CONFIG_FILES etc. instead of their
7933 # values after options handling.
7935 This file was extended by gold $as_me 0.1, which was
7936 generated by GNU Autoconf 2.64. Invocation command line was
7938 CONFIG_FILES = $CONFIG_FILES
7939 CONFIG_HEADERS = $CONFIG_HEADERS
7940 CONFIG_LINKS = $CONFIG_LINKS
7941 CONFIG_COMMANDS = $CONFIG_COMMANDS
7944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7949 case $ac_config_files in *"
7950 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7953 case $ac_config_headers in *"
7954 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7959 # Files that config.status was made for.
7960 config_files="$ac_config_files"
7961 config_headers="$ac_config_headers"
7962 config_commands="$ac_config_commands"
7966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7968 \`$as_me' instantiates files and other configuration actions
7969 from templates according to the current configuration. Unless the files
7970 and actions are specified as TAGs, all are instantiated by default.
7972 Usage: $0 [OPTION]... [TAG]...
7974 -h, --help print this help, then exit
7975 -V, --version print version number and configuration settings, then exit
7976 -q, --quiet, --silent
7977 do not print progress messages
7978 -d, --debug don't remove temporary files
7979 --recheck update $as_me by reconfiguring in the same conditions
7980 --file=FILE[:TEMPLATE]
7981 instantiate the configuration file FILE
7982 --header=FILE[:TEMPLATE]
7983 instantiate the configuration header FILE
7985 Configuration files:
7988 Configuration headers:
7991 Configuration commands:
7994 Report bugs to the package provider."
7997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7999 gold config.status 0.1
8000 configured by $0, generated by GNU Autoconf 2.64,
8001 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8003 Copyright (C) 2009 Free Software Foundation, Inc.
8004 This config.status script is free software; the Free Software Foundation
8005 gives unlimited permission to copy, distribute and modify it."
8012 test -n "\$AWK" || AWK=awk
8015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8016 # The default lists apply if the user does not specify any file.
8022 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8023 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8034 # Handling of the options.
8035 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8037 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8038 $as_echo "$ac_cs_version"; exit ;;
8039 --debug |
--debu |
--deb |
--de |
--d |
-d )
8041 --file |
--fil |
--fi |
--f )
8044 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8046 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8047 ac_need_defaults
=false
;;
8048 --header |
--heade |
--head |
--hea )
8051 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8053 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8054 ac_need_defaults
=false
;;
8056 # Conflict between --help and --header
8057 as_fn_error
"ambiguous option: \`$1'
8058 Try \`$0 --help' for more information.";;
8059 --help |
--hel |
-h )
8060 $as_echo "$ac_cs_usage"; exit ;;
8061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8062 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8066 -*) as_fn_error
"unrecognized option: \`$1'
8067 Try \`$0 --help' for more information." ;;
8069 *) as_fn_append ac_config_targets
" $1"
8070 ac_need_defaults
=false
;;
8076 ac_configure_extra_args
=
8078 if $ac_cs_silent; then
8080 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8085 if \$ac_cs_recheck; then
8086 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8088 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8089 CONFIG_SHELL='$SHELL'
8095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8099 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8100 ## Running $as_me. ##
8106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8110 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8111 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8112 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8114 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8115 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8116 LINGUAS="${LINGUAS-%UNSET%}"
8121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8123 # Handling of arguments.
8124 for ac_config_target
in $ac_config_targets
8126 case $ac_config_target in
8127 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8128 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8129 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8130 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8131 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
8132 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8134 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8139 # If the user did not use the arguments to specify the items to instantiate,
8140 # then the envvar interface is used. Set only those that are not.
8141 # We use the long form for the default assignment because of an extremely
8142 # bizarre bug on SunOS 4.1.3.
8143 if $ac_need_defaults; then
8144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8145 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8146 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8149 # Have a temporary directory for convenience. Make it in the build tree
8150 # simply because there is no reason against having it here, and in addition,
8151 # creating and moving files from /tmp can sometimes cause problems.
8152 # Hook for its removal unless debugging.
8153 # Note that there is a small window in which the directory will not be cleaned:
8154 # after its creation but before its name has been assigned to `$tmp'.
8158 trap 'exit_status=$?
8159 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8161 trap 'as_fn_exit 1' 1 2 13 15
8163 # Create a (secure) tmp directory for tmp files.
8166 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8167 test -n "$tmp" && test -d "$tmp"
8170 tmp
=.
/conf$$
-$RANDOM
8171 (umask 077 && mkdir
"$tmp")
8172 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8174 # Set up the scripts for CONFIG_FILES section.
8175 # No need to generate them if there are no CONFIG_FILES.
8176 # This happens for instance with `./config.status config.h'.
8177 if test -n "$CONFIG_FILES"; then
8180 ac_cr
=`echo X | tr X '\015'`
8181 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8182 # But we know of no other shell where ac_cr would be empty at this
8183 # point, so we can use a bashism as a fallback.
8184 if test "x$ac_cr" = x
; then
8185 eval ac_cr
=\$
\'\\r
\'
8187 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8188 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8194 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8199 echo "cat >conf$$subs.awk <<_ACEOF" &&
8200 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8203 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8204 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8206 for ac_last_try in false false false false false :; do
8207 . ./conf$$subs.sh ||
8208 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8210 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8211 if test $ac_delim_n = $ac_delim_num; then
8213 elif $ac_last_try; then
8214 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8216 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8222 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8226 s/^/S["/; s
/!.
*/"]=/
8236 s/\(.\{148\}\).*/\1/
8238 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8243 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8250 s/\(.\{148\}\).*/\1/
8252 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8256 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8261 ' <conf$$subs.awk | sed '
8266 ' >>$CONFIG_STATUS || ac_write_fail=1
8267 rm -f conf$$subs.awk
8268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8270 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8271 for (key in S) S_is_set[key] = 1
8277 nfields = split(line, field, "@
")
8279 len = length(field[1])
8280 for (i = 2; i < nfields; i++) {
8282 keylen = length(key)
8283 if (S_is_set[key]) {
8285 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8286 len += length(value) + length(field[++i])
8297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8298 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8299 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8302 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8303 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8306 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8307 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8308 # trailing colons and then remove the whole line if VPATH becomes empty
8309 # (actually we leave an empty line to preserve line numbers).
8310 if test "x
$srcdir" = x.; then
8311 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8315 s/^\([^=]*=[ ]*\):*/\1/
8321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8322 fi # test -n "$CONFIG_FILES"
8324 # Set up the scripts for CONFIG_HEADERS section.
8325 # No need to generate them if there are no CONFIG_HEADERS.
8326 # This happens for instance with `./config.status Makefile'.
8327 if test -n "$CONFIG_HEADERS"; then
8328 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8332 # Transform confdefs.h into an awk script `defines.awk', embedded as
8333 # here-document in config.status, that substitutes the proper values into
8334 # config.h.in to produce config.h.
8336 # Create a delimiter string that does not exist in confdefs.h, to ease
8337 # handling of long lines.
8339 for ac_last_try in false false :; do
8340 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8341 if test -z "$ac_t"; then
8343 elif $ac_last_try; then
8344 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8346 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8350 # For the awk script, D is an array of macro values keyed by name,
8351 # likewise P contains macro parameters if any. Preserve backslash
8352 # newline sequences.
8354 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8356 s/.\{148\}/&'"$ac_delim"'/g
8359 s/^[ ]*#[ ]*define[ ][ ]*/ /
8366 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8368 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8373 D["\
1"]=" \
3\\\\\\n
"\\/p
8375 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8380 s/.\{148\}/&'"$ac_delim"'/g
8385 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8388 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8390 ' <confdefs.h | sed '
8391 s/'"$ac_delim"'/"\\\
8392 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8395 for (key in D) D_is_set[key] = 1
8398 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8400 split(line, arg, " ")
8401 if (arg[1] == "#") {
8405 defundef
= substr
(arg
[1], 2)
8408 split(mac1
, mac2
, "(") #)
8410 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8411 if (D_is_set
[macro
]) {
8412 # Preserve the white space surrounding the "#".
8413 print prefix
"define", macro P
[macro
] D
[macro
]
8416 # Replace #undef with comments. This is necessary, for example,
8417 # in the case of _POSIX_SOURCE, which is predefined and required
8418 # on some systems where configure will not decide to define it.
8419 if (defundef
== "undef") {
8420 print
"/*", prefix defundef
, macro
, "*/"
8428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8429 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8430 fi # test -n "$CONFIG_HEADERS"
8433 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8438 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8440 case $ac_mode$ac_tag in
8442 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8443 :[FH
]-) ac_tag
=-:-;;
8444 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8461 -) ac_f
="$tmp/stdin";;
8462 *) # Look for the file first in the build tree, then in the source tree
8463 # (if the path is not absolute). The absolute path cannot be DOS-style,
8464 # because $ac_f cannot contain `:'.
8468 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8470 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8472 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8473 as_fn_append ac_file_inputs
" '$ac_f'"
8476 # Let's still pretend it is `configure' which instantiates (i.e., don't
8477 # use $as_me), people would be surprised to read:
8478 # /* config.h. Generated by config.status. */
8479 configure_input
='Generated from '`
8480 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8482 if test x
"$ac_file" != x-
; then
8483 configure_input
="$ac_file. $configure_input"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8485 $as_echo "$as_me: creating $ac_file" >&6;}
8487 # Neutralize special characters interpreted by sed in replacement strings.
8488 case $configure_input in #(
8489 *\
&* |
*\|
* |
*\\* )
8490 ac_sed_conf_input
=`$as_echo "$configure_input" |
8491 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8492 *) ac_sed_conf_input
=$configure_input;;
8496 *:-:* |
*:-) cat >"$tmp/stdin" \
8497 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8502 ac_dir
=`$as_dirname -- "$ac_file" ||
8503 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8504 X"$ac_file" : 'X\(//\)[^/]' \| \
8505 X"$ac_file" : 'X\(//\)$' \| \
8506 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8507 $as_echo X"$ac_file" |
8508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8525 as_dir
="$ac_dir"; as_fn_mkdir_p
8529 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8531 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8532 # A ".." for each directory in $ac_dir_suffix.
8533 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8534 case $ac_top_builddir_sub in
8535 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8536 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8539 ac_abs_top_builddir
=$ac_pwd
8540 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8541 # for backward compatibility:
8542 ac_top_builddir
=$ac_top_build_prefix
8545 .
) # We are building in place.
8547 ac_top_srcdir
=$ac_top_builddir_sub
8548 ac_abs_top_srcdir
=$ac_pwd ;;
8549 [\\/]* | ?
:[\\/]* ) # Absolute name.
8550 ac_srcdir
=$srcdir$ac_dir_suffix;
8551 ac_top_srcdir
=$srcdir
8552 ac_abs_top_srcdir
=$srcdir ;;
8554 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8555 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8556 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8558 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8568 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8569 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8573 [\\/$
]* | ?
:[\\/]* ) ;;
8574 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8579 # If the template does not know about datarootdir, expand it.
8580 # FIXME: This hack should be removed a few years after 2.60.
8581 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8592 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8593 *datarootdir
*) ac_datarootdir_seen
=yes;;
8594 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8596 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8599 ac_datarootdir_hack='
8600 s&@datadir@&$datadir&g
8601 s&@docdir@&$docdir&g
8602 s&@infodir@&$infodir&g
8603 s&@localedir@&$localedir&g
8604 s&@mandir@&$mandir&g
8605 s&\\\${datarootdir}&$datarootdir&g' ;;
8609 # Neutralize VPATH when `$srcdir' = `.'.
8610 # Shell code in configure.ac might set extrasub.
8611 # FIXME: do we really want to maintain this feature?
8612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8613 ac_sed_extra="$ac_vpsub
8616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8618 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8619 s|@configure_input@|
$ac_sed_conf_input|
;t t
8620 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8621 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8622 s
&@srcdir@
&$ac_srcdir&;t t
8623 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8624 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8625 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8626 s
&@builddir@
&$ac_builddir&;t t
8627 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8628 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8629 s
&@INSTALL@
&$ac_INSTALL&;t t
8630 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8631 $ac_datarootdir_hack
8633 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
8634 || as_fn_error "could not create
$ac_file" "$LINENO" 5
8636 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8637 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8638 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8640 which seems to be undefined. Please make sure it is defined." >&5
8641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8642 which seems to be undefined. Please make sure it is defined." >&2;}
8646 -) cat "$tmp/out" && rm -f "$tmp/out";;
8647 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8649 || as_fn_error "could not create $ac_file" "$LINENO" 5
8655 if test x"$ac_file" != x-; then
8657 $as_echo "/* $configure_input */" \
8658 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8659 } >"$tmp/config.h" \
8660 || as_fn_error "could not create $ac_file" "$LINENO" 5
8661 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8666 mv "$tmp/config.h" "$ac_file" \
8667 || as_fn_error "could not create $ac_file" "$LINENO" 5
8670 $as_echo "/* $configure_input */" \
8671 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
8672 || as_fn_error "could not create -" "$LINENO" 5
8674 # Compute "$ac_file"'s index
in $config_headers.
8677 for _am_header
in $config_headers :; do
8679 $_am_arg |
$_am_arg:* )
8682 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8687 X"$_am_arg" : 'X\(//\)[^/]' \| \
8688 X"$_am_arg" : 'X\(//\)$' \| \
8689 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8690 $as_echo X"$_am_arg" |
8691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8707 s/.*/./; q'`/stamp-h
$_am_stamp_count
8710 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8711 $as_echo "$as_me: executing $ac_file commands" >&6;}
8716 case $ac_file$ac_mode in
8717 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8718 # Autoconf 2.62 quotes --file arguments for eval, but not when files
8719 # are listed without --file. Let's play safe and only enable the eval
8720 # if we detect the quoting.
8721 case $CONFIG_FILES in
8722 *\'*) eval set x
"$CONFIG_FILES" ;;
8723 *) set x
$CONFIG_FILES ;;
8728 # Strip MF so we end up with the name of the file.
8729 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8730 # Check whether this is an Automake generated Makefile or not.
8731 # We used to match only the files named `Makefile.in', but
8732 # some people rename them; so instead we look at the file content.
8733 # Grep'ing the first line is not enough: some people post-process
8734 # each Makefile.in and add a new line on top of each file to say so.
8735 # Grep'ing the whole file is not good either: AIX grep has a line
8736 # limit of 2048, but all sed's we know have understand at least 4000.
8737 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8738 dirpart
=`$as_dirname -- "$mf" ||
8739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8740 X"$mf" : 'X\(//\)[^/]' \| \
8741 X"$mf" : 'X\(//\)$' \| \
8742 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8764 # Extract the definition of DEPDIR, am__include, and am__quote
8765 # from the Makefile without running `make'.
8766 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8767 test -z "$DEPDIR" && continue
8768 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8769 test -z "am__include" && continue
8770 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8771 # When using ansi2knr, U may be empty or an underscore; expand it
8772 U
=`sed -n 's/^U = //p' < "$mf"`
8773 # Find all dependency output files, they are included files with
8774 # $(DEPDIR) in their names. We invoke sed twice because it is the
8775 # simplest approach to changing $(DEPDIR) to its actual value in the
8777 for file in `sed -n "
8778 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8779 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8780 # Make sure the directory exists.
8781 test -f "$dirpart/$file" && continue
8782 fdir
=`$as_dirname -- "$file" ||
8783 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8784 X"$file" : 'X\(//\)[^/]' \| \
8785 X"$file" : 'X\(//\)$' \| \
8786 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8805 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8806 # echo "creating $dirpart/$file"
8807 echo '# dummy' > "$dirpart/$file"
8813 for ac_file
in $CONFIG_FILES; do
8814 # Support "outfile[:infile[:infile...]]"
8816 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8818 # PO directories have a Makefile.in generated from Makefile.in.in.
8819 case "$ac_file" in */Makefile.
in)
8820 # Adjust a relative srcdir.
8821 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8822 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
8823 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8824 # In autoconf-2.13 it is called $ac_given_srcdir.
8825 # In autoconf-2.50 it is called $srcdir.
8826 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
8827 case "$ac_given_srcdir" in
8828 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
8829 /*) top_srcdir
="$ac_given_srcdir" ;;
8830 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8832 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8833 rm -f "$ac_dir/POTFILES"
8834 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
8835 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8836 POMAKEFILEDEPS
="POTFILES.in"
8837 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
8838 # on $ac_dir but don't depend on user-specified configuration
8840 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8841 # The LINGUAS file contains the set of available languages.
8842 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8843 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
8845 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8846 # Hide the ALL_LINGUAS assigment from automake.
8847 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8848 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
8850 # The set of available languages was given in configure.in.
8851 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8853 case "$ac_given_srcdir" in
8855 *) srcdirpre
='$(srcdir)/' ;;
8861 for lang
in $ALL_LINGUAS; do
8862 POFILES
="$POFILES $srcdirpre$lang.po"
8863 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
8864 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
8865 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
8867 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8868 # environment variable.
8870 if test -n "$ALL_LINGUAS"; then
8871 for presentlang
in $ALL_LINGUAS; do
8873 if test "%UNSET%" != "$LINGUAS"; then
8874 desiredlanguages
="$LINGUAS"
8876 desiredlanguages
="$ALL_LINGUAS"
8878 for desiredlang
in $desiredlanguages; do
8879 # Use the presentlang catalog if desiredlang is
8880 # a. equal to presentlang, or
8881 # b. a variant of presentlang (because in this case,
8882 # presentlang can be used as a fallback for messages
8883 # which are not translated in the desiredlang catalog).
8884 case "$desiredlang" in
8885 "$presentlang"*) useit
=yes;;
8888 if test $useit = yes; then
8889 INST_LINGUAS
="$INST_LINGUAS $presentlang"
8894 if test -n "$INST_LINGUAS"; then
8895 for lang
in $INST_LINGUAS; do
8896 CATALOGS
="$CATALOGS $lang.gmo"
8899 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
8900 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8901 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
8902 if test -f "$f"; then
8904 *.orig |
*.bak |
*~
) ;;
8905 *) cat "$f" >> "$ac_dir/Makefile" ;;
8920 ac_clean_files
=$ac_clean_files_save
8922 test $ac_write_fail = 0 ||
8923 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8926 # configure is writing to config.log, and then calls config.status.
8927 # config.status does its own redirection, appending to config.log.
8928 # Unfortunately, on DOS this fails, as config.log is still kept open
8929 # by configure, so config.status won't be able to write to it; its
8930 # output is simply discarded. So we exec the FD to /dev/null,
8931 # effectively closing config.log, so it can be properly (re)opened and
8932 # appended to by config.status. When coming back to configure, we
8933 # need to make the FD available again.
8934 if test "$no_create" != yes; then
8936 ac_config_status_args
=
8937 test "$silent" = yes &&
8938 ac_config_status_args
="$ac_config_status_args --quiet"
8940 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8942 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8943 # would make configure fail if this is the last instruction.
8944 $ac_cs_success || as_fn_exit $?
8946 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8948 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}