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
612 WARN_CFLAGS_FOR_BUILD
619 TLS_DESCRIPTORS_FALSE
621 TLS_GNU2_DIALECT_FALSE
622 TLS_GNU2_DIALECT_TRUE
632 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
633 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
636 NATIVE_OR_CROSS_LINKER_FALSE
637 NATIVE_OR_CROSS_LINKER_TRUE
690 DEFAULT_TARGET_MIPS_FALSE
691 DEFAULT_TARGET_MIPS_TRUE
692 DEFAULT_TARGET_TILEGX_FALSE
693 DEFAULT_TARGET_TILEGX_TRUE
694 DEFAULT_TARGET_X86_64_OR_X32_FALSE
695 DEFAULT_TARGET_X86_64_OR_X32_TRUE
696 DEFAULT_TARGET_X32_FALSE
697 DEFAULT_TARGET_X32_TRUE
698 DEFAULT_TARGET_X86_64_FALSE
699 DEFAULT_TARGET_X86_64_TRUE
700 DEFAULT_TARGET_S390_FALSE
701 DEFAULT_TARGET_S390_TRUE
702 DEFAULT_TARGET_SPARC_FALSE
703 DEFAULT_TARGET_SPARC_TRUE
704 DEFAULT_TARGET_POWERPC_FALSE
705 DEFAULT_TARGET_POWERPC_TRUE
706 DEFAULT_TARGET_I386_FALSE
707 DEFAULT_TARGET_I386_TRUE
708 DEFAULT_TARGET_ARM_FALSE
709 DEFAULT_TARGET_ARM_TRUE
710 DEFAULT_TARGET_AARCH64_FALSE
711 DEFAULT_TARGET_AARCH64_TRUE
726 INSTALL_STRIP_PROGRAM
780 program_transform_name
793 enable_option_checking
801 enable_dependency_tracking
804 enable_build_warnings
808 enable_maintainer_mode
810 ac_precious_vars
='build_alias
827 # Initialize some variables set by options.
829 ac_init_version
=false
830 ac_unrecognized_opts
=
832 # The variables have the same names as the options, with
833 # dashes changed to underlines.
841 program_transform_name
=s
,x
,x
,
849 # Installation directory options.
850 # These are left unexpanded so users can "make install exec_prefix=/foo"
851 # and all the variables that are supposed to be based on exec_prefix
852 # by default will actually change.
853 # Use braces instead of parens because sh, perl, etc. also accept them.
854 # (The list follows the same order as the GNU Coding Standards.)
855 bindir
='${exec_prefix}/bin'
856 sbindir
='${exec_prefix}/sbin'
857 libexecdir
='${exec_prefix}/libexec'
858 datarootdir
='${prefix}/share'
859 datadir
='${datarootdir}'
860 sysconfdir
='${prefix}/etc'
861 sharedstatedir
='${prefix}/com'
862 localstatedir
='${prefix}/var'
863 includedir
='${prefix}/include'
864 oldincludedir
='/usr/include'
865 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
866 infodir
='${datarootdir}/info'
871 libdir
='${exec_prefix}/lib'
872 localedir
='${datarootdir}/locale'
873 mandir
='${datarootdir}/man'
879 # If the previous option needs an argument, assign it.
880 if test -n "$ac_prev"; then
881 eval $ac_prev=\
$ac_option
887 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
891 # Accept the important Cygnus configure options, so we can diagnose typos.
893 case $ac_dashdash$ac_option in
897 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
899 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
902 -build |
--build |
--buil |
--bui |
--bu)
903 ac_prev
=build_alias
;;
904 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
905 build_alias
=$ac_optarg ;;
907 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
908 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
909 ac_prev
=cache_file
;;
910 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
911 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
912 cache_file
=$ac_optarg ;;
915 cache_file
=config.cache
;;
917 -datadir |
--datadir |
--datadi |
--datad)
919 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
920 datadir
=$ac_optarg ;;
922 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
923 |
--dataroo |
--dataro |
--datar)
924 ac_prev
=datarootdir
;;
925 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
926 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
927 datarootdir
=$ac_optarg ;;
929 -disable-* |
--disable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=no
;;
945 -docdir |
--docdir |
--docdi |
--doc |
--do)
947 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
950 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
952 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
955 -enable-* |
--enable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=\
$ac_optarg ;;
971 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
972 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
973 |
--exec |
--exe |
--ex)
974 ac_prev
=exec_prefix
;;
975 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
976 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
977 |
--exec=* |
--exe=* |
--ex=*)
978 exec_prefix
=$ac_optarg ;;
980 -gas |
--gas |
--ga |
--g)
981 # Obsolete; use --with-gas.
984 -help |
--help |
--hel |
--he |
-h)
986 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
987 ac_init_help
=recursive
;;
988 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
989 ac_init_help
=short
;;
991 -host |
--host |
--hos |
--ho)
992 ac_prev
=host_alias
;;
993 -host=* |
--host=* |
--hos=* |
--ho=*)
994 host_alias
=$ac_optarg ;;
996 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
998 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1000 htmldir
=$ac_optarg ;;
1002 -includedir |
--includedir |
--includedi |
--included |
--include \
1003 |
--includ |
--inclu |
--incl |
--inc)
1004 ac_prev
=includedir
;;
1005 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1006 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1007 includedir
=$ac_optarg ;;
1009 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1011 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1012 infodir
=$ac_optarg ;;
1014 -libdir |
--libdir |
--libdi |
--libd)
1016 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1017 libdir
=$ac_optarg ;;
1019 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1020 |
--libexe |
--libex |
--libe)
1021 ac_prev
=libexecdir
;;
1022 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1023 |
--libexe=* |
--libex=* |
--libe=*)
1024 libexecdir
=$ac_optarg ;;
1026 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1027 ac_prev
=localedir
;;
1028 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1029 localedir
=$ac_optarg ;;
1031 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1032 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1033 ac_prev
=localstatedir
;;
1034 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1035 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1036 localstatedir
=$ac_optarg ;;
1038 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1040 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1041 mandir
=$ac_optarg ;;
1043 -nfp |
--nfp |
--nf)
1044 # Obsolete; use --without-fp.
1047 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1048 |
--no-cr |
--no-c |
-n)
1051 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1052 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1055 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1056 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1057 |
--oldin |
--oldi |
--old |
--ol |
--o)
1058 ac_prev
=oldincludedir
;;
1059 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1060 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1061 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1062 oldincludedir
=$ac_optarg ;;
1064 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1066 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1067 prefix
=$ac_optarg ;;
1069 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1070 |
--program-pre |
--program-pr |
--program-p)
1071 ac_prev
=program_prefix
;;
1072 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1073 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1074 program_prefix
=$ac_optarg ;;
1076 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1077 |
--program-suf |
--program-su |
--program-s)
1078 ac_prev
=program_suffix
;;
1079 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1080 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1081 program_suffix
=$ac_optarg ;;
1083 -program-transform-name |
--program-transform-name \
1084 |
--program-transform-nam |
--program-transform-na \
1085 |
--program-transform-n |
--program-transform- \
1086 |
--program-transform |
--program-transfor \
1087 |
--program-transfo |
--program-transf \
1088 |
--program-trans |
--program-tran \
1089 |
--progr-tra |
--program-tr |
--program-t)
1090 ac_prev
=program_transform_name
;;
1091 -program-transform-name=* |
--program-transform-name=* \
1092 |
--program-transform-nam=* |
--program-transform-na=* \
1093 |
--program-transform-n=* |
--program-transform-=* \
1094 |
--program-transform=* |
--program-transfor=* \
1095 |
--program-transfo=* |
--program-transf=* \
1096 |
--program-trans=* |
--program-tran=* \
1097 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1098 program_transform_name
=$ac_optarg ;;
1100 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1102 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1103 pdfdir
=$ac_optarg ;;
1105 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1107 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1110 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1111 |
-silent |
--silent |
--silen |
--sile |
--sil)
1114 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1116 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1118 sbindir
=$ac_optarg ;;
1120 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1121 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1122 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1124 ac_prev
=sharedstatedir
;;
1125 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1126 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1127 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1129 sharedstatedir
=$ac_optarg ;;
1131 -site |
--site |
--sit)
1133 -site=* |
--site=* |
--sit=*)
1136 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1138 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1139 srcdir
=$ac_optarg ;;
1141 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1142 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1143 ac_prev
=sysconfdir
;;
1144 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1145 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1146 sysconfdir
=$ac_optarg ;;
1148 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1149 ac_prev
=target_alias
;;
1150 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1151 target_alias
=$ac_optarg ;;
1153 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1156 -version |
--version |
--versio |
--versi |
--vers |
-V)
1157 ac_init_version
=: ;;
1160 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1163 as_fn_error
"invalid package name: $ac_useropt"
1164 ac_useropt_orig
=$ac_useropt
1165 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171 ac_unrecognized_sep
=', ';;
1173 eval with_
$ac_useropt=\
$ac_optarg ;;
1175 -without-* |
--without-*)
1176 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=no
;;
1192 # Obsolete; use --with-x.
1195 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1196 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1197 ac_prev
=x_includes
;;
1198 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1199 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1200 x_includes
=$ac_optarg ;;
1202 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1203 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1204 ac_prev
=x_libraries
;;
1205 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1206 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1207 x_libraries
=$ac_optarg ;;
1209 -*) as_fn_error
"unrecognized option: \`$ac_option'
1210 Try \`$0 --help' for more information."
1214 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1215 # Reject names that are not valid shell variable names.
1216 case $ac_envvar in #(
1217 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1218 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1220 eval $ac_envvar=\
$ac_optarg
1221 export $ac_envvar ;;
1224 # FIXME: should be removed in autoconf 3.0.
1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 if test -n "$ac_prev"; then
1235 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1236 as_fn_error
"missing argument to $ac_option"
1239 if test -n "$ac_unrecognized_opts"; then
1240 case $enable_option_checking in
1242 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1247 # Check all directory arguments for consistency.
1248 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249 datadir sysconfdir sharedstatedir localstatedir includedir \
1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251 libdir localedir mandir
1253 eval ac_val
=\$
$ac_var
1254 # Remove trailing slashes.
1257 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258 eval $ac_var=\
$ac_val;;
1260 # Be sure to have absolute directory names.
1262 [\\/$
]* | ?
:[\\/]* ) continue;;
1263 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1265 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1268 # There might be people who depend on the old broken behavior: `$host'
1269 # used to hold the argument of --host etc.
1270 # FIXME: To remove some day.
1273 target
=$target_alias
1275 # FIXME: To remove some day.
1276 if test "x$host_alias" != x
; then
1277 if test "x$build_alias" = x
; then
1278 cross_compiling
=maybe
1279 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1280 If a cross compiler is detected then cross compile mode will be used." >&2
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1289 test "$silent" = yes && exec 6>/dev
/null
1292 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di
=`ls -di .` &&
1294 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error
"working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error
"pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted
=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir
=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted
=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1336 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1352 for ac_var
in $ac_precious_vars; do
1353 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1354 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1355 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1356 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1360 # Report the --help message.
1362 if test "$ac_init_help" = "long"; then
1363 # Omit some internal or obsolete options to make the list less imposing.
1364 # This message is too long to be a string in the A/UX 3.1 sh.
1366 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1368 Usage: $0 [OPTION]... [VAR=VALUE]...
1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1371 VAR=VALUE. See below for descriptions of some of the useful variables.
1373 Defaults for the options are specified in brackets.
1376 -h, --help display this help and exit
1377 --help=short display options specific to this package
1378 --help=recursive display the short help of all the included packages
1379 -V, --version display version information and exit
1380 -q, --quiet, --silent do not print \`checking...' messages
1381 --cache-file=FILE cache test results in FILE [disabled]
1382 -C, --config-cache alias for \`--cache-file=config.cache'
1383 -n, --no-create do not create output files
1384 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1386 Installation directories:
1387 --prefix=PREFIX install architecture-independent files in PREFIX
1388 [$ac_default_prefix]
1389 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1392 By default, \`make install' will install all the files in
1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1395 for instance \`--prefix=\$HOME'.
1397 For better control, use the options below.
1399 Fine tuning of the installation directories:
1400 --bindir=DIR user executables [EPREFIX/bin]
1401 --sbindir=DIR system admin executables [EPREFIX/sbin]
1402 --libexecdir=DIR program executables [EPREFIX/libexec]
1403 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1404 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1405 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1406 --libdir=DIR object code libraries [EPREFIX/lib]
1407 --includedir=DIR C header files [PREFIX/include]
1408 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1409 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1410 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1411 --infodir=DIR info documentation [DATAROOTDIR/info]
1412 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1413 --mandir=DIR man documentation [DATAROOTDIR/man]
1414 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1415 --htmldir=DIR html documentation [DOCDIR]
1416 --dvidir=DIR dvi documentation [DOCDIR]
1417 --pdfdir=DIR pdf documentation [DOCDIR]
1418 --psdir=DIR ps documentation [DOCDIR]
1424 --program-prefix=PREFIX prepend PREFIX to installed program names
1425 --program-suffix=SUFFIX append SUFFIX to installed program names
1426 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1429 --build=BUILD configure
for building on BUILD
[guessed
]
1430 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1431 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1435 if test -n "$ac_init_help"; then
1436 case $ac_init_help in
1437 short | recursive
) echo "Configuration of gold 0.1:";;
1442 --disable-option-checking ignore unrecognized
--enable/--with options
1443 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1444 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1445 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1446 --enable-threads multi-threaded linking
1447 --enable-plugins linker plugins
1448 --enable-relro enable -z relro
in ELF linker by default
1449 --enable-targets alternative target configurations
1450 --disable-dependency-tracking speeds up one-time build
1451 --enable-dependency-tracking do not reject slow dependency extractors
1452 --disable-nls do not use Native Language Support
1453 --enable-werror treat compile warnings as errors
1454 --enable-build-warnings enable build-time compiler warnings
1455 --enable-maintainer-mode enable make rules and dependencies not useful
1456 (and sometimes confusing
) to the casual installer
1459 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1460 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1461 --with-sysroot=DIR search
for usr
/lib et al within DIR
1462 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1463 --with-gold-ldflags=FLAGS additional link flags
for gold
1464 --with-gold-ldadd=LIBS additional libraries
for gold
1465 --with-system-zlib use installed libz
1467 Some influential environment variables
:
1468 CC C compiler
command
1469 CFLAGS C compiler flags
1470 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1471 nonstandard directory
<lib dir
>
1472 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1473 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1474 you have headers
in a nonstandard directory
<include dir
>
1475 CXX C
++ compiler
command
1476 CXXFLAGS C
++ compiler flags
1477 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1478 the first program found out of: `bison
-y', `byacc', `yacc'.
1479 YFLAGS The list of arguments that will be passed by default to $YACC.
1480 This script will default YFLAGS to the empty string to avoid a
1481 default value of `-d' given by some make applications.
1483 CXXCPP C++ preprocessor
1485 Use these variables to override the choices made by `configure' or to
help
1486 it to
find libraries and programs with nonstandard names
/locations.
1488 Report bugs to the package provider.
1493 if test "$ac_init_help" = "recursive"; then
1494 # If there are subdirs, report their specific --help.
1495 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1496 test -d "$ac_dir" ||
1497 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1502 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1504 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1509 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir
=$ac_pwd
1513 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir
=$ac_top_build_prefix
1518 .
) # We are building in place.
1520 ac_top_srcdir
=$ac_top_builddir_sub
1521 ac_abs_top_srcdir
=$ac_pwd ;;
1522 [\\/]* | ?
:[\\/]* ) # Absolute name.
1523 ac_srcdir
=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir
=$srcdir
1525 ac_abs_top_srcdir
=$srcdir ;;
1527 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1552 generated by GNU Autoconf
2.64
1554 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1555 This configure
script is free software
; the Free Software Foundation
1556 gives unlimited permission to copy
, distribute and modify it.
1561 ## ------------------------ ##
1562 ## Autoconf initialization. ##
1563 ## ------------------------ ##
1565 # ac_fn_c_try_compile LINENO
1566 # --------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_compile
()
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 rm -f conftest.
$ac_objext
1572 if { { ac_try
="$ac_compile"
1574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_c_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1601 } # ac_fn_c_try_compile
1603 # ac_fn_cxx_try_compile LINENO
1604 # ----------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_cxx_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1613 *) ac_try_echo
=$ac_try;;
1615 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err
; then
1620 grep -v '^ *+' conftest.err
>conftest.er1
1621 cat conftest.er1
>&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_cxx_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.
$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.
$ac_ext >&5
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1639 } # ac_fn_cxx_try_compile
1641 # ac_fn_c_try_cpp LINENO
1642 # ----------------------
1643 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1647 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } >/dev/null && {
1663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1678 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1679 # -------------------------------------------------------
1680 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1681 # the include files in INCLUDES and setting the cache variable VAR
1683 ac_fn_c_check_header_mongrel ()
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1690 $as_echo_n "(cached) " >&6
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 # Is the header compilable?
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1698 $as_echo_n "checking $2 usability... " >&6; }
1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1700 /* end confdefs.h. */
1704 if ac_fn_c_try_compile "$LINENO"; then :
1705 ac_header_compiler=yes
1707 ac_header_compiler=no
1709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1711 $as_echo "$ac_header_compiler" >&6; }
1713 # Is the header present?
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1715 $as_echo_n "checking $2 presence... " >&6; }
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1720 if ac_fn_c_try_cpp "$LINENO"; then :
1721 ac_header_preproc=yes
1723 ac_header_preproc=no
1725 rm -f conftest.err conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1727 $as_echo "$ac_header_preproc" >&6; }
1729 # So? What about this header?
1730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1733 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1739 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1741 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1743 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1745 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1753 $as_echo_n "(cached) " >&6
1755 eval "$3=\$ac_header_compiler"
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 } # ac_fn_c_check_header_mongrel
1765 # ac_fn_c_try_run LINENO
1766 # ----------------------
1767 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1768 # that executables *can* be run.
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if { { ac_try="$ac_link"
1774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1775 *) ac_try_echo
=$ac_try;;
1777 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_link") 2>&5
1781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1782 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1783 { { case "(($ac_try" in
1784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_try") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; }; }; then :
1795 $as_echo "$as_me: program exited with status $ac_status" >&5
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1799 ac_retval=$ac_status
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1824 if ac_fn_c_try_compile "$LINENO"; then :
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836 } # ac_fn_c_check_header_compile
1838 # ac_fn_c_try_link LINENO
1839 # -----------------------
1840 # Try to link conftest.$ac_ext, and return whether this succeeded.
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext conftest$ac_exeext
1845 if { { ac_try="$ac_link"
1847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1848 *) ac_try_echo
=$ac_try;;
1850 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_link") 2>conftest.err
1854 if test -s conftest.err
; then
1855 grep -v '^ *+' conftest.err
>conftest.er1
1856 cat conftest.er1
>&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest
$ac_exeext && {
1864 test "$cross_compiling" = yes ||
1865 $as_test_x conftest
$ac_exeext
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.
$ac_ext >&5
1874 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1875 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1876 # interfere with the next link command; also delete a directory that is
1877 # left behind by Apple's compiler. We do this before executing the actions.
1878 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1882 } # ac_fn_c_try_link
1884 # ac_fn_c_check_func LINENO FUNC VAR
1885 # ----------------------------------
1886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1887 ac_fn_c_check_func
()
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891 $as_echo_n "checking for $2... " >&6; }
1892 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1893 $as_echo_n "(cached) " >&6
1895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1897 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1899 #define $2 innocuous_$2
1901 /* System header to define __stub macros and hopefully few prototypes,
1902 which can conflict with char $2 (); below.
1903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1904 <limits.h> exists even on freestanding compilers. */
1907 # include <limits.h>
1909 # include <assert.h>
1914 /* Override any GCC internal prototype to avoid an error.
1915 Use char because int might match the return type of a GCC
1916 builtin and then its argument prototype would still apply. */
1921 /* The GNU C library defines this for functions which it implements
1922 to always fail with ENOSYS. Some functions are actually named
1923 something starting with __ and the normal name is an alias. */
1924 #if defined __stub_$2 || defined __stub___$2
1936 if ac_fn_c_try_link
"$LINENO"; then :
1941 rm -f core conftest.err conftest.
$ac_objext \
1942 conftest
$ac_exeext conftest.
$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1947 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1949 } # ac_fn_c_check_func
1951 # ac_fn_c_check_decl LINENO SYMBOL VAR
1952 # ------------------------------------
1953 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1954 ac_fn_c_check_decl
()
1956 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1957 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1958 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1960 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1961 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1962 $as_echo_n "(cached) " >&6
1964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1970 #ifndef $as_decl_name
1972 (void) $as_decl_use;
1974 (void) $as_decl_name;
1982 if ac_fn_c_try_compile
"$LINENO"; then :
1987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1994 } # ac_fn_c_check_decl
1996 # ac_fn_cxx_try_cpp LINENO
1997 # ------------------------
1998 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1999 ac_fn_cxx_try_cpp
()
2001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2002 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2011 if test -s conftest.err; then
2012 grep -v '^ *+' conftest.err >conftest.er1
2013 cat conftest.er1 >&5
2014 mv -f conftest.er1 conftest.err
2016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2017 test $ac_status = 0; } >/dev/null && {
2018 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2019 test ! -s conftest.err
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2031 } # ac_fn_cxx_try_cpp
2033 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2034 # ---------------------------------------------------------
2035 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2036 # the include files in INCLUDES and setting the cache variable VAR
2038 ac_fn_cxx_check_header_mongrel ()
2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2045 $as_echo_n "(cached) " >&6
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2051 # Is the header compilable?
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2053 $as_echo_n "checking $2 usability... " >&6; }
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2059 if ac_fn_cxx_try_compile "$LINENO"; then :
2060 ac_header_compiler=yes
2062 ac_header_compiler=no
2064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2066 $as_echo "$ac_header_compiler" >&6; }
2068 # Is the header present?
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2070 $as_echo_n "checking $2 presence... " >&6; }
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2075 if ac_fn_cxx_try_cpp "$LINENO"; then :
2076 ac_header_preproc=yes
2078 ac_header_preproc=no
2080 rm -f conftest.err conftest.$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2082 $as_echo "$ac_header_preproc" >&6; }
2084 # So? What about this header?
2085 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2088 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2090 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2094 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2096 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2098 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2100 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 $as_echo_n "(cached) " >&6
2110 eval "$3=\$ac_header_compiler"
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2114 $as_echo "$ac_res" >&6; }
2116 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2118 } # ac_fn_cxx_check_header_mongrel
2120 # ac_fn_cxx_try_link LINENO
2121 # -------------------------
2122 # Try to link conftest.$ac_ext, and return whether this succeeded.
2123 ac_fn_cxx_try_link ()
2125 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2126 rm -f conftest.$ac_objext conftest$ac_exeext
2127 if { { ac_try="$ac_link"
2129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2130 *) ac_try_echo
=$ac_try;;
2132 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2133 $as_echo "$ac_try_echo"; } >&5
2134 (eval "$ac_link") 2>conftest.err
2136 if test -s conftest.err
; then
2137 grep -v '^ *+' conftest.err
>conftest.er1
2138 cat conftest.er1
>&5
2139 mv -f conftest.er1 conftest.err
2141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2142 test $ac_status = 0; } && {
2143 test -z "$ac_cxx_werror_flag" ||
2144 test ! -s conftest.err
2145 } && test -s conftest
$ac_exeext && {
2146 test "$cross_compiling" = yes ||
2147 $as_test_x conftest
$ac_exeext
2151 $as_echo "$as_me: failed program was:" >&5
2152 sed 's/^/| /' conftest.
$ac_ext >&5
2156 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2157 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2158 # interfere with the next link command; also delete a directory that is
2159 # left behind by Apple's compiler. We do this before executing the actions.
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2161 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2164 } # ac_fn_cxx_try_link
2166 # ac_fn_cxx_check_func LINENO FUNC VAR
2167 # ------------------------------------
2168 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2169 ac_fn_cxx_check_func
()
2171 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2181 #define $2 innocuous_$2
2183 /* System header to define __stub macros and hopefully few prototypes,
2184 which can conflict with char $2 (); below.
2185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2186 <limits.h> exists even on freestanding compilers. */
2189 # include <limits.h>
2191 # include <assert.h>
2196 /* Override any GCC internal prototype to avoid an error.
2197 Use char because int might match the return type of a GCC
2198 builtin and then its argument prototype would still apply. */
2203 /* The GNU C library defines this for functions which it implements
2204 to always fail with ENOSYS. Some functions are actually named
2205 something starting with __ and the normal name is an alias. */
2206 #if defined __stub_$2 || defined __stub___$2
2218 if ac_fn_cxx_try_link
"$LINENO"; then :
2223 rm -f core conftest.err conftest.
$ac_objext \
2224 conftest
$ac_exeext conftest.
$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2231 } # ac_fn_cxx_check_func
2233 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2234 # --------------------------------------
2235 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2236 ac_fn_cxx_check_decl
()
2238 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2239 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2240 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2242 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2243 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2244 $as_echo_n "(cached) " >&6
2246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2247 /* end confdefs.h. */
2252 #ifndef $as_decl_name
2254 (void) $as_decl_use;
2256 (void) $as_decl_name;
2264 if ac_fn_cxx_try_compile
"$LINENO"; then :
2269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2276 } # ac_fn_cxx_check_decl
2277 cat >config.log
<<_ACEOF
2278 This file contains any messages produced by compilers while
2279 running configure, to aid debugging if configure makes a mistake.
2281 It was created by gold $as_me 0.1, which was
2282 generated by GNU Autoconf 2.64. Invocation command line was
2294 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2295 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2296 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2297 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2298 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2300 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2301 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2303 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2304 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2305 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2306 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2307 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2308 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2309 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2317 test -z "$as_dir" && as_dir
=.
2318 $as_echo "PATH: $as_dir"
2334 # Keep a trace of the command line.
2335 # Strip out --no-create and --no-recursion so they do not pile up.
2336 # Strip out --silent because we don't want to record it for future runs.
2337 # Also quote any args containing shell meta-characters.
2338 # Make two passes to allow for proper duplicate-argument suppression.
2342 ac_must_keep_next
=false
2348 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2349 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2350 |
-silent |
--silent |
--silen |
--sile |
--sil)
2353 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2356 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2358 as_fn_append ac_configure_args1
" '$ac_arg'"
2359 if test $ac_must_keep_next = true
; then
2360 ac_must_keep_next
=false
# Got value, back to normal.
2363 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2364 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2365 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2366 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2367 case "$ac_configure_args0 " in
2368 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2371 -* ) ac_must_keep_next
=true
;;
2374 as_fn_append ac_configure_args
" '$ac_arg'"
2379 { ac_configure_args0
=; unset ac_configure_args0
;}
2380 { ac_configure_args1
=; unset ac_configure_args1
;}
2382 # When interrupted or exit'd, cleanup temporary files, and complete
2383 # config.log. We remove comments because anyway the quotes in there
2384 # would cause problems or look ugly.
2385 # WARNING: Use '\'' to represent an apostrophe within the trap.
2386 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2387 trap 'exit_status=$?
2388 # Save into config.log some information that might help in debugging.
2393 ## ---------------- ##
2394 ## Cache variables. ##
2395 ## ---------------- ##
2398 # The following way of writing the cache mishandles newlines in values,
2400 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2401 eval ac_val=\$$ac_var
2405 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2406 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2409 _ | IFS | as_nl) ;; #(
2410 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2411 *) { eval $ac_var=; unset $ac_var;} ;;
2416 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2417 *${as_nl}ac_space=\ *)
2419 "s/'\''/'\''\\\\'\'''\''/g;
2420 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2431 ## ----------------- ##
2432 ## Output variables. ##
2433 ## ----------------- ##
2436 for ac_var in $ac_subst_vars
2438 eval ac_val=\$$ac_var
2440 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2442 $as_echo "$ac_var='\''$ac_val'\''"
2446 if test -n "$ac_subst_files"; then
2448 ## ------------------- ##
2449 ## File substitutions. ##
2450 ## ------------------- ##
2453 for ac_var
in $ac_subst_files
2455 eval ac_val
=\$
$ac_var
2457 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2459 $as_echo "$ac_var='\''$ac_val'\''"
2464 if test -s confdefs.h; then
2474 test "$ac_signal" != 0 &&
2475 $as_echo "$as_me: caught signal $ac_signal"
2476 $as_echo "$as_me: exit $exit_status"
2478 rm -f core *.core core.conftest.* &&
2479 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2482 for ac_signal
in 1 2 13 15; do
2483 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2487 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2488 rm -f -r conftest
* confdefs.h
2490 $as_echo "/* confdefs.h */" > confdefs.h
2492 # Predefined preprocessor variables.
2494 cat >>confdefs.h
<<_ACEOF
2495 #define PACKAGE_NAME "$PACKAGE_NAME"
2498 cat >>confdefs.h
<<_ACEOF
2499 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2502 cat >>confdefs.h
<<_ACEOF
2503 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2506 cat >>confdefs.h
<<_ACEOF
2507 #define PACKAGE_STRING "$PACKAGE_STRING"
2510 cat >>confdefs.h
<<_ACEOF
2511 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2514 cat >>confdefs.h
<<_ACEOF
2515 #define PACKAGE_URL "$PACKAGE_URL"
2519 # Let the site file select an alternate cache file if it wants to.
2520 # Prefer an explicitly selected file to automatically selected ones.
2523 if test -n "$CONFIG_SITE"; then
2524 ac_site_file1
=$CONFIG_SITE
2525 elif test "x$prefix" != xNONE
; then
2526 ac_site_file1
=$prefix/share
/config.site
2527 ac_site_file2
=$prefix/etc
/config.site
2529 ac_site_file1
=$ac_default_prefix/share
/config.site
2530 ac_site_file2
=$ac_default_prefix/etc
/config.site
2532 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2534 test "x$ac_site_file" = xNONE
&& continue
2535 if test -r "$ac_site_file"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2537 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2538 sed 's/^/| /' "$ac_site_file" >&5
2543 if test -r "$cache_file"; then
2544 # Some versions of bash will fail to source /dev/null (special
2545 # files actually), so we avoid doing that.
2546 if test -f "$cache_file"; then
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2548 $as_echo "$as_me: loading cache $cache_file" >&6;}
2550 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2551 *) .
"./$cache_file";;
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2556 $as_echo "$as_me: creating cache $cache_file" >&6;}
2560 # Check that the precious variables saved in the cache have kept the same
2562 ac_cache_corrupted
=false
2563 for ac_var
in $ac_precious_vars; do
2564 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2565 eval ac_new_set
=\
$ac_env_${ac_var}_set
2566 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2567 eval ac_new_val
=\
$ac_env_${ac_var}_value
2568 case $ac_old_set,$ac_new_set in
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2571 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2572 ac_cache_corrupted
=: ;;
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2575 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2576 ac_cache_corrupted
=: ;;
2579 if test "x$ac_old_val" != "x$ac_new_val"; then
2580 # differences in whitespace do not lead to failure.
2581 ac_old_val_w
=`echo x $ac_old_val`
2582 ac_new_val_w
=`echo x $ac_new_val`
2583 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2585 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2586 ac_cache_corrupted
=:
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2589 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2590 eval $ac_var=\
$ac_old_val
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2593 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2595 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2598 # Pass precious variables to config.status.
2599 if test "$ac_new_set" = set; then
2601 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2602 *) ac_arg
=$ac_var=$ac_new_val ;;
2604 case " $ac_configure_args " in
2605 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2606 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2610 if $ac_cache_corrupted; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2612 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2614 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2615 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2617 ## -------------------- ##
2618 ## Main body of script. ##
2619 ## -------------------- ##
2622 ac_cpp
='$CPP $CPPFLAGS'
2623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2634 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2635 for ac_t
in install-sh
install.sh shtool
; do
2636 if test -f "$ac_dir/$ac_t"; then
2638 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2643 if test -z "$ac_aux_dir"; then
2644 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2647 # These three variables are undocumented and unsupported,
2648 # and are intended to be withdrawn in a future Autoconf release.
2649 # They can cause serious problems if a builder's source tree is in a directory
2650 # whose full name contains unusual characters.
2651 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2652 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2653 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2656 # Make sure we can run config.sub.
2657 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2658 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2661 $as_echo_n "checking build system type... " >&6; }
2662 if test "${ac_cv_build+set}" = set; then :
2663 $as_echo_n "(cached) " >&6
2665 ac_build_alias
=$build_alias
2666 test "x$ac_build_alias" = x
&&
2667 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2668 test "x$ac_build_alias" = x
&&
2669 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2670 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2671 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2675 $as_echo "$ac_cv_build" >&6; }
2676 case $ac_cv_build in
2678 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2681 ac_save_IFS
=$IFS; IFS
='-'
2687 # Remember, the first character of IFS is used to create $*,
2688 # except with old shells:
2691 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2695 $as_echo_n "checking host system type... " >&6; }
2696 if test "${ac_cv_host+set}" = set; then :
2697 $as_echo_n "(cached) " >&6
2699 if test "x$host_alias" = x
; then
2700 ac_cv_host
=$ac_cv_build
2702 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2703 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2708 $as_echo "$ac_cv_host" >&6; }
2711 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2714 ac_save_IFS
=$IFS; IFS
='-'
2720 # Remember, the first character of IFS is used to create $*,
2721 # except with old shells:
2724 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2728 $as_echo_n "checking target system type... " >&6; }
2729 if test "${ac_cv_target+set}" = set; then :
2730 $as_echo_n "(cached) " >&6
2732 if test "x$target_alias" = x
; then
2733 ac_cv_target
=$ac_cv_host
2735 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2736 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2741 $as_echo "$ac_cv_target" >&6; }
2742 case $ac_cv_target in
2744 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2746 target
=$ac_cv_target
2747 ac_save_IFS
=$IFS; IFS
='-'
2753 # Remember, the first character of IFS is used to create $*,
2754 # except with old shells:
2757 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2760 # The aliases save the names the user supplied, while $host etc.
2761 # will get canonicalized.
2762 test -n "$target_alias" &&
2763 test "$program_prefix$program_suffix$program_transform_name" = \
2765 program_prefix
=${target_alias}-
2767 am__api_version
='1.11'
2769 # Find a good install program. We prefer a C program (faster),
2770 # so one script is as good as another. But avoid the broken or
2771 # incompatible versions:
2772 # SysV /etc/install, /usr/sbin/install
2773 # SunOS /usr/etc/install
2774 # IRIX /sbin/install
2776 # AmigaOS /C/install, which installs bootblocks on floppy discs
2777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2780 # OS/2's system install, which has a completely different semantic
2781 # ./install, which can be erroneously created by make from ./install.sh.
2782 # Reject install programs that cannot install multiple files.
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2785 if test -z "$INSTALL"; then
2786 if test "${ac_cv_path_install+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 # Account for people who put trailing slashes in PATH elements.
2795 case $as_dir/ in #((
2796 .
/ | .
// |
/[cC
]/* | \
2797 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2798 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2801 # OSF1 and SCO ODT 3.0 have their own names for install.
2802 # Don't use installbsd from OSF since it installs stuff as root
2804 for ac_prog
in ginstall scoinst
install; do
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2807 if test $ac_prog = install &&
2808 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2809 # AIX install. It has an incompatible calling convention.
2811 elif test $ac_prog = install &&
2812 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2813 # program-specific install script used by HP pwplus--don't use.
2816 rm -rf conftest.one conftest.two conftest.dir
2817 echo one
> conftest.one
2818 echo two
> conftest.two
2820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2821 test -s conftest.one
&& test -s conftest.two
&&
2822 test -s conftest.dir
/conftest.one
&&
2823 test -s conftest.dir
/conftest.two
2825 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2838 rm -rf conftest.one conftest.two conftest.dir
2841 if test "${ac_cv_path_install+set}" = set; then
2842 INSTALL
=$ac_cv_path_install
2844 # As a last resort, use the slow shell script. Don't cache a
2845 # value for INSTALL within a source directory, because that will
2846 # break other packages using the cache if that directory is
2847 # removed, or if the value is a relative name.
2848 INSTALL
=$ac_install_sh
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2852 $as_echo "$INSTALL" >&6; }
2854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855 # It thinks the first close brace ends the variable substitution.
2856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2860 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2863 $as_echo_n "checking whether build environment is sane... " >&6; }
2866 echo timestamp
> conftest.
file
2867 # Reject unsafe characters in $srcdir or the absolute working directory
2868 # name. Accept space and tab only in the latter.
2872 *[\\\"\
#\$\&\'\`$am_lf]*)
2873 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2876 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2877 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2880 # Do `set' in a subshell so we don't clobber the current shell's
2881 # arguments. Must try -L first in case configure is actually a
2882 # symlink; some systems play weird games with the mod time of symlinks
2883 # (eg FreeBSD returns the mod time of the symlink's containing
2886 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2887 if test "$*" = "X"; then
2889 set X
`ls -t "$srcdir/configure" conftest.file`
2892 if test "$*" != "X $srcdir/configure conftest.file" \
2893 && test "$*" != "X conftest.file $srcdir/configure"; then
2895 # If neither matched, then we have a broken ls. This can happen
2896 # if, for instance, CONFIG_SHELL is bash and it inherits a
2897 # broken ls alias from the environment. This has actually
2898 # happened. Such a system could not be considered "sane".
2899 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2900 alias in your environment" "$LINENO" 5
2903 test "$2" = conftest.
file
2909 as_fn_error
"newly created file is older than distributed files!
2910 Check your system clock" "$LINENO" 5
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913 $as_echo "yes" >&6; }
2914 test "$program_prefix" != NONE
&&
2915 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2916 # Use a double $ so make ignores it.
2917 test "$program_suffix" != NONE
&&
2918 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2919 # Double any \ or $.
2920 # By default was `s,x,x', remove it if useless.
2921 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2922 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2924 # expand $ac_aux_dir to an absolute path
2925 am_aux_dir
=`cd $ac_aux_dir && pwd`
2927 if test x
"${MISSING+set}" != xset
; then
2930 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2932 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2935 # Use eval to expand $SHELL
2936 if eval "$MISSING --run true"; then
2937 am_missing_run
="$MISSING --run "
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2941 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2944 if test x
"${install_sh}" != xset
; then
2947 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2949 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2953 # Installed binaries are usually stripped using `strip' when the user
2954 # run `make install-strip'. However `strip' might not be the right
2955 # tool to use in cross-compilation environments, therefore Automake
2956 # will honor the `STRIP' environment variable to overrule this program.
2957 if test "$cross_compiling" != no
; then
2958 if test -n "$ac_tool_prefix"; then
2959 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2960 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2962 $as_echo_n "checking for $ac_word... " >&6; }
2963 if test "${ac_cv_prog_STRIP+set}" = set; then :
2964 $as_echo_n "(cached) " >&6
2966 if test -n "$STRIP"; then
2967 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2973 test -z "$as_dir" && as_dir
=.
2974 for ac_exec_ext
in '' $ac_executable_extensions; do
2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2976 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 STRIP
=$ac_cv_prog_STRIP
2987 if test -n "$STRIP"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2989 $as_echo "$STRIP" >&6; }
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 $as_echo "no" >&6; }
2997 if test -z "$ac_cv_prog_STRIP"; then
2999 # Extract the first word of "strip", so it can be a program name with args.
3000 set dummy strip
; ac_word
=$2
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 $as_echo_n "checking for $ac_word... " >&6; }
3003 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3004 $as_echo_n "(cached) " >&6
3006 if test -n "$ac_ct_STRIP"; then
3007 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir
=.
3014 for ac_exec_ext
in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_ac_ct_STRIP
="strip"
3017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3027 if test -n "$ac_ct_STRIP"; then
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3029 $as_echo "$ac_ct_STRIP" >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3032 $as_echo "no" >&6; }
3035 if test "x$ac_ct_STRIP" = x
; then
3038 case $cross_compiling:$ac_tool_warned in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3042 ac_tool_warned
=yes ;;
3047 STRIP
="$ac_cv_prog_STRIP"
3051 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3054 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3055 if test -z "$MKDIR_P"; then
3056 if test "${ac_cv_path_mkdir+set}" = set; then :
3057 $as_echo_n "(cached) " >&6
3059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3063 test -z "$as_dir" && as_dir
=.
3064 for ac_prog
in mkdir gmkdir
; do
3065 for ac_exec_ext
in '' $ac_executable_extensions; do
3066 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3067 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3068 'mkdir (GNU coreutils) '* | \
3069 'mkdir (coreutils) '* | \
3070 'mkdir (fileutils) '4.1*)
3071 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3081 if test "${ac_cv_path_mkdir+set}" = set; then
3082 MKDIR_P
="$ac_cv_path_mkdir -p"
3084 # As a last resort, use the slow shell script. Don't cache a
3085 # value for MKDIR_P within a source directory, because that will
3086 # break other packages using the cache if that directory is
3087 # removed, or if the value is a relative name.
3088 test -d .
/--version && rmdir .
/--version
3089 MKDIR_P
="$ac_install_sh -d"
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3093 $as_echo "$MKDIR_P" >&6; }
3097 [\\/$
]* | ?
:[\\/]*) ;;
3098 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3101 for ac_prog
in gawk mawk nawk
awk
3103 # Extract the first word of "$ac_prog", so it can be a program name with args.
3104 set dummy
$ac_prog; ac_word
=$2
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106 $as_echo_n "checking for $ac_word... " >&6; }
3107 if test "${ac_cv_prog_AWK+set}" = set; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -n "$AWK"; then
3111 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3120 ac_cv_prog_AWK
="$ac_prog"
3121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3131 if test -n "$AWK"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3133 $as_echo "$AWK" >&6; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3136 $as_echo "no" >&6; }
3140 test -n "$AWK" && break
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3144 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3146 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3147 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3148 $as_echo_n "(cached) " >&6
3150 cat >conftest.
make <<\_ACEOF
3153 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3155 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3156 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3158 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3160 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3164 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3166 $as_echo "yes" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3171 SET_MAKE
="MAKE=${MAKE-make}"
3174 rm -rf .tst
2>/dev
/null
3175 mkdir .tst
2>/dev
/null
3176 if test -d .tst
; then
3181 rmdir .tst
2>/dev
/null
3183 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3184 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3185 # is not polluted with repeated "-I."
3186 am__isrc
=' -I$(srcdir)'
3187 # test to see if srcdir already configured
3188 if test -f $srcdir/config.status
; then
3189 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3193 # test whether we have cygpath
3194 if test -z "$CYGPATH_W"; then
3195 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3196 CYGPATH_W
='cygpath -w'
3203 # Define the identity of the package.
3208 cat >>confdefs.h
<<_ACEOF
3209 #define PACKAGE "$PACKAGE"
3213 cat >>confdefs.h
<<_ACEOF
3214 #define VERSION "$VERSION"
3217 # Some tools Automake needs.
3219 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3222 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3225 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3228 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3231 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3233 # We need awk for the "check" target. The system "awk" is bad on
3235 # Always define AMTAR for backward compatibility. Yes, it's still used
3236 # in the wild :-( We should find a proper way to deprecate it ...
3239 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3246 ac_config_headers
="$ac_config_headers config.h:config.in"
3253 # Check whether --with-sysroot was given.
3254 if test "${with_sysroot+set}" = set; then :
3255 withval
=$with_sysroot; sysroot
=$withval
3261 if test "$sysroot" = "yes"; then
3262 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3263 elif test "$sysroot" = "no"; then
3267 sysroot_relocatable
=0
3268 if test -n "$sysroot"; then
3270 "${prefix}" |
"${prefix}/"* | \
3271 "${exec_prefix}" |
"${exec_prefix}/"* | \
3272 '${prefix}' |
'${prefix}/'*| \
3273 '${exec_prefix}' |
'${exec_prefix}/'*)
3274 sysroot_relocatable
=1
3280 cat >>confdefs.h
<<_ACEOF
3281 #define TARGET_SYSTEM_ROOT "$sysroot"
3285 cat >>confdefs.h
<<_ACEOF
3286 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3291 installed_linker
=ld.gold
3292 # Check whether --enable-gold was given.
3293 if test "${enable_gold+set}" = set; then :
3294 enableval
=$enable_gold; case "${enableval}" in
3296 install_as_default
=yes
3299 if test x
${enable_ld} = xno
; then
3300 install_as_default
=yes
3305 install_as_default
=no
3311 # Check whether --enable-threads was given.
3312 if test "${enable_threads+set}" = set; then :
3313 enableval
=$enable_threads; case "${enableval}" in
3314 yes |
"") threads
=yes ;;
3322 if test "$threads" = "yes"; then
3324 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3327 if test "$threads" = "yes"; then
3336 # Check whether --enable-plugins was given.
3337 if test "${enable_plugins+set}" = set; then :
3338 enableval
=$enable_plugins; case "${enableval}" in
3339 yes |
"") plugins
=yes ;;
3347 if test "$plugins" = "yes"; then
3349 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3352 if test "$plugins" = "yes"; then
3361 # Decide if -z relro should be enabled in ELF linker by default.
3362 ac_default_ld_z_relro
=unset
3363 # Provide a configure time option to override our default.
3364 # Check whether --enable-relro was given.
3365 if test "${enable_relro+set}" = set; then :
3366 enableval
=$enable_relro; case "${enableval}" in
3367 yes) ac_default_ld_z_relro
=1 ;;
3368 no
) ac_default_ld_z_relro
=0 ;;
3371 if test "${ac_default_ld_z_relro}" = unset; then
3372 ac_default_ld_z_relro
=1
3375 cat >>confdefs.h
<<_ACEOF
3376 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
3380 # Check whether --enable-targets was given.
3381 if test "${enable_targets+set}" = set; then :
3382 enableval
=$enable_targets; case "${enableval}" in
3384 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3390 enable_targets
=$enableval
3394 # For now, enable all targets by default
3400 # Canonicalize the enabled targets.
3401 if test -n "$enable_targets"; then
3402 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3403 result
=`$ac_config_sub $targ 2>/dev/null`
3404 if test -n "$result"; then
3405 canon_targets
="$canon_targets $result"
3407 # Permit unrecognized target names, like "all".
3408 canon_targets
="$canon_targets $targ"
3413 # See which specific instantiations we need.
3419 default_osabi
=ELFOSABI_NONE
3424 for targ
in $target $canon_targets; do
3425 if test "$targ" = "all"; then
3432 .
${srcdir}/configure.tgt
3434 if test "$targ_obj" = "UNKNOWN"; then
3435 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3437 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3438 if test "$targ_extra_obj" != ""; then
3439 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3441 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3442 if test "$targ_big_endian" = "true" \
3443 -o "$targ_extra_big_endian" = "true"; then
3446 if test "$targ_big_endian" = "false" \
3447 -o "$targ_extra_big_endian" = "false"; then
3451 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3452 if test "$targ_big_endian" = "true" \
3453 -o "$targ_extra_big_endian" = "true"; then
3456 if test "$targ_big_endian" = "false" \
3457 -o "$targ_extra_big_endian" = "false"; then
3462 if test "$target" = "$targ"; then
3463 default_machine
=$targ_machine
3464 default_size
=$targ_size
3465 default_big_endian
=$targ_big_endian
3466 default_osabi
=$targ_osabi
3468 if test "$targ_obj" = "aarch64"; then
3469 DEFAULT_TARGET_AARCH64_TRUE
=
3470 DEFAULT_TARGET_AARCH64_FALSE
='#'
3472 DEFAULT_TARGET_AARCH64_TRUE
='#'
3473 DEFAULT_TARGET_AARCH64_FALSE
=
3476 if test "$targ_obj" = "arm"; then
3477 DEFAULT_TARGET_ARM_TRUE
=
3478 DEFAULT_TARGET_ARM_FALSE
='#'
3480 DEFAULT_TARGET_ARM_TRUE
='#'
3481 DEFAULT_TARGET_ARM_FALSE
=
3484 if test "$targ_obj" = "i386"; then
3485 DEFAULT_TARGET_I386_TRUE
=
3486 DEFAULT_TARGET_I386_FALSE
='#'
3488 DEFAULT_TARGET_I386_TRUE
='#'
3489 DEFAULT_TARGET_I386_FALSE
=
3492 if test "$targ_obj" = "powerpc"; then
3493 DEFAULT_TARGET_POWERPC_TRUE
=
3494 DEFAULT_TARGET_POWERPC_FALSE
='#'
3496 DEFAULT_TARGET_POWERPC_TRUE
='#'
3497 DEFAULT_TARGET_POWERPC_FALSE
=
3500 if test "$targ_obj" = "sparc"; then
3501 DEFAULT_TARGET_SPARC_TRUE
=
3502 DEFAULT_TARGET_SPARC_FALSE
='#'
3504 DEFAULT_TARGET_SPARC_TRUE
='#'
3505 DEFAULT_TARGET_SPARC_FALSE
=
3508 if test "$targ_obj" = "s390"; then
3509 DEFAULT_TARGET_S390_TRUE
=
3510 DEFAULT_TARGET_S390_FALSE
='#'
3512 DEFAULT_TARGET_S390_TRUE
='#'
3513 DEFAULT_TARGET_S390_FALSE
=
3518 if test "$targ_obj" = "x86_64"; then
3520 x86_64
*-linux-gnux32)
3529 if test "$target_x86_64" = "yes"; then
3530 DEFAULT_TARGET_X86_64_TRUE
=
3531 DEFAULT_TARGET_X86_64_FALSE
='#'
3533 DEFAULT_TARGET_X86_64_TRUE
='#'
3534 DEFAULT_TARGET_X86_64_FALSE
=
3537 if test "$target_x32" = "yes"; then
3538 DEFAULT_TARGET_X32_TRUE
=
3539 DEFAULT_TARGET_X32_FALSE
='#'
3541 DEFAULT_TARGET_X32_TRUE
='#'
3542 DEFAULT_TARGET_X32_FALSE
=
3545 if test "$target_x86_64" = "yes" -o "$target_x32" = "yes"; then
3546 DEFAULT_TARGET_X86_64_OR_X32_TRUE
=
3547 DEFAULT_TARGET_X86_64_OR_X32_FALSE
='#'
3549 DEFAULT_TARGET_X86_64_OR_X32_TRUE
='#'
3550 DEFAULT_TARGET_X86_64_OR_X32_FALSE
=
3553 if test "$targ_obj" = "tilegx"; then
3554 DEFAULT_TARGET_TILEGX_TRUE
=
3555 DEFAULT_TARGET_TILEGX_FALSE
='#'
3557 DEFAULT_TARGET_TILEGX_TRUE
='#'
3558 DEFAULT_TARGET_TILEGX_FALSE
=
3561 if test "$targ_obj" = "mips"; then
3562 DEFAULT_TARGET_MIPS_TRUE
=
3563 DEFAULT_TARGET_MIPS_FALSE
='#'
3565 DEFAULT_TARGET_MIPS_TRUE
='#'
3566 DEFAULT_TARGET_MIPS_FALSE
=
3569 DEFAULT_TARGET
=${targ_obj}
3576 # Remove any duplicates.
3578 for t
in $targetobjs; do
3586 if test -n "$targ_32_little"; then
3588 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3591 if test -n "$targ_32_big"; then
3593 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3596 if test -n "$targ_64_little"; then
3598 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3601 if test -n "$targ_64_big"; then
3603 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3607 if test -n "$all_targets"; then
3608 TARGETOBJS
='$(ALL_TARGETOBJS)'
3610 TARGETOBJS
="$targetobjs"
3615 cat >>confdefs.h
<<_ACEOF
3616 #define GOLD_DEFAULT_MACHINE $default_machine
3620 cat >>confdefs.h
<<_ACEOF
3621 #define GOLD_DEFAULT_SIZE $default_size
3625 cat >>confdefs.h
<<_ACEOF
3626 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3630 cat >>confdefs.h
<<_ACEOF
3631 #define GOLD_DEFAULT_OSABI $default_osabi
3636 # Check whether --with-lib-path was given.
3637 if test "${with_lib_path+set}" = set; then :
3638 withval
=$with_lib_path; case "$withval" in
3639 yes) LIB_PATH
='"/lib:/usr/lib"' ;;
3640 no
) LIB_PATH
='""' ;;
3641 *) LIB_PATH
='"'"$withval"'"' ;;
3644 LIB_PATH
='"::DEFAULT::"'
3648 cat >>confdefs.h
<<_ACEOF
3649 #define LIB_PATH $LIB_PATH
3652 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3654 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3658 if test -n "$ac_tool_prefix"; then
3659 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3660 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if test "${ac_cv_prog_NM+set}" = set; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$NM"; then
3667 ac_cv_prog_NM
="$NM" # Let the user override the test.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 if test -n "$NM"; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3689 $as_echo "$NM" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3697 if test -z "$ac_cv_prog_NM"; then
3699 # Extract the first word of "nm", so it can be a program name with args.
3700 set dummy nm
; ac_word
=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$ac_ct_NM"; then
3707 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir
=.
3714 for ac_exec_ext
in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_ac_ct_NM
="nm"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3727 if test -n "$ac_ct_NM"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3729 $as_echo "$ac_ct_NM" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3735 if test "x$ac_ct_NM" = x
; then
3738 case $cross_compiling:$ac_tool_warned in
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3742 ac_tool_warned
=yes ;;
3752 ac_cpp
='$CPP $CPPFLAGS'
3753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3758 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760 $as_echo_n "checking for $ac_word... " >&6; }
3761 if test "${ac_cv_prog_CC+set}" = set; then :
3762 $as_echo_n "(cached) " >&6
3764 if test -n "$CC"; then
3765 ac_cv_prog_CC
="$CC" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 if test -n "$CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 $as_echo "$CC" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3795 if test -z "$ac_cv_prog_CC"; then
3797 # Extract the first word of "gcc", so it can be a program name with args.
3798 set dummy gcc
; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814 ac_cv_prog_ac_ct_CC
="gcc"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3833 if test "x$ac_ct_CC" = x
; then
3836 case $cross_compiling:$ac_tool_warned in
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned
=yes ;;
3848 if test -z "$CC"; then
3849 if test -n "$ac_tool_prefix"; then
3850 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3851 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if test "${ac_cv_prog_CC+set}" = set; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$CC"; then
3858 ac_cv_prog_CC
="$CC" # Let the user override the test.
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3867 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878 if test -n "$CC"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3880 $as_echo "$CC" >&6; }
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3889 if test -z "$CC"; then
3890 # Extract the first word of "cc", so it can be a program name with args.
3891 set dummy cc
; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if test "${ac_cv_prog_CC+set}" = set; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC
="$CC" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3909 ac_prog_rejected
=yes
3913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 if test $ac_prog_rejected = yes; then
3921 # We found a bogon in the path, so make sure we never use it.
3922 set dummy
$ac_cv_prog_CC
3924 if test $# != 0; then
3925 # We chose a different compiler from the bogus one.
3926 # However, it has the same basename, so the bogon will be chosen
3927 # first if we set CC to just the basename; use the full file name.
3929 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3945 if test -z "$CC"; then
3946 if test -n "$ac_tool_prefix"; then
3947 for ac_prog
in cl.exe
3949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3950 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952 $as_echo_n "checking for $ac_word... " >&6; }
3953 if test "${ac_cv_prog_CC+set}" = set; then :
3954 $as_echo_n "(cached) " >&6
3956 if test -n "$CC"; then
3957 ac_cv_prog_CC
="$CC" # Let the user override the test.
3959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir
=.
3964 for ac_exec_ext
in '' $ac_executable_extensions; do
3965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3966 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 if test -n "$CC"; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3979 $as_echo "$CC" >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3986 test -n "$CC" && break
3989 if test -z "$CC"; then
3991 for ac_prog
in cl.exe
3993 # Extract the first word of "$ac_prog", so it can be a program name with args.
3994 set dummy
$ac_prog; ac_word
=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 if test -n "$ac_ct_CC"; then
4001 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4007 test -z "$as_dir" && as_dir
=.
4008 for ac_exec_ext
in '' $ac_executable_extensions; do
4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4010 ac_cv_prog_ac_ct_CC
="$ac_prog"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4021 if test -n "$ac_ct_CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4023 $as_echo "$ac_ct_CC" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4030 test -n "$ac_ct_CC" && break
4033 if test "x$ac_ct_CC" = x
; then
4036 case $cross_compiling:$ac_tool_warned in
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4040 ac_tool_warned
=yes ;;
4049 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error
"no acceptable C compiler found in \$PATH
4052 See \`config.log' for more details." "$LINENO" 5; }
4054 # Provide some information about the compiler.
4055 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4058 for ac_option
in --version -v -V -qversion; do
4059 { { ac_try
="$ac_compiler $ac_option >&5"
4061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4068 if test -s conftest.err; then
4070 ... rest of stderr output deleted ...
4071 10q' conftest.err >conftest.er1
4072 cat conftest.er1 >&5
4073 rm -f conftest.er1 conftest.err
4075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4076 test $ac_status = 0; }
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 ac_clean_files_save=$ac_clean_files
4091 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4092 # Try to create an executable without -o first, disregard a.out.
4093 # It will help us diagnose broken compilers, and finding out an intuition
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4096 $as_echo_n "checking for C compiler default output file name... " >&6; }
4097 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4099 # The possible output files:
4100 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4103 for ac_file in $ac_files
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4107 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4112 if { { ac_try="$ac_link_default"
4114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4115 *) ac_try_echo
=$ac_try;;
4117 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_link_default") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; then :
4123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4126 # so that the user can short-circuit this test for compilers unknown to
4128 for ac_file
in $ac_files ''
4130 test -f "$ac_file" ||
continue
4132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4135 # We found the default executable, but exeext='' is most
4139 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4143 # We set ac_cv_exeext here because the later test for it is not
4144 # safe: cross compilers may not add the suffix if given an `-o'
4145 # argument, so we may need to know it at that point already.
4146 # Even if this section looks crufty: it has the advantage of
4153 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4159 $as_echo "$ac_file" >&6; }
4160 if test -z "$ac_file"; then :
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.
$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 { as_fn_set_status
77
4167 as_fn_error
"C compiler cannot create executables
4168 See \`config.log' for more details." "$LINENO" 5; }; }
4170 ac_exeext
=$ac_cv_exeext
4172 # Check that the compiler produces executables we can run. If not, either
4173 # the compiler is broken, or we cross compile.
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4175 $as_echo_n "checking whether the C compiler works... " >&6; }
4176 # If not cross compiling, check that we can run a simple program.
4177 if test "$cross_compiling" != yes; then
4178 if { ac_try
='./$ac_file'
4179 { { case "(($ac_try" in
4180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4181 *) ac_try_echo=$ac_try;;
4183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4184 $as_echo "$ac_try_echo"; } >&5
4185 (eval "$ac_try") 2>&5
4187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4188 test $ac_status = 0; }; }; then
4191 if test "$cross_compiling" = maybe; then
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error "cannot run C compiled programs.
4197 If you meant to cross compile
, use \
`--host'.
4198 See \`config.log
' for more details." "$LINENO" 5; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4203 $as_echo "yes" >&6; }
4205 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4206 ac_clean_files=$ac_clean_files_save
4207 # Check that the compiler produces executables we can run. If not, either
4208 # the compiler is broken, or we cross compile.
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4210 $as_echo_n "checking whether we are cross compiling... " >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4212 $as_echo "$cross_compiling" >&6; }
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4215 $as_echo_n "checking for suffix of executables... " >&6; }
4216 if { { ac_try="$ac_link"
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_link") 2>&5
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4228 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4229 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4231 for ac_file
in conftest.exe conftest conftest.
*; do
4232 test -f "$ac_file" ||
continue
4234 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4235 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4243 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4244 See \`config.log' for more details." "$LINENO" 5; }
4246 rm -f conftest
$ac_cv_exeext
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4248 $as_echo "$ac_cv_exeext" >&6; }
4250 rm -f conftest.
$ac_ext
4251 EXEEXT
=$ac_cv_exeext
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4254 $as_echo_n "checking for suffix of object files... " >&6; }
4255 if test "${ac_cv_objext+set}" = set; then :
4256 $as_echo_n "(cached) " >&6
4258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4269 rm -f conftest.o conftest.obj
4270 if { { ac_try
="$ac_compile"
4272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4273 *) ac_try_echo=$ac_try;;
4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277 (eval "$ac_compile") 2>&5
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }; then :
4281 for ac_file in conftest.o conftest.obj conftest.*; do
4282 test -f "$ac_file" || continue;
4284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4290 $as_echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4295 as_fn_error "cannot compute suffix of object files
: cannot compile
4296 See \
`config.log' for more details." "$LINENO" 5; }
4298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4301 $as_echo "$ac_cv_objext" >&6; }
4302 OBJEXT=$ac_cv_objext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4306 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4323 if ac_fn_c_try_compile "$LINENO"; then :
4328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4333 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4334 if test $ac_compiler_gnu = yes; then
4339 ac_test_CFLAGS=${CFLAGS+set}
4340 ac_save_CFLAGS=$CFLAGS
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4342 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4343 if test "${ac_cv_prog_cc_g+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 ac_save_c_werror_flag=$ac_c_werror_flag
4347 ac_c_werror_flag=yes
4350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4361 if ac_fn_c_try_compile "$LINENO"; then :
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4376 if ac_fn_c_try_compile "$LINENO"; then :
4379 ac_c_werror_flag=$ac_save_c_werror_flag
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4392 if ac_fn_c_try_compile "$LINENO"; then :
4395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4400 ac_c_werror_flag=$ac_save_c_werror_flag
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4403 $as_echo "$ac_cv_prog_cc_g" >&6; }
4404 if test "$ac_test_CFLAGS" = set; then
4405 CFLAGS=$ac_save_CFLAGS
4406 elif test $ac_cv_prog_cc_g = yes; then
4407 if test "$GCC" = yes; then
4413 if test "$GCC" = yes; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4421 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4422 $as_echo_n "(cached) " >&6
4424 ac_cv_prog_cc_c89=no
4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427 /* end confdefs.h. */
4430 #include <sys/types.h>
4431 #include <sys/stat.h>
4432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4433 struct buf { int x; };
4434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4435 static char *e (p, i)
4441 static char *f (char * (*g) (char **, int), char **p, ...)
4446 s = g (p, va_arg (v,int));
4451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4452 function prototypes and stuff, but not '\xHH' hex character constants.
4453 These don't provoke an error unfortunately, instead are silently treated
4454 as 'x'. The following induces an error, until -std is added to get
4455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4456 array size at least. It's necessary to write '\x00'==0 to get something
4457 that's true only with -std. */
4458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4461 inside strings and character constants. */
4463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4465 int test (int i, double x);
4466 struct s1 {int (*f) (int a);};
4467 struct s2 {int (*f) (double a);};
4468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4482 CC="$ac_save_CC $ac_arg"
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_c89=$ac_arg
4486 rm -f core conftest.err conftest.$ac_objext
4487 test "x$ac_cv_prog_cc_c89" != "xno" && break
4489 rm -f conftest.$ac_ext
4494 case "x$ac_cv_prog_cc_c89" in
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4497 $as_echo "none needed" >&6; } ;;
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4500 $as_echo "unsupported" >&6; } ;;
4502 CC="$CC $ac_cv_prog_cc_c89"
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4506 if test "x$ac_cv_prog_cc_c89" != xno; then :
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 DEPDIR="${am__leading_dot}deps"
4517 ac_config_commands="$ac_config_commands depfiles"
4520 am_make=${MAKE-make}
4521 cat > confinc << 'END'
4523 @echo this is the am__doit target
4526 # If we don't find an include directive, just comment out the code.
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4528 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4532 # First try GNU make style include.
4533 echo "include confinc" > confmf
4534 # Ignore all kinds of additional output from `make'.
4535 case `$am_make -s -f confmf 2> /dev/null` in #(
4536 *the\ am__doit\ target*)
4542 # Now try BSD make style include.
4543 if test "$am__include" = "#"; then
4544 echo '.include
"confinc"' > confmf
4545 case `$am_make -s -f confmf 2> /dev/null` in #(
4546 *the\ am__doit\ target*)
4547 am__include=.include
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4556 $as_echo "$_am_result" >&6; }
4557 rm -f confinc confmf
4559 # Check whether --enable-dependency-tracking was given.
4560 if test "${enable_dependency_tracking+set}" = set; then :
4561 enableval=$enable_dependency_tracking;
4564 if test "x$enable_dependency_tracking" != xno; then
4565 am_depcomp="$ac_aux_dir/depcomp"
4569 if test "x$enable_dependency_tracking" != xno
; then
4579 depcc
="$CC" am_compiler_list
=
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4582 $as_echo_n "checking dependency style of $depcc... " >&6; }
4583 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4587 # We make a subdir and do the tests there. Otherwise we can end up
4588 # making bogus files that we don't know about and never remove. For
4589 # instance it was reported that on HP-UX the gcc test will end up
4590 # making a dummy file named `D' -- because `-MD' means `put the output
4594 # Copy depcomp to subdir because otherwise we won't find it if we're
4595 # using a relative directory.
4596 cp "$am_depcomp" conftest.dir
4598 # We will build objects and dependencies in a subdirectory because
4599 # it helps to detect inapplicable dependency modes. For instance
4600 # both Tru64's cc and ICC support -MD to output dependencies as a
4601 # side effect of compilation, but ICC will put the dependencies in
4602 # the current directory while Tru64 will put them in the object
4606 am_cv_CC_dependencies_compiler_type
=none
4607 if test "$am_compiler_list" = ""; then
4608 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4611 case " $depcc " in #(
4612 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4615 for depmode
in $am_compiler_list; do
4616 # Setup a source with many dependencies, because some compilers
4617 # like to wrap large dependency lists on column 80 (with \), and
4618 # we should not choose a depcomp mode which is confused by this.
4620 # We need to recreate these files for each test, as the compiler may
4621 # overwrite some of them when testing with obscure command lines.
4622 # This happens at least with the AIX C compiler.
4624 for i
in 1 2 3 4 5 6; do
4625 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4626 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4627 # Solaris 8's {/usr,}/bin/sh.
4628 touch sub
/conftst
$i.h
4630 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4632 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4633 # mode. It turns out that the SunPro C++ compiler does not properly
4634 # handle `-M -o', and we need to detect this. Also, some Intel
4635 # versions had trouble with output in subdirs
4636 am__obj
=sub
/conftest.
${OBJEXT-o}
4637 am__minus_obj
="-o $am__obj"
4640 # This depmode causes a compiler race in universal mode.
4641 test "$am__universal" = false ||
continue
4644 # after this tag, mechanisms are not by side-effect, so they'll
4645 # only be used when explicitly requested
4646 if test "x$enable_dependency_tracking" = xyes
; then
4652 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4653 # This compiler won't grok `-c -o', but also, the minuso test has
4654 # not run yet. These depmodes are late enough in the game, and
4655 # so weak that their functioning should not be impacted.
4656 am__obj
=conftest.
${OBJEXT-o}
4661 if depmode
=$depmode \
4662 source=sub
/conftest.c object
=$am__obj \
4663 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4664 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4665 >/dev
/null
2>conftest.err
&&
4666 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4667 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4668 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4669 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4670 # icc doesn't choke on unknown options, it will just issue warnings
4671 # or remarks (even with -Werror). So we grep stderr for any message
4672 # that says an option was ignored or not supported.
4673 # When given -MP, icc 7.0 and 7.1 complain thusly:
4674 # icc: Command line warning: ignoring option '-M'; no argument required
4675 # The diagnosis changed in icc 8.0:
4676 # icc: Command line remark: option '-MP' not supported
4677 if (grep 'ignoring option' conftest.err ||
4678 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4679 am_cv_CC_dependencies_compiler_type
=$depmode
4688 am_cv_CC_dependencies_compiler_type
=none
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4693 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4694 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4697 test "x$enable_dependency_tracking" != xno \
4698 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4700 am__fastdepCC_FALSE
='#'
4702 am__fastdepCC_TRUE
='#'
4703 am__fastdepCC_FALSE
=
4708 ac_cpp
='$CXXCPP $CPPFLAGS'
4709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4712 if test -z "$CXX"; then
4713 if test -n "$CCC"; then
4716 if test -n "$ac_tool_prefix"; then
4717 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4720 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_CXX+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$CXX"; then
4727 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 if test -n "$CXX"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4749 $as_echo "$CXX" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4756 test -n "$CXX" && break
4759 if test -z "$CXX"; then
4761 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4763 # Extract the first word of "$ac_prog", so it can be a program name with args.
4764 set dummy
$ac_prog; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$ac_ct_CXX"; then
4771 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4791 if test -n "$ac_ct_CXX"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4793 $as_echo "$ac_ct_CXX" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4800 test -n "$ac_ct_CXX" && break
4803 if test "x$ac_ct_CXX" = x
; then
4806 case $cross_compiling:$ac_tool_warned in
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810 ac_tool_warned
=yes ;;
4818 # Provide some information about the compiler.
4819 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4822 for ac_option
in --version -v -V -qversion; do
4823 { { ac_try
="$ac_compiler $ac_option >&5"
4825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4829 $as_echo "$ac_try_echo"; } >&5
4830 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4832 if test -s conftest.err; then
4834 ... rest of stderr output deleted ...
4835 10q' conftest.err >conftest.er1
4836 cat conftest.er1 >&5
4837 rm -f conftest.er1 conftest.err
4839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4840 test $ac_status = 0; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4844 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4845 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4846 $as_echo_n "(cached) " >&6
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4862 if ac_fn_cxx_try_compile "$LINENO"; then :
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4872 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4873 if test $ac_compiler_gnu = yes; then
4878 ac_test_CXXFLAGS=${CXXFLAGS+set}
4879 ac_save_CXXFLAGS=$CXXFLAGS
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4881 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4882 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4886 ac_cxx_werror_flag=yes
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4900 if ac_fn_cxx_try_compile "$LINENO"; then :
4901 ac_cv_prog_cxx_g=yes
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4915 if ac_fn_cxx_try_compile "$LINENO"; then :
4918 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4931 if ac_fn_cxx_try_compile "$LINENO"; then :
4932 ac_cv_prog_cxx_g=yes
4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4942 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4943 if test "$ac_test_CXXFLAGS" = set; then
4944 CXXFLAGS=$ac_save_CXXFLAGS
4945 elif test $ac_cv_prog_cxx_g = yes; then
4946 if test "$GXX" = yes; then
4952 if test "$GXX" = yes; then
4959 ac_cpp='$CPP $CPPFLAGS'
4960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964 depcc="$CXX" am_compiler_list=
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4967 $as_echo_n "checking dependency style of $depcc... " >&6; }
4968 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4972 # We make a subdir and do the tests there. Otherwise we can end up
4973 # making bogus files that we don't know about and never remove. For
4974 # instance it was reported that on HP-UX the gcc test will end up
4975 # making a dummy file named `D
' -- because `-MD' means
`put the output
4979 # Copy depcomp to subdir because otherwise we won't find it if we're
4980 # using a relative directory.
4981 cp "$am_depcomp" conftest.dir
4983 # We will build objects and dependencies in a subdirectory because
4984 # it helps to detect inapplicable dependency modes. For instance
4985 # both Tru64's cc and ICC support -MD to output dependencies as a
4986 # side effect of compilation, but ICC will put the dependencies in
4987 # the current directory while Tru64 will put them in the object
4991 am_cv_CXX_dependencies_compiler_type=none
4992 if test "$am_compiler_list" = ""; then
4993 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4996 case " $depcc " in #(
4997 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5000 for depmode in $am_compiler_list; do
5001 # Setup a source with many dependencies, because some compilers
5002 # like to wrap large dependency lists on column 80 (with \), and
5003 # we should not choose a depcomp mode which is confused by this.
5005 # We need to recreate these files for each test, as the compiler may
5006 # overwrite some of them when testing with obscure command lines.
5007 # This happens at least with the AIX C compiler.
5009 for i in 1 2 3 4 5 6; do
5010 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5011 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5012 # Solaris 8's
{/usr
,}/bin
/sh.
5013 touch sub
/conftst
$i.h
5015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5017 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5018 # mode. It turns out that the SunPro C++ compiler does not properly
5019 # handle `-M -o', and we need to detect this. Also, some Intel
5020 # versions had trouble with output in subdirs
5021 am__obj
=sub
/conftest.
${OBJEXT-o}
5022 am__minus_obj
="-o $am__obj"
5025 # This depmode causes a compiler race in universal mode.
5026 test "$am__universal" = false ||
continue
5029 # after this tag, mechanisms are not by side-effect, so they'll
5030 # only be used when explicitly requested
5031 if test "x$enable_dependency_tracking" = xyes
; then
5037 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5038 # This compiler won't grok `-c -o', but also, the minuso test has
5039 # not run yet. These depmodes are late enough in the game, and
5040 # so weak that their functioning should not be impacted.
5041 am__obj
=conftest.
${OBJEXT-o}
5046 if depmode
=$depmode \
5047 source=sub
/conftest.c object
=$am__obj \
5048 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5049 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5050 >/dev
/null
2>conftest.err
&&
5051 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5052 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5053 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5054 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5055 # icc doesn't choke on unknown options, it will just issue warnings
5056 # or remarks (even with -Werror). So we grep stderr for any message
5057 # that says an option was ignored or not supported.
5058 # When given -MP, icc 7.0 and 7.1 complain thusly:
5059 # icc: Command line warning: ignoring option '-M'; no argument required
5060 # The diagnosis changed in icc 8.0:
5061 # icc: Command line remark: option '-MP' not supported
5062 if (grep 'ignoring option' conftest.err ||
5063 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5064 am_cv_CXX_dependencies_compiler_type
=$depmode
5073 am_cv_CXX_dependencies_compiler_type
=none
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5078 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5079 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5082 test "x$enable_dependency_tracking" != xno \
5083 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5084 am__fastdepCXX_TRUE
=
5085 am__fastdepCXX_FALSE
='#'
5087 am__fastdepCXX_TRUE
='#'
5088 am__fastdepCXX_FALSE
=
5092 for ac_prog
in 'bison -y' byacc
5094 # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy
$ac_prog; ac_word
=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if test "${ac_cv_prog_YACC+set}" = set; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -n "$YACC"; then
5102 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir
=.
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5111 ac_cv_prog_YACC
="$ac_prog"
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 YACC
=$ac_cv_prog_YACC
5122 if test -n "$YACC"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5124 $as_echo "$YACC" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 test -n "$YACC" && break
5133 test -n "$YACC" || YACC
="yacc"
5135 if test -n "$ac_tool_prefix"; then
5136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5137 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$RANLIB"; then
5144 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 RANLIB
=$ac_cv_prog_RANLIB
5164 if test -n "$RANLIB"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5166 $as_echo "$RANLIB" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5174 if test -z "$ac_cv_prog_RANLIB"; then
5175 ac_ct_RANLIB
=$RANLIB
5176 # Extract the first word of "ranlib", so it can be a program name with args.
5177 set dummy ranlib
; ac_word
=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -n "$ac_ct_RANLIB"; then
5184 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_exec_ext
in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5204 if test -n "$ac_ct_RANLIB"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5206 $as_echo "$ac_ct_RANLIB" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5212 if test "x$ac_ct_RANLIB" = x
; then
5215 case $cross_compiling:$ac_tool_warned in
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5219 ac_tool_warned
=yes ;;
5221 RANLIB
=$ac_ct_RANLIB
5224 RANLIB
="$ac_cv_prog_RANLIB"
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5229 $as_echo_n "checking whether ln -s works... " >&6; }
5231 if test "$LN_S" = "ln -s"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5233 $as_echo "yes" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5236 $as_echo "no, using $LN_S" >&6; }
5242 ac_cpp
='$CPP $CPPFLAGS'
5243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5247 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5248 # On Suns, sometimes $CPP names a directory.
5249 if test -n "$CPP" && test -d "$CPP"; then
5252 if test -z "$CPP"; then
5253 if test "${ac_cv_prog_CPP+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 # Double quotes because CPP needs to be expanded
5257 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5260 for ac_c_preproc_warn_flag
in '' yes
5262 # Use a header file that comes with gcc, so configuring glibc
5263 # with a fresh cross-compiler works.
5264 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5265 # <limits.h> exists even on freestanding compilers.
5266 # On the NeXT, cc -E runs the code through the compiler's parser,
5267 # not just through cpp. "Syntax error" is here to catch this case.
5268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 # include <limits.h>
5273 # include <assert.h>
5277 if ac_fn_c_try_cpp
"$LINENO"; then :
5280 # Broken: fails on valid input.
5283 rm -f conftest.err conftest.
$ac_ext
5285 # OK, works on sane cases. Now check whether nonexistent headers
5286 # can be detected and how.
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5289 #include <ac_nonexistent.h>
5291 if ac_fn_c_try_cpp
"$LINENO"; then :
5292 # Broken: success on invalid input.
5295 # Passes both tests.
5299 rm -f conftest.err conftest.
$ac_ext
5302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5303 rm -f conftest.err conftest.
$ac_ext
5304 if $ac_preproc_ok; then :
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5317 $as_echo "$CPP" >&6; }
5319 for ac_c_preproc_warn_flag
in '' yes
5321 # Use a header file that comes with gcc, so configuring glibc
5322 # with a fresh cross-compiler works.
5323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5324 # <limits.h> exists even on freestanding compilers.
5325 # On the NeXT, cc -E runs the code through the compiler's parser,
5326 # not just through cpp. "Syntax error" is here to catch this case.
5327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5330 # include <limits.h>
5332 # include <assert.h>
5336 if ac_fn_c_try_cpp
"$LINENO"; then :
5339 # Broken: fails on valid input.
5342 rm -f conftest.err conftest.
$ac_ext
5344 # OK, works on sane cases. Now check whether nonexistent headers
5345 # can be detected and how.
5346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5348 #include <ac_nonexistent.h>
5350 if ac_fn_c_try_cpp
"$LINENO"; then :
5351 # Broken: success on invalid input.
5354 # Passes both tests.
5358 rm -f conftest.err conftest.
$ac_ext
5361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5362 rm -f conftest.err conftest.
$ac_ext
5363 if $ac_preproc_ok; then :
5366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5368 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5369 See \`config.log' for more details." "$LINENO" 5; }
5373 ac_cpp
='$CPP $CPPFLAGS'
5374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5380 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5381 if test "${ac_cv_path_GREP+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5384 if test -z "$GREP"; then
5385 ac_path_GREP_found
=false
5386 # Loop through the user's path and test for each of PROGNAME-LIST
5387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5391 test -z "$as_dir" && as_dir
=.
5392 for ac_prog
in grep ggrep
; do
5393 for ac_exec_ext
in '' $ac_executable_extensions; do
5394 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5395 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5396 # Check for GNU ac_path_GREP and select it if it is found.
5397 # Check for GNU $ac_path_GREP
5398 case `"$ac_path_GREP" --version 2>&1` in
5400 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5403 $as_echo_n 0123456789 >"conftest.in"
5406 cat "conftest.in" "conftest.in" >"conftest.tmp"
5407 mv "conftest.tmp" "conftest.in"
5408 cp "conftest.in" "conftest.nl"
5409 $as_echo 'GREP' >> "conftest.nl"
5410 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5411 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5412 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5413 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5414 # Best one so far, save it but keep looking for a better one
5415 ac_cv_path_GREP
="$ac_path_GREP"
5416 ac_path_GREP_max
=$ac_count
5418 # 10*(2^10) chars as input seems more than enough
5419 test $ac_count -gt 10 && break
5421 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5424 $ac_path_GREP_found && break 3
5429 if test -z "$ac_cv_path_GREP"; then
5430 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5433 ac_cv_path_GREP
=$GREP
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5438 $as_echo "$ac_cv_path_GREP" >&6; }
5439 GREP
="$ac_cv_path_GREP"
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5443 $as_echo_n "checking for egrep... " >&6; }
5444 if test "${ac_cv_path_EGREP+set}" = set; then :
5445 $as_echo_n "(cached) " >&6
5447 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5448 then ac_cv_path_EGREP
="$GREP -E"
5450 if test -z "$EGREP"; then
5451 ac_path_EGREP_found
=false
5452 # Loop through the user's path and test for each of PROGNAME-LIST
5453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5454 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5457 test -z "$as_dir" && as_dir
=.
5458 for ac_prog
in egrep; do
5459 for ac_exec_ext
in '' $ac_executable_extensions; do
5460 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5461 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5462 # Check for GNU ac_path_EGREP and select it if it is found.
5463 # Check for GNU $ac_path_EGREP
5464 case `"$ac_path_EGREP" --version 2>&1` in
5466 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5469 $as_echo_n 0123456789 >"conftest.in"
5472 cat "conftest.in" "conftest.in" >"conftest.tmp"
5473 mv "conftest.tmp" "conftest.in"
5474 cp "conftest.in" "conftest.nl"
5475 $as_echo 'EGREP' >> "conftest.nl"
5476 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5477 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5478 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5479 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5480 # Best one so far, save it but keep looking for a better one
5481 ac_cv_path_EGREP
="$ac_path_EGREP"
5482 ac_path_EGREP_max
=$ac_count
5484 # 10*(2^10) chars as input seems more than enough
5485 test $ac_count -gt 10 && break
5487 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5490 $ac_path_EGREP_found && break 3
5495 if test -z "$ac_cv_path_EGREP"; then
5496 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5499 ac_cv_path_EGREP
=$EGREP
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5505 $as_echo "$ac_cv_path_EGREP" >&6; }
5506 EGREP
="$ac_cv_path_EGREP"
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5510 $as_echo_n "checking for ANSI C header files... " >&6; }
5511 if test "${ac_cv_header_stdc+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5529 if ac_fn_c_try_compile
"$LINENO"; then :
5530 ac_cv_header_stdc
=yes
5532 ac_cv_header_stdc
=no
5534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5536 if test $ac_cv_header_stdc = yes; then
5537 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5544 $EGREP "memchr" >/dev
/null
2>&1; then :
5547 ac_cv_header_stdc
=no
5553 if test $ac_cv_header_stdc = yes; then
5554 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5561 $EGREP "free" >/dev
/null
2>&1; then :
5564 ac_cv_header_stdc
=no
5570 if test $ac_cv_header_stdc = yes; then
5571 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5572 if test "$cross_compiling" = yes; then :
5575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5579 #if ((' ' & 0x0FF) == 0x020)
5580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5583 # define ISLOWER(c) \
5584 (('a' <= (c) && (c) <= 'i') \
5585 || ('j' <= (c) && (c) <= 'r') \
5586 || ('s' <= (c) && (c) <= 'z'))
5587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5595 for (i = 0; i < 256; i++)
5596 if (XOR (islower (i), ISLOWER (i))
5597 || toupper (i) != TOUPPER (i))
5602 if ac_fn_c_try_run
"$LINENO"; then :
5605 ac_cv_header_stdc
=no
5607 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5608 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5614 $as_echo "$ac_cv_header_stdc" >&6; }
5615 if test $ac_cv_header_stdc = yes; then
5617 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5621 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5622 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5623 inttypes.h stdint.h unistd.h
5625 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5626 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5628 eval as_val
=\$
$as_ac_Header
5629 if test "x$as_val" = x
""yes; then :
5630 cat >>confdefs.h
<<_ACEOF
5631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5640 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5641 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5648 if test "$MINIX" = yes; then
5650 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5653 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5656 $as_echo "#define _MINIX 1" >>confdefs.h
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5662 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5663 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5664 $as_echo_n "(cached) " >&6
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5669 # define __EXTENSIONS__ 1
5670 $ac_includes_default
5679 if ac_fn_c_try_compile
"$LINENO"; then :
5680 ac_cv_safe_to_define___extensions__
=yes
5682 ac_cv_safe_to_define___extensions__
=no
5684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5687 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5688 test $ac_cv_safe_to_define___extensions__ = yes &&
5689 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5691 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5693 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5695 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5697 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5702 # If we haven't got the data from the intl directory,
5703 # assume NLS is disabled.
5712 if test -f ..
/intl
/config.intl
; then
5713 . ..
/intl
/config.intl
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5716 $as_echo_n "checking whether NLS is requested... " >&6; }
5717 if test x
"$USE_NLS" != xyes
; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5722 $as_echo "yes" >&6; }
5724 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5728 $as_echo_n "checking for catalogs to be installed... " >&6; }
5729 # Look for .po and .gmo files in the source directory.
5732 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5733 # If there aren't any .gmo files the shell will give us the
5734 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5736 case "$cat" in *\
**)
5739 # The quadruple backslash is collapsed to a double backslash
5740 # by the backticks, then collapsed again by the double quotes,
5741 # leaving us with one backslash in the sed expression (right
5742 # before the dot that mustn't act as a wildcard).
5743 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5744 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5745 # The user is allowed to set LINGUAS to a list of languages to
5746 # install catalogs for. If it's empty that means "all of them."
5747 if test "x$LINGUAS" = x
; then
5748 CATALOGS
="$CATALOGS $cat"
5749 XLINGUAS
="$XLINGUAS $lang"
5751 case "$LINGUAS" in *$lang*)
5752 CATALOGS
="$CATALOGS $cat"
5753 XLINGUAS
="$XLINGUAS $lang"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5760 $as_echo "$LINGUAS" >&6; }
5774 if test -n "$ac_aux_dir"; then
5775 case "$ac_aux_dir" in
5776 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5777 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5780 if test -z "$MKINSTALLDIRS"; then
5781 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5787 $as_echo_n "checking whether NLS is requested... " >&6; }
5788 # Check whether --enable-nls was given.
5789 if test "${enable_nls+set}" = set; then :
5790 enableval
=$enable_nls; USE_NLS
=$enableval
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5796 $as_echo "$USE_NLS" >&6; }
5803 # Prepare PATH_SEPARATOR.
5804 # The user is always right.
5805 if test "${PATH_SEPARATOR+set}" != set; then
5806 echo "#! /bin/sh" >conf$$.sh
5807 echo "exit 0" >>conf$$.sh
5809 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5817 # Find out how to test for executable files. Don't use a zero-byte file,
5818 # as systems may use methods other than mode bits to determine executability.
5819 cat >conf$$.
file <<_ASEOF
5823 chmod +x conf$$.
file
5824 if test -x conf$$.
file >/dev
/null
2>&1; then
5825 ac_executable_p
="test -x"
5827 ac_executable_p
="test -f"
5831 # Extract the first word of "msgfmt", so it can be a program name with args.
5832 set dummy msgfmt
; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5840 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5843 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5844 for ac_dir
in $PATH; do
5846 test -z "$ac_dir" && ac_dir
=.
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5849 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5850 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5851 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5858 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5862 MSGFMT
="$ac_cv_path_MSGFMT"
5863 if test "$MSGFMT" != ":"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5865 $as_echo "$MSGFMT" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5872 set dummy gmsgfmt
; ac_word
=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5880 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5902 GMSGFMT
=$ac_cv_path_GMSGFMT
5903 if test -n "$GMSGFMT"; then
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5905 $as_echo "$GMSGFMT" >&6; }
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 $as_echo "no" >&6; }
5914 # Prepare PATH_SEPARATOR.
5915 # The user is always right.
5916 if test "${PATH_SEPARATOR+set}" != set; then
5917 echo "#! /bin/sh" >conf$$.sh
5918 echo "exit 0" >>conf$$.sh
5920 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5928 # Find out how to test for executable files. Don't use a zero-byte file,
5929 # as systems may use methods other than mode bits to determine executability.
5930 cat >conf$$.
file <<_ASEOF
5934 chmod +x conf$$.
file
5935 if test -x conf$$.
file >/dev
/null
2>&1; then
5936 ac_executable_p
="test -x"
5938 ac_executable_p
="test -f"
5942 # Extract the first word of "xgettext", so it can be a program name with args.
5943 set dummy xgettext
; ac_word
=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5947 $as_echo_n "(cached) " >&6
5951 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5954 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5955 for ac_dir
in $PATH; do
5957 test -z "$ac_dir" && ac_dir
=.
5958 for ac_exec_ext
in '' $ac_executable_extensions; do
5959 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5960 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5961 (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
5962 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5969 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5973 XGETTEXT
="$ac_cv_path_XGETTEXT"
5974 if test "$XGETTEXT" != ":"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5976 $as_echo "$XGETTEXT" >&6; }
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979 $as_echo "no" >&6; }
5985 # Prepare PATH_SEPARATOR.
5986 # The user is always right.
5987 if test "${PATH_SEPARATOR+set}" != set; then
5988 echo "#! /bin/sh" >conf$$.sh
5989 echo "exit 0" >>conf$$.sh
5991 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5999 # Find out how to test for executable files. Don't use a zero-byte file,
6000 # as systems may use methods other than mode bits to determine executability.
6001 cat >conf$$.
file <<_ASEOF
6005 chmod +x conf$$.
file
6006 if test -x conf$$.
file >/dev
/null
2>&1; then
6007 ac_executable_p
="test -x"
6009 ac_executable_p
="test -f"
6013 # Extract the first word of "msgmerge", so it can be a program name with args.
6014 set dummy msgmerge
; ac_word
=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6018 $as_echo_n "(cached) " >&6
6022 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6025 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6026 for ac_dir
in $PATH; do
6028 test -z "$ac_dir" && ac_dir
=.
6029 for ac_exec_ext
in '' $ac_executable_extensions; do
6030 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6031 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6032 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6039 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6043 MSGMERGE
="$ac_cv_path_MSGMERGE"
6044 if test "$MSGMERGE" != ":"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6046 $as_echo "$MSGMERGE" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6053 if test "$GMSGFMT" != ":"; then
6054 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6055 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6058 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6060 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6065 if test "$XGETTEXT" != ":"; then
6066 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6067 (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
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6071 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6077 ac_config_commands
="$ac_config_commands default-1"
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6082 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6083 if test "${ac_cv_c_bigendian+set}" = set; then :
6084 $as_echo_n "(cached) " >&6
6086 ac_cv_c_bigendian
=unknown
6087 # See if we're dealing with a universal compiler.
6088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6089 /* end confdefs.h. */
6090 #ifndef __APPLE_CC__
6091 not a universal capable compiler
6096 if ac_fn_c_try_compile
"$LINENO"; then :
6098 # Check for potential -arch flags. It is not universal unless
6099 # there are at least two -arch flags with different values.
6102 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6103 if test -n "$ac_prev"; then
6105 i?
86 | x86_64 | ppc | ppc64
)
6106 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6109 ac_cv_c_bigendian
=universal
6115 elif test "x$ac_word" = "x-arch"; then
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 if test $ac_cv_c_bigendian = unknown
; then
6122 # See if sys/param.h defines the BYTE_ORDER macro.
6123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6124 /* end confdefs.h. */
6125 #include <sys/types.h>
6126 #include <sys/param.h>
6131 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6132 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6141 if ac_fn_c_try_compile
"$LINENO"; then :
6142 # It does; now see whether it defined to BIG_ENDIAN or not.
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #include <sys/types.h>
6146 #include <sys/param.h>
6151 #if BYTE_ORDER != BIG_ENDIAN
6159 if ac_fn_c_try_compile
"$LINENO"; then :
6160 ac_cv_c_bigendian
=yes
6162 ac_cv_c_bigendian
=no
6164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6168 if test $ac_cv_c_bigendian = unknown
; then
6169 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6177 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6185 if ac_fn_c_try_compile
"$LINENO"; then :
6186 # It does; now see whether it defined to _BIG_ENDIAN or not.
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6202 if ac_fn_c_try_compile
"$LINENO"; then :
6203 ac_cv_c_bigendian
=yes
6205 ac_cv_c_bigendian
=no
6207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6211 if test $ac_cv_c_bigendian = unknown
; then
6212 # Compile a test program.
6213 if test "$cross_compiling" = yes; then :
6214 # Try to guess by grepping values from an object file.
6215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 short int ascii_mm[] =
6218 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6219 short int ascii_ii[] =
6220 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6221 int use_ascii (int i) {
6222 return ascii_mm[i] + ascii_ii[i];
6224 short int ebcdic_ii[] =
6225 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6226 short int ebcdic_mm[] =
6227 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6228 int use_ebcdic (int i) {
6229 return ebcdic_mm[i] + ebcdic_ii[i];
6236 return use_ascii (foo) == use_ebcdic (foo);
6241 if ac_fn_c_try_compile
"$LINENO"; then :
6242 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6243 ac_cv_c_bigendian
=yes
6245 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6246 if test "$ac_cv_c_bigendian" = unknown
; then
6247 ac_cv_c_bigendian
=no
6249 # finding both strings is unlikely to happen, but who knows?
6250 ac_cv_c_bigendian
=unknown
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 $ac_includes_default
6263 /* Are we little or big endian? From Harbison&Steele. */
6267 char c[sizeof (long int)];
6270 return u.c[sizeof (long int) - 1] == 1;
6276 if ac_fn_c_try_run
"$LINENO"; then :
6277 ac_cv_c_bigendian
=no
6279 ac_cv_c_bigendian
=yes
6281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6282 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6288 $as_echo "$ac_cv_c_bigendian" >&6; }
6289 case $ac_cv_c_bigendian in #(
6291 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6297 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6301 as_fn_error
"unknown endianness
6302 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6308 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6310 NATIVE_LINKER_FALSE
='#'
6312 NATIVE_LINKER_TRUE
='#'
6313 NATIVE_LINKER_FALSE
=
6316 if test "$GCC" = yes; then
6325 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6326 NATIVE_OR_CROSS_LINKER_TRUE
=
6327 NATIVE_OR_CROSS_LINKER_FALSE
='#'
6329 NATIVE_OR_CROSS_LINKER_TRUE
='#'
6330 NATIVE_OR_CROSS_LINKER_FALSE
=
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6335 $as_echo_n "checking whether static linking works... " >&6; }
6336 if test "${gold_cv_lib_static+set}" = set; then :
6337 $as_echo_n "(cached) " >&6
6339 LDFLAGS_hold
=$LDFLAGS
6340 LDFLAGS
="$LDFLAGS -static"
6341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6353 if ac_fn_c_try_link
"$LINENO"; then :
6354 gold_cv_lib_static
=yes
6356 gold_cv_lib_static
=no
6358 rm -f core conftest.err conftest.
$ac_objext \
6359 conftest
$ac_exeext conftest.
$ac_ext
6360 LDFLAGS
=$LDFLAGS_hold
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6363 $as_echo "$gold_cv_lib_static" >&6; }
6364 if test "$gold_cv_lib_static" = "yes"; then
6366 HAVE_STATIC_FALSE
='#'
6368 HAVE_STATIC_TRUE
='#'
6381 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6382 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6384 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6385 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6390 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6391 if test "${gold_cv_prog_gcc41+set}" = set; then :
6392 $as_echo_n "(cached) " >&6
6394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6397 #if !defined __GNUC__
6399 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6404 if ac_fn_c_try_compile
"$LINENO"; then :
6405 gold_cv_prog_gcc41
=yes
6407 gold_cv_prog_gcc41
=no
6409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6412 $as_echo "$gold_cv_prog_gcc41" >&6; }
6414 save_CFLAGS
="$CFLAGS"
6415 CFLAGS
="$CFLAGS -mcmodel=medium"
6416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6420 if ac_fn_c_try_compile
"$LINENO"; then :
6421 have_mcmodel_medium
=yes
6423 have_mcmodel_medium
=no
6425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6426 CFLAGS
="$save_CFLAGS"
6427 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6428 MCMODEL_MEDIUM_TRUE
=
6429 MCMODEL_MEDIUM_FALSE
='#'
6431 MCMODEL_MEDIUM_TRUE
='#'
6432 MCMODEL_MEDIUM_FALSE
=
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6437 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6438 if test "${gold_cv_merge_constants+set}" = set; then :
6439 $as_echo_n "(cached) " >&6
6442 save_CFLAGS
="$CFLAGS"
6443 CFLAGS
="$CFLAGS -fmerge-constants"
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 const char *s = "foo";
6448 if ac_fn_c_try_compile
"$LINENO"; then :
6449 gold_cv_merge_constants
=yes
6451 gold_cv_merge_constants
=no
6453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6454 CFLAGS
="$save_CFLAGS"
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5
6457 $as_echo "$gold_cv_merge_constants" >&6; }
6459 if test "$gold_cv_merge_constants" = yes; then :
6460 MERGE_CONSTANTS_FLAG
=-fmerge-constants
6462 MERGE_CONSTANTS_FLAG
=
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6466 $as_echo_n "checking for thread support... " >&6; }
6467 if test "${gold_cv_c_thread+set}" = set; then :
6468 $as_echo_n "(cached) " >&6
6470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6474 if ac_fn_c_try_compile
"$LINENO"; then :
6475 gold_cv_c_thread
=yes
6479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6482 $as_echo "$gold_cv_c_thread" >&6; }
6484 if test "$gold_cv_c_thread" = "yes"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6494 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6495 if test "${gold_cv_lib_glibc24+set}" = set; then :
6496 $as_echo_n "(cached) " >&6
6498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6501 #include <features.h>
6502 #if !defined __GLIBC__
6504 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6509 if ac_fn_c_try_compile
"$LINENO"; then :
6510 gold_cv_lib_glibc24
=yes
6512 gold_cv_lib_glibc24
=no
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6517 $as_echo "$gold_cv_lib_glibc24" >&6; }
6519 if test "$gold_cv_lib_glibc24" = "yes"; then
6521 STATIC_TLS_FALSE
='#'
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6529 $as_echo_n "checking for omp support... " >&6; }
6530 if test "${gold_cv_c_threadprivate+set}" = set; then :
6531 $as_echo_n "(cached) " >&6
6533 save_CFLAGS
="$CFLAGS"
6534 CFLAGS
="$CFLAGS -fopenmp"
6535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6540 #pragma omp threadprivate (i)
6543 if ac_fn_c_try_compile
"$LINENO"; then :
6544 gold_cv_c_threadprivate
=yes
6546 gold_cv_c_threadprivate
=no
6548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 CFLAGS
="$save_CFLAGS"
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6552 $as_echo "$gold_cv_c_threadprivate" >&6; }
6553 if test "$gold_cv_c_threadprivate" = "yes"; then
6555 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6558 if test "$gold_cv_c_threadprivate" = "yes"; then
6560 OMP_SUPPORT_FALSE
='#'
6562 OMP_SUPPORT_TRUE
='#'
6567 save_CFLAGS
="$CFLAGS"
6568 CFLAGS
="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6579 if ac_fn_c_try_compile
"$LINENO"; then :
6584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6585 CFLAGS
="$save_CFLAGS"
6586 if test "$have_tls_gnu2" = "yes"; then
6587 TLS_GNU2_DIALECT_TRUE
=
6588 TLS_GNU2_DIALECT_FALSE
='#'
6590 TLS_GNU2_DIALECT_TRUE
='#'
6591 TLS_GNU2_DIALECT_FALSE
=
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6596 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6597 if test "${gold_cv_lib_glibc29+set}" = set; then :
6598 $as_echo_n "(cached) " >&6
6600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6601 /* end confdefs.h. */
6603 #include <features.h>
6604 #if !defined __GLIBC__
6606 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6611 if ac_fn_c_try_compile
"$LINENO"; then :
6612 gold_cv_lib_glibc29
=yes
6614 gold_cv_lib_glibc29
=no
6616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6619 $as_echo "$gold_cv_lib_glibc29" >&6; }
6621 if test "$gold_cv_lib_glibc29" = "yes"; then
6622 TLS_DESCRIPTORS_TRUE
=
6623 TLS_DESCRIPTORS_FALSE
='#'
6625 TLS_DESCRIPTORS_TRUE
='#'
6626 TLS_DESCRIPTORS_FALSE
=
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6631 $as_echo_n "checking for -frandom-seed support... " >&6; }
6632 if test "${gold_cv_c_random_seed+set}" = set; then :
6633 $as_echo_n "(cached) " >&6
6635 save_CFLAGS
="$CFLAGS"
6636 CFLAGS
="$CFLAGS -frandom-seed=foo"
6637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6641 if ac_fn_c_try_compile
"$LINENO"; then :
6642 gold_cv_c_random_seed
=yes
6644 gold_cv_c_random_seed
=no
6646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6647 CFLAGS
="$save_CFLAGS"
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6650 $as_echo "$gold_cv_c_random_seed" >&6; }
6651 if test "$gold_cv_c_random_seed" = "yes"; then
6652 # In Makefile, '$@' will be expanded to be the name of the file
6653 # being built, providing a unique seed for each file.
6654 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6659 $as_echo_n "checking for glibc ifunc support... " >&6; }
6660 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6663 save_LDFLAGS
="$LDFLAGS"
6664 LDFLAGS
="$LDFLAGS -static"
6665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6668 #include <features.h>
6669 #if !defined __GLIBC__
6671 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6674 void func (void) { }
6676 __asm__(".type invoke, %gnu_indirect_function");
6677 typedef void (*funcptr) (void);
6678 funcptr dispatch (void) __asm__ ("invoke");
6679 funcptr dispatch (void) { return &func; }
6689 if ac_fn_c_try_link
"$LINENO"; then :
6691 if ${NM} conftest
$EXEEXT |
grep "__rela\?_iplt_start" >/dev
/null
2>&1; then
6692 gold_cv_lib_glibc_ifunc
=both
6694 gold_cv_lib_glibc_ifunc
=dyn
6697 gold_cv_lib_glibc_ifunc
=no
6699 rm -f core conftest.err conftest.
$ac_objext \
6700 conftest
$ac_exeext conftest.
$ac_ext
6701 LDFLAGS
="$save_LDFLAGS"
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6704 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6706 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6714 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6716 IFUNC_STATIC_FALSE
='#'
6718 IFUNC_STATIC_TRUE
='#'
6724 # Set the 'development' global.
6725 .
$srcdir/..
/bfd
/development.sh
6727 # Set acp_cpp_for_build variable
6728 ac_cpp_for_build
="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
6730 # Default set of GCC warnings to enable.
6731 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6732 GCC_WARN_CFLAGS_FOR_BUILD
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6734 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
6735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6740 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6743 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6748 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
6749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6754 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
6757 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
6762 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
6763 WARN_WRITE_STRINGS
=""
6764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6769 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6772 WARN_WRITE_STRINGS
="-Wwrite-strings"
6777 # Verify CC_FOR_BUILD to be compatible with warning flags
6779 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
6780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6784 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
6785 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6788 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
6793 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
6794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6798 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
6799 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
6802 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
6807 # Check whether --enable-werror was given.
6808 if test "${enable_werror+set}" = set; then :
6809 enableval
=$enable_werror; case "${enableval}" in
6810 yes | y
) ERROR_ON_WARNING
="yes" ;;
6811 no | n
) ERROR_ON_WARNING
="no" ;;
6812 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6817 # Disable -Wformat by default when using gcc on mingw
6820 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6821 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6822 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
6828 # Enable -Werror by default when using gcc. Turn it off for releases.
6829 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
6830 ERROR_ON_WARNING
=yes
6834 if test "${ERROR_ON_WARNING}" = yes ; then
6835 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6836 GCC_WARN_CFLAGS_FOR_BUILD
="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
6837 NO_WERROR
="-Wno-error"
6840 if test "${GCC}" = yes ; then
6841 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6842 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}"
6845 # Check whether --enable-build-warnings was given.
6846 if test "${enable_build_warnings+set}" = set; then :
6847 enableval
=$enable_build_warnings; case "${enableval}" in
6848 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6849 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD}";;
6850 no
) if test "${GCC}" = yes ; then
6852 WARN_CFLAGS_FOR_BUILD
="-w"
6854 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6855 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}"
6856 WARN_CFLAGS_FOR_BUILD
="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
6857 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6858 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}"
6859 WARN_CFLAGS_FOR_BUILD
="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
6860 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`
6861 WARN_CFLAGS_FOR_BUILD
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6866 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6867 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6876 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6880 # Check whether --with-gold-ldflags was given.
6881 if test "${with_gold_ldflags+set}" = set; then :
6882 withval
=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6885 GOLD_LDFLAGS
=$withval
6894 # Check whether --with-gold-ldadd was given.
6895 if test "${with_gold_ldadd+set}" = set; then :
6896 withval
=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6907 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6910 for ac_header
in sys
/mman.h
6912 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6913 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE_SYS_MMAN_H 1
6922 for ac_func
in chsize mmap
6924 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6925 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6926 eval as_val
=\$
$as_ac_var
6927 if test "x$as_val" = x
""yes; then :
6928 cat >>confdefs.h
<<_ACEOF
6929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6935 for ac_func
in pread ftruncate ffsll
6937 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6938 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6939 eval as_val
=\$
$as_ac_var
6940 if test "x$as_val" = x
""yes; then :
6941 cat >>confdefs.h
<<_ACEOF
6942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6946 case " $LIBOBJS " in
6947 *" $ac_func.$ac_objext "* ) ;;
6948 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6958 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6959 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6960 $as_echo_n "(cached) " >&6
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6966 #include <sys/mman.h>
6967 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6977 if ac_fn_c_try_link
"$LINENO"; then :
6978 gold_cv_lib_mremap_maymove
=yes
6980 gold_cv_lib_mremap_maymove
=no
6982 rm -f core conftest.err conftest.
$ac_objext \
6983 conftest
$ac_exeext conftest.
$ac_ext
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6986 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6987 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6989 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6992 case " $LIBOBJS " in
6993 *" mremap.$ac_objext "* ) ;;
6994 *) LIBOBJS
="$LIBOBJS mremap.$ac_objext"
7000 # Link in zlib if we can. This allows us to write compressed sections.
7002 # Use the system's zlib library.
7003 zlibdir
="-L\$(top_builddir)/../zlib"
7004 zlibinc
="-I\$(top_srcdir)/../zlib"
7006 # Check whether --with-system-zlib was given.
7007 if test "${with_system_zlib+set}" = set; then :
7008 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
7019 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7020 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7026 cat >>confdefs.h
<<_ACEOF
7027 #define HAVE_DECL_BASENAME $ac_have_decl
7029 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7030 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7036 cat >>confdefs.h
<<_ACEOF
7037 #define HAVE_DECL_FFS $ac_have_decl
7039 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7040 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7046 cat >>confdefs.h
<<_ACEOF
7047 #define HAVE_DECL_ASPRINTF $ac_have_decl
7049 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7050 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7056 cat >>confdefs.h
<<_ACEOF
7057 #define HAVE_DECL_VASPRINTF $ac_have_decl
7059 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7060 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7066 cat >>confdefs.h
<<_ACEOF
7067 #define HAVE_DECL_SNPRINTF $ac_have_decl
7069 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7070 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7076 cat >>confdefs.h
<<_ACEOF
7077 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7079 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7080 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7086 cat >>confdefs.h
<<_ACEOF
7087 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7091 save_CFLAGS
="$CFLAGS"
7092 CFLAGS
="$CFLAGS -Werror -gpubnames"
7093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7097 if ac_fn_c_try_compile
"$LINENO"; then :
7102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7103 CFLAGS
="$save_CFLAGS"
7104 if test "$have_pubnames" = "yes"; then
7106 HAVE_PUBNAMES_FALSE
='#'
7108 HAVE_PUBNAMES_TRUE
='#'
7109 HAVE_PUBNAMES_FALSE
=
7113 save_CFLAGS
="$CFLAGS"
7114 CFLAGS
="$CFLAGS -Werror -fno-use-linker-plugin"
7115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7119 if ac_fn_c_try_compile
"$LINENO"; then :
7120 have_no_use_linker_plugin
=yes
7122 have_no_use_linker_plugin
=no
7124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7125 CFLAGS
="$save_CFLAGS"
7126 if test "$have_no_use_linker_plugin" = "yes"; then
7127 HAVE_NO_USE_LINKER_PLUGIN_TRUE
=
7128 HAVE_NO_USE_LINKER_PLUGIN_FALSE
='#'
7130 HAVE_NO_USE_LINKER_PLUGIN_TRUE
='#'
7131 HAVE_NO_USE_LINKER_PLUGIN_FALSE
=
7136 ac_cpp
='$CXXCPP $CPPFLAGS'
7137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7144 ac_cpp
='$CXXCPP $CPPFLAGS'
7145 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7146 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7147 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7149 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7150 if test -z "$CXXCPP"; then
7151 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7154 # Double quotes because CXXCPP needs to be expanded
7155 for CXXCPP
in "$CXX -E" "/lib/cpp"
7158 for ac_cxx_preproc_warn_flag
in '' yes
7160 # Use a header file that comes with gcc, so configuring glibc
7161 # with a fresh cross-compiler works.
7162 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7163 # <limits.h> exists even on freestanding compilers.
7164 # On the NeXT, cc -E runs the code through the compiler's parser,
7165 # not just through cpp. "Syntax error" is here to catch this case.
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7169 # include <limits.h>
7171 # include <assert.h>
7175 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7178 # Broken: fails on valid input.
7181 rm -f conftest.err conftest.
$ac_ext
7183 # OK, works on sane cases. Now check whether nonexistent headers
7184 # can be detected and how.
7185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #include <ac_nonexistent.h>
7189 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7190 # Broken: success on invalid input.
7193 # Passes both tests.
7197 rm -f conftest.err conftest.
$ac_ext
7200 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7201 rm -f conftest.err conftest.
$ac_ext
7202 if $ac_preproc_ok; then :
7207 ac_cv_prog_CXXCPP
=$CXXCPP
7210 CXXCPP
=$ac_cv_prog_CXXCPP
7212 ac_cv_prog_CXXCPP
=$CXXCPP
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7215 $as_echo "$CXXCPP" >&6; }
7217 for ac_cxx_preproc_warn_flag
in '' yes
7219 # Use a header file that comes with gcc, so configuring glibc
7220 # with a fresh cross-compiler works.
7221 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7222 # <limits.h> exists even on freestanding compilers.
7223 # On the NeXT, cc -E runs the code through the compiler's parser,
7224 # not just through cpp. "Syntax error" is here to catch this case.
7225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7228 # include <limits.h>
7230 # include <assert.h>
7234 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7237 # Broken: fails on valid input.
7240 rm -f conftest.err conftest.
$ac_ext
7242 # OK, works on sane cases. Now check whether nonexistent headers
7243 # can be detected and how.
7244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <ac_nonexistent.h>
7248 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7249 # Broken: success on invalid input.
7252 # Passes both tests.
7256 rm -f conftest.err conftest.
$ac_ext
7259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7260 rm -f conftest.err conftest.
$ac_ext
7261 if $ac_preproc_ok; then :
7264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7266 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
7267 See \`config.log' for more details." "$LINENO" 5; }
7271 ac_cpp
='$CXXCPP $CPPFLAGS'
7272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7277 for ac_header
in unordered_set unordered_map
7279 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7280 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7281 eval as_val
=\$
$as_ac_Header
7282 if test "x$as_val" = x
""yes; then :
7283 cat >>confdefs.h
<<_ACEOF
7284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7291 for ac_header
in tr1/unordered_set
tr1/unordered_map
7293 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7294 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7295 eval as_val
=\$
$as_ac_Header
7296 if test "x$as_val" = x
""yes; then :
7297 cat >>confdefs.h
<<_ACEOF
7298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7305 for ac_header
in ext
/hash_map ext
/hash_set
7307 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7309 eval as_val
=\$
$as_ac_Header
7310 if test "x$as_val" = x
""yes; then :
7311 cat >>confdefs.h
<<_ACEOF
7312 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7319 for ac_header
in byteswap.h
7321 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7322 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
7323 cat >>confdefs.h
<<_ACEOF
7324 #define HAVE_BYTESWAP_H 1
7332 for ac_header
in windows.h
7334 ac_fn_cxx_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7335 if test "x$ac_cv_header_windows_h" = x
""yes; then :
7336 cat >>confdefs.h
<<_ACEOF
7337 #define HAVE_WINDOWS_H 1
7344 for ac_header
in dlfcn.h
7346 ac_fn_cxx_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7347 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7348 cat >>confdefs.h
<<_ACEOF
7349 #define HAVE_DLFCN_H 1
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7357 $as_echo_n "checking for library containing dlopen... " >&6; }
7358 if test "${ac_cv_search_dlopen+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7361 ac_func_search_save_LIBS
=$LIBS
7362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7365 /* Override any GCC internal prototype to avoid an error.
7366 Use char because int might match the return type of a GCC
7367 builtin and then its argument prototype would still apply. */
7380 for ac_lib
in '' dl dld
; do
7381 if test -z "$ac_lib"; then
7382 ac_res
="none required"
7385 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7387 if ac_fn_cxx_try_link
"$LINENO"; then :
7388 ac_cv_search_dlopen
=$ac_res
7390 rm -f core conftest.err conftest.
$ac_objext \
7392 if test "${ac_cv_search_dlopen+set}" = set; then :
7396 if test "${ac_cv_search_dlopen+set}" = set; then :
7399 ac_cv_search_dlopen
=no
7402 LIBS
=$ac_func_search_save_LIBS
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7405 $as_echo "$ac_cv_search_dlopen" >&6; }
7406 ac_res
=$ac_cv_search_dlopen
7407 if test "$ac_res" != no
; then :
7408 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7412 case "$ac_cv_search_dlopen" in
7413 no
*) DLOPEN_LIBS
="";;
7414 *) DLOPEN_LIBS
="$ac_cv_search_dlopen";;
7418 for ac_func
in mallinfo posix_fallocate fallocate readv sysconf
times
7420 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7421 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7422 eval as_val
=\$
$as_ac_var
7423 if test "x$as_val" = x
""yes; then :
7424 cat >>confdefs.h
<<_ACEOF
7425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7431 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7432 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7438 cat >>confdefs.h
<<_ACEOF
7439 #define HAVE_DECL_BASENAME $ac_have_decl
7441 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7442 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7448 cat >>confdefs.h
<<_ACEOF
7449 #define HAVE_DECL_FFS $ac_have_decl
7451 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7452 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7458 cat >>confdefs.h
<<_ACEOF
7459 #define HAVE_DECL_ASPRINTF $ac_have_decl
7461 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7462 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7468 cat >>confdefs.h
<<_ACEOF
7469 #define HAVE_DECL_VASPRINTF $ac_have_decl
7471 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7472 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7478 cat >>confdefs.h
<<_ACEOF
7479 #define HAVE_DECL_SNPRINTF $ac_have_decl
7481 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7482 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7488 cat >>confdefs.h
<<_ACEOF
7489 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7491 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7492 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7498 cat >>confdefs.h
<<_ACEOF
7499 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7501 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7502 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
7508 cat >>confdefs.h
<<_ACEOF
7509 #define HAVE_DECL_STRNDUP $ac_have_decl
7511 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7512 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
7518 cat >>confdefs.h
<<_ACEOF
7519 #define HAVE_DECL_MEMMEM $ac_have_decl
7523 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7524 # at link time with some versions of GCC.
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7526 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7527 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h. */
7533 #include <tr1/unordered_map>
7534 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7544 if ac_fn_cxx_try_link
"$LINENO"; then :
7545 gold_cv_unordered_map_rehash
=yes
7547 gold_cv_unordered_map_rehash
=no
7549 rm -f core conftest.err conftest.
$ac_objext \
7550 conftest
$ac_exeext conftest.
$ac_ext
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7553 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7554 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7556 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7560 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7561 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7563 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7564 if test "${gold_cv_hash_off_t+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7567 CXXFLAGS_hold
=$CXXFLAGS
7568 CXXFLAGS
="$CXXFLAGS $LFS_CFLAGS"
7569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7572 #include <sys/types.h>
7573 #include <tr1/unordered_map>
7574 std::tr1::hash<off_t> h;
7577 if ac_fn_cxx_try_compile
"$LINENO"; then :
7578 gold_cv_hash_off_t
=yes
7580 gold_cv_hash_off_t
=no
7582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7583 CXXFLAGS
=$CXXFLAGS_hold
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7586 $as_echo "$gold_cv_hash_off_t" >&6; }
7587 if test "$gold_cv_hash_off_t" = "yes"; then
7589 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7593 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7594 # function. Check for that. This is gcc bug 35546. This test can
7595 # probably be removed after the bug has been fixed for a while.
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7597 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7598 if test "${gold_cv_template_attribute+set}" = set; then :
7599 $as_echo_n "(cached) " >&6
7601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7604 template<typename T> extern void foo(const char*, ...)
7605 __attribute__ ((__format__ (__printf__, 1, 2)));
7606 template<typename T> void foo(const char* format, ...) {}
7607 void bar() { foo<int>("%s\n", "foo"); }
7610 if ac_fn_cxx_try_compile
"$LINENO"; then :
7611 gold_cv_template_attribute
=yes
7613 gold_cv_template_attribute
=no
7615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7618 $as_echo "$gold_cv_template_attribute" >&6; }
7619 if test "$gold_cv_template_attribute" = "yes"; then
7621 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7626 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7627 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7633 #include <sys/stat.h>
7634 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7644 if ac_fn_cxx_try_compile
"$LINENO"; then :
7645 gold_cv_stat_st_mtim
=yes
7647 gold_cv_stat_st_mtim
=no
7649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7652 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7653 if test "$gold_cv_stat_st_mtim" = "yes"; then
7655 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7660 ac_cpp
='$CPP $CPPFLAGS'
7661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7666 for ac_header
in locale.h
7668 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7669 if test "x$ac_cv_header_locale_h" = x
""yes; then :
7670 cat >>confdefs.h
<<_ACEOF
7671 #define HAVE_LOCALE_H 1
7678 for ac_func
in setlocale
7680 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
7681 if test "x$ac_cv_func_setlocale" = x
""yes; then :
7682 cat >>confdefs.h
<<_ACEOF
7683 #define HAVE_SETLOCALE 1
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7691 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7692 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7693 $as_echo_n "(cached) " >&6
7695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7706 if ac_fn_c_try_link
"$LINENO"; then :
7707 am_cv_val_LC_MESSAGES
=yes
7709 am_cv_val_LC_MESSAGES
=no
7711 rm -f core conftest.err conftest.
$ac_objext \
7712 conftest
$ac_exeext conftest.
$ac_ext
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7715 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7716 if test $am_cv_val_LC_MESSAGES = yes; then
7718 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7725 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7726 # Check whether --enable-maintainer-mode was given.
7727 if test "${enable_maintainer_mode+set}" = set; then :
7728 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7730 USE_MAINTAINER_MODE
=no
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7734 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7735 if test $USE_MAINTAINER_MODE = yes; then
7736 MAINTAINER_MODE_TRUE
=
7737 MAINTAINER_MODE_FALSE
='#'
7739 MAINTAINER_MODE_TRUE
='#'
7740 MAINTAINER_MODE_FALSE
=
7743 MAINT
=$MAINTAINER_MODE_TRUE
7747 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7749 cat >confcache
<<\_ACEOF
7750 # This file is a shell script that caches the results of configure
7751 # tests run on this system so they can be shared between configure
7752 # scripts and configure runs, see configure's option --config-cache.
7753 # It is not useful on other systems. If it contains results you don't
7754 # want to keep, you may remove or edit it.
7756 # config.status only pays attention to the cache file if you give it
7757 # the --recheck option to rerun configure.
7759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7765 # The following way of writing the cache mishandles newlines in values,
7766 # but we know of no workaround that is simple, portable, and efficient.
7767 # So, we kill variables containing newlines.
7768 # Ultrix sh set writes to stderr and can't be redirected directly,
7769 # and sets the high bit in the cache file unless we assign to the vars.
7771 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7772 eval ac_val
=\$
$ac_var
7776 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7780 _ | IFS | as_nl
) ;; #(
7781 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7782 *) { eval $ac_var=; unset $ac_var;} ;;
7788 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7789 *${as_nl}ac_space
=\
*)
7790 # `set' does not quote correctly, so add quotes: double-quote
7791 # substitution turns \\\\ into \\, and sed turns \\ into \.
7794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7797 # `set' quotes correctly as required by POSIX, so do not add quotes.
7798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7811 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7812 if test -w "$cache_file"; then
7813 test "x$cache_file" != "x/dev/null" &&
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7815 $as_echo "$as_me: updating cache $cache_file" >&6;}
7816 cat confcache
>$cache_file
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7819 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7824 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7825 # Let make expand exec_prefix.
7826 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7828 DEFS
=-DHAVE_CONFIG_H
7832 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7833 # 1. Remove the extension, and $U if already installed.
7834 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7835 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7837 # will be set to the directory where LIBOBJS objects are built.
7838 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7839 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7843 LTLIBOBJS
=$ac_ltlibobjs
7846 if test -n "$EXEEXT"; then
7848 am__EXEEXT_FALSE
='#'
7854 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7855 as_fn_error
"conditional \"THREADS\" was never defined.
7856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7858 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7859 as_fn_error
"conditional \"PLUGINS\" was never defined.
7860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7862 if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then
7863 as_fn_error
"conditional \"DEFAULT_TARGET_AARCH64\" was never defined.
7864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7866 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7867 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7870 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7871 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7874 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7875 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7878 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7879 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7882 if test -z "${DEFAULT_TARGET_S390_TRUE}" && test -z "${DEFAULT_TARGET_S390_FALSE}"; then
7883 as_fn_error
"conditional \"DEFAULT_TARGET_S390\" was never defined.
7884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7886 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7887 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7890 if test -z "${DEFAULT_TARGET_X32_TRUE}" && test -z "${DEFAULT_TARGET_X32_FALSE}"; then
7891 as_fn_error
"conditional \"DEFAULT_TARGET_X32\" was never defined.
7892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7894 if test -z "${DEFAULT_TARGET_X86_64_OR_X32_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_OR_X32_FALSE}"; then
7895 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64_OR_X32\" was never defined.
7896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7898 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7899 as_fn_error
"conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7902 if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then
7903 as_fn_error
"conditional \"DEFAULT_TARGET_MIPS\" was never defined.
7904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7906 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7907 as_fn_error
"conditional \"AMDEP\" was never defined.
7908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7910 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7911 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7914 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7915 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7919 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7920 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7923 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7924 as_fn_error
"conditional \"GCC\" was never defined.
7925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7927 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7928 as_fn_error
"conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7931 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7932 as_fn_error
"conditional \"HAVE_STATIC\" was never defined.
7933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7935 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7936 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7939 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7940 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7943 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7944 as_fn_error
"conditional \"TLS\" was never defined.
7945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7947 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7948 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7951 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7952 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7955 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7956 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7959 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7960 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7963 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7964 as_fn_error
"conditional \"IFUNC\" was never defined.
7965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7967 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7968 as_fn_error
"conditional \"IFUNC_STATIC\" was never defined.
7969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7971 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7972 as_fn_error
"conditional \"HAVE_PUBNAMES\" was never defined.
7973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7975 if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then
7976 as_fn_error
"conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined.
7977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7979 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7980 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7984 : ${CONFIG_STATUS=./config.status}
7986 ac_clean_files_save
=$ac_clean_files
7987 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7989 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7991 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7993 # Generated by $as_me.
7994 # Run this file to recreate the current configuration.
7995 # Compiler output produced by configure, useful for debugging
7996 # configure, is in config.log if it exists.
8002 SHELL=\${CONFIG_SHELL-$SHELL}
8005 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8006 ## -------------------- ##
8007 ## M4sh Initialization. ##
8008 ## -------------------- ##
8010 # Be more Bourne compatible
8011 DUALCASE
=1; export DUALCASE
# for MKS sh
8012 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8015 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8016 # is contrary to our usage. Disable this feature.
8017 alias -g '${1+"$@"}'='"$@"'
8018 setopt NO_GLOB_SUBST
8020 case `(set -o) 2>/dev/null` in #(
8032 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8033 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8034 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8036 # Prefer a ksh shell builtin over an external printf program on Solaris,
8037 # but without wasting forks for bash or zsh.
8038 if test -z "$BASH_VERSION$ZSH_VERSION" \
8039 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8040 as_echo='print
-r --'
8041 as_echo_n='print
-rn --'
8042 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8043 as_echo='printf %s
\n'
8044 as_echo_n='printf %s
'
8046 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8047 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8048 as_echo_n='/usr
/ucb
/echo -n'
8050 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8051 as_echo_n_body='eval
8055 expr "X$arg" : "X\\(.*\\)$as_nl";
8056 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8058 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8060 export as_echo_n_body
8061 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8064 as_echo='sh
-c $as_echo_body as_echo
'
8067 # The user is always right.
8068 if test "${PATH_SEPARATOR+set}" != set; then
8070 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8071 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8078 # We need space, tab and new line, in precisely that order. Quoting is
8079 # there to prevent editors from complaining about space-tab.
8080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8081 # splitting by setting IFS to empty value.)
8084 # Find who we are. Look in the path if we contain no directory separator.
8086 *[\\/]* ) as_myself=$0 ;;
8087 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8091 test -z "$as_dir" && as_dir=.
8092 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8098 # We did not find ourselves, most probably we were run as `sh COMMAND'
8099 # in which case we are not to be found in the path.
8100 if test "x$as_myself" = x
; then
8103 if test ! -f "$as_myself"; then
8104 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8108 # Unset variables that we do not need and which cause bugs (e.g. in
8109 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8110 # suppresses any "Segmentation fault" message there. '((' could
8111 # trigger a bug in pdksh 5.2.14.
8112 for as_var
in BASH_ENV ENV MAIL MAILPATH
8113 do eval test x\
${$as_var+set} = xset \
8114 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8127 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8130 # as_fn_error ERROR [LINENO LOG_FD]
8131 # ---------------------------------
8132 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8133 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8134 # script with status $?, using 1 if that was 0.
8137 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8139 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8140 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8142 $as_echo "$as_me: error: $1" >&2
8143 as_fn_exit
$as_status
8147 # as_fn_set_status STATUS
8148 # -----------------------
8149 # Set $? to STATUS, without forking.
8153 } # as_fn_set_status
8157 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8167 # Portably unset VAR.
8170 { eval $1=; unset $1;}
8172 as_unset
=as_fn_unset
8173 # as_fn_append VAR VALUE
8174 # ----------------------
8175 # Append the text in VALUE to the end of the definition contained in VAR. Take
8176 # advantage of any shell optimizations that allow amortized linear growth over
8177 # repeated appends, instead of the typical quadratic growth present in naive
8179 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8180 eval 'as_fn_append ()
8191 # as_fn_arith ARG...
8192 # ------------------
8193 # Perform arithmetic evaluation on the ARGs, and store the result in the
8194 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8195 # must be portable across $(()) and expr.
8196 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8197 eval 'as_fn_arith ()
8204 as_val
=`expr "$@" || test $? -eq 1`
8209 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8210 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8216 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8217 as_basename
=basename
8222 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8228 as_me
=`$as_basename -- "$0" ||
8229 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8230 X"$0" : 'X\(//\)$' \| \
8231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8233 sed '/^.*\/\([^/][^/]*\)\/*$/{
8247 # Avoid depending upon Character Ranges.
8248 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8249 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8250 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8251 as_cr_digits
='0123456789'
8252 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8254 ECHO_C
= ECHO_N
= ECHO_T
=
8255 case `echo -n x` in #(((((
8257 case `echo 'xy\c'` in
8258 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8260 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8267 rm -f conf$$ conf$$.exe conf$$.
file
8268 if test -d conf$$.dir
; then
8269 rm -f conf$$.dir
/conf$$.
file
8272 mkdir conf$$.dir
2>/dev
/null
8274 if (echo >conf$$.
file) 2>/dev
/null
; then
8275 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8277 # ... but there are two gotchas:
8278 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8279 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8280 # In both cases, we have to default to `cp -p'.
8281 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8283 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8291 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8292 rmdir conf$$.dir
2>/dev
/null
8297 # Create "$as_dir" as a directory, including parents if necessary.
8302 -*) as_dir
=.
/$as_dir;;
8304 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8308 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8309 *) as_qdir
=$as_dir;;
8311 as_dirs
="'$as_qdir' $as_dirs"
8312 as_dir
=`$as_dirname -- "$as_dir" ||
8313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8314 X"$as_dir" : 'X\(//\)[^/]' \| \
8315 X"$as_dir" : 'X\(//\)$' \| \
8316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8317 $as_echo X"$as_dir" |
8318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8335 test -d "$as_dir" && break
8337 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8338 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8342 if mkdir
-p .
2>/dev
/null
; then
8343 as_mkdir_p
='mkdir -p "$as_dir"'
8345 test -d .
/-p && rmdir .
/-p
8349 if test -x / >/dev
/null
2>&1; then
8352 if ls -dL / >/dev
/null
2>&1; then
8359 if test -d "$1"; then
8365 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8366 ???[sx]*):;;*)false;;esac;fi
8370 as_executable_p
=$as_test_x
8372 # Sed expression to map a string onto a valid CPP name.
8373 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8375 # Sed expression to map a string onto a valid variable name.
8376 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8380 ## ----------------------------------- ##
8381 ## Main body of $CONFIG_STATUS script. ##
8382 ## ----------------------------------- ##
8384 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8387 # Save the log message, to keep $0 and so on meaningful, and to
8388 # report actual input values of CONFIG_FILES etc. instead of their
8389 # values after options handling.
8391 This file was extended by gold $as_me 0.1, which was
8392 generated by GNU Autoconf 2.64. Invocation command line was
8394 CONFIG_FILES = $CONFIG_FILES
8395 CONFIG_HEADERS = $CONFIG_HEADERS
8396 CONFIG_LINKS = $CONFIG_LINKS
8397 CONFIG_COMMANDS = $CONFIG_COMMANDS
8400 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8405 case $ac_config_files in *"
8406 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8409 case $ac_config_headers in *"
8410 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8415 # Files that config.status was made for.
8416 config_files="$ac_config_files"
8417 config_headers="$ac_config_headers"
8418 config_commands="$ac_config_commands"
8422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8424 \`$as_me' instantiates files and other configuration actions
8425 from templates according to the current configuration. Unless the files
8426 and actions are specified as TAGs, all are instantiated by default.
8428 Usage: $0 [OPTION]... [TAG]...
8430 -h, --help print this help, then exit
8431 -V, --version print version number and configuration settings, then exit
8432 -q, --quiet, --silent
8433 do not print progress messages
8434 -d, --debug don't remove temporary files
8435 --recheck update $as_me by reconfiguring in the same conditions
8436 --file=FILE[:TEMPLATE]
8437 instantiate the configuration file FILE
8438 --header=FILE[:TEMPLATE]
8439 instantiate the configuration header FILE
8441 Configuration files:
8444 Configuration headers:
8447 Configuration commands:
8450 Report bugs to the package provider."
8453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8455 gold config.status 0.1
8456 configured by $0, generated by GNU Autoconf 2.64,
8457 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8459 Copyright (C) 2009 Free Software Foundation, Inc.
8460 This config.status script is free software; the Free Software Foundation
8461 gives unlimited permission to copy, distribute and modify it."
8468 test -n "\$AWK" || AWK=awk
8471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8472 # The default lists apply if the user does not specify any file.
8478 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8479 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8490 # Handling of the options.
8491 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8493 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8494 $as_echo "$ac_cs_version"; exit ;;
8495 --debug |
--debu |
--deb |
--de |
--d |
-d )
8497 --file |
--fil |
--fi |
--f )
8500 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8502 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8503 ac_need_defaults
=false
;;
8504 --header |
--heade |
--head |
--hea )
8507 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8509 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8510 ac_need_defaults
=false
;;
8512 # Conflict between --help and --header
8513 as_fn_error
"ambiguous option: \`$1'
8514 Try \`$0 --help' for more information.";;
8515 --help |
--hel |
-h )
8516 $as_echo "$ac_cs_usage"; exit ;;
8517 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8518 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8522 -*) as_fn_error
"unrecognized option: \`$1'
8523 Try \`$0 --help' for more information." ;;
8525 *) as_fn_append ac_config_targets
" $1"
8526 ac_need_defaults
=false
;;
8532 ac_configure_extra_args
=
8534 if $ac_cs_silent; then
8536 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8541 if \$ac_cs_recheck; then
8542 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8544 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8545 CONFIG_SHELL='$SHELL'
8551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8556 ## Running $as_me. ##
8562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8566 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8567 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8568 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8570 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8571 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8572 LINGUAS="${LINGUAS-%UNSET%}"
8577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8579 # Handling of arguments.
8580 for ac_config_target
in $ac_config_targets
8582 case $ac_config_target in
8583 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8584 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8585 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8586 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8587 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
8588 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8590 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8595 # If the user did not use the arguments to specify the items to instantiate,
8596 # then the envvar interface is used. Set only those that are not.
8597 # We use the long form for the default assignment because of an extremely
8598 # bizarre bug on SunOS 4.1.3.
8599 if $ac_need_defaults; then
8600 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8601 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8602 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8605 # Have a temporary directory for convenience. Make it in the build tree
8606 # simply because there is no reason against having it here, and in addition,
8607 # creating and moving files from /tmp can sometimes cause problems.
8608 # Hook for its removal unless debugging.
8609 # Note that there is a small window in which the directory will not be cleaned:
8610 # after its creation but before its name has been assigned to `$tmp'.
8614 trap 'exit_status=$?
8615 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8617 trap 'as_fn_exit 1' 1 2 13 15
8619 # Create a (secure) tmp directory for tmp files.
8622 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8623 test -n "$tmp" && test -d "$tmp"
8626 tmp
=.
/conf$$
-$RANDOM
8627 (umask 077 && mkdir
"$tmp")
8628 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8630 # Set up the scripts for CONFIG_FILES section.
8631 # No need to generate them if there are no CONFIG_FILES.
8632 # This happens for instance with `./config.status config.h'.
8633 if test -n "$CONFIG_FILES"; then
8636 ac_cr
=`echo X | tr X '\015'`
8637 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8638 # But we know of no other shell where ac_cr would be empty at this
8639 # point, so we can use a bashism as a fallback.
8640 if test "x$ac_cr" = x
; then
8641 eval ac_cr
=\$
\'\\r
\'
8643 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8644 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8650 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8655 echo "cat >conf$$subs.awk <<_ACEOF" &&
8656 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8659 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8660 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8662 for ac_last_try in false false false false false :; do
8663 . ./conf$$subs.sh ||
8664 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8666 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8667 if test $ac_delim_n = $ac_delim_num; then
8669 elif $ac_last_try; then
8670 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8672 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8678 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8682 s/^/S["/; s
/!.
*/"]=/
8692 s/\(.\{148\}\).*/\1/
8694 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8699 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8706 s/\(.\{148\}\).*/\1/
8708 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8712 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8717 ' <conf$$subs.awk | sed '
8722 ' >>$CONFIG_STATUS || ac_write_fail=1
8723 rm -f conf$$subs.awk
8724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8726 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8727 for (key in S) S_is_set[key] = 1
8733 nfields = split(line, field, "@
")
8735 len = length(field[1])
8736 for (i = 2; i < nfields; i++) {
8738 keylen = length(key)
8739 if (S_is_set[key]) {
8741 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8742 len += length(value) + length(field[++i])
8753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8754 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8755 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8758 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8759 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8762 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8763 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8764 # trailing colons and then remove the whole line if VPATH becomes empty
8765 # (actually we leave an empty line to preserve line numbers).
8766 if test "x
$srcdir" = x.; then
8767 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8771 s/^\([^=]*=[ ]*\):*/\1/
8777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8778 fi # test -n "$CONFIG_FILES"
8780 # Set up the scripts for CONFIG_HEADERS section.
8781 # No need to generate them if there are no CONFIG_HEADERS.
8782 # This happens for instance with `./config.status Makefile'.
8783 if test -n "$CONFIG_HEADERS"; then
8784 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8788 # Transform confdefs.h into an awk script `defines.awk', embedded as
8789 # here-document in config.status, that substitutes the proper values into
8790 # config.h.in to produce config.h.
8792 # Create a delimiter string that does not exist in confdefs.h, to ease
8793 # handling of long lines.
8795 for ac_last_try in false false :; do
8796 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8797 if test -z "$ac_t"; then
8799 elif $ac_last_try; then
8800 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8802 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8806 # For the awk script, D is an array of macro values keyed by name,
8807 # likewise P contains macro parameters if any. Preserve backslash
8808 # newline sequences.
8810 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8812 s/.\{148\}/&'"$ac_delim"'/g
8815 s/^[ ]*#[ ]*define[ ][ ]*/ /
8822 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8824 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8828 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8829 D["\
1"]=" \
3\\\\\\n
"\\/p
8831 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8836 s/.\{148\}/&'"$ac_delim"'/g
8841 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8844 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8846 ' <confdefs.h | sed '
8847 s/'"$ac_delim"'/"\\\
8848 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8851 for (key in D) D_is_set[key] = 1
8854 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8856 split(line, arg, " ")
8857 if (arg[1] == "#") {
8861 defundef
= substr
(arg
[1], 2)
8864 split(mac1
, mac2
, "(") #)
8866 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8867 if (D_is_set
[macro
]) {
8868 # Preserve the white space surrounding the "#".
8869 print prefix
"define", macro P
[macro
] D
[macro
]
8872 # Replace #undef with comments. This is necessary, for example,
8873 # in the case of _POSIX_SOURCE, which is predefined and required
8874 # on some systems where configure will not decide to define it.
8875 if (defundef
== "undef") {
8876 print
"/*", prefix defundef
, macro
, "*/"
8884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8885 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8886 fi # test -n "$CONFIG_HEADERS"
8889 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8894 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8896 case $ac_mode$ac_tag in
8898 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8899 :[FH
]-) ac_tag
=-:-;;
8900 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8917 -) ac_f
="$tmp/stdin";;
8918 *) # Look for the file first in the build tree, then in the source tree
8919 # (if the path is not absolute). The absolute path cannot be DOS-style,
8920 # because $ac_f cannot contain `:'.
8924 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8926 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8928 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8929 as_fn_append ac_file_inputs
" '$ac_f'"
8932 # Let's still pretend it is `configure' which instantiates (i.e., don't
8933 # use $as_me), people would be surprised to read:
8934 # /* config.h. Generated by config.status. */
8935 configure_input
='Generated from '`
8936 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8938 if test x
"$ac_file" != x-
; then
8939 configure_input
="$ac_file. $configure_input"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8941 $as_echo "$as_me: creating $ac_file" >&6;}
8943 # Neutralize special characters interpreted by sed in replacement strings.
8944 case $configure_input in #(
8945 *\
&* |
*\|
* |
*\\* )
8946 ac_sed_conf_input
=`$as_echo "$configure_input" |
8947 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8948 *) ac_sed_conf_input
=$configure_input;;
8952 *:-:* |
*:-) cat >"$tmp/stdin" \
8953 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8958 ac_dir
=`$as_dirname -- "$ac_file" ||
8959 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8960 X"$ac_file" : 'X\(//\)[^/]' \| \
8961 X"$ac_file" : 'X\(//\)$' \| \
8962 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8963 $as_echo X"$ac_file" |
8964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8981 as_dir
="$ac_dir"; as_fn_mkdir_p
8985 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8987 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8988 # A ".." for each directory in $ac_dir_suffix.
8989 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8990 case $ac_top_builddir_sub in
8991 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8992 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8995 ac_abs_top_builddir
=$ac_pwd
8996 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8997 # for backward compatibility:
8998 ac_top_builddir
=$ac_top_build_prefix
9001 .
) # We are building in place.
9003 ac_top_srcdir
=$ac_top_builddir_sub
9004 ac_abs_top_srcdir
=$ac_pwd ;;
9005 [\\/]* | ?
:[\\/]* ) # Absolute name.
9006 ac_srcdir
=$srcdir$ac_dir_suffix;
9007 ac_top_srcdir
=$srcdir
9008 ac_abs_top_srcdir
=$srcdir ;;
9010 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9011 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9012 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9014 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9024 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9025 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9029 [\\/$
]* | ?
:[\\/]* ) ;;
9030 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9035 # If the template does not know about datarootdir, expand it.
9036 # FIXME: This hack should be removed a few years after 2.60.
9037 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9048 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9049 *datarootdir
*) ac_datarootdir_seen
=yes;;
9050 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9052 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9055 ac_datarootdir_hack='
9056 s&@datadir@&$datadir&g
9057 s&@docdir@&$docdir&g
9058 s&@infodir@&$infodir&g
9059 s&@localedir@&$localedir&g
9060 s&@mandir@&$mandir&g
9061 s&\\\${datarootdir}&$datarootdir&g' ;;
9065 # Neutralize VPATH when `$srcdir' = `.'.
9066 # Shell code in configure.ac might set extrasub.
9067 # FIXME: do we really want to maintain this feature?
9068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9069 ac_sed_extra="$ac_vpsub
9072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9074 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9075 s|@configure_input@|
$ac_sed_conf_input|
;t t
9076 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9077 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9078 s
&@srcdir@
&$ac_srcdir&;t t
9079 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9080 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9081 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9082 s
&@builddir@
&$ac_builddir&;t t
9083 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9084 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9085 s
&@INSTALL@
&$ac_INSTALL&;t t
9086 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9087 $ac_datarootdir_hack
9089 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9090 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9092 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9093 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9094 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9096 which seems to be undefined. Please make sure it is defined." >&5
9097 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9098 which seems to be undefined. Please make sure it is defined." >&2;}
9102 -) cat "$tmp/out" && rm -f "$tmp/out";;
9103 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9105 || as_fn_error "could not create $ac_file" "$LINENO" 5
9111 if test x"$ac_file" != x-; then
9113 $as_echo "/* $configure_input */" \
9114 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9115 } >"$tmp/config.h" \
9116 || as_fn_error "could not create $ac_file" "$LINENO" 5
9117 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9119 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9122 mv "$tmp/config.h" "$ac_file" \
9123 || as_fn_error "could not create $ac_file" "$LINENO" 5
9126 $as_echo "/* $configure_input */" \
9127 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9128 || as_fn_error "could not create -" "$LINENO" 5
9130 # Compute "$ac_file"'s index
in $config_headers.
9133 for _am_header
in $config_headers :; do
9135 $_am_arg |
$_am_arg:* )
9138 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9141 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9142 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9143 X"$_am_arg" : 'X\(//\)[^/]' \| \
9144 X"$_am_arg" : 'X\(//\)$' \| \
9145 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9146 $as_echo X"$_am_arg" |
9147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9163 s/.*/./; q'`/stamp-h
$_am_stamp_count
9166 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9167 $as_echo "$as_me: executing $ac_file commands" >&6;}
9172 case $ac_file$ac_mode in
9173 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9174 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9175 # are listed without --file. Let's play safe and only enable the eval
9176 # if we detect the quoting.
9177 case $CONFIG_FILES in
9178 *\'*) eval set x
"$CONFIG_FILES" ;;
9179 *) set x
$CONFIG_FILES ;;
9184 # Strip MF so we end up with the name of the file.
9185 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9186 # Check whether this is an Automake generated Makefile or not.
9187 # We used to match only the files named `Makefile.in', but
9188 # some people rename them; so instead we look at the file content.
9189 # Grep'ing the first line is not enough: some people post-process
9190 # each Makefile.in and add a new line on top of each file to say so.
9191 # Grep'ing the whole file is not good either: AIX grep has a line
9192 # limit of 2048, but all sed's we know have understand at least 4000.
9193 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9194 dirpart
=`$as_dirname -- "$mf" ||
9195 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9196 X"$mf" : 'X\(//\)[^/]' \| \
9197 X"$mf" : 'X\(//\)$' \| \
9198 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9220 # Extract the definition of DEPDIR, am__include, and am__quote
9221 # from the Makefile without running `make'.
9222 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9223 test -z "$DEPDIR" && continue
9224 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9225 test -z "am__include" && continue
9226 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9227 # When using ansi2knr, U may be empty or an underscore; expand it
9228 U
=`sed -n 's/^U = //p' < "$mf"`
9229 # Find all dependency output files, they are included files with
9230 # $(DEPDIR) in their names. We invoke sed twice because it is the
9231 # simplest approach to changing $(DEPDIR) to its actual value in the
9233 for file in `sed -n "
9234 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9235 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9236 # Make sure the directory exists.
9237 test -f "$dirpart/$file" && continue
9238 fdir
=`$as_dirname -- "$file" ||
9239 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9240 X"$file" : 'X\(//\)[^/]' \| \
9241 X"$file" : 'X\(//\)$' \| \
9242 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9261 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9262 # echo "creating $dirpart/$file"
9263 echo '# dummy' > "$dirpart/$file"
9269 for ac_file
in $CONFIG_FILES; do
9270 # Support "outfile[:infile[:infile...]]"
9272 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9274 # PO directories have a Makefile.in generated from Makefile.in.in.
9275 case "$ac_file" in */Makefile.
in)
9276 # Adjust a relative srcdir.
9277 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9278 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
9279 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9280 # In autoconf-2.13 it is called $ac_given_srcdir.
9281 # In autoconf-2.50 it is called $srcdir.
9282 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9283 case "$ac_given_srcdir" in
9284 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9285 /*) top_srcdir
="$ac_given_srcdir" ;;
9286 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9288 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9289 rm -f "$ac_dir/POTFILES"
9290 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9291 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9292 POMAKEFILEDEPS
="POTFILES.in"
9293 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9294 # on $ac_dir but don't depend on user-specified configuration
9296 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9297 # The LINGUAS file contains the set of available languages.
9298 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9299 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
9301 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9302 # Hide the ALL_LINGUAS assigment from automake.
9303 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9304 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9306 # The set of available languages was given in configure.ac.
9307 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9309 case "$ac_given_srcdir" in
9311 *) srcdirpre
='$(srcdir)/' ;;
9317 for lang
in $ALL_LINGUAS; do
9318 POFILES
="$POFILES $srcdirpre$lang.po"
9319 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9320 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9321 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9323 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9324 # environment variable.
9326 if test -n "$ALL_LINGUAS"; then
9327 for presentlang
in $ALL_LINGUAS; do
9329 if test "%UNSET%" != "$LINGUAS"; then
9330 desiredlanguages
="$LINGUAS"
9332 desiredlanguages
="$ALL_LINGUAS"
9334 for desiredlang
in $desiredlanguages; do
9335 # Use the presentlang catalog if desiredlang is
9336 # a. equal to presentlang, or
9337 # b. a variant of presentlang (because in this case,
9338 # presentlang can be used as a fallback for messages
9339 # which are not translated in the desiredlang catalog).
9340 case "$desiredlang" in
9341 "$presentlang"*) useit
=yes;;
9344 if test $useit = yes; then
9345 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9350 if test -n "$INST_LINGUAS"; then
9351 for lang
in $INST_LINGUAS; do
9352 CATALOGS
="$CATALOGS $lang.gmo"
9355 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9356 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"
9357 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9358 if test -f "$f"; then
9360 *.orig |
*.bak |
*~
) ;;
9361 *) cat "$f" >> "$ac_dir/Makefile" ;;
9376 ac_clean_files
=$ac_clean_files_save
9378 test $ac_write_fail = 0 ||
9379 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9382 # configure is writing to config.log, and then calls config.status.
9383 # config.status does its own redirection, appending to config.log.
9384 # Unfortunately, on DOS this fails, as config.log is still kept open
9385 # by configure, so config.status won't be able to write to it; its
9386 # output is simply discarded. So we exec the FD to /dev/null,
9387 # effectively closing config.log, so it can be properly (re)opened and
9388 # appended to by config.status. When coming back to configure, we
9389 # need to make the FD available again.
9390 if test "$no_create" != yes; then
9392 ac_config_status_args
=
9393 test "$silent" = yes &&
9394 ac_config_status_args
="$ac_config_status_args --quiet"
9396 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9398 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9399 # would make configure fail if this is the last instruction.
9400 $ac_cs_success || as_fn_exit $?
9402 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9404 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}