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
599 HAVE_NO_USE_LINKER_PLUGIN_FALSE
600 HAVE_NO_USE_LINKER_PLUGIN_TRUE
617 TLS_DESCRIPTORS_FALSE
619 TLS_GNU2_DIALECT_FALSE
620 TLS_GNU2_DIALECT_TRUE
630 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
631 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
634 NATIVE_OR_CROSS_LINKER_FALSE
635 NATIVE_OR_CROSS_LINKER_TRUE
687 DEFAULT_TARGET_MIPS_FALSE
688 DEFAULT_TARGET_MIPS_TRUE
689 DEFAULT_TARGET_TILEGX_FALSE
690 DEFAULT_TARGET_TILEGX_TRUE
691 DEFAULT_TARGET_X86_64_FALSE
692 DEFAULT_TARGET_X86_64_TRUE
693 DEFAULT_TARGET_SPARC_FALSE
694 DEFAULT_TARGET_SPARC_TRUE
695 DEFAULT_TARGET_POWERPC_FALSE
696 DEFAULT_TARGET_POWERPC_TRUE
697 DEFAULT_TARGET_I386_FALSE
698 DEFAULT_TARGET_I386_TRUE
699 DEFAULT_TARGET_ARM_FALSE
700 DEFAULT_TARGET_ARM_TRUE
701 DEFAULT_TARGET_AARCH64_FALSE
702 DEFAULT_TARGET_AARCH64_TRUE
717 INSTALL_STRIP_PROGRAM
771 program_transform_name
784 enable_option_checking
791 enable_dependency_tracking
794 enable_build_warnings
798 enable_maintainer_mode
800 ac_precious_vars
='build_alias
817 # Initialize some variables set by options.
819 ac_init_version
=false
820 ac_unrecognized_opts
=
822 # The variables have the same names as the options, with
823 # dashes changed to underlines.
831 program_transform_name
=s
,x
,x
,
839 # Installation directory options.
840 # These are left unexpanded so users can "make install exec_prefix=/foo"
841 # and all the variables that are supposed to be based on exec_prefix
842 # by default will actually change.
843 # Use braces instead of parens because sh, perl, etc. also accept them.
844 # (The list follows the same order as the GNU Coding Standards.)
845 bindir
='${exec_prefix}/bin'
846 sbindir
='${exec_prefix}/sbin'
847 libexecdir
='${exec_prefix}/libexec'
848 datarootdir
='${prefix}/share'
849 datadir
='${datarootdir}'
850 sysconfdir
='${prefix}/etc'
851 sharedstatedir
='${prefix}/com'
852 localstatedir
='${prefix}/var'
853 includedir
='${prefix}/include'
854 oldincludedir
='/usr/include'
855 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
856 infodir
='${datarootdir}/info'
861 libdir
='${exec_prefix}/lib'
862 localedir
='${datarootdir}/locale'
863 mandir
='${datarootdir}/man'
869 # If the previous option needs an argument, assign it.
870 if test -n "$ac_prev"; then
871 eval $ac_prev=\
$ac_option
877 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
881 # Accept the important Cygnus configure options, so we can diagnose typos.
883 case $ac_dashdash$ac_option in
887 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
889 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
892 -build |
--build |
--buil |
--bui |
--bu)
893 ac_prev
=build_alias
;;
894 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
895 build_alias
=$ac_optarg ;;
897 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
898 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
899 ac_prev
=cache_file
;;
900 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
901 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
902 cache_file
=$ac_optarg ;;
905 cache_file
=config.cache
;;
907 -datadir |
--datadir |
--datadi |
--datad)
909 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
910 datadir
=$ac_optarg ;;
912 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
913 |
--dataroo |
--dataro |
--datar)
914 ac_prev
=datarootdir
;;
915 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
916 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
917 datarootdir
=$ac_optarg ;;
919 -disable-* |
--disable-*)
920 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
923 as_fn_error
"invalid feature name: $ac_useropt"
924 ac_useropt_orig
=$ac_useropt
925 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931 ac_unrecognized_sep
=', ';;
933 eval enable_
$ac_useropt=no
;;
935 -docdir |
--docdir |
--docdi |
--doc |
--do)
937 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
940 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
942 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
945 -enable-* |
--enable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1153 as_fn_error
"invalid package name: $ac_useropt"
1154 ac_useropt_orig
=$ac_useropt
1155 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161 ac_unrecognized_sep
=', ';;
1163 eval with_
$ac_useropt=\
$ac_optarg ;;
1165 -without-* |
--without-*)
1166 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=no
;;
1182 # Obsolete; use --with-x.
1185 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1186 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1187 ac_prev
=x_includes
;;
1188 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1189 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1190 x_includes
=$ac_optarg ;;
1192 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1193 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1194 ac_prev
=x_libraries
;;
1195 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1196 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1197 x_libraries
=$ac_optarg ;;
1199 -*) as_fn_error
"unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information."
1204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 case $ac_envvar in #(
1207 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1208 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1210 eval $ac_envvar=\
$ac_optarg
1211 export $ac_envvar ;;
1214 # FIXME: should be removed in autoconf 3.0.
1215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1224 if test -n "$ac_prev"; then
1225 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1226 as_fn_error
"missing argument to $ac_option"
1229 if test -n "$ac_unrecognized_opts"; then
1230 case $enable_option_checking in
1232 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237 # Check all directory arguments for consistency.
1238 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239 datadir sysconfdir sharedstatedir localstatedir includedir \
1240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241 libdir localedir mandir
1243 eval ac_val
=\$
$ac_var
1244 # Remove trailing slashes.
1247 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248 eval $ac_var=\
$ac_val;;
1250 # Be sure to have absolute directory names.
1252 [\\/$
]* | ?
:[\\/]* ) continue;;
1253 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1255 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1263 target
=$target_alias
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x
; then
1267 if test "x$build_alias" = x
; then
1268 cross_compiling
=maybe
1269 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1270 If a cross compiler is detected then cross compile mode will be used." >&2
1271 elif test "x$build_alias" != "x$host_alias"; then
1277 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1279 test "$silent" = yes && exec 6>/dev
/null
1282 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1283 ac_ls_di
=`ls -di .` &&
1284 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1285 as_fn_error
"working directory cannot be determined"
1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1287 as_fn_error
"pwd does not report name of working directory"
1290 # Find the source files, if location was not specified.
1291 if test -z "$srcdir"; then
1292 ac_srcdir_defaulted
=yes
1293 # Try the directory containing this script, then the parent directory.
1294 ac_confdir
=`$as_dirname -- "$as_myself" ||
1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1296 X"$as_myself" : 'X\(//\)[^/]' \| \
1297 X"$as_myself" : 'X\(//\)$' \| \
1298 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1299 $as_echo X"$as_myself" |
1300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318 if test ! -r "$srcdir/$ac_unique_file"; then
1322 ac_srcdir_defaulted
=no
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1325 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1326 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1328 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1330 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1332 # When building in place, set srcdir=.
1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
1336 # Remove unnecessary trailing slashes from srcdir.
1337 # Double slashes in file names in object file debugging info
1338 # mess up M-x gdb in Emacs.
1340 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342 for ac_var
in $ac_precious_vars; do
1343 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1344 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1345 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1346 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1350 # Report the --help message.
1352 if test "$ac_init_help" = "long"; then
1353 # Omit some internal or obsolete options to make the list less imposing.
1354 # This message is too long to be a string in the A/UX 3.1 sh.
1356 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1358 Usage: $0 [OPTION]... [VAR=VALUE]...
1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1361 VAR=VALUE. See below for descriptions of some of the useful variables.
1363 Defaults for the options are specified in brackets.
1366 -h, --help display this help and exit
1367 --help=short display options specific to this package
1368 --help=recursive display the short help of all the included packages
1369 -V, --version display version information and exit
1370 -q, --quiet, --silent do not print \`checking...' messages
1371 --cache-file=FILE cache test results in FILE [disabled]
1372 -C, --config-cache alias for \`--cache-file=config.cache'
1373 -n, --no-create do not create output files
1374 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1376 Installation directories:
1377 --prefix=PREFIX install architecture-independent files in PREFIX
1378 [$ac_default_prefix]
1379 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1382 By default, \`make install' will install all the files in
1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1385 for instance \`--prefix=\$HOME'.
1387 For better control, use the options below.
1389 Fine tuning of the installation directories:
1390 --bindir=DIR user executables [EPREFIX/bin]
1391 --sbindir=DIR system admin executables [EPREFIX/sbin]
1392 --libexecdir=DIR program executables [EPREFIX/libexec]
1393 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1394 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1395 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1396 --libdir=DIR object code libraries [EPREFIX/lib]
1397 --includedir=DIR C header files [PREFIX/include]
1398 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1399 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1400 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1401 --infodir=DIR info documentation [DATAROOTDIR/info]
1402 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1403 --mandir=DIR man documentation [DATAROOTDIR/man]
1404 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1405 --htmldir=DIR html documentation [DOCDIR]
1406 --dvidir=DIR dvi documentation [DOCDIR]
1407 --pdfdir=DIR pdf documentation [DOCDIR]
1408 --psdir=DIR ps documentation [DOCDIR]
1414 --program-prefix=PREFIX prepend PREFIX to installed program names
1415 --program-suffix=SUFFIX append SUFFIX to installed program names
1416 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1419 --build=BUILD configure
for building on BUILD
[guessed
]
1420 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1421 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1425 if test -n "$ac_init_help"; then
1426 case $ac_init_help in
1427 short | recursive
) echo "Configuration of gold 0.1:";;
1432 --disable-option-checking ignore unrecognized
--enable/--with options
1433 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1434 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1435 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1436 --enable-threads multi-threaded linking
1437 --enable-plugins linker plugins
1438 --enable-targets alternative target configurations
1439 --disable-dependency-tracking speeds up one-time build
1440 --enable-dependency-tracking do not reject slow dependency extractors
1441 --disable-nls do not use Native Language Support
1442 --enable-werror treat compile warnings as errors
1443 --enable-build-warnings enable build-time compiler warnings
1444 --enable-maintainer-mode enable make rules and dependencies not useful
1445 (and sometimes confusing
) to the casual installer
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-sysroot=DIR search
for usr
/lib et al within DIR
1451 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1452 --with-gold-ldflags=FLAGS additional link flags
for gold
1453 --with-gold-ldadd=LIBS additional libraries
for gold
1454 --with-zlib include zlib support
(auto
/yes
/no
) default
=auto
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1464 CXX C
++ compiler
command
1465 CXXFLAGS C
++ compiler flags
1466 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1467 the first program found out of: `bison
-y', `byacc', `yacc'.
1468 YFLAGS The list of arguments that will be passed by default to $YACC.
1469 This script will default YFLAGS to the empty string to avoid a
1470 default value of `-d' given by some make applications.
1472 CXXCPP C++ preprocessor
1474 Use these variables to override the choices made by `configure' or to
help
1475 it to
find libraries and programs with nonstandard names
/locations.
1477 Report bugs to the package provider.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1491 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1493 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1498 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir
=$ac_pwd
1502 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir
=$ac_top_build_prefix
1507 .
) # We are building in place.
1509 ac_top_srcdir
=$ac_top_builddir_sub
1510 ac_abs_top_srcdir
=$ac_pwd ;;
1511 [\\/]* | ?
:[\\/]* ) # Absolute name.
1512 ac_srcdir
=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir
=$srcdir
1514 ac_abs_top_srcdir
=$srcdir ;;
1516 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1523 # Check for guested configure.
1524 if test -f "$ac_srcdir/configure.gnu"; then
1526 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1527 elif test -f "$ac_srcdir/configure"; then
1529 $SHELL "$ac_srcdir/configure" --help=recursive
1531 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1533 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1537 test -n "$ac_init_help" && exit $ac_status
1538 if $ac_init_version; then
1541 generated by GNU Autoconf
2.64
1543 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1544 This configure
script is free software
; the Free Software Foundation
1545 gives unlimited permission to copy
, distribute and modify it.
1550 ## ------------------------ ##
1551 ## Autoconf initialization. ##
1552 ## ------------------------ ##
1554 # ac_fn_c_try_compile LINENO
1555 # --------------------------
1556 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1557 ac_fn_c_try_compile
()
1559 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1560 rm -f conftest.
$ac_objext
1561 if { { ac_try
="$ac_compile"
1563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_compile") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest.$ac_objext; then :
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590 } # ac_fn_c_try_compile
1592 # ac_fn_cxx_try_compile LINENO
1593 # ----------------------------
1594 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1595 ac_fn_cxx_try_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 rm -f conftest.$ac_objext
1599 if { { ac_try="$ac_compile"
1601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1602 *) ac_try_echo
=$ac_try;;
1604 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_compile") 2>conftest.err
1608 if test -s conftest.err
; then
1609 grep -v '^ *+' conftest.err
>conftest.er1
1610 cat conftest.er1
>&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } && {
1615 test -z "$ac_cxx_werror_flag" ||
1616 test ! -s conftest.err
1617 } && test -s conftest.
$ac_objext; then :
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.
$ac_ext >&5
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1628 } # ac_fn_cxx_try_compile
1630 # ac_fn_c_try_cpp LINENO
1631 # ----------------------
1632 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1636 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1639 *) ac_try_echo=$ac_try;;
1641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1642 $as_echo "$ac_try_echo"; } >&5
1643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1645 if test -s conftest.err; then
1646 grep -v '^ *+' conftest.err >conftest.er1
1647 cat conftest.er1 >&5
1648 mv -f conftest.er1 conftest.err
1650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651 test $ac_status = 0; } >/dev/null && {
1652 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1653 test ! -s conftest.err
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1662 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1667 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1670 # the include files in INCLUDES and setting the cache variable VAR
1672 ac_fn_c_check_header_mongrel ()
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1679 $as_echo_n "(cached) " >&6
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 # Is the header compilable?
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1687 $as_echo_n "checking $2 usability... " >&6; }
1688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689 /* end confdefs.h. */
1693 if ac_fn_c_try_compile "$LINENO"; then :
1694 ac_header_compiler=yes
1696 ac_header_compiler=no
1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1700 $as_echo "$ac_header_compiler" >&6; }
1702 # Is the header present?
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1704 $as_echo_n "checking $2 presence... " >&6; }
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h. */
1709 if ac_fn_c_try_cpp "$LINENO"; then :
1710 ac_header_preproc=yes
1712 ac_header_preproc=no
1714 rm -f conftest.err conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1716 $as_echo "$ac_header_preproc" >&6; }
1718 # So? What about this header?
1719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1722 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1728 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1730 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1732 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1734 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1736 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740 $as_echo_n "checking for $2... " >&6; }
1741 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742 $as_echo_n "(cached) " >&6
1744 eval "$3=\$ac_header_compiler"
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 } # ac_fn_c_check_header_mongrel
1754 # ac_fn_c_try_run LINENO
1755 # ----------------------
1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1757 # that executables *can* be run.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_link"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_link") 2>&5
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1772 { { case "(($ac_try" in
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_try") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; }; }; then :
1784 $as_echo "$as_me: program exited with status $ac_status" >&5
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=$ac_status
1790 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 } # ac_fn_c_check_header_compile
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1837 *) ac_try_echo
=$ac_try;;
1839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err
; then
1844 grep -v '^ *+' conftest.err
>conftest.er1
1845 cat conftest.er1
>&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest
$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest
$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.
$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func
()
1878 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1882 $as_echo_n "(cached) " >&6
1884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1888 #define $2 innocuous_$2
1890 /* System header to define __stub macros and hopefully few prototypes,
1891 which can conflict with char $2 (); below.
1892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1893 <limits.h> exists even on freestanding compilers. */
1896 # include <limits.h>
1898 # include <assert.h>
1903 /* Override any GCC internal prototype to avoid an error.
1904 Use char because int might match the return type of a GCC
1905 builtin and then its argument prototype would still apply. */
1910 /* The GNU C library defines this for functions which it implements
1911 to always fail with ENOSYS. Some functions are actually named
1912 something starting with __ and the normal name is an alias. */
1913 #if defined __stub_$2 || defined __stub___$2
1925 if ac_fn_c_try_link
"$LINENO"; then :
1930 rm -f core conftest.err conftest.
$ac_objext \
1931 conftest
$ac_exeext conftest.
$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1938 } # ac_fn_c_check_func
1940 # ac_fn_c_check_decl LINENO SYMBOL VAR
1941 # ------------------------------------
1942 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1943 ac_fn_c_check_decl
()
1945 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1946 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1947 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1949 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1950 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1951 $as_echo_n "(cached) " >&6
1953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h. */
1959 #ifndef $as_decl_name
1961 (void) $as_decl_use;
1963 (void) $as_decl_name;
1971 if ac_fn_c_try_compile
"$LINENO"; then :
1976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1983 } # ac_fn_c_check_decl
1985 # ac_fn_cxx_try_cpp LINENO
1986 # ------------------------
1987 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1988 ac_fn_cxx_try_cpp
()
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 if test -s conftest.err; then
2001 grep -v '^ *+' conftest.err >conftest.er1
2002 cat conftest.er1 >&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } >/dev/null && {
2007 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2008 test ! -s conftest.err
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.$ac_ext >&5
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020 } # ac_fn_cxx_try_cpp
2022 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # ---------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2027 ac_fn_cxx_check_header_mongrel ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2040 # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2048 if ac_fn_cxx_try_compile "$LINENO"; then :
2049 ac_header_compiler=yes
2051 ac_header_compiler=no
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2064 if ac_fn_cxx_try_cpp "$LINENO"; then :
2065 ac_header_preproc=yes
2067 ac_header_preproc=no
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2073 # So? What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 $as_echo_n "(cached) " >&6
2099 eval "$3=\$ac_header_compiler"
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107 } # ac_fn_cxx_check_header_mongrel
2109 # ac_fn_cxx_try_link LINENO
2110 # -------------------------
2111 # Try to link conftest.$ac_ext, and return whether this succeeded.
2112 ac_fn_cxx_try_link ()
2114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2115 rm -f conftest.$ac_objext conftest$ac_exeext
2116 if { { ac_try="$ac_link"
2118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2119 *) ac_try_echo
=$ac_try;;
2121 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 $as_echo "$ac_try_echo"; } >&5
2123 (eval "$ac_link") 2>conftest.err
2125 if test -s conftest.err
; then
2126 grep -v '^ *+' conftest.err
>conftest.er1
2127 cat conftest.er1
>&5
2128 mv -f conftest.er1 conftest.err
2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2131 test $ac_status = 0; } && {
2132 test -z "$ac_cxx_werror_flag" ||
2133 test ! -s conftest.err
2134 } && test -s conftest
$ac_exeext && {
2135 test "$cross_compiling" = yes ||
2136 $as_test_x conftest
$ac_exeext
2140 $as_echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.
$ac_ext >&5
2145 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2146 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2147 # interfere with the next link command; also delete a directory that is
2148 # left behind by Apple's compiler. We do this before executing the actions.
2149 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2153 } # ac_fn_cxx_try_link
2155 # ac_fn_cxx_check_func LINENO FUNC VAR
2156 # ------------------------------------
2157 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2158 ac_fn_cxx_check_func
()
2160 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2162 $as_echo_n "checking for $2... " >&6; }
2163 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2164 $as_echo_n "(cached) " >&6
2166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2168 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2170 #define $2 innocuous_$2
2172 /* System header to define __stub macros and hopefully few prototypes,
2173 which can conflict with char $2 (); below.
2174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2175 <limits.h> exists even on freestanding compilers. */
2178 # include <limits.h>
2180 # include <assert.h>
2185 /* Override any GCC internal prototype to avoid an error.
2186 Use char because int might match the return type of a GCC
2187 builtin and then its argument prototype would still apply. */
2192 /* The GNU C library defines this for functions which it implements
2193 to always fail with ENOSYS. Some functions are actually named
2194 something starting with __ and the normal name is an alias. */
2195 #if defined __stub_$2 || defined __stub___$2
2207 if ac_fn_cxx_try_link
"$LINENO"; then :
2212 rm -f core conftest.err conftest.
$ac_objext \
2213 conftest
$ac_exeext conftest.
$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2217 $as_echo "$ac_res" >&6; }
2218 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2220 } # ac_fn_cxx_check_func
2222 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2223 # --------------------------------------
2224 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2225 ac_fn_cxx_check_decl
()
2227 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2228 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2229 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2231 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2232 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2233 $as_echo_n "(cached) " >&6
2235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2236 /* end confdefs.h. */
2241 #ifndef $as_decl_name
2243 (void) $as_decl_use;
2245 (void) $as_decl_name;
2253 if ac_fn_cxx_try_compile
"$LINENO"; then :
2258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262 $as_echo "$ac_res" >&6; }
2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2265 } # ac_fn_cxx_check_decl
2266 cat >config.log
<<_ACEOF
2267 This file contains any messages produced by compilers while
2268 running configure, to aid debugging if configure makes a mistake.
2270 It was created by gold $as_me 0.1, which was
2271 generated by GNU Autoconf 2.64. Invocation command line was
2283 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2284 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2285 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2286 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2287 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2289 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2290 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2292 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2293 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2294 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2295 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2296 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2297 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2298 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2306 test -z "$as_dir" && as_dir
=.
2307 $as_echo "PATH: $as_dir"
2323 # Keep a trace of the command line.
2324 # Strip out --no-create and --no-recursion so they do not pile up.
2325 # Strip out --silent because we don't want to record it for future runs.
2326 # Also quote any args containing shell meta-characters.
2327 # Make two passes to allow for proper duplicate-argument suppression.
2331 ac_must_keep_next
=false
2337 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2339 |
-silent |
--silent |
--silen |
--sile |
--sil)
2342 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2345 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2347 as_fn_append ac_configure_args1
" '$ac_arg'"
2348 if test $ac_must_keep_next = true
; then
2349 ac_must_keep_next
=false
# Got value, back to normal.
2352 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2353 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2354 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2355 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2356 case "$ac_configure_args0 " in
2357 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2360 -* ) ac_must_keep_next
=true
;;
2363 as_fn_append ac_configure_args
" '$ac_arg'"
2368 { ac_configure_args0
=; unset ac_configure_args0
;}
2369 { ac_configure_args1
=; unset ac_configure_args1
;}
2371 # When interrupted or exit'd, cleanup temporary files, and complete
2372 # config.log. We remove comments because anyway the quotes in there
2373 # would cause problems or look ugly.
2374 # WARNING: Use '\'' to represent an apostrophe within the trap.
2375 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2376 trap 'exit_status=$?
2377 # Save into config.log some information that might help in debugging.
2382 ## ---------------- ##
2383 ## Cache variables. ##
2384 ## ---------------- ##
2387 # The following way of writing the cache mishandles newlines in values,
2389 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2390 eval ac_val=\$$ac_var
2394 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2395 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2398 _ | IFS | as_nl) ;; #(
2399 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2400 *) { eval $ac_var=; unset $ac_var;} ;;
2405 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2406 *${as_nl}ac_space=\ *)
2408 "s/'\''/'\''\\\\'\'''\''/g;
2409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2420 ## ----------------- ##
2421 ## Output variables. ##
2422 ## ----------------- ##
2425 for ac_var in $ac_subst_vars
2427 eval ac_val=\$$ac_var
2429 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431 $as_echo "$ac_var='\''$ac_val'\''"
2435 if test -n "$ac_subst_files"; then
2437 ## ------------------- ##
2438 ## File substitutions. ##
2439 ## ------------------- ##
2442 for ac_var
in $ac_subst_files
2444 eval ac_val
=\$
$ac_var
2446 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2448 $as_echo "$ac_var='\''$ac_val'\''"
2453 if test -s confdefs.h; then
2463 test "$ac_signal" != 0 &&
2464 $as_echo "$as_me: caught signal $ac_signal"
2465 $as_echo "$as_me: exit $exit_status"
2467 rm -f core *.core core.conftest.* &&
2468 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2471 for ac_signal
in 1 2 13 15; do
2472 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2476 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2477 rm -f -r conftest
* confdefs.h
2479 $as_echo "/* confdefs.h */" > confdefs.h
2481 # Predefined preprocessor variables.
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_NAME "$PACKAGE_NAME"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2491 cat >>confdefs.h
<<_ACEOF
2492 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2495 cat >>confdefs.h
<<_ACEOF
2496 #define PACKAGE_STRING "$PACKAGE_STRING"
2499 cat >>confdefs.h
<<_ACEOF
2500 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2503 cat >>confdefs.h
<<_ACEOF
2504 #define PACKAGE_URL "$PACKAGE_URL"
2508 # Let the site file select an alternate cache file if it wants to.
2509 # Prefer an explicitly selected file to automatically selected ones.
2512 if test -n "$CONFIG_SITE"; then
2513 ac_site_file1
=$CONFIG_SITE
2514 elif test "x$prefix" != xNONE
; then
2515 ac_site_file1
=$prefix/share
/config.site
2516 ac_site_file2
=$prefix/etc
/config.site
2518 ac_site_file1
=$ac_default_prefix/share
/config.site
2519 ac_site_file2
=$ac_default_prefix/etc
/config.site
2521 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2523 test "x$ac_site_file" = xNONE
&& continue
2524 if test -r "$ac_site_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2526 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2527 sed 's/^/| /' "$ac_site_file" >&5
2532 if test -r "$cache_file"; then
2533 # Some versions of bash will fail to source /dev/null (special
2534 # files actually), so we avoid doing that.
2535 if test -f "$cache_file"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2537 $as_echo "$as_me: loading cache $cache_file" >&6;}
2539 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2540 *) .
"./$cache_file";;
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2545 $as_echo "$as_me: creating cache $cache_file" >&6;}
2549 # Check that the precious variables saved in the cache have kept the same
2551 ac_cache_corrupted
=false
2552 for ac_var
in $ac_precious_vars; do
2553 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2554 eval ac_new_set
=\
$ac_env_${ac_var}_set
2555 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2556 eval ac_new_val
=\
$ac_env_${ac_var}_value
2557 case $ac_old_set,$ac_new_set in
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2560 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561 ac_cache_corrupted
=: ;;
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2564 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2565 ac_cache_corrupted
=: ;;
2568 if test "x$ac_old_val" != "x$ac_new_val"; then
2569 # differences in whitespace do not lead to failure.
2570 ac_old_val_w
=`echo x $ac_old_val`
2571 ac_new_val_w
=`echo x $ac_new_val`
2572 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2575 ac_cache_corrupted
=:
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579 eval $ac_var=\
$ac_old_val
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2582 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2584 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2587 # Pass precious variables to config.status.
2588 if test "$ac_new_set" = set; then
2590 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2591 *) ac_arg
=$ac_var=$ac_new_val ;;
2593 case " $ac_configure_args " in
2594 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2595 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2599 if $ac_cache_corrupted; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2606 ## -------------------- ##
2607 ## Main body of script. ##
2608 ## -------------------- ##
2611 ac_cpp
='$CPP $CPPFLAGS'
2612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2623 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2624 for ac_t
in install-sh
install.sh shtool
; do
2625 if test -f "$ac_dir/$ac_t"; then
2627 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2632 if test -z "$ac_aux_dir"; then
2633 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2636 # These three variables are undocumented and unsupported,
2637 # and are intended to be withdrawn in a future Autoconf release.
2638 # They can cause serious problems if a builder's source tree is in a directory
2639 # whose full name contains unusual characters.
2640 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2641 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2642 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2645 # Make sure we can run config.sub.
2646 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2647 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2650 $as_echo_n "checking build system type... " >&6; }
2651 if test "${ac_cv_build+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 ac_build_alias
=$build_alias
2655 test "x$ac_build_alias" = x
&&
2656 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2657 test "x$ac_build_alias" = x
&&
2658 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2659 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2660 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2664 $as_echo "$ac_cv_build" >&6; }
2665 case $ac_cv_build in
2667 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2670 ac_save_IFS
=$IFS; IFS
='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2684 $as_echo_n "checking host system type... " >&6; }
2685 if test "${ac_cv_host+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test "x$host_alias" = x
; then
2689 ac_cv_host
=$ac_cv_build
2691 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2692 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2697 $as_echo "$ac_cv_host" >&6; }
2700 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2703 ac_save_IFS
=$IFS; IFS
='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2717 $as_echo_n "checking target system type... " >&6; }
2718 if test "${ac_cv_target+set}" = set; then :
2719 $as_echo_n "(cached) " >&6
2721 if test "x$target_alias" = x
; then
2722 ac_cv_target
=$ac_cv_host
2724 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2725 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2730 $as_echo "$ac_cv_target" >&6; }
2731 case $ac_cv_target in
2733 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2735 target
=$ac_cv_target
2736 ac_save_IFS
=$IFS; IFS
='-'
2742 # Remember, the first character of IFS is used to create $*,
2743 # except with old shells:
2746 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2749 # The aliases save the names the user supplied, while $host etc.
2750 # will get canonicalized.
2751 test -n "$target_alias" &&
2752 test "$program_prefix$program_suffix$program_transform_name" = \
2754 program_prefix
=${target_alias}-
2756 am__api_version
='1.11'
2758 # Find a good install program. We prefer a C program (faster),
2759 # so one script is as good as another. But avoid the broken or
2760 # incompatible versions:
2761 # SysV /etc/install, /usr/sbin/install
2762 # SunOS /usr/etc/install
2763 # IRIX /sbin/install
2765 # AmigaOS /C/install, which installs bootblocks on floppy discs
2766 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2769 # OS/2's system install, which has a completely different semantic
2770 # ./install, which can be erroneously created by make from ./install.sh.
2771 # Reject install programs that cannot install multiple files.
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2773 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2774 if test -z "$INSTALL"; then
2775 if test "${ac_cv_path_install+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 # Account for people who put trailing slashes in PATH elements.
2784 case $as_dir/ in #((
2785 .
/ | .
// |
/[cC
]/* | \
2786 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2787 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2790 # OSF1 and SCO ODT 3.0 have their own names for install.
2791 # Don't use installbsd from OSF since it installs stuff as root
2793 for ac_prog
in ginstall scoinst
install; do
2794 for ac_exec_ext
in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2796 if test $ac_prog = install &&
2797 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2798 # AIX install. It has an incompatible calling convention.
2800 elif test $ac_prog = install &&
2801 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2802 # program-specific install script used by HP pwplus--don't use.
2805 rm -rf conftest.one conftest.two conftest.dir
2806 echo one
> conftest.one
2807 echo two
> conftest.two
2809 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2810 test -s conftest.one
&& test -s conftest.two
&&
2811 test -s conftest.dir
/conftest.one
&&
2812 test -s conftest.dir
/conftest.two
2814 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2827 rm -rf conftest.one conftest.two conftest.dir
2830 if test "${ac_cv_path_install+set}" = set; then
2831 INSTALL
=$ac_cv_path_install
2833 # As a last resort, use the slow shell script. Don't cache a
2834 # value for INSTALL within a source directory, because that will
2835 # break other packages using the cache if that directory is
2836 # removed, or if the value is a relative name.
2837 INSTALL
=$ac_install_sh
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2841 $as_echo "$INSTALL" >&6; }
2843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2844 # It thinks the first close brace ends the variable substitution.
2845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2849 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2852 $as_echo_n "checking whether build environment is sane... " >&6; }
2855 echo timestamp
> conftest.
file
2856 # Reject unsafe characters in $srcdir or the absolute working directory
2857 # name. Accept space and tab only in the latter.
2861 *[\\\"\
#\$\&\'\`$am_lf]*)
2862 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2865 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2866 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2869 # Do `set' in a subshell so we don't clobber the current shell's
2870 # arguments. Must try -L first in case configure is actually a
2871 # symlink; some systems play weird games with the mod time of symlinks
2872 # (eg FreeBSD returns the mod time of the symlink's containing
2875 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2876 if test "$*" = "X"; then
2878 set X
`ls -t "$srcdir/configure" conftest.file`
2881 if test "$*" != "X $srcdir/configure conftest.file" \
2882 && test "$*" != "X conftest.file $srcdir/configure"; then
2884 # If neither matched, then we have a broken ls. This can happen
2885 # if, for instance, CONFIG_SHELL is bash and it inherits a
2886 # broken ls alias from the environment. This has actually
2887 # happened. Such a system could not be considered "sane".
2888 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2889 alias in your environment" "$LINENO" 5
2892 test "$2" = conftest.
file
2898 as_fn_error
"newly created file is older than distributed files!
2899 Check your system clock" "$LINENO" 5
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2902 $as_echo "yes" >&6; }
2903 test "$program_prefix" != NONE
&&
2904 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2905 # Use a double $ so make ignores it.
2906 test "$program_suffix" != NONE
&&
2907 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2908 # Double any \ or $.
2909 # By default was `s,x,x', remove it if useless.
2910 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2911 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2913 # expand $ac_aux_dir to an absolute path
2914 am_aux_dir
=`cd $ac_aux_dir && pwd`
2916 if test x
"${MISSING+set}" != xset
; then
2919 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2921 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2924 # Use eval to expand $SHELL
2925 if eval "$MISSING --run true"; then
2926 am_missing_run
="$MISSING --run "
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2930 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2933 if test x
"${install_sh}" != xset
; then
2936 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2938 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2942 # Installed binaries are usually stripped using `strip' when the user
2943 # run `make install-strip'. However `strip' might not be the right
2944 # tool to use in cross-compilation environments, therefore Automake
2945 # will honor the `STRIP' environment variable to overrule this program.
2946 if test "$cross_compiling" != no
; then
2947 if test -n "$ac_tool_prefix"; then
2948 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2949 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2951 $as_echo_n "checking for $ac_word... " >&6; }
2952 if test "${ac_cv_prog_STRIP+set}" = set; then :
2953 $as_echo_n "(cached) " >&6
2955 if test -n "$STRIP"; then
2956 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2965 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 STRIP
=$ac_cv_prog_STRIP
2976 if test -n "$STRIP"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2978 $as_echo "$STRIP" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2986 if test -z "$ac_cv_prog_STRIP"; then
2988 # Extract the first word of "strip", so it can be a program name with args.
2989 set dummy strip
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$ac_ct_STRIP"; then
2996 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_ac_ct_STRIP
="strip"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3016 if test -n "$ac_ct_STRIP"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3018 $as_echo "$ac_ct_STRIP" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3024 if test "x$ac_ct_STRIP" = x
; then
3027 case $cross_compiling:$ac_tool_warned in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3031 ac_tool_warned
=yes ;;
3036 STRIP
="$ac_cv_prog_STRIP"
3040 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3043 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3044 if test -z "$MKDIR_P"; then
3045 if test "${ac_cv_path_mkdir+set}" = set; then :
3046 $as_echo_n "(cached) " >&6
3048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3052 test -z "$as_dir" && as_dir
=.
3053 for ac_prog
in mkdir gmkdir
; do
3054 for ac_exec_ext
in '' $ac_executable_extensions; do
3055 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3056 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3057 'mkdir (GNU coreutils) '* | \
3058 'mkdir (coreutils) '* | \
3059 'mkdir (fileutils) '4.1*)
3060 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3070 if test "${ac_cv_path_mkdir+set}" = set; then
3071 MKDIR_P
="$ac_cv_path_mkdir -p"
3073 # As a last resort, use the slow shell script. Don't cache a
3074 # value for MKDIR_P within a source directory, because that will
3075 # break other packages using the cache if that directory is
3076 # removed, or if the value is a relative name.
3077 test -d .
/--version && rmdir .
/--version
3078 MKDIR_P
="$ac_install_sh -d"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3082 $as_echo "$MKDIR_P" >&6; }
3086 [\\/$
]* | ?
:[\\/]*) ;;
3087 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3090 for ac_prog
in gawk mawk nawk
awk
3092 # Extract the first word of "$ac_prog", so it can be a program name with args.
3093 set dummy
$ac_prog; ac_word
=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if test "${ac_cv_prog_AWK+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$AWK"; then
3100 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_AWK
="$ac_prog"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 if test -n "$AWK"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3122 $as_echo "$AWK" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3129 test -n "$AWK" && break
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3133 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3135 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3136 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3137 $as_echo_n "(cached) " >&6
3139 cat >conftest.
make <<\_ACEOF
3142 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3145 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3147 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3149 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3153 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3155 $as_echo "yes" >&6; }
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3159 $as_echo "no" >&6; }
3160 SET_MAKE
="MAKE=${MAKE-make}"
3163 rm -rf .tst
2>/dev
/null
3164 mkdir .tst
2>/dev
/null
3165 if test -d .tst
; then
3170 rmdir .tst
2>/dev
/null
3172 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3173 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3174 # is not polluted with repeated "-I."
3175 am__isrc
=' -I$(srcdir)'
3176 # test to see if srcdir already configured
3177 if test -f $srcdir/config.status
; then
3178 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3182 # test whether we have cygpath
3183 if test -z "$CYGPATH_W"; then
3184 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3185 CYGPATH_W
='cygpath -w'
3192 # Define the identity of the package.
3197 cat >>confdefs.h
<<_ACEOF
3198 #define PACKAGE "$PACKAGE"
3202 cat >>confdefs.h
<<_ACEOF
3203 #define VERSION "$VERSION"
3206 # Some tools Automake needs.
3208 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3211 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3214 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3217 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3220 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3222 # We need awk for the "check" target. The system "awk" is bad on
3224 # Always define AMTAR for backward compatibility.
3226 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3228 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3235 ac_config_headers
="$ac_config_headers config.h:config.in"
3242 # Check whether --with-sysroot was given.
3243 if test "${with_sysroot+set}" = set; then :
3244 withval
=$with_sysroot; sysroot
=$withval
3250 if test "$sysroot" = "yes"; then
3251 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3252 elif test "$sysroot" = "no"; then
3256 sysroot_relocatable
=0
3257 if test -n "$sysroot"; then
3259 "${prefix}" |
"${prefix}/"* | \
3260 "${exec_prefix}" |
"${exec_prefix}/"* | \
3261 '${prefix}' |
'${prefix}/'*| \
3262 '${exec_prefix}' |
'${exec_prefix}/'*)
3263 sysroot_relocatable
=1
3269 cat >>confdefs.h
<<_ACEOF
3270 #define TARGET_SYSTEM_ROOT "$sysroot"
3274 cat >>confdefs.h
<<_ACEOF
3275 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3280 installed_linker
=ld.gold
3281 # Check whether --enable-gold was given.
3282 if test "${enable_gold+set}" = set; then :
3283 enableval
=$enable_gold; case "${enableval}" in
3285 install_as_default
=yes
3288 if test x
${enable_ld} = xno
; then
3289 install_as_default
=yes
3294 install_as_default
=no
3300 # Check whether --enable-threads was given.
3301 if test "${enable_threads+set}" = set; then :
3302 enableval
=$enable_threads; case "${enableval}" in
3303 yes |
"") threads
=yes ;;
3311 if test "$threads" = "yes"; then
3313 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3316 if test "$threads" = "yes"; then
3325 # Check whether --enable-plugins was given.
3326 if test "${enable_plugins+set}" = set; then :
3327 enableval
=$enable_plugins; case "${enableval}" in
3328 yes |
"") plugins
=yes ;;
3336 if test "$plugins" = "yes"; then
3338 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3341 if test "$plugins" = "yes"; then
3350 # Check whether --enable-targets was given.
3351 if test "${enable_targets+set}" = set; then :
3352 enableval
=$enable_targets; case "${enableval}" in
3354 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3360 enable_targets
=$enableval
3364 # For now, enable all targets by default
3370 # Canonicalize the enabled targets.
3371 if test -n "$enable_targets"; then
3372 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3373 result
=`$ac_config_sub $targ 2>/dev/null`
3374 if test -n "$result"; then
3375 canon_targets
="$canon_targets $result"
3377 # Permit unrecognized target names, like "all".
3378 canon_targets
="$canon_targets $targ"
3383 # See which specific instantiations we need.
3389 default_osabi
=ELFOSABI_NONE
3394 for targ
in $target $canon_targets; do
3395 if test "$targ" = "all"; then
3402 .
${srcdir}/configure.tgt
3404 if test "$targ_obj" = "UNKNOWN"; then
3405 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3407 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3408 if test "$targ_extra_obj" != ""; then
3409 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3411 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3412 if test "$targ_big_endian" = "true" \
3413 -o "$targ_extra_big_endian" = "true"; then
3416 if test "$targ_big_endian" = "false" \
3417 -o "$targ_extra_big_endian" = "false"; then
3421 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3422 if test "$targ_big_endian" = "true" \
3423 -o "$targ_extra_big_endian" = "true"; then
3426 if test "$targ_big_endian" = "false" \
3427 -o "$targ_extra_big_endian" = "false"; then
3432 if test "$target" = "$targ"; then
3433 default_machine
=$targ_machine
3434 default_size
=$targ_size
3435 default_big_endian
=$targ_big_endian
3436 default_osabi
=$targ_osabi
3438 if test "$targ_obj" = "aarch64"; then
3439 DEFAULT_TARGET_AARCH64_TRUE
=
3440 DEFAULT_TARGET_AARCH64_FALSE
='#'
3442 DEFAULT_TARGET_AARCH64_TRUE
='#'
3443 DEFAULT_TARGET_AARCH64_FALSE
=
3446 if test "$targ_obj" = "arm"; then
3447 DEFAULT_TARGET_ARM_TRUE
=
3448 DEFAULT_TARGET_ARM_FALSE
='#'
3450 DEFAULT_TARGET_ARM_TRUE
='#'
3451 DEFAULT_TARGET_ARM_FALSE
=
3454 if test "$targ_obj" = "i386"; then
3455 DEFAULT_TARGET_I386_TRUE
=
3456 DEFAULT_TARGET_I386_FALSE
='#'
3458 DEFAULT_TARGET_I386_TRUE
='#'
3459 DEFAULT_TARGET_I386_FALSE
=
3462 if test "$targ_obj" = "powerpc"; then
3463 DEFAULT_TARGET_POWERPC_TRUE
=
3464 DEFAULT_TARGET_POWERPC_FALSE
='#'
3466 DEFAULT_TARGET_POWERPC_TRUE
='#'
3467 DEFAULT_TARGET_POWERPC_FALSE
=
3470 if test "$targ_obj" = "sparc"; then
3471 DEFAULT_TARGET_SPARC_TRUE
=
3472 DEFAULT_TARGET_SPARC_FALSE
='#'
3474 DEFAULT_TARGET_SPARC_TRUE
='#'
3475 DEFAULT_TARGET_SPARC_FALSE
=
3478 if test "$targ_obj" = "x86_64"; then
3479 DEFAULT_TARGET_X86_64_TRUE
=
3480 DEFAULT_TARGET_X86_64_FALSE
='#'
3482 DEFAULT_TARGET_X86_64_TRUE
='#'
3483 DEFAULT_TARGET_X86_64_FALSE
=
3486 if test "$targ_obj" = "tilegx"; then
3487 DEFAULT_TARGET_TILEGX_TRUE
=
3488 DEFAULT_TARGET_TILEGX_FALSE
='#'
3490 DEFAULT_TARGET_TILEGX_TRUE
='#'
3491 DEFAULT_TARGET_TILEGX_FALSE
=
3494 if test "$targ_obj" = "mips"; then
3495 DEFAULT_TARGET_MIPS_TRUE
=
3496 DEFAULT_TARGET_MIPS_FALSE
='#'
3498 DEFAULT_TARGET_MIPS_TRUE
='#'
3499 DEFAULT_TARGET_MIPS_FALSE
=
3502 DEFAULT_TARGET
=${targ_obj}
3509 # Remove any duplicates.
3511 for t
in $targetobjs; do
3519 if test -n "$targ_32_little"; then
3521 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3524 if test -n "$targ_32_big"; then
3526 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3529 if test -n "$targ_64_little"; then
3531 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3534 if test -n "$targ_64_big"; then
3536 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3540 if test -n "$all_targets"; then
3541 TARGETOBJS
='$(ALL_TARGETOBJS)'
3543 TARGETOBJS
="$targetobjs"
3548 cat >>confdefs.h
<<_ACEOF
3549 #define GOLD_DEFAULT_MACHINE $default_machine
3553 cat >>confdefs.h
<<_ACEOF
3554 #define GOLD_DEFAULT_SIZE $default_size
3558 cat >>confdefs.h
<<_ACEOF
3559 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3563 cat >>confdefs.h
<<_ACEOF
3564 #define GOLD_DEFAULT_OSABI $default_osabi
3569 # Check whether --with-lib-path was given.
3570 if test "${with_lib_path+set}" = set; then :
3571 withval
=$with_lib_path; case "$withval" in
3572 yes) LIB_PATH
='"/lib:/usr/lib"' ;;
3573 no
) LIB_PATH
='""' ;;
3574 *) LIB_PATH
='"'"$withval"'"' ;;
3577 LIB_PATH
='"::DEFAULT::"'
3581 cat >>confdefs.h
<<_ACEOF
3582 #define LIB_PATH $LIB_PATH
3585 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3587 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3591 if test -n "$ac_tool_prefix"; then
3592 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3593 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_NM+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3599 if test -n "$NM"; then
3600 ac_cv_prog_NM
="$NM" # Let the user override the test.
3602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir
=.
3607 for ac_exec_ext
in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 if test -n "$NM"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3622 $as_echo "$NM" >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3630 if test -z "$ac_cv_prog_NM"; then
3632 # Extract the first word of "nm", so it can be a program name with args.
3633 set dummy nm
; ac_word
=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$ac_ct_NM"; then
3640 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_ac_ct_NM
="nm"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3660 if test -n "$ac_ct_NM"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3662 $as_echo "$ac_ct_NM" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3668 if test "x$ac_ct_NM" = x
; then
3671 case $cross_compiling:$ac_tool_warned in
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3675 ac_tool_warned
=yes ;;
3685 ac_cpp
='$CPP $CPPFLAGS'
3686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3691 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC
="$CC" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$ac_cv_prog_CC"; then
3730 # Extract the first word of "gcc", so it can be a program name with args.
3731 set dummy gcc
; 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_ac_ct_CC+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$ac_ct_CC"; then
3738 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="gcc"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3758 if test -n "$ac_ct_CC"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3760 $as_echo "$ac_ct_CC" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3766 if test "x$ac_ct_CC" = x
; then
3769 case $cross_compiling:$ac_tool_warned in
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3773 ac_tool_warned
=yes ;;
3781 if test -z "$CC"; then
3782 if test -n "$ac_tool_prefix"; then
3783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3784 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test "${ac_cv_prog_CC+set}" = set; then :
3788 $as_echo_n "(cached) " >&6
3790 if test -n "$CC"; then
3791 ac_cv_prog_CC
="$CC" # Let the user override the test.
3793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir
=.
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3800 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813 $as_echo "$CC" >&6; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 # Extract the first word of "cc", so it can be a program name with args.
3824 set dummy cc
; ac_word
=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if test "${ac_cv_prog_CC+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$CC"; then
3831 ac_cv_prog_CC
="$CC" # Let the user override the test.
3834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3838 test -z "$as_dir" && as_dir
=.
3839 for ac_exec_ext
in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3842 ac_prog_rejected
=yes
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3853 if test $ac_prog_rejected = yes; then
3854 # We found a bogon in the path, so make sure we never use it.
3855 set dummy
$ac_cv_prog_CC
3857 if test $# != 0; then
3858 # We chose a different compiler from the bogus one.
3859 # However, it has the same basename, so the bogon will be chosen
3860 # first if we set CC to just the basename; use the full file name.
3862 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3878 if test -z "$CC"; then
3879 if test -n "$ac_tool_prefix"; then
3880 for ac_prog
in cl.exe
3882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3883 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if test "${ac_cv_prog_CC+set}" = set; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$CC"; then
3890 ac_cv_prog_CC
="$CC" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 if test -n "$CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3912 $as_echo "$CC" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3919 test -n "$CC" && break
3922 if test -z "$CC"; then
3924 for ac_prog
in cl.exe
3926 # Extract the first word of "$ac_prog", so it can be a program name with args.
3927 set dummy
$ac_prog; ac_word
=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -n "$ac_ct_CC"; then
3934 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3940 test -z "$as_dir" && as_dir
=.
3941 for ac_exec_ext
in '' $ac_executable_extensions; do
3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3943 ac_cv_prog_ac_ct_CC
="$ac_prog"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3954 if test -n "$ac_ct_CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3956 $as_echo "$ac_ct_CC" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3963 test -n "$ac_ct_CC" && break
3966 if test "x$ac_ct_CC" = x
; then
3969 case $cross_compiling:$ac_tool_warned in
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3973 ac_tool_warned
=yes ;;
3982 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error
"no acceptable C compiler found in \$PATH
3985 See \`config.log' for more details." "$LINENO" 5; }
3987 # Provide some information about the compiler.
3988 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3991 for ac_option
in --version -v -V -qversion; do
3992 { { ac_try
="$ac_compiler $ac_option >&5"
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_compiler $ac_option >&5") 2>conftest.err
4001 if test -s conftest.err; then
4003 ... rest of stderr output deleted ...
4004 10q' conftest.err >conftest.er1
4005 cat conftest.er1 >&5
4006 rm -f conftest.er1 conftest.err
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }
4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013 /* end confdefs.h. */
4023 ac_clean_files_save=$ac_clean_files
4024 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4025 # Try to create an executable without -o first, disregard a.out.
4026 # It will help us diagnose broken compilers, and finding out an intuition
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4029 $as_echo_n "checking for C compiler default output file name... " >&6; }
4030 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4032 # The possible output files:
4033 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4036 for ac_file in $ac_files
4039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4040 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4045 if { { ac_try="$ac_link_default"
4047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4048 *) ac_try_echo
=$ac_try;;
4050 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link_default") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4057 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4058 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4059 # so that the user can short-circuit this test for compilers unknown to
4061 for ac_file
in $ac_files ''
4063 test -f "$ac_file" ||
continue
4065 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4068 # We found the default executable, but exeext='' is most
4072 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4074 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076 # We set ac_cv_exeext here because the later test for it is not
4077 # safe: cross compilers may not add the suffix if given an `-o'
4078 # argument, so we may need to know it at that point already.
4079 # Even if this section looks crufty: it has the advantage of
4086 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4092 $as_echo "$ac_file" >&6; }
4093 if test -z "$ac_file"; then :
4094 $as_echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.
$ac_ext >&5
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 { as_fn_set_status
77
4100 as_fn_error
"C compiler cannot create executables
4101 See \`config.log' for more details." "$LINENO" 5; }; }
4103 ac_exeext
=$ac_cv_exeext
4105 # Check that the compiler produces executables we can run. If not, either
4106 # the compiler is broken, or we cross compile.
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4108 $as_echo_n "checking whether the C compiler works... " >&6; }
4109 # If not cross compiling, check that we can run a simple program.
4110 if test "$cross_compiling" != yes; then
4111 if { ac_try
='./$ac_file'
4112 { { case "(($ac_try" in
4113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_try") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; }; then
4124 if test "$cross_compiling" = maybe; then
4127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4129 as_fn_error "cannot run C compiled programs.
4130 If you meant to cross compile
, use \
`--host'.
4131 See \`config.log
' for more details." "$LINENO" 5; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4136 $as_echo "yes" >&6; }
4138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4139 ac_clean_files=$ac_clean_files_save
4140 # Check that the compiler produces executables we can run. If not, either
4141 # the compiler is broken, or we cross compile.
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4143 $as_echo_n "checking whether we are cross compiling... " >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4145 $as_echo "$cross_compiling" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4148 $as_echo_n "checking for suffix of executables... " >&6; }
4149 if { { ac_try="$ac_link"
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_link") 2>&5
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }; then :
4160 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4161 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4162 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4164 for ac_file
in conftest.exe conftest conftest.
*; do
4165 test -f "$ac_file" ||
continue
4167 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4168 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4176 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4177 See \`config.log' for more details." "$LINENO" 5; }
4179 rm -f conftest
$ac_cv_exeext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4181 $as_echo "$ac_cv_exeext" >&6; }
4183 rm -f conftest.
$ac_ext
4184 EXEEXT
=$ac_cv_exeext
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4187 $as_echo_n "checking for suffix of object files... " >&6; }
4188 if test "${ac_cv_objext+set}" = set; then :
4189 $as_echo_n "(cached) " >&6
4191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 rm -f conftest.o conftest.obj
4203 if { { ac_try
="$ac_compile"
4205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210 (eval "$ac_compile") 2>&5
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }; then :
4214 for ac_file in conftest.o conftest.obj conftest.*; do
4215 test -f "$ac_file" || continue;
4217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4218 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4223 $as_echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4228 as_fn_error "cannot compute suffix of object files
: cannot compile
4229 See \
`config.log' for more details." "$LINENO" 5; }
4231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4234 $as_echo "$ac_cv_objext" >&6; }
4235 OBJEXT=$ac_cv_objext
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4240 $as_echo_n "(cached) " >&6
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4267 if test $ac_compiler_gnu = yes; then
4272 ac_test_CFLAGS=${CFLAGS+set}
4273 ac_save_CFLAGS=$CFLAGS
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4276 if test "${ac_cv_prog_cc_g+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4279 ac_save_c_werror_flag=$ac_c_werror_flag
4280 ac_c_werror_flag=yes
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4294 if ac_fn_c_try_compile "$LINENO"; then :
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4309 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_c_werror_flag=$ac_save_c_werror_flag
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4325 if ac_fn_c_try_compile "$LINENO"; then :
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_c_werror_flag=$ac_save_c_werror_flag
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4336 $as_echo "$ac_cv_prog_cc_g" >&6; }
4337 if test "$ac_test_CFLAGS" = set; then
4338 CFLAGS=$ac_save_CFLAGS
4339 elif test $ac_cv_prog_cc_g = yes; then
4340 if test "$GCC" = yes; then
4346 if test "$GCC" = yes; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4357 ac_cv_prog_cc_c89=no
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4363 #include <sys/types.h>
4364 #include <sys/stat.h>
4365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4366 struct buf { int x; };
4367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4368 static char *e (p, i)
4374 static char *f (char * (*g) (char **, int), char **p, ...)
4379 s = g (p, va_arg (v,int));
4384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4385 function prototypes and stuff, but not '\xHH' hex character constants.
4386 These don't provoke an error unfortunately, instead are silently treated
4387 as 'x'. The following induces an error, until -std is added to get
4388 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4389 array size at least. It's necessary to write '\x00'==0 to get something
4390 that's true only with -std. */
4391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4394 inside strings and character constants. */
4396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4398 int test (int i, double x);
4399 struct s1 {int (*f) (int a);};
4400 struct s2 {int (*f) (double a);};
4401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4413 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4415 CC="$ac_save_CC $ac_arg"
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_cv_prog_cc_c89=$ac_arg
4419 rm -f core conftest.err conftest.$ac_objext
4420 test "x$ac_cv_prog_cc_c89" != "xno" && break
4422 rm -f conftest.$ac_ext
4427 case "x$ac_cv_prog_cc_c89" in
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4430 $as_echo "none needed" >&6; } ;;
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4433 $as_echo "unsupported" >&6; } ;;
4435 CC="$CC $ac_cv_prog_cc_c89"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4439 if test "x$ac_cv_prog_cc_c89" != xno; then :
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4448 DEPDIR="${am__leading_dot}deps"
4450 ac_config_commands="$ac_config_commands depfiles"
4453 am_make=${MAKE-make}
4454 cat > confinc << 'END'
4456 @echo this is the am__doit target
4459 # If we don't find an include directive, just comment out the code.
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4461 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4465 # First try GNU make style include.
4466 echo "include confinc" > confmf
4467 # Ignore all kinds of additional output from `make'.
4468 case `$am_make -s -f confmf 2> /dev/null` in #(
4469 *the\ am__doit\ target*)
4475 # Now try BSD make style include.
4476 if test "$am__include" = "#"; then
4477 echo '.include
"confinc"' > confmf
4478 case `$am_make -s -f confmf 2> /dev/null` in #(
4479 *the\ am__doit\ target*)
4480 am__include=.include
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4489 $as_echo "$_am_result" >&6; }
4490 rm -f confinc confmf
4492 # Check whether --enable-dependency-tracking was given.
4493 if test "${enable_dependency_tracking+set}" = set; then :
4494 enableval=$enable_dependency_tracking;
4497 if test "x$enable_dependency_tracking" != xno; then
4498 am_depcomp="$ac_aux_dir/depcomp"
4501 if test "x$enable_dependency_tracking" != xno
; then
4511 depcc
="$CC" am_compiler_list
=
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4514 $as_echo_n "checking dependency style of $depcc... " >&6; }
4515 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4519 # We make a subdir and do the tests there. Otherwise we can end up
4520 # making bogus files that we don't know about and never remove. For
4521 # instance it was reported that on HP-UX the gcc test will end up
4522 # making a dummy file named `D' -- because `-MD' means `put the output
4525 # Copy depcomp to subdir because otherwise we won't find it if we're
4526 # using a relative directory.
4527 cp "$am_depcomp" conftest.dir
4529 # We will build objects and dependencies in a subdirectory because
4530 # it helps to detect inapplicable dependency modes. For instance
4531 # both Tru64's cc and ICC support -MD to output dependencies as a
4532 # side effect of compilation, but ICC will put the dependencies in
4533 # the current directory while Tru64 will put them in the object
4537 am_cv_CC_dependencies_compiler_type
=none
4538 if test "$am_compiler_list" = ""; then
4539 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4542 case " $depcc " in #(
4543 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4546 for depmode
in $am_compiler_list; do
4547 # Setup a source with many dependencies, because some compilers
4548 # like to wrap large dependency lists on column 80 (with \), and
4549 # we should not choose a depcomp mode which is confused by this.
4551 # We need to recreate these files for each test, as the compiler may
4552 # overwrite some of them when testing with obscure command lines.
4553 # This happens at least with the AIX C compiler.
4555 for i
in 1 2 3 4 5 6; do
4556 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4557 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4558 # Solaris 8's {/usr,}/bin/sh.
4559 touch sub
/conftst
$i.h
4561 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4564 # mode. It turns out that the SunPro C++ compiler does not properly
4565 # handle `-M -o', and we need to detect this. Also, some Intel
4566 # versions had trouble with output in subdirs
4567 am__obj
=sub
/conftest.
${OBJEXT-o}
4568 am__minus_obj
="-o $am__obj"
4571 # This depmode causes a compiler race in universal mode.
4572 test "$am__universal" = false ||
continue
4575 # after this tag, mechanisms are not by side-effect, so they'll
4576 # only be used when explicitly requested
4577 if test "x$enable_dependency_tracking" = xyes
; then
4583 msvisualcpp | msvcmsys
)
4584 # This compiler won't grok `-c -o', but also, the minuso test has
4585 # not run yet. These depmodes are late enough in the game, and
4586 # so weak that their functioning should not be impacted.
4587 am__obj
=conftest.
${OBJEXT-o}
4592 if depmode
=$depmode \
4593 source=sub
/conftest.c object
=$am__obj \
4594 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4595 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4596 >/dev
/null
2>conftest.err
&&
4597 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4598 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4599 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4600 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4601 # icc doesn't choke on unknown options, it will just issue warnings
4602 # or remarks (even with -Werror). So we grep stderr for any message
4603 # that says an option was ignored or not supported.
4604 # When given -MP, icc 7.0 and 7.1 complain thusly:
4605 # icc: Command line warning: ignoring option '-M'; no argument required
4606 # The diagnosis changed in icc 8.0:
4607 # icc: Command line remark: option '-MP' not supported
4608 if (grep 'ignoring option' conftest.err ||
4609 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4610 am_cv_CC_dependencies_compiler_type
=$depmode
4619 am_cv_CC_dependencies_compiler_type
=none
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4625 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4628 test "x$enable_dependency_tracking" != xno \
4629 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4631 am__fastdepCC_FALSE
='#'
4633 am__fastdepCC_TRUE
='#'
4634 am__fastdepCC_FALSE
=
4639 ac_cpp
='$CXXCPP $CPPFLAGS'
4640 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4643 if test -z "$CXX"; then
4644 if test -n "$CCC"; then
4647 if test -n "$ac_tool_prefix"; then
4648 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if test "${ac_cv_prog_CXX+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$CXX"; then
4658 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 if test -n "$CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4680 $as_echo "$CXX" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$CXX" && break
4690 if test -z "$CXX"; then
4692 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy
$ac_prog; ac_word
=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4699 $as_echo_n "(cached) " >&6
4701 if test -n "$ac_ct_CXX"; then
4702 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4722 if test -n "$ac_ct_CXX"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4724 $as_echo "$ac_ct_CXX" >&6; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$ac_ct_CXX" && break
4734 if test "x$ac_ct_CXX" = x
; then
4737 case $cross_compiling:$ac_tool_warned in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned
=yes ;;
4749 # Provide some information about the compiler.
4750 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4753 for ac_option
in --version -v -V -qversion; do
4754 { { ac_try
="$ac_compiler $ac_option >&5"
4756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4760 $as_echo "$ac_try_echo"; } >&5
4761 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4763 if test -s conftest.err; then
4765 ... rest of stderr output deleted ...
4766 10q' conftest.err >conftest.er1
4767 cat conftest.er1 >&5
4768 rm -f conftest.er1 conftest.err
4770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4771 test $ac_status = 0; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4775 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4776 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4777 $as_echo_n "(cached) " >&6
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4793 if ac_fn_cxx_try_compile "$LINENO"; then :
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4803 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4804 if test $ac_compiler_gnu = yes; then
4809 ac_test_CXXFLAGS=${CXXFLAGS+set}
4810 ac_save_CXXFLAGS=$CXXFLAGS
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4812 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4813 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4814 $as_echo_n "(cached) " >&6
4816 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4817 ac_cxx_werror_flag=yes
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4831 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 ac_cv_prog_cxx_g=yes
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4846 if ac_fn_cxx_try_compile "$LINENO"; then :
4849 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 /* end confdefs.h. */
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4863 ac_cv_prog_cxx_g=yes
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4873 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4874 if test "$ac_test_CXXFLAGS" = set; then
4875 CXXFLAGS=$ac_save_CXXFLAGS
4876 elif test $ac_cv_prog_cxx_g = yes; then
4877 if test "$GXX" = yes; then
4883 if test "$GXX" = yes; then
4890 ac_cpp='$CPP $CPPFLAGS'
4891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895 depcc="$CXX" am_compiler_list=
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4898 $as_echo_n "checking dependency style of $depcc... " >&6; }
4899 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4903 # We make a subdir and do the tests there. Otherwise we can end up
4904 # making bogus files that we don't know about and never remove. For
4905 # instance it was reported that on HP-UX the gcc test will end up
4906 # making a dummy file named `D
' -- because `-MD' means
`put the output
4909 # Copy depcomp to subdir because otherwise we won't find it if we're
4910 # using a relative directory.
4911 cp "$am_depcomp" conftest.dir
4913 # We will build objects and dependencies in a subdirectory because
4914 # it helps to detect inapplicable dependency modes. For instance
4915 # both Tru64's cc and ICC support -MD to output dependencies as a
4916 # side effect of compilation, but ICC will put the dependencies in
4917 # the current directory while Tru64 will put them in the object
4921 am_cv_CXX_dependencies_compiler_type=none
4922 if test "$am_compiler_list" = ""; then
4923 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4926 case " $depcc " in #(
4927 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4930 for depmode in $am_compiler_list; do
4931 # Setup a source with many dependencies, because some compilers
4932 # like to wrap large dependency lists on column 80 (with \), and
4933 # we should not choose a depcomp mode which is confused by this.
4935 # We need to recreate these files for each test, as the compiler may
4936 # overwrite some of them when testing with obscure command lines.
4937 # This happens at least with the AIX C compiler.
4939 for i in 1 2 3 4 5 6; do
4940 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4941 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4942 # Solaris 8's
{/usr
,}/bin
/sh.
4943 touch sub
/conftst
$i.h
4945 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4947 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4948 # mode. It turns out that the SunPro C++ compiler does not properly
4949 # handle `-M -o', and we need to detect this. Also, some Intel
4950 # versions had trouble with output in subdirs
4951 am__obj
=sub
/conftest.
${OBJEXT-o}
4952 am__minus_obj
="-o $am__obj"
4955 # This depmode causes a compiler race in universal mode.
4956 test "$am__universal" = false ||
continue
4959 # after this tag, mechanisms are not by side-effect, so they'll
4960 # only be used when explicitly requested
4961 if test "x$enable_dependency_tracking" = xyes
; then
4967 msvisualcpp | msvcmsys
)
4968 # This compiler won't grok `-c -o', but also, the minuso test has
4969 # not run yet. These depmodes are late enough in the game, and
4970 # so weak that their functioning should not be impacted.
4971 am__obj
=conftest.
${OBJEXT-o}
4976 if depmode
=$depmode \
4977 source=sub
/conftest.c object
=$am__obj \
4978 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4979 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4980 >/dev
/null
2>conftest.err
&&
4981 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4982 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4983 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4984 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4985 # icc doesn't choke on unknown options, it will just issue warnings
4986 # or remarks (even with -Werror). So we grep stderr for any message
4987 # that says an option was ignored or not supported.
4988 # When given -MP, icc 7.0 and 7.1 complain thusly:
4989 # icc: Command line warning: ignoring option '-M'; no argument required
4990 # The diagnosis changed in icc 8.0:
4991 # icc: Command line remark: option '-MP' not supported
4992 if (grep 'ignoring option' conftest.err ||
4993 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4994 am_cv_CXX_dependencies_compiler_type
=$depmode
5003 am_cv_CXX_dependencies_compiler_type
=none
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5008 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5009 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5012 test "x$enable_dependency_tracking" != xno \
5013 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5014 am__fastdepCXX_TRUE
=
5015 am__fastdepCXX_FALSE
='#'
5017 am__fastdepCXX_TRUE
='#'
5018 am__fastdepCXX_FALSE
=
5022 for ac_prog
in 'bison -y' byacc
5024 # Extract the first word of "$ac_prog", so it can be a program name with args.
5025 set dummy
$ac_prog; ac_word
=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_YACC+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5031 if test -n "$YACC"; then
5032 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5038 test -z "$as_dir" && as_dir
=.
5039 for ac_exec_ext
in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_YACC
="$ac_prog"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 YACC
=$ac_cv_prog_YACC
5052 if test -n "$YACC"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5054 $as_echo "$YACC" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5061 test -n "$YACC" && break
5063 test -n "$YACC" || YACC
="yacc"
5065 if test -n "$ac_tool_prefix"; then
5066 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5067 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$RANLIB"; then
5074 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 RANLIB
=$ac_cv_prog_RANLIB
5094 if test -n "$RANLIB"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5096 $as_echo "$RANLIB" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5104 if test -z "$ac_cv_prog_RANLIB"; then
5105 ac_ct_RANLIB
=$RANLIB
5106 # Extract the first word of "ranlib", so it can be a program name with args.
5107 set dummy ranlib
; ac_word
=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$ac_ct_RANLIB"; then
5114 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir
=.
5121 for ac_exec_ext
in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5134 if test -n "$ac_ct_RANLIB"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5136 $as_echo "$ac_ct_RANLIB" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5142 if test "x$ac_ct_RANLIB" = x
; then
5145 case $cross_compiling:$ac_tool_warned in
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5149 ac_tool_warned
=yes ;;
5151 RANLIB
=$ac_ct_RANLIB
5154 RANLIB
="$ac_cv_prog_RANLIB"
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5159 $as_echo_n "checking whether ln -s works... " >&6; }
5161 if test "$LN_S" = "ln -s"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5163 $as_echo "yes" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5166 $as_echo "no, using $LN_S" >&6; }
5172 ac_cpp
='$CPP $CPPFLAGS'
5173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5177 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5178 # On Suns, sometimes $CPP names a directory.
5179 if test -n "$CPP" && test -d "$CPP"; then
5182 if test -z "$CPP"; then
5183 if test "${ac_cv_prog_CPP+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5186 # Double quotes because CPP needs to be expanded
5187 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5190 for ac_c_preproc_warn_flag
in '' yes
5192 # Use a header file that comes with gcc, so configuring glibc
5193 # with a fresh cross-compiler works.
5194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5195 # <limits.h> exists even on freestanding compilers.
5196 # On the NeXT, cc -E runs the code through the compiler's parser,
5197 # not just through cpp. "Syntax error" is here to catch this case.
5198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5201 # include <limits.h>
5203 # include <assert.h>
5207 if ac_fn_c_try_cpp
"$LINENO"; then :
5210 # Broken: fails on valid input.
5213 rm -f conftest.err conftest.
$ac_ext
5215 # OK, works on sane cases. Now check whether nonexistent headers
5216 # can be detected and how.
5217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5219 #include <ac_nonexistent.h>
5221 if ac_fn_c_try_cpp
"$LINENO"; then :
5222 # Broken: success on invalid input.
5225 # Passes both tests.
5229 rm -f conftest.err conftest.
$ac_ext
5232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5233 rm -f conftest.err conftest.
$ac_ext
5234 if $ac_preproc_ok; then :
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5247 $as_echo "$CPP" >&6; }
5249 for ac_c_preproc_warn_flag
in '' yes
5251 # Use a header file that comes with gcc, so configuring glibc
5252 # with a fresh cross-compiler works.
5253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5254 # <limits.h> exists even on freestanding compilers.
5255 # On the NeXT, cc -E runs the code through the compiler's parser,
5256 # not just through cpp. "Syntax error" is here to catch this case.
5257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5260 # include <limits.h>
5262 # include <assert.h>
5266 if ac_fn_c_try_cpp
"$LINENO"; then :
5269 # Broken: fails on valid input.
5272 rm -f conftest.err conftest.
$ac_ext
5274 # OK, works on sane cases. Now check whether nonexistent headers
5275 # can be detected and how.
5276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5278 #include <ac_nonexistent.h>
5280 if ac_fn_c_try_cpp
"$LINENO"; then :
5281 # Broken: success on invalid input.
5284 # Passes both tests.
5288 rm -f conftest.err conftest.
$ac_ext
5291 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5292 rm -f conftest.err conftest.
$ac_ext
5293 if $ac_preproc_ok; then :
5296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5298 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5299 See \`config.log' for more details." "$LINENO" 5; }
5303 ac_cpp
='$CPP $CPPFLAGS'
5304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5310 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5311 if test "${ac_cv_path_GREP+set}" = set; then :
5312 $as_echo_n "(cached) " >&6
5314 if test -z "$GREP"; then
5315 ac_path_GREP_found
=false
5316 # Loop through the user's path and test for each of PROGNAME-LIST
5317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5318 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5321 test -z "$as_dir" && as_dir
=.
5322 for ac_prog
in grep ggrep
; do
5323 for ac_exec_ext
in '' $ac_executable_extensions; do
5324 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5325 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5326 # Check for GNU ac_path_GREP and select it if it is found.
5327 # Check for GNU $ac_path_GREP
5328 case `"$ac_path_GREP" --version 2>&1` in
5330 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5333 $as_echo_n 0123456789 >"conftest.in"
5336 cat "conftest.in" "conftest.in" >"conftest.tmp"
5337 mv "conftest.tmp" "conftest.in"
5338 cp "conftest.in" "conftest.nl"
5339 $as_echo 'GREP' >> "conftest.nl"
5340 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5341 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5342 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5343 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5344 # Best one so far, save it but keep looking for a better one
5345 ac_cv_path_GREP
="$ac_path_GREP"
5346 ac_path_GREP_max
=$ac_count
5348 # 10*(2^10) chars as input seems more than enough
5349 test $ac_count -gt 10 && break
5351 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5354 $ac_path_GREP_found && break 3
5359 if test -z "$ac_cv_path_GREP"; then
5360 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5363 ac_cv_path_GREP
=$GREP
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5368 $as_echo "$ac_cv_path_GREP" >&6; }
5369 GREP
="$ac_cv_path_GREP"
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5373 $as_echo_n "checking for egrep... " >&6; }
5374 if test "${ac_cv_path_EGREP+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5378 then ac_cv_path_EGREP
="$GREP -E"
5380 if test -z "$EGREP"; then
5381 ac_path_EGREP_found
=false
5382 # Loop through the user's path and test for each of PROGNAME-LIST
5383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5384 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5387 test -z "$as_dir" && as_dir
=.
5388 for ac_prog
in egrep; do
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5391 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5392 # Check for GNU ac_path_EGREP and select it if it is found.
5393 # Check for GNU $ac_path_EGREP
5394 case `"$ac_path_EGREP" --version 2>&1` in
5396 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5399 $as_echo_n 0123456789 >"conftest.in"
5402 cat "conftest.in" "conftest.in" >"conftest.tmp"
5403 mv "conftest.tmp" "conftest.in"
5404 cp "conftest.in" "conftest.nl"
5405 $as_echo 'EGREP' >> "conftest.nl"
5406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5407 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5408 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5410 # Best one so far, save it but keep looking for a better one
5411 ac_cv_path_EGREP
="$ac_path_EGREP"
5412 ac_path_EGREP_max
=$ac_count
5414 # 10*(2^10) chars as input seems more than enough
5415 test $ac_count -gt 10 && break
5417 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5420 $ac_path_EGREP_found && break 3
5425 if test -z "$ac_cv_path_EGREP"; then
5426 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5429 ac_cv_path_EGREP
=$EGREP
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5435 $as_echo "$ac_cv_path_EGREP" >&6; }
5436 EGREP
="$ac_cv_path_EGREP"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5440 $as_echo_n "checking for ANSI C header files... " >&6; }
5441 if test "${ac_cv_header_stdc+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5459 if ac_fn_c_try_compile
"$LINENO"; then :
5460 ac_cv_header_stdc
=yes
5462 ac_cv_header_stdc
=no
5464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5474 $EGREP "memchr" >/dev
/null
2>&1; then :
5477 ac_cv_header_stdc
=no
5483 if test $ac_cv_header_stdc = yes; then
5484 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5491 $EGREP "free" >/dev
/null
2>&1; then :
5494 ac_cv_header_stdc
=no
5500 if test $ac_cv_header_stdc = yes; then
5501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5502 if test "$cross_compiling" = yes; then :
5505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5509 #if ((' ' & 0x0FF) == 0x020)
5510 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5511 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5513 # define ISLOWER(c) \
5514 (('a' <= (c) && (c) <= 'i') \
5515 || ('j' <= (c) && (c) <= 'r') \
5516 || ('s' <= (c) && (c) <= 'z'))
5517 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5525 for (i = 0; i < 256; i++)
5526 if (XOR (islower (i), ISLOWER (i))
5527 || toupper (i) != TOUPPER (i))
5532 if ac_fn_c_try_run
"$LINENO"; then :
5535 ac_cv_header_stdc
=no
5537 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5538 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5544 $as_echo "$ac_cv_header_stdc" >&6; }
5545 if test $ac_cv_header_stdc = yes; then
5547 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5551 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5552 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5553 inttypes.h stdint.h unistd.h
5555 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5556 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5558 eval as_val
=\$
$as_ac_Header
5559 if test "x$as_val" = x
""yes; then :
5560 cat >>confdefs.h
<<_ACEOF
5561 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5570 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5571 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5578 if test "$MINIX" = yes; then
5580 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5583 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5586 $as_echo "#define _MINIX 1" >>confdefs.h
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5592 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5593 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5599 # define __EXTENSIONS__ 1
5600 $ac_includes_default
5609 if ac_fn_c_try_compile
"$LINENO"; then :
5610 ac_cv_safe_to_define___extensions__
=yes
5612 ac_cv_safe_to_define___extensions__
=no
5614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5617 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5618 test $ac_cv_safe_to_define___extensions__ = yes &&
5619 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5621 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5623 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5625 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5627 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5632 # If we haven't got the data from the intl directory,
5633 # assume NLS is disabled.
5642 if test -f ..
/intl
/config.intl
; then
5643 . ..
/intl
/config.intl
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5646 $as_echo_n "checking whether NLS is requested... " >&6; }
5647 if test x
"$USE_NLS" != xyes
; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5652 $as_echo "yes" >&6; }
5654 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5658 $as_echo_n "checking for catalogs to be installed... " >&6; }
5659 # Look for .po and .gmo files in the source directory.
5662 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5663 # If there aren't any .gmo files the shell will give us the
5664 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5666 case "$cat" in *\
**)
5669 # The quadruple backslash is collapsed to a double backslash
5670 # by the backticks, then collapsed again by the double quotes,
5671 # leaving us with one backslash in the sed expression (right
5672 # before the dot that mustn't act as a wildcard).
5673 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5674 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5675 # The user is allowed to set LINGUAS to a list of languages to
5676 # install catalogs for. If it's empty that means "all of them."
5677 if test "x$LINGUAS" = x
; then
5678 CATALOGS
="$CATALOGS $cat"
5679 XLINGUAS
="$XLINGUAS $lang"
5681 case "$LINGUAS" in *$lang*)
5682 CATALOGS
="$CATALOGS $cat"
5683 XLINGUAS
="$XLINGUAS $lang"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5690 $as_echo "$LINGUAS" >&6; }
5704 if test -n "$ac_aux_dir"; then
5705 case "$ac_aux_dir" in
5706 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5707 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5710 if test -z "$MKINSTALLDIRS"; then
5711 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5717 $as_echo_n "checking whether NLS is requested... " >&6; }
5718 # Check whether --enable-nls was given.
5719 if test "${enable_nls+set}" = set; then :
5720 enableval
=$enable_nls; USE_NLS
=$enableval
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5726 $as_echo "$USE_NLS" >&6; }
5733 # Prepare PATH_SEPARATOR.
5734 # The user is always right.
5735 if test "${PATH_SEPARATOR+set}" != set; then
5736 echo "#! /bin/sh" >conf$$.sh
5737 echo "exit 0" >>conf$$.sh
5739 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5747 # Find out how to test for executable files. Don't use a zero-byte file,
5748 # as systems may use methods other than mode bits to determine executability.
5749 cat >conf$$.
file <<_ASEOF
5753 chmod +x conf$$.
file
5754 if test -x conf$$.
file >/dev
/null
2>&1; then
5755 ac_executable_p
="test -x"
5757 ac_executable_p
="test -f"
5761 # Extract the first word of "msgfmt", so it can be a program name with args.
5762 set dummy msgfmt
; ac_word
=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5770 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5773 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5774 for ac_dir
in $PATH; do
5776 test -z "$ac_dir" && ac_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5779 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5780 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5781 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5788 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5792 MSGFMT
="$ac_cv_path_MSGFMT"
5793 if test "$MSGFMT" != ":"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5795 $as_echo "$MSGFMT" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5801 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5802 set dummy gmsgfmt
; ac_word
=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5810 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir
=.
5818 for ac_exec_ext
in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5832 GMSGFMT
=$ac_cv_path_GMSGFMT
5833 if test -n "$GMSGFMT"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5835 $as_echo "$GMSGFMT" >&6; }
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5844 # Prepare PATH_SEPARATOR.
5845 # The user is always right.
5846 if test "${PATH_SEPARATOR+set}" != set; then
5847 echo "#! /bin/sh" >conf$$.sh
5848 echo "exit 0" >>conf$$.sh
5850 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5858 # Find out how to test for executable files. Don't use a zero-byte file,
5859 # as systems may use methods other than mode bits to determine executability.
5860 cat >conf$$.
file <<_ASEOF
5864 chmod +x conf$$.
file
5865 if test -x conf$$.
file >/dev
/null
2>&1; then
5866 ac_executable_p
="test -x"
5868 ac_executable_p
="test -f"
5872 # Extract the first word of "xgettext", so it can be a program name with args.
5873 set dummy xgettext
; ac_word
=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5881 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5884 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5885 for ac_dir
in $PATH; do
5887 test -z "$ac_dir" && ac_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5890 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5891 (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
5892 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5899 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5903 XGETTEXT
="$ac_cv_path_XGETTEXT"
5904 if test "$XGETTEXT" != ":"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5906 $as_echo "$XGETTEXT" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5915 # Prepare PATH_SEPARATOR.
5916 # The user is always right.
5917 if test "${PATH_SEPARATOR+set}" != set; then
5918 echo "#! /bin/sh" >conf$$.sh
5919 echo "exit 0" >>conf$$.sh
5921 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5929 # Find out how to test for executable files. Don't use a zero-byte file,
5930 # as systems may use methods other than mode bits to determine executability.
5931 cat >conf$$.
file <<_ASEOF
5935 chmod +x conf$$.
file
5936 if test -x conf$$.
file >/dev
/null
2>&1; then
5937 ac_executable_p
="test -x"
5939 ac_executable_p
="test -f"
5943 # Extract the first word of "msgmerge", so it can be a program name with args.
5944 set dummy msgmerge
; ac_word
=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5948 $as_echo_n "(cached) " >&6
5952 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5955 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5956 for ac_dir
in $PATH; do
5958 test -z "$ac_dir" && ac_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5961 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5962 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5969 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5973 MSGMERGE
="$ac_cv_path_MSGMERGE"
5974 if test "$MSGMERGE" != ":"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5976 $as_echo "$MSGMERGE" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5983 if test "$GMSGFMT" != ":"; then
5984 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5985 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5988 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5990 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
5995 if test "$XGETTEXT" != ":"; then
5996 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5997 (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
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6001 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6007 ac_config_commands
="$ac_config_commands default-1"
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6012 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6013 if test "${ac_cv_c_bigendian+set}" = set; then :
6014 $as_echo_n "(cached) " >&6
6016 ac_cv_c_bigendian
=unknown
6017 # See if we're dealing with a universal compiler.
6018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #ifndef __APPLE_CC__
6021 not a universal capable compiler
6026 if ac_fn_c_try_compile
"$LINENO"; then :
6028 # Check for potential -arch flags. It is not universal unless
6029 # there are at least two -arch flags with different values.
6032 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6033 if test -n "$ac_prev"; then
6035 i?
86 | x86_64 | ppc | ppc64
)
6036 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6039 ac_cv_c_bigendian
=universal
6045 elif test "x$ac_word" = "x-arch"; then
6050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6051 if test $ac_cv_c_bigendian = unknown
; then
6052 # See if sys/param.h defines the BYTE_ORDER macro.
6053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6055 #include <sys/types.h>
6056 #include <sys/param.h>
6061 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6062 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6071 if ac_fn_c_try_compile
"$LINENO"; then :
6072 # It does; now see whether it defined to BIG_ENDIAN or not.
6073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6074 /* end confdefs.h. */
6075 #include <sys/types.h>
6076 #include <sys/param.h>
6081 #if BYTE_ORDER != BIG_ENDIAN
6089 if ac_fn_c_try_compile
"$LINENO"; then :
6090 ac_cv_c_bigendian
=yes
6092 ac_cv_c_bigendian
=no
6094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6098 if test $ac_cv_c_bigendian = unknown
; then
6099 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6107 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6115 if ac_fn_c_try_compile
"$LINENO"; then :
6116 # It does; now see whether it defined to _BIG_ENDIAN or not.
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6132 if ac_fn_c_try_compile
"$LINENO"; then :
6133 ac_cv_c_bigendian
=yes
6135 ac_cv_c_bigendian
=no
6137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6141 if test $ac_cv_c_bigendian = unknown
; then
6142 # Compile a test program.
6143 if test "$cross_compiling" = yes; then :
6144 # Try to guess by grepping values from an object file.
6145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6147 short int ascii_mm[] =
6148 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6149 short int ascii_ii[] =
6150 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6151 int use_ascii (int i) {
6152 return ascii_mm[i] + ascii_ii[i];
6154 short int ebcdic_ii[] =
6155 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6156 short int ebcdic_mm[] =
6157 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6158 int use_ebcdic (int i) {
6159 return ebcdic_mm[i] + ebcdic_ii[i];
6166 return use_ascii (foo) == use_ebcdic (foo);
6171 if ac_fn_c_try_compile
"$LINENO"; then :
6172 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6173 ac_cv_c_bigendian
=yes
6175 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6176 if test "$ac_cv_c_bigendian" = unknown
; then
6177 ac_cv_c_bigendian
=no
6179 # finding both strings is unlikely to happen, but who knows?
6180 ac_cv_c_bigendian
=unknown
6184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 $ac_includes_default
6193 /* Are we little or big endian? From Harbison&Steele. */
6197 char c[sizeof (long int)];
6200 return u.c[sizeof (long int) - 1] == 1;
6206 if ac_fn_c_try_run
"$LINENO"; then :
6207 ac_cv_c_bigendian
=no
6209 ac_cv_c_bigendian
=yes
6211 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6212 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6218 $as_echo "$ac_cv_c_bigendian" >&6; }
6219 case $ac_cv_c_bigendian in #(
6221 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6227 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6231 as_fn_error
"unknown endianness
6232 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6238 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6240 NATIVE_LINKER_FALSE
='#'
6242 NATIVE_LINKER_TRUE
='#'
6243 NATIVE_LINKER_FALSE
=
6246 if test "$GCC" = yes; then
6255 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6256 NATIVE_OR_CROSS_LINKER_TRUE
=
6257 NATIVE_OR_CROSS_LINKER_FALSE
='#'
6259 NATIVE_OR_CROSS_LINKER_TRUE
='#'
6260 NATIVE_OR_CROSS_LINKER_FALSE
=
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6265 $as_echo_n "checking whether static linking works... " >&6; }
6266 if test "${gold_cv_lib_static+set}" = set; then :
6267 $as_echo_n "(cached) " >&6
6269 LDFLAGS_hold
=$LDFLAGS
6270 LDFLAGS
="$LDFLAGS -static"
6271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6283 if ac_fn_c_try_link
"$LINENO"; then :
6284 gold_cv_lib_static
=yes
6286 gold_cv_lib_static
=no
6288 rm -f core conftest.err conftest.
$ac_objext \
6289 conftest
$ac_exeext conftest.
$ac_ext
6290 LDFLAGS
=$LDFLAGS_hold
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6293 $as_echo "$gold_cv_lib_static" >&6; }
6294 if test "$gold_cv_lib_static" = "yes"; then
6296 HAVE_STATIC_FALSE
='#'
6298 HAVE_STATIC_TRUE
='#'
6310 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6311 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6313 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6314 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6319 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6320 if test "${gold_cv_prog_gcc41+set}" = set; then :
6321 $as_echo_n "(cached) " >&6
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6326 #if !defined __GNUC__
6328 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6333 if ac_fn_c_try_compile
"$LINENO"; then :
6334 gold_cv_prog_gcc41
=yes
6336 gold_cv_prog_gcc41
=no
6338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6341 $as_echo "$gold_cv_prog_gcc41" >&6; }
6343 save_CFLAGS
="$CFLAGS"
6344 CFLAGS
="$CFLAGS -mcmodel=medium"
6345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6349 if ac_fn_c_try_compile
"$LINENO"; then :
6350 have_mcmodel_medium
=yes
6352 have_mcmodel_medium
=no
6354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6355 CFLAGS
="$save_CFLAGS"
6356 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6357 MCMODEL_MEDIUM_TRUE
=
6358 MCMODEL_MEDIUM_FALSE
='#'
6360 MCMODEL_MEDIUM_TRUE
='#'
6361 MCMODEL_MEDIUM_FALSE
=
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6366 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6367 if test "${gold_cv_merge_constants+set}" = set; then :
6368 $as_echo_n "(cached) " >&6
6371 save_CFLAGS
="$CFLAGS"
6372 CFLAGS
="$CFLAGS -fmerge-constants"
6373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 const char *s = "foo";
6377 if ac_fn_c_try_compile
"$LINENO"; then :
6378 gold_cv_merge_constants
=yes
6380 gold_cv_merge_constants
=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_merge_constants" >&5
6386 $as_echo "$gold_cv_merge_constants" >&6; }
6388 if test "$gold_cv_merge_constants" = yes; then :
6389 MERGE_CONSTANTS_FLAG
=-fmerge-constants
6391 MERGE_CONSTANTS_FLAG
=
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6395 $as_echo_n "checking for thread support... " >&6; }
6396 if test "${gold_cv_c_thread+set}" = set; then :
6397 $as_echo_n "(cached) " >&6
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6403 if ac_fn_c_try_compile
"$LINENO"; then :
6404 gold_cv_c_thread
=yes
6408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6411 $as_echo "$gold_cv_c_thread" >&6; }
6413 if test "$gold_cv_c_thread" = "yes"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6423 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6424 if test "${gold_cv_lib_glibc24+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6430 #include <features.h>
6431 #if !defined __GLIBC__
6433 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6438 if ac_fn_c_try_compile
"$LINENO"; then :
6439 gold_cv_lib_glibc24
=yes
6441 gold_cv_lib_glibc24
=no
6443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6446 $as_echo "$gold_cv_lib_glibc24" >&6; }
6448 if test "$gold_cv_lib_glibc24" = "yes"; then
6450 STATIC_TLS_FALSE
='#'
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6458 $as_echo_n "checking for omp support... " >&6; }
6459 if test "${gold_cv_c_threadprivate+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6462 save_CFLAGS
="$CFLAGS"
6463 CFLAGS
="$CFLAGS -fopenmp"
6464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6469 #pragma omp threadprivate (i)
6472 if ac_fn_c_try_compile
"$LINENO"; then :
6473 gold_cv_c_threadprivate
=yes
6475 gold_cv_c_threadprivate
=no
6477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6478 CFLAGS
="$save_CFLAGS"
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6481 $as_echo "$gold_cv_c_threadprivate" >&6; }
6482 if test "$gold_cv_c_threadprivate" = "yes"; then
6484 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6487 if test "$gold_cv_c_threadprivate" = "yes"; then
6489 OMP_SUPPORT_FALSE
='#'
6491 OMP_SUPPORT_TRUE
='#'
6496 save_CFLAGS
="$CFLAGS"
6497 CFLAGS
="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6508 if ac_fn_c_try_compile
"$LINENO"; then :
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6514 CFLAGS
="$save_CFLAGS"
6515 if test "$have_tls_gnu2" = "yes"; then
6516 TLS_GNU2_DIALECT_TRUE
=
6517 TLS_GNU2_DIALECT_FALSE
='#'
6519 TLS_GNU2_DIALECT_TRUE
='#'
6520 TLS_GNU2_DIALECT_FALSE
=
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6525 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6526 if test "${gold_cv_lib_glibc29+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6532 #include <features.h>
6533 #if !defined __GLIBC__
6535 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6540 if ac_fn_c_try_compile
"$LINENO"; then :
6541 gold_cv_lib_glibc29
=yes
6543 gold_cv_lib_glibc29
=no
6545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6548 $as_echo "$gold_cv_lib_glibc29" >&6; }
6550 if test "$gold_cv_lib_glibc29" = "yes"; then
6551 TLS_DESCRIPTORS_TRUE
=
6552 TLS_DESCRIPTORS_FALSE
='#'
6554 TLS_DESCRIPTORS_TRUE
='#'
6555 TLS_DESCRIPTORS_FALSE
=
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6560 $as_echo_n "checking for -frandom-seed support... " >&6; }
6561 if test "${gold_cv_c_random_seed+set}" = set; then :
6562 $as_echo_n "(cached) " >&6
6564 save_CFLAGS
="$CFLAGS"
6565 CFLAGS
="$CFLAGS -frandom-seed=foo"
6566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6570 if ac_fn_c_try_compile
"$LINENO"; then :
6571 gold_cv_c_random_seed
=yes
6573 gold_cv_c_random_seed
=no
6575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6576 CFLAGS
="$save_CFLAGS"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6579 $as_echo "$gold_cv_c_random_seed" >&6; }
6580 if test "$gold_cv_c_random_seed" = "yes"; then
6581 # In Makefile, '$@' will be expanded to be the name of the file
6582 # being built, providing a unique seed for each file.
6583 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6588 $as_echo_n "checking for glibc ifunc support... " >&6; }
6589 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6590 $as_echo_n "(cached) " >&6
6592 save_LDFLAGS
="$LDFLAGS"
6593 LDFLAGS
="$LDFLAGS -static"
6594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6597 #include <features.h>
6598 #if !defined __GLIBC__
6600 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6603 void func (void) { }
6605 __asm__(".type invoke, %gnu_indirect_function");
6606 typedef void (*funcptr) (void);
6607 funcptr dispatch (void) __asm__ ("invoke");
6608 funcptr dispatch (void) { return &func; }
6618 if ac_fn_c_try_link
"$LINENO"; then :
6620 if ${NM} conftest
$EXEEXT |
grep "__rela\?_iplt_start" >/dev
/null
2>&1; then
6621 gold_cv_lib_glibc_ifunc
=both
6623 gold_cv_lib_glibc_ifunc
=dyn
6626 gold_cv_lib_glibc_ifunc
=no
6628 rm -f core conftest.err conftest.
$ac_objext \
6629 conftest
$ac_exeext conftest.
$ac_ext
6630 LDFLAGS
="$save_LDFLAGS"
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6633 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6635 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6643 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6645 IFUNC_STATIC_FALSE
='#'
6647 IFUNC_STATIC_TRUE
='#'
6653 # Set the 'development' global.
6654 .
$srcdir/..
/bfd
/development.sh
6656 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6662 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6665 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6670 # Check whether --enable-werror was given.
6671 if test "${enable_werror+set}" = set; then :
6672 enableval
=$enable_werror; case "${enableval}" in
6673 yes | y
) ERROR_ON_WARNING
="yes" ;;
6674 no | n
) ERROR_ON_WARNING
="no" ;;
6675 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6680 # Disable -Wformat by default when using gcc on mingw
6683 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6684 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6690 # Enable -Werror by default when using gcc. Turn it off for releases.
6691 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
6692 ERROR_ON_WARNING
=yes
6696 if test "${ERROR_ON_WARNING}" = yes ; then
6697 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6698 NO_WERROR
="-Wno-error"
6701 if test "${GCC}" = yes ; then
6702 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6705 # Check whether --enable-build-warnings was given.
6706 if test "${enable_build_warnings+set}" = set; then :
6707 enableval
=$enable_build_warnings; case "${enableval}" in
6708 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6709 no
) if test "${GCC}" = yes ; then
6712 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6713 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6714 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6715 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6716 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6721 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6722 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6729 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6733 # Check whether --with-gold-ldflags was given.
6734 if test "${with_gold_ldflags+set}" = set; then :
6735 withval
=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6738 GOLD_LDFLAGS
=$withval
6747 # Check whether --with-gold-ldadd was given.
6748 if test "${with_gold_ldadd+set}" = set; then :
6749 withval
=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6760 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6763 for ac_header
in sys
/mman.h
6765 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6766 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define HAVE_SYS_MMAN_H 1
6775 for ac_func
in chsize mmap
6777 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6778 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6779 eval as_val
=\$
$as_ac_var
6780 if test "x$as_val" = x
""yes; then :
6781 cat >>confdefs.h
<<_ACEOF
6782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6788 for ac_func
in pread ftruncate ffsll
6790 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6791 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6792 eval as_val
=\$
$as_ac_var
6793 if test "x$as_val" = x
""yes; then :
6794 cat >>confdefs.h
<<_ACEOF
6795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6799 case " $LIBOBJS " in
6800 *" $ac_func.$ac_objext "* ) ;;
6801 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6811 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6812 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6813 $as_echo_n "(cached) " >&6
6815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6816 /* end confdefs.h. */
6819 #include <sys/mman.h>
6820 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6830 if ac_fn_c_try_link
"$LINENO"; then :
6831 gold_cv_lib_mremap_maymove
=yes
6833 gold_cv_lib_mremap_maymove
=no
6835 rm -f core conftest.err conftest.
$ac_objext \
6836 conftest
$ac_exeext conftest.
$ac_ext
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6839 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6840 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6842 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6845 case " $LIBOBJS " in
6846 *" mremap.$ac_objext "* ) ;;
6847 *) LIBOBJS
="$LIBOBJS mremap.$ac_objext"
6853 # Link in zlib if we can. This allows us to write compressed sections.
6855 # See if the user specified whether he wants zlib support or not.
6857 # Check whether --with-zlib was given.
6858 if test "${with_zlib+set}" = set; then :
6865 if test "$with_zlib" != "no"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
6867 $as_echo_n "checking for library containing zlibVersion... " >&6; }
6868 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6869 $as_echo_n "(cached) " >&6
6871 ac_func_search_save_LIBS
=$LIBS
6872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6873 /* end confdefs.h. */
6875 /* Override any GCC internal prototype to avoid an error.
6876 Use char because int might match the return type of a GCC
6877 builtin and then its argument prototype would still apply. */
6881 char zlibVersion ();
6885 return zlibVersion ();
6890 for ac_lib
in '' z
; do
6891 if test -z "$ac_lib"; then
6892 ac_res
="none required"
6895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6897 if ac_fn_c_try_link
"$LINENO"; then :
6898 ac_cv_search_zlibVersion
=$ac_res
6900 rm -f core conftest.err conftest.
$ac_objext \
6902 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6906 if test "${ac_cv_search_zlibVersion+set}" = set; then :
6909 ac_cv_search_zlibVersion
=no
6912 LIBS
=$ac_func_search_save_LIBS
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
6915 $as_echo "$ac_cv_search_zlibVersion" >&6; }
6916 ac_res
=$ac_cv_search_zlibVersion
6917 if test "$ac_res" != no
; then :
6918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6919 for ac_header
in zlib.h
6921 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
6922 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
6923 cat >>confdefs.h
<<_ACEOF
6924 #define HAVE_ZLIB_H 1
6933 if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
6934 as_fn_error
"zlib (libz) library was explicitly requested but not found" "$LINENO" 5
6938 if test "$ac_cv_header_zlib_h" = "yes"; then
6947 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6948 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6954 cat >>confdefs.h
<<_ACEOF
6955 #define HAVE_DECL_BASENAME $ac_have_decl
6957 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6958 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6964 cat >>confdefs.h
<<_ACEOF
6965 #define HAVE_DECL_FFS $ac_have_decl
6967 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6968 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6974 cat >>confdefs.h
<<_ACEOF
6975 #define HAVE_DECL_ASPRINTF $ac_have_decl
6977 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6978 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6984 cat >>confdefs.h
<<_ACEOF
6985 #define HAVE_DECL_VASPRINTF $ac_have_decl
6987 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6988 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6994 cat >>confdefs.h
<<_ACEOF
6995 #define HAVE_DECL_SNPRINTF $ac_have_decl
6997 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6998 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7004 cat >>confdefs.h
<<_ACEOF
7005 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7007 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7008 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7014 cat >>confdefs.h
<<_ACEOF
7015 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7019 save_CFLAGS
="$CFLAGS"
7020 CFLAGS
="$CFLAGS -Werror -gpubnames"
7021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7025 if ac_fn_c_try_compile
"$LINENO"; then :
7030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 CFLAGS
="$save_CFLAGS"
7032 if test "$have_pubnames" = "yes"; then
7034 HAVE_PUBNAMES_FALSE
='#'
7036 HAVE_PUBNAMES_TRUE
='#'
7037 HAVE_PUBNAMES_FALSE
=
7041 save_CFLAGS
="$CFLAGS"
7042 CFLAGS
="$CFLAGS -Werror -fno-use-linker-plugin"
7043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7047 if ac_fn_c_try_compile
"$LINENO"; then :
7048 have_no_use_linker_plugin
=yes
7050 have_no_use_linker_plugin
=no
7052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7053 CFLAGS
="$save_CFLAGS"
7054 if test "$have_no_use_linker_plugin" = "yes"; then
7055 HAVE_NO_USE_LINKER_PLUGIN_TRUE
=
7056 HAVE_NO_USE_LINKER_PLUGIN_FALSE
='#'
7058 HAVE_NO_USE_LINKER_PLUGIN_TRUE
='#'
7059 HAVE_NO_USE_LINKER_PLUGIN_FALSE
=
7064 ac_cpp
='$CXXCPP $CPPFLAGS'
7065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7072 ac_cpp
='$CXXCPP $CPPFLAGS'
7073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7077 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7078 if test -z "$CXXCPP"; then
7079 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7080 $as_echo_n "(cached) " >&6
7082 # Double quotes because CXXCPP needs to be expanded
7083 for CXXCPP
in "$CXX -E" "/lib/cpp"
7086 for ac_cxx_preproc_warn_flag
in '' yes
7088 # Use a header file that comes with gcc, so configuring glibc
7089 # with a fresh cross-compiler works.
7090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7091 # <limits.h> exists even on freestanding compilers.
7092 # On the NeXT, cc -E runs the code through the compiler's parser,
7093 # not just through cpp. "Syntax error" is here to catch this case.
7094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7097 # include <limits.h>
7099 # include <assert.h>
7103 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7106 # Broken: fails on valid input.
7109 rm -f conftest.err conftest.
$ac_ext
7111 # OK, works on sane cases. Now check whether nonexistent headers
7112 # can be detected and how.
7113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #include <ac_nonexistent.h>
7117 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7118 # Broken: success on invalid input.
7121 # Passes both tests.
7125 rm -f conftest.err conftest.
$ac_ext
7128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7129 rm -f conftest.err conftest.
$ac_ext
7130 if $ac_preproc_ok; then :
7135 ac_cv_prog_CXXCPP
=$CXXCPP
7138 CXXCPP
=$ac_cv_prog_CXXCPP
7140 ac_cv_prog_CXXCPP
=$CXXCPP
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7143 $as_echo "$CXXCPP" >&6; }
7145 for ac_cxx_preproc_warn_flag
in '' yes
7147 # Use a header file that comes with gcc, so configuring glibc
7148 # with a fresh cross-compiler works.
7149 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7150 # <limits.h> exists even on freestanding compilers.
7151 # On the NeXT, cc -E runs the code through the compiler's parser,
7152 # not just through cpp. "Syntax error" is here to catch this case.
7153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7156 # include <limits.h>
7158 # include <assert.h>
7162 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7165 # Broken: fails on valid input.
7168 rm -f conftest.err conftest.
$ac_ext
7170 # OK, works on sane cases. Now check whether nonexistent headers
7171 # can be detected and how.
7172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7173 /* end confdefs.h. */
7174 #include <ac_nonexistent.h>
7176 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7177 # Broken: success on invalid input.
7180 # Passes both tests.
7184 rm -f conftest.err conftest.
$ac_ext
7187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7188 rm -f conftest.err conftest.
$ac_ext
7189 if $ac_preproc_ok; then :
7192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7194 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
7195 See \`config.log' for more details." "$LINENO" 5; }
7199 ac_cpp
='$CXXCPP $CPPFLAGS'
7200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7205 for ac_header
in unordered_set unordered_map
7207 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7209 eval as_val
=\$
$as_ac_Header
7210 if test "x$as_val" = x
""yes; then :
7211 cat >>confdefs.h
<<_ACEOF
7212 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7219 for ac_header
in tr1/unordered_set
tr1/unordered_map
7221 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7223 eval as_val
=\$
$as_ac_Header
7224 if test "x$as_val" = x
""yes; then :
7225 cat >>confdefs.h
<<_ACEOF
7226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7233 for ac_header
in ext
/hash_map ext
/hash_set
7235 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7236 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7237 eval as_val
=\$
$as_ac_Header
7238 if test "x$as_val" = x
""yes; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247 for ac_header
in byteswap.h
7249 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7250 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
7251 cat >>confdefs.h
<<_ACEOF
7252 #define HAVE_BYTESWAP_H 1
7260 for ac_header
in windows.h
7262 ac_fn_cxx_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7263 if test "x$ac_cv_header_windows_h" = x
""yes; then :
7264 cat >>confdefs.h
<<_ACEOF
7265 #define HAVE_WINDOWS_H 1
7272 for ac_header
in dlfcn.h
7274 ac_fn_cxx_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7275 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7276 cat >>confdefs.h
<<_ACEOF
7277 #define HAVE_DLFCN_H 1
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7285 $as_echo_n "checking for library containing dlopen... " >&6; }
7286 if test "${ac_cv_search_dlopen+set}" = set; then :
7287 $as_echo_n "(cached) " >&6
7289 ac_func_search_save_LIBS
=$LIBS
7290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7293 /* Override any GCC internal prototype to avoid an error.
7294 Use char because int might match the return type of a GCC
7295 builtin and then its argument prototype would still apply. */
7308 for ac_lib
in '' dl dld
; do
7309 if test -z "$ac_lib"; then
7310 ac_res
="none required"
7313 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7315 if ac_fn_cxx_try_link
"$LINENO"; then :
7316 ac_cv_search_dlopen
=$ac_res
7318 rm -f core conftest.err conftest.
$ac_objext \
7320 if test "${ac_cv_search_dlopen+set}" = set; then :
7324 if test "${ac_cv_search_dlopen+set}" = set; then :
7327 ac_cv_search_dlopen
=no
7330 LIBS
=$ac_func_search_save_LIBS
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7333 $as_echo "$ac_cv_search_dlopen" >&6; }
7334 ac_res
=$ac_cv_search_dlopen
7335 if test "$ac_res" != no
; then :
7336 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7340 case "$ac_cv_search_dlopen" in
7341 no
*) DLOPEN_LIBS
="";;
7342 *) DLOPEN_LIBS
="$ac_cv_search_dlopen";;
7346 for ac_func
in mallinfo posix_fallocate fallocate readv sysconf
times
7348 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7349 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7350 eval as_val
=\$
$as_ac_var
7351 if test "x$as_val" = x
""yes; then :
7352 cat >>confdefs.h
<<_ACEOF
7353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7359 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7360 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7366 cat >>confdefs.h
<<_ACEOF
7367 #define HAVE_DECL_BASENAME $ac_have_decl
7369 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7370 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7376 cat >>confdefs.h
<<_ACEOF
7377 #define HAVE_DECL_FFS $ac_have_decl
7379 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7380 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7386 cat >>confdefs.h
<<_ACEOF
7387 #define HAVE_DECL_ASPRINTF $ac_have_decl
7389 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7390 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7396 cat >>confdefs.h
<<_ACEOF
7397 #define HAVE_DECL_VASPRINTF $ac_have_decl
7399 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7400 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7406 cat >>confdefs.h
<<_ACEOF
7407 #define HAVE_DECL_SNPRINTF $ac_have_decl
7409 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7410 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7416 cat >>confdefs.h
<<_ACEOF
7417 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7419 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7420 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7426 cat >>confdefs.h
<<_ACEOF
7427 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7429 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7430 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
7436 cat >>confdefs.h
<<_ACEOF
7437 #define HAVE_DECL_STRNDUP $ac_have_decl
7439 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7440 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
7446 cat >>confdefs.h
<<_ACEOF
7447 #define HAVE_DECL_MEMMEM $ac_have_decl
7451 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7452 # at link time with some versions of GCC.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7454 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7455 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7456 $as_echo_n "(cached) " >&6
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7461 #include <tr1/unordered_map>
7462 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7472 if ac_fn_cxx_try_link
"$LINENO"; then :
7473 gold_cv_unordered_map_rehash
=yes
7475 gold_cv_unordered_map_rehash
=no
7477 rm -f core conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7481 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7482 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7484 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7488 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7489 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7491 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7492 if test "${gold_cv_hash_off_t+set}" = set; then :
7493 $as_echo_n "(cached) " >&6
7495 CXXFLAGS_hold
=$CXXFLAGS
7496 CXXFLAGS
="$CXXFLAGS $LFS_CFLAGS"
7497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7500 #include <sys/types.h>
7501 #include <tr1/unordered_map>
7502 std::tr1::hash<off_t> h;
7505 if ac_fn_cxx_try_compile
"$LINENO"; then :
7506 gold_cv_hash_off_t
=yes
7508 gold_cv_hash_off_t
=no
7510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7511 CXXFLAGS
=$CXXFLAGS_hold
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7514 $as_echo "$gold_cv_hash_off_t" >&6; }
7515 if test "$gold_cv_hash_off_t" = "yes"; then
7517 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7521 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7522 # function. Check for that. This is gcc bug 35546. This test can
7523 # probably be removed after the bug has been fixed for a while.
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7525 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7526 if test "${gold_cv_template_attribute+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7532 template<typename T> extern void foo(const char*, ...)
7533 __attribute__ ((__format__ (__printf__, 1, 2)));
7534 template<typename T> void foo(const char* format, ...) {}
7535 void bar() { foo<int>("%s\n", "foo"); }
7538 if ac_fn_cxx_try_compile
"$LINENO"; then :
7539 gold_cv_template_attribute
=yes
7541 gold_cv_template_attribute
=no
7543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7546 $as_echo "$gold_cv_template_attribute" >&6; }
7547 if test "$gold_cv_template_attribute" = "yes"; then
7549 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7554 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7555 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7556 $as_echo_n "(cached) " >&6
7558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7559 /* end confdefs.h. */
7561 #include <sys/stat.h>
7562 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7572 if ac_fn_cxx_try_compile
"$LINENO"; then :
7573 gold_cv_stat_st_mtim
=yes
7575 gold_cv_stat_st_mtim
=no
7577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7580 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7581 if test "$gold_cv_stat_st_mtim" = "yes"; then
7583 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7588 ac_cpp
='$CPP $CPPFLAGS'
7589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7594 for ac_header
in locale.h
7596 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7597 if test "x$ac_cv_header_locale_h" = x
""yes; then :
7598 cat >>confdefs.h
<<_ACEOF
7599 #define HAVE_LOCALE_H 1
7606 for ac_func
in setlocale
7608 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
7609 if test "x$ac_cv_func_setlocale" = x
""yes; then :
7610 cat >>confdefs.h
<<_ACEOF
7611 #define HAVE_SETLOCALE 1
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7619 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7620 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7621 $as_echo_n "(cached) " >&6
7623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h. */
7634 if ac_fn_c_try_link
"$LINENO"; then :
7635 am_cv_val_LC_MESSAGES
=yes
7637 am_cv_val_LC_MESSAGES
=no
7639 rm -f core conftest.err conftest.
$ac_objext \
7640 conftest
$ac_exeext conftest.
$ac_ext
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7643 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7644 if test $am_cv_val_LC_MESSAGES = yes; then
7646 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7653 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7654 # Check whether --enable-maintainer-mode was given.
7655 if test "${enable_maintainer_mode+set}" = set; then :
7656 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7658 USE_MAINTAINER_MODE
=no
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7662 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7663 if test $USE_MAINTAINER_MODE = yes; then
7664 MAINTAINER_MODE_TRUE
=
7665 MAINTAINER_MODE_FALSE
='#'
7667 MAINTAINER_MODE_TRUE
='#'
7668 MAINTAINER_MODE_FALSE
=
7671 MAINT
=$MAINTAINER_MODE_TRUE
7675 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7677 cat >confcache
<<\_ACEOF
7678 # This file is a shell script that caches the results of configure
7679 # tests run on this system so they can be shared between configure
7680 # scripts and configure runs, see configure's option --config-cache.
7681 # It is not useful on other systems. If it contains results you don't
7682 # want to keep, you may remove or edit it.
7684 # config.status only pays attention to the cache file if you give it
7685 # the --recheck option to rerun configure.
7687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7693 # The following way of writing the cache mishandles newlines in values,
7694 # but we know of no workaround that is simple, portable, and efficient.
7695 # So, we kill variables containing newlines.
7696 # Ultrix sh set writes to stderr and can't be redirected directly,
7697 # and sets the high bit in the cache file unless we assign to the vars.
7699 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7700 eval ac_val
=\$
$ac_var
7704 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7708 _ | IFS | as_nl
) ;; #(
7709 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7710 *) { eval $ac_var=; unset $ac_var;} ;;
7716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7717 *${as_nl}ac_space
=\
*)
7718 # `set' does not quote correctly, so add quotes: double-quote
7719 # substitution turns \\\\ into \\, and sed turns \\ into \.
7722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7725 # `set' quotes correctly as required by POSIX, so do not add quotes.
7726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7739 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7740 if test -w "$cache_file"; then
7741 test "x$cache_file" != "x/dev/null" &&
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7743 $as_echo "$as_me: updating cache $cache_file" >&6;}
7744 cat confcache
>$cache_file
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7752 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7753 # Let make expand exec_prefix.
7754 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7756 DEFS
=-DHAVE_CONFIG_H
7760 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7761 # 1. Remove the extension, and $U if already installed.
7762 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7763 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7764 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7765 # will be set to the directory where LIBOBJS objects are built.
7766 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7767 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7771 LTLIBOBJS
=$ac_ltlibobjs
7774 if test -n "$EXEEXT"; then
7776 am__EXEEXT_FALSE
='#'
7782 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7783 as_fn_error
"conditional \"THREADS\" was never defined.
7784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7786 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7787 as_fn_error
"conditional \"PLUGINS\" was never defined.
7788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7790 if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then
7791 as_fn_error
"conditional \"DEFAULT_TARGET_AARCH64\" was never defined.
7792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7794 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7795 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7798 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7799 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7802 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7803 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7806 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7807 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7810 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7811 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7814 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7815 as_fn_error
"conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7818 if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then
7819 as_fn_error
"conditional \"DEFAULT_TARGET_MIPS\" was never defined.
7820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7822 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7823 as_fn_error
"conditional \"AMDEP\" was never defined.
7824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7826 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7827 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7830 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7831 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7835 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7836 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7839 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7840 as_fn_error
"conditional \"GCC\" was never defined.
7841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7843 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7844 as_fn_error
"conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7847 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7848 as_fn_error
"conditional \"HAVE_STATIC\" was never defined.
7849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7851 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7852 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7855 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7856 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7859 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7860 as_fn_error
"conditional \"TLS\" was never defined.
7861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7863 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7864 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7867 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7868 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7871 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7872 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7875 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7876 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7879 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7880 as_fn_error
"conditional \"IFUNC\" was never defined.
7881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7883 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7884 as_fn_error
"conditional \"IFUNC_STATIC\" was never defined.
7885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7887 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
7888 as_fn_error
"conditional \"HAVE_ZLIB\" was never defined.
7889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7891 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7892 as_fn_error
"conditional \"HAVE_PUBNAMES\" was never defined.
7893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7895 if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then
7896 as_fn_error
"conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined.
7897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7899 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7900 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7904 : ${CONFIG_STATUS=./config.status}
7906 ac_clean_files_save
=$ac_clean_files
7907 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7909 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7911 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7913 # Generated by $as_me.
7914 # Run this file to recreate the current configuration.
7915 # Compiler output produced by configure, useful for debugging
7916 # configure, is in config.log if it exists.
7922 SHELL=\${CONFIG_SHELL-$SHELL}
7925 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7926 ## -------------------- ##
7927 ## M4sh Initialization. ##
7928 ## -------------------- ##
7930 # Be more Bourne compatible
7931 DUALCASE
=1; export DUALCASE
# for MKS sh
7932 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7936 # is contrary to our usage. Disable this feature.
7937 alias -g '${1+"$@"}'='"$@"'
7938 setopt NO_GLOB_SUBST
7940 case `(set -o) 2>/dev/null` in #(
7952 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7953 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7954 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7956 # Prefer a ksh shell builtin over an external printf program on Solaris,
7957 # but without wasting forks for bash or zsh.
7958 if test -z "$BASH_VERSION$ZSH_VERSION" \
7959 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7960 as_echo='print
-r --'
7961 as_echo_n='print
-rn --'
7962 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7963 as_echo='printf %s
\n'
7964 as_echo_n='printf %s
'
7966 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7967 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7968 as_echo_n='/usr
/ucb
/echo -n'
7970 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7971 as_echo_n_body='eval
7975 expr "X$arg" : "X\\(.*\\)$as_nl";
7976 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7978 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7980 export as_echo_n_body
7981 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7984 as_echo='sh
-c $as_echo_body as_echo
'
7987 # The user is always right.
7988 if test "${PATH_SEPARATOR+set}" != set; then
7990 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7991 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7998 # We need space, tab and new line, in precisely that order. Quoting is
7999 # there to prevent editors from complaining about space-tab.
8000 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8001 # splitting by setting IFS to empty value.)
8004 # Find who we are. Look in the path if we contain no directory separator.
8006 *[\\/]* ) as_myself=$0 ;;
8007 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011 test -z "$as_dir" && as_dir=.
8012 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8018 # We did not find ourselves, most probably we were run as `sh COMMAND'
8019 # in which case we are not to be found in the path.
8020 if test "x$as_myself" = x
; then
8023 if test ! -f "$as_myself"; then
8024 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8028 # Unset variables that we do not need and which cause bugs (e.g. in
8029 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8030 # suppresses any "Segmentation fault" message there. '((' could
8031 # trigger a bug in pdksh 5.2.14.
8032 for as_var
in BASH_ENV ENV MAIL MAILPATH
8033 do eval test x\
${$as_var+set} = xset \
8034 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8047 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8050 # as_fn_error ERROR [LINENO LOG_FD]
8051 # ---------------------------------
8052 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8053 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8054 # script with status $?, using 1 if that was 0.
8057 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8059 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8060 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8062 $as_echo "$as_me: error: $1" >&2
8063 as_fn_exit
$as_status
8067 # as_fn_set_status STATUS
8068 # -----------------------
8069 # Set $? to STATUS, without forking.
8073 } # as_fn_set_status
8077 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8087 # Portably unset VAR.
8090 { eval $1=; unset $1;}
8092 as_unset
=as_fn_unset
8093 # as_fn_append VAR VALUE
8094 # ----------------------
8095 # Append the text in VALUE to the end of the definition contained in VAR. Take
8096 # advantage of any shell optimizations that allow amortized linear growth over
8097 # repeated appends, instead of the typical quadratic growth present in naive
8099 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8100 eval 'as_fn_append ()
8111 # as_fn_arith ARG...
8112 # ------------------
8113 # Perform arithmetic evaluation on the ARGs, and store the result in the
8114 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8115 # must be portable across $(()) and expr.
8116 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8117 eval 'as_fn_arith ()
8124 as_val
=`expr "$@" || test $? -eq 1`
8129 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8130 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8136 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8137 as_basename
=basename
8142 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8148 as_me
=`$as_basename -- "$0" ||
8149 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8150 X"$0" : 'X\(//\)$' \| \
8151 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8153 sed '/^.*\/\([^/][^/]*\)\/*$/{
8167 # Avoid depending upon Character Ranges.
8168 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8169 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8170 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8171 as_cr_digits
='0123456789'
8172 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8174 ECHO_C
= ECHO_N
= ECHO_T
=
8175 case `echo -n x` in #(((((
8177 case `echo 'xy\c'` in
8178 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8180 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8187 rm -f conf$$ conf$$.exe conf$$.
file
8188 if test -d conf$$.dir
; then
8189 rm -f conf$$.dir
/conf$$.
file
8192 mkdir conf$$.dir
2>/dev
/null
8194 if (echo >conf$$.
file) 2>/dev
/null
; then
8195 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8197 # ... but there are two gotchas:
8198 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8199 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8200 # In both cases, we have to default to `cp -p'.
8201 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8203 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8211 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8212 rmdir conf$$.dir
2>/dev
/null
8217 # Create "$as_dir" as a directory, including parents if necessary.
8222 -*) as_dir
=.
/$as_dir;;
8224 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8228 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8229 *) as_qdir
=$as_dir;;
8231 as_dirs
="'$as_qdir' $as_dirs"
8232 as_dir
=`$as_dirname -- "$as_dir" ||
8233 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8234 X"$as_dir" : 'X\(//\)[^/]' \| \
8235 X"$as_dir" : 'X\(//\)$' \| \
8236 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8237 $as_echo X"$as_dir" |
8238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8255 test -d "$as_dir" && break
8257 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8258 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8262 if mkdir
-p .
2>/dev
/null
; then
8263 as_mkdir_p
='mkdir -p "$as_dir"'
8265 test -d .
/-p && rmdir .
/-p
8269 if test -x / >/dev
/null
2>&1; then
8272 if ls -dL / >/dev
/null
2>&1; then
8279 if test -d "$1"; then
8285 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8286 ???[sx]*):;;*)false;;esac;fi
8290 as_executable_p
=$as_test_x
8292 # Sed expression to map a string onto a valid CPP name.
8293 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8295 # Sed expression to map a string onto a valid variable name.
8296 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8300 ## ----------------------------------- ##
8301 ## Main body of $CONFIG_STATUS script. ##
8302 ## ----------------------------------- ##
8304 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8307 # Save the log message, to keep $0 and so on meaningful, and to
8308 # report actual input values of CONFIG_FILES etc. instead of their
8309 # values after options handling.
8311 This file was extended by gold $as_me 0.1, which was
8312 generated by GNU Autoconf 2.64. Invocation command line was
8314 CONFIG_FILES = $CONFIG_FILES
8315 CONFIG_HEADERS = $CONFIG_HEADERS
8316 CONFIG_LINKS = $CONFIG_LINKS
8317 CONFIG_COMMANDS = $CONFIG_COMMANDS
8320 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8325 case $ac_config_files in *"
8326 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8329 case $ac_config_headers in *"
8330 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8335 # Files that config.status was made for.
8336 config_files="$ac_config_files"
8337 config_headers="$ac_config_headers"
8338 config_commands="$ac_config_commands"
8342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8344 \`$as_me' instantiates files and other configuration actions
8345 from templates according to the current configuration. Unless the files
8346 and actions are specified as TAGs, all are instantiated by default.
8348 Usage: $0 [OPTION]... [TAG]...
8350 -h, --help print this help, then exit
8351 -V, --version print version number and configuration settings, then exit
8352 -q, --quiet, --silent
8353 do not print progress messages
8354 -d, --debug don't remove temporary files
8355 --recheck update $as_me by reconfiguring in the same conditions
8356 --file=FILE[:TEMPLATE]
8357 instantiate the configuration file FILE
8358 --header=FILE[:TEMPLATE]
8359 instantiate the configuration header FILE
8361 Configuration files:
8364 Configuration headers:
8367 Configuration commands:
8370 Report bugs to the package provider."
8373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8375 gold config.status 0.1
8376 configured by $0, generated by GNU Autoconf 2.64,
8377 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8379 Copyright (C) 2009 Free Software Foundation, Inc.
8380 This config.status script is free software; the Free Software Foundation
8381 gives unlimited permission to copy, distribute and modify it."
8388 test -n "\$AWK" || AWK=awk
8391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8392 # The default lists apply if the user does not specify any file.
8398 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8399 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8410 # Handling of the options.
8411 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8413 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8414 $as_echo "$ac_cs_version"; exit ;;
8415 --debug |
--debu |
--deb |
--de |
--d |
-d )
8417 --file |
--fil |
--fi |
--f )
8420 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8422 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8423 ac_need_defaults
=false
;;
8424 --header |
--heade |
--head |
--hea )
8427 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8429 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8430 ac_need_defaults
=false
;;
8432 # Conflict between --help and --header
8433 as_fn_error
"ambiguous option: \`$1'
8434 Try \`$0 --help' for more information.";;
8435 --help |
--hel |
-h )
8436 $as_echo "$ac_cs_usage"; exit ;;
8437 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8438 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8442 -*) as_fn_error
"unrecognized option: \`$1'
8443 Try \`$0 --help' for more information." ;;
8445 *) as_fn_append ac_config_targets
" $1"
8446 ac_need_defaults
=false
;;
8452 ac_configure_extra_args
=
8454 if $ac_cs_silent; then
8456 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8461 if \$ac_cs_recheck; then
8462 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8464 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8465 CONFIG_SHELL='$SHELL'
8471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8475 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8476 ## Running $as_me. ##
8482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8486 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8487 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8488 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8490 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8491 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8492 LINGUAS="${LINGUAS-%UNSET%}"
8497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8499 # Handling of arguments.
8500 for ac_config_target
in $ac_config_targets
8502 case $ac_config_target in
8503 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8504 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8505 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8506 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8507 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
8508 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8510 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8515 # If the user did not use the arguments to specify the items to instantiate,
8516 # then the envvar interface is used. Set only those that are not.
8517 # We use the long form for the default assignment because of an extremely
8518 # bizarre bug on SunOS 4.1.3.
8519 if $ac_need_defaults; then
8520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8525 # Have a temporary directory for convenience. Make it in the build tree
8526 # simply because there is no reason against having it here, and in addition,
8527 # creating and moving files from /tmp can sometimes cause problems.
8528 # Hook for its removal unless debugging.
8529 # Note that there is a small window in which the directory will not be cleaned:
8530 # after its creation but before its name has been assigned to `$tmp'.
8534 trap 'exit_status=$?
8535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8537 trap 'as_fn_exit 1' 1 2 13 15
8539 # Create a (secure) tmp directory for tmp files.
8542 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8543 test -n "$tmp" && test -d "$tmp"
8546 tmp
=.
/conf$$
-$RANDOM
8547 (umask 077 && mkdir
"$tmp")
8548 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8550 # Set up the scripts for CONFIG_FILES section.
8551 # No need to generate them if there are no CONFIG_FILES.
8552 # This happens for instance with `./config.status config.h'.
8553 if test -n "$CONFIG_FILES"; then
8556 ac_cr
=`echo X | tr X '\015'`
8557 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8558 # But we know of no other shell where ac_cr would be empty at this
8559 # point, so we can use a bashism as a fallback.
8560 if test "x$ac_cr" = x
; then
8561 eval ac_cr
=\$
\'\\r
\'
8563 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8564 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8570 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8575 echo "cat >conf$$subs.awk <<_ACEOF" &&
8576 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8579 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8582 for ac_last_try in false false false false false :; do
8583 . ./conf$$subs.sh ||
8584 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8586 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8587 if test $ac_delim_n = $ac_delim_num; then
8589 elif $ac_last_try; then
8590 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8592 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8598 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8602 s/^/S["/; s
/!.
*/"]=/
8612 s/\(.\{148\}\).*/\1/
8614 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8619 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8626 s/\(.\{148\}\).*/\1/
8628 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8632 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8637 ' <conf$$subs.awk | sed '
8642 ' >>$CONFIG_STATUS || ac_write_fail=1
8643 rm -f conf$$subs.awk
8644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8646 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8647 for (key in S) S_is_set[key] = 1
8653 nfields = split(line, field, "@
")
8655 len = length(field[1])
8656 for (i = 2; i < nfields; i++) {
8658 keylen = length(key)
8659 if (S_is_set[key]) {
8661 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8662 len += length(value) + length(field[++i])
8673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8674 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8675 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8678 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8679 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8682 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8683 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8684 # trailing colons and then remove the whole line if VPATH becomes empty
8685 # (actually we leave an empty line to preserve line numbers).
8686 if test "x
$srcdir" = x.; then
8687 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8691 s/^\([^=]*=[ ]*\):*/\1/
8697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8698 fi # test -n "$CONFIG_FILES"
8700 # Set up the scripts for CONFIG_HEADERS section.
8701 # No need to generate them if there are no CONFIG_HEADERS.
8702 # This happens for instance with `./config.status Makefile'.
8703 if test -n "$CONFIG_HEADERS"; then
8704 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8708 # Transform confdefs.h into an awk script `defines.awk', embedded as
8709 # here-document in config.status, that substitutes the proper values into
8710 # config.h.in to produce config.h.
8712 # Create a delimiter string that does not exist in confdefs.h, to ease
8713 # handling of long lines.
8715 for ac_last_try in false false :; do
8716 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8717 if test -z "$ac_t"; then
8719 elif $ac_last_try; then
8720 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8722 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8726 # For the awk script, D is an array of macro values keyed by name,
8727 # likewise P contains macro parameters if any. Preserve backslash
8728 # newline sequences.
8730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8732 s/.\{148\}/&'"$ac_delim"'/g
8735 s/^[ ]*#[ ]*define[ ][ ]*/ /
8742 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8744 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8749 D["\
1"]=" \
3\\\\\\n
"\\/p
8751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8756 s/.\{148\}/&'"$ac_delim"'/g
8761 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8764 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8766 ' <confdefs.h | sed '
8767 s/'"$ac_delim"'/"\\\
8768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8771 for (key in D) D_is_set[key] = 1
8774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8776 split(line, arg, " ")
8777 if (arg[1] == "#") {
8781 defundef
= substr
(arg
[1], 2)
8784 split(mac1
, mac2
, "(") #)
8786 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8787 if (D_is_set
[macro
]) {
8788 # Preserve the white space surrounding the "#".
8789 print prefix
"define", macro P
[macro
] D
[macro
]
8792 # Replace #undef with comments. This is necessary, for example,
8793 # in the case of _POSIX_SOURCE, which is predefined and required
8794 # on some systems where configure will not decide to define it.
8795 if (defundef
== "undef") {
8796 print
"/*", prefix defundef
, macro
, "*/"
8804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8805 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8806 fi # test -n "$CONFIG_HEADERS"
8809 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8814 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8816 case $ac_mode$ac_tag in
8818 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8819 :[FH
]-) ac_tag
=-:-;;
8820 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8837 -) ac_f
="$tmp/stdin";;
8838 *) # Look for the file first in the build tree, then in the source tree
8839 # (if the path is not absolute). The absolute path cannot be DOS-style,
8840 # because $ac_f cannot contain `:'.
8844 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8846 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8848 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8849 as_fn_append ac_file_inputs
" '$ac_f'"
8852 # Let's still pretend it is `configure' which instantiates (i.e., don't
8853 # use $as_me), people would be surprised to read:
8854 # /* config.h. Generated by config.status. */
8855 configure_input
='Generated from '`
8856 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8858 if test x
"$ac_file" != x-
; then
8859 configure_input
="$ac_file. $configure_input"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8861 $as_echo "$as_me: creating $ac_file" >&6;}
8863 # Neutralize special characters interpreted by sed in replacement strings.
8864 case $configure_input in #(
8865 *\
&* |
*\|
* |
*\\* )
8866 ac_sed_conf_input
=`$as_echo "$configure_input" |
8867 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8868 *) ac_sed_conf_input
=$configure_input;;
8872 *:-:* |
*:-) cat >"$tmp/stdin" \
8873 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8878 ac_dir
=`$as_dirname -- "$ac_file" ||
8879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8880 X"$ac_file" : 'X\(//\)[^/]' \| \
8881 X"$ac_file" : 'X\(//\)$' \| \
8882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8883 $as_echo X"$ac_file" |
8884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8901 as_dir
="$ac_dir"; as_fn_mkdir_p
8905 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8907 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8908 # A ".." for each directory in $ac_dir_suffix.
8909 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8910 case $ac_top_builddir_sub in
8911 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8912 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8915 ac_abs_top_builddir
=$ac_pwd
8916 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8917 # for backward compatibility:
8918 ac_top_builddir
=$ac_top_build_prefix
8921 .
) # We are building in place.
8923 ac_top_srcdir
=$ac_top_builddir_sub
8924 ac_abs_top_srcdir
=$ac_pwd ;;
8925 [\\/]* | ?
:[\\/]* ) # Absolute name.
8926 ac_srcdir
=$srcdir$ac_dir_suffix;
8927 ac_top_srcdir
=$srcdir
8928 ac_abs_top_srcdir
=$srcdir ;;
8930 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8931 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8932 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8934 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8944 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8945 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8949 [\\/$
]* | ?
:[\\/]* ) ;;
8950 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8955 # If the template does not know about datarootdir, expand it.
8956 # FIXME: This hack should be removed a few years after 2.60.
8957 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8969 *datarootdir
*) ac_datarootdir_seen
=yes;;
8970 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8972 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8975 ac_datarootdir_hack='
8976 s&@datadir@&$datadir&g
8977 s&@docdir@&$docdir&g
8978 s&@infodir@&$infodir&g
8979 s&@localedir@&$localedir&g
8980 s&@mandir@&$mandir&g
8981 s&\\\${datarootdir}&$datarootdir&g' ;;
8985 # Neutralize VPATH when `$srcdir' = `.'.
8986 # Shell code in configure.ac might set extrasub.
8987 # FIXME: do we really want to maintain this feature?
8988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8989 ac_sed_extra="$ac_vpsub
8992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8994 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8995 s|@configure_input@|
$ac_sed_conf_input|
;t t
8996 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8997 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8998 s
&@srcdir@
&$ac_srcdir&;t t
8999 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9000 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9001 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9002 s
&@builddir@
&$ac_builddir&;t t
9003 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9004 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9005 s
&@INSTALL@
&$ac_INSTALL&;t t
9006 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9007 $ac_datarootdir_hack
9009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9010 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9016 which seems to be undefined. Please make sure it is defined." >&5
9017 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9018 which seems to be undefined. Please make sure it is defined." >&2;}
9022 -) cat "$tmp/out" && rm -f "$tmp/out";;
9023 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9025 || as_fn_error "could not create $ac_file" "$LINENO" 5
9031 if test x"$ac_file" != x-; then
9033 $as_echo "/* $configure_input */" \
9034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9035 } >"$tmp/config.h" \
9036 || as_fn_error "could not create $ac_file" "$LINENO" 5
9037 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9039 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9042 mv "$tmp/config.h" "$ac_file" \
9043 || as_fn_error "could not create $ac_file" "$LINENO" 5
9046 $as_echo "/* $configure_input */" \
9047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9048 || as_fn_error "could not create -" "$LINENO" 5
9050 # Compute "$ac_file"'s index
in $config_headers.
9053 for _am_header
in $config_headers :; do
9055 $_am_arg |
$_am_arg:* )
9058 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9061 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9062 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9063 X"$_am_arg" : 'X\(//\)[^/]' \| \
9064 X"$_am_arg" : 'X\(//\)$' \| \
9065 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9066 $as_echo X"$_am_arg" |
9067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9083 s/.*/./; q'`/stamp-h
$_am_stamp_count
9086 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9087 $as_echo "$as_me: executing $ac_file commands" >&6;}
9092 case $ac_file$ac_mode in
9093 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9094 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9095 # are listed without --file. Let's play safe and only enable the eval
9096 # if we detect the quoting.
9097 case $CONFIG_FILES in
9098 *\'*) eval set x
"$CONFIG_FILES" ;;
9099 *) set x
$CONFIG_FILES ;;
9104 # Strip MF so we end up with the name of the file.
9105 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9106 # Check whether this is an Automake generated Makefile or not.
9107 # We used to match only the files named `Makefile.in', but
9108 # some people rename them; so instead we look at the file content.
9109 # Grep'ing the first line is not enough: some people post-process
9110 # each Makefile.in and add a new line on top of each file to say so.
9111 # Grep'ing the whole file is not good either: AIX grep has a line
9112 # limit of 2048, but all sed's we know have understand at least 4000.
9113 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9114 dirpart
=`$as_dirname -- "$mf" ||
9115 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9116 X"$mf" : 'X\(//\)[^/]' \| \
9117 X"$mf" : 'X\(//\)$' \| \
9118 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9140 # Extract the definition of DEPDIR, am__include, and am__quote
9141 # from the Makefile without running `make'.
9142 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9143 test -z "$DEPDIR" && continue
9144 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9145 test -z "am__include" && continue
9146 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9147 # When using ansi2knr, U may be empty or an underscore; expand it
9148 U
=`sed -n 's/^U = //p' < "$mf"`
9149 # Find all dependency output files, they are included files with
9150 # $(DEPDIR) in their names. We invoke sed twice because it is the
9151 # simplest approach to changing $(DEPDIR) to its actual value in the
9153 for file in `sed -n "
9154 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9155 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9156 # Make sure the directory exists.
9157 test -f "$dirpart/$file" && continue
9158 fdir
=`$as_dirname -- "$file" ||
9159 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9160 X"$file" : 'X\(//\)[^/]' \| \
9161 X"$file" : 'X\(//\)$' \| \
9162 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9181 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9182 # echo "creating $dirpart/$file"
9183 echo '# dummy' > "$dirpart/$file"
9189 for ac_file
in $CONFIG_FILES; do
9190 # Support "outfile[:infile[:infile...]]"
9192 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9194 # PO directories have a Makefile.in generated from Makefile.in.in.
9195 case "$ac_file" in */Makefile.
in)
9196 # Adjust a relative srcdir.
9197 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9198 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
9199 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9200 # In autoconf-2.13 it is called $ac_given_srcdir.
9201 # In autoconf-2.50 it is called $srcdir.
9202 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9203 case "$ac_given_srcdir" in
9204 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9205 /*) top_srcdir
="$ac_given_srcdir" ;;
9206 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9208 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9209 rm -f "$ac_dir/POTFILES"
9210 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9211 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9212 POMAKEFILEDEPS
="POTFILES.in"
9213 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9214 # on $ac_dir but don't depend on user-specified configuration
9216 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9217 # The LINGUAS file contains the set of available languages.
9218 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9219 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
9221 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9222 # Hide the ALL_LINGUAS assigment from automake.
9223 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9224 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9226 # The set of available languages was given in configure.in.
9227 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9229 case "$ac_given_srcdir" in
9231 *) srcdirpre
='$(srcdir)/' ;;
9237 for lang
in $ALL_LINGUAS; do
9238 POFILES
="$POFILES $srcdirpre$lang.po"
9239 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9240 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9241 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9243 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9244 # environment variable.
9246 if test -n "$ALL_LINGUAS"; then
9247 for presentlang
in $ALL_LINGUAS; do
9249 if test "%UNSET%" != "$LINGUAS"; then
9250 desiredlanguages
="$LINGUAS"
9252 desiredlanguages
="$ALL_LINGUAS"
9254 for desiredlang
in $desiredlanguages; do
9255 # Use the presentlang catalog if desiredlang is
9256 # a. equal to presentlang, or
9257 # b. a variant of presentlang (because in this case,
9258 # presentlang can be used as a fallback for messages
9259 # which are not translated in the desiredlang catalog).
9260 case "$desiredlang" in
9261 "$presentlang"*) useit
=yes;;
9264 if test $useit = yes; then
9265 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9270 if test -n "$INST_LINGUAS"; then
9271 for lang
in $INST_LINGUAS; do
9272 CATALOGS
="$CATALOGS $lang.gmo"
9275 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9276 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"
9277 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9278 if test -f "$f"; then
9280 *.orig |
*.bak |
*~
) ;;
9281 *) cat "$f" >> "$ac_dir/Makefile" ;;
9296 ac_clean_files
=$ac_clean_files_save
9298 test $ac_write_fail = 0 ||
9299 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9302 # configure is writing to config.log, and then calls config.status.
9303 # config.status does its own redirection, appending to config.log.
9304 # Unfortunately, on DOS this fails, as config.log is still kept open
9305 # by configure, so config.status won't be able to write to it; its
9306 # output is simply discarded. So we exec the FD to /dev/null,
9307 # effectively closing config.log, so it can be properly (re)opened and
9308 # appended to by config.status. When coming back to configure, we
9309 # need to make the FD available again.
9310 if test "$no_create" != yes; then
9312 ac_config_status_args
=
9313 test "$silent" = yes &&
9314 ac_config_status_args
="$ac_config_status_args --quiet"
9316 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9318 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9319 # would make configure fail if this is the last instruction.
9320 $ac_cs_success || as_fn_exit $?
9322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9324 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}