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
618 TLS_DESCRIPTORS_FALSE
620 TLS_GNU2_DIALECT_FALSE
621 TLS_GNU2_DIALECT_TRUE
631 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
632 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
635 NATIVE_OR_CROSS_LINKER_FALSE
636 NATIVE_OR_CROSS_LINKER_TRUE
689 DEFAULT_TARGET_MIPS_FALSE
690 DEFAULT_TARGET_MIPS_TRUE
691 DEFAULT_TARGET_TILEGX_FALSE
692 DEFAULT_TARGET_TILEGX_TRUE
693 DEFAULT_TARGET_X86_64_OR_X32_FALSE
694 DEFAULT_TARGET_X86_64_OR_X32_TRUE
695 DEFAULT_TARGET_X32_FALSE
696 DEFAULT_TARGET_X32_TRUE
697 DEFAULT_TARGET_X86_64_FALSE
698 DEFAULT_TARGET_X86_64_TRUE
699 DEFAULT_TARGET_S390_FALSE
700 DEFAULT_TARGET_S390_TRUE
701 DEFAULT_TARGET_SPARC_FALSE
702 DEFAULT_TARGET_SPARC_TRUE
703 DEFAULT_TARGET_POWERPC_FALSE
704 DEFAULT_TARGET_POWERPC_TRUE
705 DEFAULT_TARGET_I386_FALSE
706 DEFAULT_TARGET_I386_TRUE
707 DEFAULT_TARGET_ARM_FALSE
708 DEFAULT_TARGET_ARM_TRUE
709 DEFAULT_TARGET_AARCH64_FALSE
710 DEFAULT_TARGET_AARCH64_TRUE
725 INSTALL_STRIP_PROGRAM
779 program_transform_name
792 enable_option_checking
800 enable_dependency_tracking
803 enable_build_warnings
807 enable_maintainer_mode
809 ac_precious_vars
='build_alias
826 # Initialize some variables set by options.
828 ac_init_version
=false
829 ac_unrecognized_opts
=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name
=s
,x
,x
,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir
='${exec_prefix}/bin'
855 sbindir
='${exec_prefix}/sbin'
856 libexecdir
='${exec_prefix}/libexec'
857 datarootdir
='${prefix}/share'
858 datadir
='${datarootdir}'
859 sysconfdir
='${prefix}/etc'
860 sharedstatedir
='${prefix}/com'
861 localstatedir
='${prefix}/var'
862 includedir
='${prefix}/include'
863 oldincludedir
='/usr/include'
864 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
865 infodir
='${datarootdir}/info'
870 libdir
='${exec_prefix}/lib'
871 localedir
='${datarootdir}/locale'
872 mandir
='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\
$ac_option
886 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
1082 -program-transform-name |
--program-transform-name \
1083 |
--program-transform-nam |
--program-transform-na \
1084 |
--program-transform-n |
--program-transform- \
1085 |
--program-transform |
--program-transfor \
1086 |
--program-transfo |
--program-transf \
1087 |
--program-trans |
--program-tran \
1088 |
--progr-tra |
--program-tr |
--program-t)
1089 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information."
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1351 for ac_var
in $ac_precious_vars; do
1352 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1353 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1354 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1355 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1359 # Report the --help message.
1361 if test "$ac_init_help" = "long"; then
1362 # Omit some internal or obsolete options to make the list less imposing.
1363 # This message is too long to be a string in the A/UX 3.1 sh.
1365 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1367 Usage: $0 [OPTION]... [VAR=VALUE]...
1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1370 VAR=VALUE. See below for descriptions of some of the useful variables.
1372 Defaults for the options are specified in brackets.
1375 -h, --help display this help and exit
1376 --help=short display options specific to this package
1377 --help=recursive display the short help of all the included packages
1378 -V, --version display version information and exit
1379 -q, --quiet, --silent do not print \`checking...' messages
1380 --cache-file=FILE cache test results in FILE [disabled]
1381 -C, --config-cache alias for \`--cache-file=config.cache'
1382 -n, --no-create do not create output files
1383 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1385 Installation directories:
1386 --prefix=PREFIX install architecture-independent files in PREFIX
1387 [$ac_default_prefix]
1388 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1391 By default, \`make install' will install all the files in
1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1394 for instance \`--prefix=\$HOME'.
1396 For better control, use the options below.
1398 Fine tuning of the installation directories:
1399 --bindir=DIR user executables [EPREFIX/bin]
1400 --sbindir=DIR system admin executables [EPREFIX/sbin]
1401 --libexecdir=DIR program executables [EPREFIX/libexec]
1402 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1403 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1404 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1405 --libdir=DIR object code libraries [EPREFIX/lib]
1406 --includedir=DIR C header files [PREFIX/include]
1407 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1408 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1409 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1410 --infodir=DIR info documentation [DATAROOTDIR/info]
1411 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1412 --mandir=DIR man documentation [DATAROOTDIR/man]
1413 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1414 --htmldir=DIR html documentation [DOCDIR]
1415 --dvidir=DIR dvi documentation [DOCDIR]
1416 --pdfdir=DIR pdf documentation [DOCDIR]
1417 --psdir=DIR ps documentation [DOCDIR]
1423 --program-prefix=PREFIX prepend PREFIX to installed program names
1424 --program-suffix=SUFFIX append SUFFIX to installed program names
1425 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1428 --build=BUILD configure
for building on BUILD
[guessed
]
1429 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1430 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1434 if test -n "$ac_init_help"; then
1435 case $ac_init_help in
1436 short | recursive
) echo "Configuration of gold 0.1:";;
1441 --disable-option-checking ignore unrecognized
--enable/--with options
1442 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1443 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1444 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1445 --enable-threads multi-threaded linking
1446 --enable-plugins linker plugins
1447 --enable-relro enable -z relro
in ELF linker by default
1448 --enable-targets alternative target configurations
1449 --disable-dependency-tracking speeds up one-time build
1450 --enable-dependency-tracking do not reject slow dependency extractors
1451 --disable-nls do not use Native Language Support
1452 --enable-werror treat compile warnings as errors
1453 --enable-build-warnings enable build-time compiler warnings
1454 --enable-maintainer-mode enable make rules and dependencies not useful
1455 (and sometimes confusing
) to the casual installer
1458 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1459 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1460 --with-sysroot=DIR search
for usr
/lib et al within DIR
1461 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1462 --with-gold-ldflags=FLAGS additional link flags
for gold
1463 --with-gold-ldadd=LIBS additional libraries
for gold
1464 --with-system-zlib use installed libz
1466 Some influential environment variables
:
1467 CC C compiler
command
1468 CFLAGS C compiler flags
1469 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1470 nonstandard directory
<lib dir
>
1471 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1472 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1473 you have headers
in a nonstandard directory
<include dir
>
1474 CXX C
++ compiler
command
1475 CXXFLAGS C
++ compiler flags
1476 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1477 the first program found out of: `bison
-y', `byacc', `yacc'.
1478 YFLAGS The list of arguments that will be passed by default to $YACC.
1479 This script will default YFLAGS to the empty string to avoid a
1480 default value of `-d' given by some make applications.
1482 CXXCPP C++ preprocessor
1484 Use these variables to override the choices made by `configure' or to
help
1485 it to
find libraries and programs with nonstandard names
/locations.
1487 Report bugs to the package provider.
1492 if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1495 test -d "$ac_dir" ||
1496 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1501 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1503 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1504 # A ".." for each directory in $ac_dir_suffix.
1505 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1506 case $ac_top_builddir_sub in
1507 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1508 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1511 ac_abs_top_builddir
=$ac_pwd
1512 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1513 # for backward compatibility:
1514 ac_top_builddir
=$ac_top_build_prefix
1517 .
) # We are building in place.
1519 ac_top_srcdir
=$ac_top_builddir_sub
1520 ac_abs_top_srcdir
=$ac_pwd ;;
1521 [\\/]* | ?
:[\\/]* ) # Absolute name.
1522 ac_srcdir
=$srcdir$ac_dir_suffix;
1523 ac_top_srcdir
=$srcdir
1524 ac_abs_top_srcdir
=$srcdir ;;
1526 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1527 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1528 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1530 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1532 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1533 # Check for guested configure.
1534 if test -f "$ac_srcdir/configure.gnu"; then
1536 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1537 elif test -f "$ac_srcdir/configure"; then
1539 $SHELL "$ac_srcdir/configure" --help=recursive
1541 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1547 test -n "$ac_init_help" && exit $ac_status
1548 if $ac_init_version; then
1551 generated by GNU Autoconf
2.64
1553 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1554 This configure
script is free software
; the Free Software Foundation
1555 gives unlimited permission to copy
, distribute and modify it.
1560 ## ------------------------ ##
1561 ## Autoconf initialization. ##
1562 ## ------------------------ ##
1564 # ac_fn_c_try_compile LINENO
1565 # --------------------------
1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_c_try_compile
()
1569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1570 rm -f conftest.
$ac_objext
1571 if { { ac_try
="$ac_compile"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.$ac_objext; then :
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1600 } # ac_fn_c_try_compile
1602 # ac_fn_cxx_try_compile LINENO
1603 # ----------------------------
1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1605 ac_fn_cxx_try_compile ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext
1609 if { { ac_try="$ac_compile"
1611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1612 *) ac_try_echo
=$ac_try;;
1614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_compile") 2>conftest.err
1618 if test -s conftest.err
; then
1619 grep -v '^ *+' conftest.err
>conftest.er1
1620 cat conftest.er1
>&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_cxx_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest.
$ac_objext; then :
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1638 } # ac_fn_cxx_try_compile
1640 # ac_fn_c_try_cpp LINENO
1641 # ----------------------
1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } >/dev/null && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1680 # the include files in INCLUDES and setting the cache variable VAR
1682 ac_fn_c_check_header_mongrel ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1689 $as_echo_n "(cached) " >&6
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1695 # Is the header compilable?
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1697 $as_echo_n "checking $2 usability... " >&6; }
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1703 if ac_fn_c_try_compile "$LINENO"; then :
1704 ac_header_compiler=yes
1706 ac_header_compiler=no
1708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1710 $as_echo "$ac_header_compiler" >&6; }
1712 # Is the header present?
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1714 $as_echo_n "checking $2 presence... " >&6; }
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1719 if ac_fn_c_try_cpp "$LINENO"; then :
1720 ac_header_preproc=yes
1722 ac_header_preproc=no
1724 rm -f conftest.err conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1726 $as_echo "$ac_header_preproc" >&6; }
1728 # So? What about this header?
1729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1752 $as_echo_n "(cached) " >&6
1754 eval "$3=\$ac_header_compiler"
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_header_mongrel
1764 # ac_fn_c_try_run LINENO
1765 # ----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1767 # that executables *can* be run.
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_link"
1773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1774 *) ac_try_echo
=$ac_try;;
1776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1782 { { case "(($ac_try" in
1783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_try") 2>&5
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; }; }; then :
1794 $as_echo "$as_me: program exited with status $ac_status" >&5
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=$ac_status
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1847 *) ac_try_echo
=$ac_try;;
1849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err
; then
1854 grep -v '^ *+' conftest.err
>conftest.er1
1855 cat conftest.er1
>&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest
$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 $as_test_x conftest
$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.
$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func
()
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link
"$LINENO"; then :
1940 rm -f core conftest.err conftest.
$ac_objext \
1941 conftest
$ac_exeext conftest.
$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1948 } # ac_fn_c_check_func
1950 # ac_fn_c_check_decl LINENO SYMBOL VAR
1951 # ------------------------------------
1952 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1953 ac_fn_c_check_decl
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1957 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1959 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1960 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1961 $as_echo_n "(cached) " >&6
1963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1969 #ifndef $as_decl_name
1971 (void) $as_decl_use;
1973 (void) $as_decl_name;
1981 if ac_fn_c_try_compile
"$LINENO"; then :
1986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1993 } # ac_fn_c_check_decl
1995 # ac_fn_cxx_try_cpp LINENO
1996 # ------------------------
1997 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1998 ac_fn_cxx_try_cpp
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2004 *) ac_try_echo=$ac_try;;
2006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2010 if test -s conftest.err; then
2011 grep -v '^ *+' conftest.err >conftest.er1
2012 cat conftest.er1 >&5
2013 mv -f conftest.er1 conftest.err
2015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016 test $ac_status = 0; } >/dev/null && {
2017 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2018 test ! -s conftest.err
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2030 } # ac_fn_cxx_try_cpp
2032 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2033 # ---------------------------------------------------------
2034 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2035 # the include files in INCLUDES and setting the cache variable VAR
2037 ac_fn_cxx_check_header_mongrel ()
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 $as_echo_n "checking for $2... " >&6; }
2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2044 $as_echo_n "(cached) " >&6
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2050 # Is the header compilable?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2052 $as_echo_n "checking $2 usability... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2058 if ac_fn_cxx_try_compile "$LINENO"; then :
2059 ac_header_compiler=yes
2061 ac_header_compiler=no
2063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2065 $as_echo "$ac_header_compiler" >&6; }
2067 # Is the header present?
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2069 $as_echo_n "checking $2 presence... " >&6; }
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2074 if ac_fn_cxx_try_cpp "$LINENO"; then :
2075 ac_header_preproc=yes
2077 ac_header_preproc=no
2079 rm -f conftest.err conftest.$ac_ext
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2081 $as_echo "$ac_header_preproc" >&6; }
2083 # So? What about this header?
2084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2087 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2089 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2093 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2095 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2097 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2099 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2101 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2105 $as_echo_n "checking for $2... " >&6; }
2106 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2107 $as_echo_n "(cached) " >&6
2109 eval "$3=\$ac_header_compiler"
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2115 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117 } # ac_fn_cxx_check_header_mongrel
2119 # ac_fn_cxx_try_link LINENO
2120 # -------------------------
2121 # Try to link conftest.$ac_ext, and return whether this succeeded.
2122 ac_fn_cxx_try_link ()
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 rm -f conftest.$ac_objext conftest$ac_exeext
2126 if { { ac_try="$ac_link"
2128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2129 *) ac_try_echo
=$ac_try;;
2131 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2132 $as_echo "$ac_try_echo"; } >&5
2133 (eval "$ac_link") 2>conftest.err
2135 if test -s conftest.err
; then
2136 grep -v '^ *+' conftest.err
>conftest.er1
2137 cat conftest.er1
>&5
2138 mv -f conftest.er1 conftest.err
2140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141 test $ac_status = 0; } && {
2142 test -z "$ac_cxx_werror_flag" ||
2143 test ! -s conftest.err
2144 } && test -s conftest
$ac_exeext && {
2145 test "$cross_compiling" = yes ||
2146 $as_test_x conftest
$ac_exeext
2150 $as_echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2155 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2156 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2157 # interfere with the next link command; also delete a directory that is
2158 # left behind by Apple's compiler. We do this before executing the actions.
2159 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2160 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2163 } # ac_fn_cxx_try_link
2165 # ac_fn_cxx_check_func LINENO FUNC VAR
2166 # ------------------------------------
2167 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2168 ac_fn_cxx_check_func
()
2170 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2178 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2180 #define $2 innocuous_$2
2182 /* System header to define __stub macros and hopefully few prototypes,
2183 which can conflict with char $2 (); below.
2184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2185 <limits.h> exists even on freestanding compilers. */
2188 # include <limits.h>
2190 # include <assert.h>
2195 /* Override any GCC internal prototype to avoid an error.
2196 Use char because int might match the return type of a GCC
2197 builtin and then its argument prototype would still apply. */
2202 /* The GNU C library defines this for functions which it implements
2203 to always fail with ENOSYS. Some functions are actually named
2204 something starting with __ and the normal name is an alias. */
2205 #if defined __stub_$2 || defined __stub___$2
2217 if ac_fn_cxx_try_link
"$LINENO"; then :
2222 rm -f core conftest.err conftest.
$ac_objext \
2223 conftest
$ac_exeext conftest.
$ac_ext
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2230 } # ac_fn_cxx_check_func
2232 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2233 # --------------------------------------
2234 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2235 ac_fn_cxx_check_decl
()
2237 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2238 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2239 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2241 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2242 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2243 $as_echo_n "(cached) " >&6
2245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h. */
2251 #ifndef $as_decl_name
2253 (void) $as_decl_use;
2255 (void) $as_decl_name;
2263 if ac_fn_cxx_try_compile
"$LINENO"; then :
2268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272 $as_echo "$ac_res" >&6; }
2273 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2275 } # ac_fn_cxx_check_decl
2276 cat >config.log
<<_ACEOF
2277 This file contains any messages produced by compilers while
2278 running configure, to aid debugging if configure makes a mistake.
2280 It was created by gold $as_me 0.1, which was
2281 generated by GNU Autoconf 2.64. Invocation command line was
2293 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2294 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2295 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2296 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2297 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2299 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2300 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2302 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2303 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2304 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2305 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2306 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2307 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2308 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir
=.
2317 $as_echo "PATH: $as_dir"
2333 # Keep a trace of the command line.
2334 # Strip out --no-create and --no-recursion so they do not pile up.
2335 # Strip out --silent because we don't want to record it for future runs.
2336 # Also quote any args containing shell meta-characters.
2337 # Make two passes to allow for proper duplicate-argument suppression.
2341 ac_must_keep_next
=false
2347 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2348 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2349 |
-silent |
--silent |
--silen |
--sile |
--sil)
2352 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2355 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2357 as_fn_append ac_configure_args1
" '$ac_arg'"
2358 if test $ac_must_keep_next = true
; then
2359 ac_must_keep_next
=false
# Got value, back to normal.
2362 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2363 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2364 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2365 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2366 case "$ac_configure_args0 " in
2367 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2370 -* ) ac_must_keep_next
=true
;;
2373 as_fn_append ac_configure_args
" '$ac_arg'"
2378 { ac_configure_args0
=; unset ac_configure_args0
;}
2379 { ac_configure_args1
=; unset ac_configure_args1
;}
2381 # When interrupted or exit'd, cleanup temporary files, and complete
2382 # config.log. We remove comments because anyway the quotes in there
2383 # would cause problems or look ugly.
2384 # WARNING: Use '\'' to represent an apostrophe within the trap.
2385 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2386 trap 'exit_status=$?
2387 # Save into config.log some information that might help in debugging.
2392 ## ---------------- ##
2393 ## Cache variables. ##
2394 ## ---------------- ##
2397 # The following way of writing the cache mishandles newlines in values,
2399 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2400 eval ac_val=\$$ac_var
2404 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2405 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2408 _ | IFS | as_nl) ;; #(
2409 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2410 *) { eval $ac_var=; unset $ac_var;} ;;
2415 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2416 *${as_nl}ac_space=\ *)
2418 "s/'\''/'\''\\\\'\'''\''/g;
2419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2422 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2430 ## ----------------- ##
2431 ## Output variables. ##
2432 ## ----------------- ##
2435 for ac_var in $ac_subst_vars
2437 eval ac_val=\$$ac_var
2439 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2441 $as_echo "$ac_var='\''$ac_val'\''"
2445 if test -n "$ac_subst_files"; then
2447 ## ------------------- ##
2448 ## File substitutions. ##
2449 ## ------------------- ##
2452 for ac_var
in $ac_subst_files
2454 eval ac_val
=\$
$ac_var
2456 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2458 $as_echo "$ac_var='\''$ac_val'\''"
2463 if test -s confdefs.h; then
2473 test "$ac_signal" != 0 &&
2474 $as_echo "$as_me: caught signal $ac_signal"
2475 $as_echo "$as_me: exit $exit_status"
2477 rm -f core *.core core.conftest.* &&
2478 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2481 for ac_signal
in 1 2 13 15; do
2482 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2487 rm -f -r conftest
* confdefs.h
2489 $as_echo "/* confdefs.h */" > confdefs.h
2491 # Predefined preprocessor variables.
2493 cat >>confdefs.h
<<_ACEOF
2494 #define PACKAGE_NAME "$PACKAGE_NAME"
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2505 cat >>confdefs.h
<<_ACEOF
2506 #define PACKAGE_STRING "$PACKAGE_STRING"
2509 cat >>confdefs.h
<<_ACEOF
2510 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2513 cat >>confdefs.h
<<_ACEOF
2514 #define PACKAGE_URL "$PACKAGE_URL"
2518 # Let the site file select an alternate cache file if it wants to.
2519 # Prefer an explicitly selected file to automatically selected ones.
2522 if test -n "$CONFIG_SITE"; then
2523 ac_site_file1
=$CONFIG_SITE
2524 elif test "x$prefix" != xNONE
; then
2525 ac_site_file1
=$prefix/share
/config.site
2526 ac_site_file2
=$prefix/etc
/config.site
2528 ac_site_file1
=$ac_default_prefix/share
/config.site
2529 ac_site_file2
=$ac_default_prefix/etc
/config.site
2531 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2533 test "x$ac_site_file" = xNONE
&& continue
2534 if test -r "$ac_site_file"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2536 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2537 sed 's/^/| /' "$ac_site_file" >&5
2542 if test -r "$cache_file"; then
2543 # Some versions of bash will fail to source /dev/null (special
2544 # files actually), so we avoid doing that.
2545 if test -f "$cache_file"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2547 $as_echo "$as_me: loading cache $cache_file" >&6;}
2549 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2550 *) .
"./$cache_file";;
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2555 $as_echo "$as_me: creating cache $cache_file" >&6;}
2559 # Check that the precious variables saved in the cache have kept the same
2561 ac_cache_corrupted
=false
2562 for ac_var
in $ac_precious_vars; do
2563 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2564 eval ac_new_set
=\
$ac_env_${ac_var}_set
2565 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2566 eval ac_new_val
=\
$ac_env_${ac_var}_value
2567 case $ac_old_set,$ac_new_set in
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2570 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2571 ac_cache_corrupted
=: ;;
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2574 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2575 ac_cache_corrupted
=: ;;
2578 if test "x$ac_old_val" != "x$ac_new_val"; then
2579 # differences in whitespace do not lead to failure.
2580 ac_old_val_w
=`echo x $ac_old_val`
2581 ac_new_val_w
=`echo x $ac_new_val`
2582 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2584 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2585 ac_cache_corrupted
=:
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2588 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2589 eval $ac_var=\
$ac_old_val
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2592 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2594 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2597 # Pass precious variables to config.status.
2598 if test "$ac_new_set" = set; then
2600 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2601 *) ac_arg
=$ac_var=$ac_new_val ;;
2603 case " $ac_configure_args " in
2604 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2605 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2609 if $ac_cache_corrupted; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2613 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2614 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2616 ## -------------------- ##
2617 ## Main body of script. ##
2618 ## -------------------- ##
2621 ac_cpp
='$CPP $CPPFLAGS'
2622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2633 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2634 for ac_t
in install-sh
install.sh shtool
; do
2635 if test -f "$ac_dir/$ac_t"; then
2637 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2642 if test -z "$ac_aux_dir"; then
2643 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2646 # These three variables are undocumented and unsupported,
2647 # and are intended to be withdrawn in a future Autoconf release.
2648 # They can cause serious problems if a builder's source tree is in a directory
2649 # whose full name contains unusual characters.
2650 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2651 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2652 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2655 # Make sure we can run config.sub.
2656 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2657 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2660 $as_echo_n "checking build system type... " >&6; }
2661 if test "${ac_cv_build+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2664 ac_build_alias
=$build_alias
2665 test "x$ac_build_alias" = x
&&
2666 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2667 test "x$ac_build_alias" = x
&&
2668 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2669 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2670 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2674 $as_echo "$ac_cv_build" >&6; }
2675 case $ac_cv_build in
2677 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2680 ac_save_IFS
=$IFS; IFS
='-'
2686 # Remember, the first character of IFS is used to create $*,
2687 # except with old shells:
2690 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2694 $as_echo_n "checking host system type... " >&6; }
2695 if test "${ac_cv_host+set}" = set; then :
2696 $as_echo_n "(cached) " >&6
2698 if test "x$host_alias" = x
; then
2699 ac_cv_host
=$ac_cv_build
2701 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2702 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2707 $as_echo "$ac_cv_host" >&6; }
2710 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2713 ac_save_IFS
=$IFS; IFS
='-'
2719 # Remember, the first character of IFS is used to create $*,
2720 # except with old shells:
2723 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2727 $as_echo_n "checking target system type... " >&6; }
2728 if test "${ac_cv_target+set}" = set; then :
2729 $as_echo_n "(cached) " >&6
2731 if test "x$target_alias" = x
; then
2732 ac_cv_target
=$ac_cv_host
2734 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2735 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2740 $as_echo "$ac_cv_target" >&6; }
2741 case $ac_cv_target in
2743 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2745 target
=$ac_cv_target
2746 ac_save_IFS
=$IFS; IFS
='-'
2752 # Remember, the first character of IFS is used to create $*,
2753 # except with old shells:
2756 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2759 # The aliases save the names the user supplied, while $host etc.
2760 # will get canonicalized.
2761 test -n "$target_alias" &&
2762 test "$program_prefix$program_suffix$program_transform_name" = \
2764 program_prefix
=${target_alias}-
2766 am__api_version
='1.11'
2768 # Find a good install program. We prefer a C program (faster),
2769 # so one script is as good as another. But avoid the broken or
2770 # incompatible versions:
2771 # SysV /etc/install, /usr/sbin/install
2772 # SunOS /usr/etc/install
2773 # IRIX /sbin/install
2775 # AmigaOS /C/install, which installs bootblocks on floppy discs
2776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2779 # OS/2's system install, which has a completely different semantic
2780 # ./install, which can be erroneously created by make from ./install.sh.
2781 # Reject install programs that cannot install multiple files.
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2783 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2784 if test -z "$INSTALL"; then
2785 if test "${ac_cv_path_install+set}" = set; then :
2786 $as_echo_n "(cached) " >&6
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 # Account for people who put trailing slashes in PATH elements.
2794 case $as_dir/ in #((
2795 .
/ | .
// |
/[cC
]/* | \
2796 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2797 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2800 # OSF1 and SCO ODT 3.0 have their own names for install.
2801 # Don't use installbsd from OSF since it installs stuff as root
2803 for ac_prog
in ginstall scoinst
install; do
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2806 if test $ac_prog = install &&
2807 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2808 # AIX install. It has an incompatible calling convention.
2810 elif test $ac_prog = install &&
2811 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2812 # program-specific install script used by HP pwplus--don't use.
2815 rm -rf conftest.one conftest.two conftest.dir
2816 echo one
> conftest.one
2817 echo two
> conftest.two
2819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2820 test -s conftest.one
&& test -s conftest.two
&&
2821 test -s conftest.dir
/conftest.one
&&
2822 test -s conftest.dir
/conftest.two
2824 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2837 rm -rf conftest.one conftest.two conftest.dir
2840 if test "${ac_cv_path_install+set}" = set; then
2841 INSTALL
=$ac_cv_path_install
2843 # As a last resort, use the slow shell script. Don't cache a
2844 # value for INSTALL within a source directory, because that will
2845 # break other packages using the cache if that directory is
2846 # removed, or if the value is a relative name.
2847 INSTALL
=$ac_install_sh
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2851 $as_echo "$INSTALL" >&6; }
2853 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2854 # It thinks the first close brace ends the variable substitution.
2855 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2857 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2859 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2862 $as_echo_n "checking whether build environment is sane... " >&6; }
2865 echo timestamp
> conftest.
file
2866 # Reject unsafe characters in $srcdir or the absolute working directory
2867 # name. Accept space and tab only in the latter.
2871 *[\\\"\
#\$\&\'\`$am_lf]*)
2872 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2875 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2876 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2879 # Do `set' in a subshell so we don't clobber the current shell's
2880 # arguments. Must try -L first in case configure is actually a
2881 # symlink; some systems play weird games with the mod time of symlinks
2882 # (eg FreeBSD returns the mod time of the symlink's containing
2885 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2886 if test "$*" = "X"; then
2888 set X
`ls -t "$srcdir/configure" conftest.file`
2891 if test "$*" != "X $srcdir/configure conftest.file" \
2892 && test "$*" != "X conftest.file $srcdir/configure"; then
2894 # If neither matched, then we have a broken ls. This can happen
2895 # if, for instance, CONFIG_SHELL is bash and it inherits a
2896 # broken ls alias from the environment. This has actually
2897 # happened. Such a system could not be considered "sane".
2898 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2899 alias in your environment" "$LINENO" 5
2902 test "$2" = conftest.
file
2908 as_fn_error
"newly created file is older than distributed files!
2909 Check your system clock" "$LINENO" 5
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2912 $as_echo "yes" >&6; }
2913 test "$program_prefix" != NONE
&&
2914 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2915 # Use a double $ so make ignores it.
2916 test "$program_suffix" != NONE
&&
2917 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2918 # Double any \ or $.
2919 # By default was `s,x,x', remove it if useless.
2920 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2921 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2923 # expand $ac_aux_dir to an absolute path
2924 am_aux_dir
=`cd $ac_aux_dir && pwd`
2926 if test x
"${MISSING+set}" != xset
; then
2929 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2931 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2934 # Use eval to expand $SHELL
2935 if eval "$MISSING --run true"; then
2936 am_missing_run
="$MISSING --run "
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2940 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2943 if test x
"${install_sh}" != xset
; then
2946 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2948 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2952 # Installed binaries are usually stripped using `strip' when the user
2953 # run `make install-strip'. However `strip' might not be the right
2954 # tool to use in cross-compilation environments, therefore Automake
2955 # will honor the `STRIP' environment variable to overrule this program.
2956 if test "$cross_compiling" != no
; then
2957 if test -n "$ac_tool_prefix"; then
2958 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2959 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_STRIP+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$STRIP"; then
2966 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 STRIP
=$ac_cv_prog_STRIP
2986 if test -n "$STRIP"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2988 $as_echo "$STRIP" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2996 if test -z "$ac_cv_prog_STRIP"; then
2998 # Extract the first word of "strip", so it can be a program name with args.
2999 set dummy strip
; ac_word
=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$ac_ct_STRIP"; then
3006 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir
=.
3013 for ac_exec_ext
in '' $ac_executable_extensions; do
3014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015 ac_cv_prog_ac_ct_STRIP
="strip"
3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3026 if test -n "$ac_ct_STRIP"; then
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3028 $as_echo "$ac_ct_STRIP" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031 $as_echo "no" >&6; }
3034 if test "x$ac_ct_STRIP" = x
; then
3037 case $cross_compiling:$ac_tool_warned in
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3041 ac_tool_warned
=yes ;;
3046 STRIP
="$ac_cv_prog_STRIP"
3050 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3053 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3054 if test -z "$MKDIR_P"; then
3055 if test "${ac_cv_path_mkdir+set}" = set; then :
3056 $as_echo_n "(cached) " >&6
3058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3062 test -z "$as_dir" && as_dir
=.
3063 for ac_prog
in mkdir gmkdir
; do
3064 for ac_exec_ext
in '' $ac_executable_extensions; do
3065 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3066 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3067 'mkdir (GNU coreutils) '* | \
3068 'mkdir (coreutils) '* | \
3069 'mkdir (fileutils) '4.1*)
3070 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3080 if test "${ac_cv_path_mkdir+set}" = set; then
3081 MKDIR_P
="$ac_cv_path_mkdir -p"
3083 # As a last resort, use the slow shell script. Don't cache a
3084 # value for MKDIR_P within a source directory, because that will
3085 # break other packages using the cache if that directory is
3086 # removed, or if the value is a relative name.
3087 test -d .
/--version && rmdir .
/--version
3088 MKDIR_P
="$ac_install_sh -d"
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3092 $as_echo "$MKDIR_P" >&6; }
3096 [\\/$
]* | ?
:[\\/]*) ;;
3097 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3100 for ac_prog
in gawk mawk nawk
awk
3102 # Extract the first word of "$ac_prog", so it can be a program name with args.
3103 set dummy
$ac_prog; ac_word
=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if test "${ac_cv_prog_AWK+set}" = set; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$AWK"; then
3110 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir
=.
3117 for ac_exec_ext
in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 ac_cv_prog_AWK
="$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$AWK"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3132 $as_echo "$AWK" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$AWK" && break
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3143 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3145 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3146 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3147 $as_echo_n "(cached) " >&6
3149 cat >conftest.
make <<\_ACEOF
3152 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3154 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3155 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3157 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3159 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3163 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169 $as_echo "no" >&6; }
3170 SET_MAKE
="MAKE=${MAKE-make}"
3173 rm -rf .tst
2>/dev
/null
3174 mkdir .tst
2>/dev
/null
3175 if test -d .tst
; then
3180 rmdir .tst
2>/dev
/null
3182 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3183 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3184 # is not polluted with repeated "-I."
3185 am__isrc
=' -I$(srcdir)'
3186 # test to see if srcdir already configured
3187 if test -f $srcdir/config.status
; then
3188 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3192 # test whether we have cygpath
3193 if test -z "$CYGPATH_W"; then
3194 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3195 CYGPATH_W
='cygpath -w'
3202 # Define the identity of the package.
3207 cat >>confdefs.h
<<_ACEOF
3208 #define PACKAGE "$PACKAGE"
3212 cat >>confdefs.h
<<_ACEOF
3213 #define VERSION "$VERSION"
3216 # Some tools Automake needs.
3218 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3221 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3224 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3227 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3230 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3232 # We need awk for the "check" target. The system "awk" is bad on
3234 # Always define AMTAR for backward compatibility. Yes, it's still used
3235 # in the wild :-( We should find a proper way to deprecate it ...
3238 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3245 ac_config_headers
="$ac_config_headers config.h:config.in"
3252 # Check whether --with-sysroot was given.
3253 if test "${with_sysroot+set}" = set; then :
3254 withval
=$with_sysroot; sysroot
=$withval
3260 if test "$sysroot" = "yes"; then
3261 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3262 elif test "$sysroot" = "no"; then
3266 sysroot_relocatable
=0
3267 if test -n "$sysroot"; then
3269 "${prefix}" |
"${prefix}/"* | \
3270 "${exec_prefix}" |
"${exec_prefix}/"* | \
3271 '${prefix}' |
'${prefix}/'*| \
3272 '${exec_prefix}' |
'${exec_prefix}/'*)
3273 sysroot_relocatable
=1
3279 cat >>confdefs.h
<<_ACEOF
3280 #define TARGET_SYSTEM_ROOT "$sysroot"
3284 cat >>confdefs.h
<<_ACEOF
3285 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3290 installed_linker
=ld.gold
3291 # Check whether --enable-gold was given.
3292 if test "${enable_gold+set}" = set; then :
3293 enableval
=$enable_gold; case "${enableval}" in
3295 install_as_default
=yes
3298 if test x
${enable_ld} = xno
; then
3299 install_as_default
=yes
3304 install_as_default
=no
3310 # Check whether --enable-threads was given.
3311 if test "${enable_threads+set}" = set; then :
3312 enableval
=$enable_threads; case "${enableval}" in
3313 yes |
"") threads
=yes ;;
3321 if test "$threads" = "yes"; then
3323 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3326 if test "$threads" = "yes"; then
3335 # Check whether --enable-plugins was given.
3336 if test "${enable_plugins+set}" = set; then :
3337 enableval
=$enable_plugins; case "${enableval}" in
3338 yes |
"") plugins
=yes ;;
3346 if test "$plugins" = "yes"; then
3348 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3351 if test "$plugins" = "yes"; then
3360 # Decide if -z relro should be enabled in ELF linker by default.
3361 ac_default_ld_z_relro
=unset
3362 # Provide a configure time option to override our default.
3363 # Check whether --enable-relro was given.
3364 if test "${enable_relro+set}" = set; then :
3365 enableval
=$enable_relro; case "${enableval}" in
3366 yes) ac_default_ld_z_relro
=1 ;;
3367 no
) ac_default_ld_z_relro
=0 ;;
3370 if test "${ac_default_ld_z_relro}" = unset; then
3371 ac_default_ld_z_relro
=1
3374 cat >>confdefs.h
<<_ACEOF
3375 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
3379 # Check whether --enable-targets was given.
3380 if test "${enable_targets+set}" = set; then :
3381 enableval
=$enable_targets; case "${enableval}" in
3383 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3389 enable_targets
=$enableval
3393 # For now, enable all targets by default
3399 # Canonicalize the enabled targets.
3400 if test -n "$enable_targets"; then
3401 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3402 result
=`$ac_config_sub $targ 2>/dev/null`
3403 if test -n "$result"; then
3404 canon_targets
="$canon_targets $result"
3406 # Permit unrecognized target names, like "all".
3407 canon_targets
="$canon_targets $targ"
3412 # See which specific instantiations we need.
3418 default_osabi
=ELFOSABI_NONE
3423 for targ
in $target $canon_targets; do
3424 if test "$targ" = "all"; then
3431 .
${srcdir}/configure.tgt
3433 if test "$targ_obj" = "UNKNOWN"; then
3434 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3436 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3437 if test "$targ_extra_obj" != ""; then
3438 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3440 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3441 if test "$targ_big_endian" = "true" \
3442 -o "$targ_extra_big_endian" = "true"; then
3445 if test "$targ_big_endian" = "false" \
3446 -o "$targ_extra_big_endian" = "false"; then
3450 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3451 if test "$targ_big_endian" = "true" \
3452 -o "$targ_extra_big_endian" = "true"; then
3455 if test "$targ_big_endian" = "false" \
3456 -o "$targ_extra_big_endian" = "false"; then
3461 if test "$target" = "$targ"; then
3462 default_machine
=$targ_machine
3463 default_size
=$targ_size
3464 default_big_endian
=$targ_big_endian
3465 default_osabi
=$targ_osabi
3467 if test "$targ_obj" = "aarch64"; then
3468 DEFAULT_TARGET_AARCH64_TRUE
=
3469 DEFAULT_TARGET_AARCH64_FALSE
='#'
3471 DEFAULT_TARGET_AARCH64_TRUE
='#'
3472 DEFAULT_TARGET_AARCH64_FALSE
=
3475 if test "$targ_obj" = "arm"; then
3476 DEFAULT_TARGET_ARM_TRUE
=
3477 DEFAULT_TARGET_ARM_FALSE
='#'
3479 DEFAULT_TARGET_ARM_TRUE
='#'
3480 DEFAULT_TARGET_ARM_FALSE
=
3483 if test "$targ_obj" = "i386"; then
3484 DEFAULT_TARGET_I386_TRUE
=
3485 DEFAULT_TARGET_I386_FALSE
='#'
3487 DEFAULT_TARGET_I386_TRUE
='#'
3488 DEFAULT_TARGET_I386_FALSE
=
3491 if test "$targ_obj" = "powerpc"; then
3492 DEFAULT_TARGET_POWERPC_TRUE
=
3493 DEFAULT_TARGET_POWERPC_FALSE
='#'
3495 DEFAULT_TARGET_POWERPC_TRUE
='#'
3496 DEFAULT_TARGET_POWERPC_FALSE
=
3499 if test "$targ_obj" = "sparc"; then
3500 DEFAULT_TARGET_SPARC_TRUE
=
3501 DEFAULT_TARGET_SPARC_FALSE
='#'
3503 DEFAULT_TARGET_SPARC_TRUE
='#'
3504 DEFAULT_TARGET_SPARC_FALSE
=
3507 if test "$targ_obj" = "s390"; then
3508 DEFAULT_TARGET_S390_TRUE
=
3509 DEFAULT_TARGET_S390_FALSE
='#'
3511 DEFAULT_TARGET_S390_TRUE
='#'
3512 DEFAULT_TARGET_S390_FALSE
=
3517 if test "$targ_obj" = "x86_64"; then
3519 x86_64
*-linux-gnux32)
3528 if test "$target_x86_64" = "yes"; then
3529 DEFAULT_TARGET_X86_64_TRUE
=
3530 DEFAULT_TARGET_X86_64_FALSE
='#'
3532 DEFAULT_TARGET_X86_64_TRUE
='#'
3533 DEFAULT_TARGET_X86_64_FALSE
=
3536 if test "$target_x32" = "yes"; then
3537 DEFAULT_TARGET_X32_TRUE
=
3538 DEFAULT_TARGET_X32_FALSE
='#'
3540 DEFAULT_TARGET_X32_TRUE
='#'
3541 DEFAULT_TARGET_X32_FALSE
=
3544 if test "$target_x86_64" = "yes" -o "$target_x32" = "yes"; then
3545 DEFAULT_TARGET_X86_64_OR_X32_TRUE
=
3546 DEFAULT_TARGET_X86_64_OR_X32_FALSE
='#'
3548 DEFAULT_TARGET_X86_64_OR_X32_TRUE
='#'
3549 DEFAULT_TARGET_X86_64_OR_X32_FALSE
=
3552 if test "$targ_obj" = "tilegx"; then
3553 DEFAULT_TARGET_TILEGX_TRUE
=
3554 DEFAULT_TARGET_TILEGX_FALSE
='#'
3556 DEFAULT_TARGET_TILEGX_TRUE
='#'
3557 DEFAULT_TARGET_TILEGX_FALSE
=
3560 if test "$targ_obj" = "mips"; then
3561 DEFAULT_TARGET_MIPS_TRUE
=
3562 DEFAULT_TARGET_MIPS_FALSE
='#'
3564 DEFAULT_TARGET_MIPS_TRUE
='#'
3565 DEFAULT_TARGET_MIPS_FALSE
=
3568 DEFAULT_TARGET
=${targ_obj}
3575 # Remove any duplicates.
3577 for t
in $targetobjs; do
3585 if test -n "$targ_32_little"; then
3587 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3590 if test -n "$targ_32_big"; then
3592 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3595 if test -n "$targ_64_little"; then
3597 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3600 if test -n "$targ_64_big"; then
3602 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3606 if test -n "$all_targets"; then
3607 TARGETOBJS
='$(ALL_TARGETOBJS)'
3609 TARGETOBJS
="$targetobjs"
3614 cat >>confdefs.h
<<_ACEOF
3615 #define GOLD_DEFAULT_MACHINE $default_machine
3619 cat >>confdefs.h
<<_ACEOF
3620 #define GOLD_DEFAULT_SIZE $default_size
3624 cat >>confdefs.h
<<_ACEOF
3625 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3629 cat >>confdefs.h
<<_ACEOF
3630 #define GOLD_DEFAULT_OSABI $default_osabi
3635 # Check whether --with-lib-path was given.
3636 if test "${with_lib_path+set}" = set; then :
3637 withval
=$with_lib_path; case "$withval" in
3638 yes) LIB_PATH
='"/lib:/usr/lib"' ;;
3639 no
) LIB_PATH
='""' ;;
3640 *) LIB_PATH
='"'"$withval"'"' ;;
3643 LIB_PATH
='"::DEFAULT::"'
3647 cat >>confdefs.h
<<_ACEOF
3648 #define LIB_PATH $LIB_PATH
3651 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3653 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3659 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if test "${ac_cv_prog_NM+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3665 if test -n "$NM"; then
3666 ac_cv_prog_NM
="$NM" # Let the user override the test.
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3686 if test -n "$NM"; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3688 $as_echo "$NM" >&6; }
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3696 if test -z "$ac_cv_prog_NM"; then
3698 # Extract the first word of "nm", so it can be a program name with args.
3699 set dummy nm
; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$ac_ct_NM"; then
3706 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_ac_ct_NM
="nm"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3726 if test -n "$ac_ct_NM"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3728 $as_echo "$ac_ct_NM" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3734 if test "x$ac_ct_NM" = x
; then
3737 case $cross_compiling:$ac_tool_warned in
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3741 ac_tool_warned
=yes ;;
3751 ac_cpp
='$CPP $CPPFLAGS'
3752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3755 if test -n "$ac_tool_prefix"; then
3756 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3757 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC
="$CC" # Let the user override the test.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3794 if test -z "$ac_cv_prog_CC"; then
3796 # Extract the first word of "gcc", so it can be a program name with args.
3797 set dummy gcc
; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$ac_ct_CC"; then
3804 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_ac_ct_CC
="gcc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3824 if test -n "$ac_ct_CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3826 $as_echo "$ac_ct_CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3832 if test "x$ac_ct_CC" = x
; then
3835 case $cross_compiling:$ac_tool_warned in
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned
=yes ;;
3847 if test -z "$CC"; then
3848 if test -n "$ac_tool_prefix"; then
3849 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3850 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if test "${ac_cv_prog_CC+set}" = set; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$CC"; then
3857 ac_cv_prog_CC
="$CC" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 if test -n "$CC"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3879 $as_echo "$CC" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3888 if test -z "$CC"; then
3889 # Extract the first word of "cc", so it can be a program name with args.
3890 set dummy cc
; ac_word
=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if test "${ac_cv_prog_CC+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC
="$CC" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3908 ac_prog_rejected
=yes
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test $ac_prog_rejected = yes; then
3920 # We found a bogon in the path, so make sure we never use it.
3921 set dummy
$ac_cv_prog_CC
3923 if test $# != 0; then
3924 # We chose a different compiler from the bogus one.
3925 # However, it has the same basename, so the bogon will be chosen
3926 # first if we set CC to just the basename; use the full file name.
3928 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3934 if test -n "$CC"; then
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3936 $as_echo "$CC" >&6; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3944 if test -z "$CC"; then
3945 if test -n "$ac_tool_prefix"; then
3946 for ac_prog
in cl.exe
3948 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3949 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if test "${ac_cv_prog_CC+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 if test -n "$CC"; then
3956 ac_cv_prog_CC
="$CC" # Let the user override the test.
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_exec_ext
in '' $ac_executable_extensions; do
3964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976 if test -n "$CC"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3978 $as_echo "$CC" >&6; }
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3985 test -n "$CC" && break
3988 if test -z "$CC"; then
3990 for ac_prog
in cl.exe
3992 # Extract the first word of "$ac_prog", so it can be a program name with args.
3993 set dummy
$ac_prog; ac_word
=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$ac_ct_CC"; then
4000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_ac_ct_CC
="$ac_prog"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4020 if test -n "$ac_ct_CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4022 $as_echo "$ac_ct_CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4029 test -n "$ac_ct_CC" && break
4032 if test "x$ac_ct_CC" = x
; then
4035 case $cross_compiling:$ac_tool_warned in
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4039 ac_tool_warned
=yes ;;
4048 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error
"no acceptable C compiler found in \$PATH
4051 See \`config.log' for more details." "$LINENO" 5; }
4053 # Provide some information about the compiler.
4054 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4057 for ac_option
in --version -v -V -qversion; do
4058 { { ac_try
="$ac_compiler $ac_option >&5"
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4067 if test -s conftest.err; then
4069 ... rest of stderr output deleted ...
4070 10q' conftest.err >conftest.er1
4071 cat conftest.er1 >&5
4072 rm -f conftest.er1 conftest.err
4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4075 test $ac_status = 0; }
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 ac_clean_files_save=$ac_clean_files
4090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4091 # Try to create an executable without -o first, disregard a.out.
4092 # It will help us diagnose broken compilers, and finding out an intuition
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4095 $as_echo_n "checking for C compiler default output file name... " >&6; }
4096 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4098 # The possible output files:
4099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4102 for ac_file in $ac_files
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4111 if { { ac_try="$ac_link_default"
4113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4114 *) ac_try_echo
=$ac_try;;
4116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link_default") 2>&5
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4123 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4124 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4125 # so that the user can short-circuit this test for compilers unknown to
4127 for ac_file
in $ac_files ''
4129 test -f "$ac_file" ||
continue
4131 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4134 # We found the default executable, but exeext='' is most
4138 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4140 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 # We set ac_cv_exeext here because the later test for it is not
4143 # safe: cross compilers may not add the suffix if given an `-o'
4144 # argument, so we may need to know it at that point already.
4145 # Even if this section looks crufty: it has the advantage of
4152 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4158 $as_echo "$ac_file" >&6; }
4159 if test -z "$ac_file"; then :
4160 $as_echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.
$ac_ext >&5
4163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165 { as_fn_set_status
77
4166 as_fn_error
"C compiler cannot create executables
4167 See \`config.log' for more details." "$LINENO" 5; }; }
4169 ac_exeext
=$ac_cv_exeext
4171 # Check that the compiler produces executables we can run. If not, either
4172 # the compiler is broken, or we cross compile.
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4174 $as_echo_n "checking whether the C compiler works... " >&6; }
4175 # If not cross compiling, check that we can run a simple program.
4176 if test "$cross_compiling" != yes; then
4177 if { ac_try
='./$ac_file'
4178 { { case "(($ac_try" in
4179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_try") 2>&5
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; }; then
4190 if test "$cross_compiling" = maybe; then
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error "cannot run C compiled programs.
4196 If you meant to cross compile
, use \
`--host'.
4197 See \`config.log
' for more details." "$LINENO" 5; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4202 $as_echo "yes" >&6; }
4204 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4205 ac_clean_files=$ac_clean_files_save
4206 # Check that the compiler produces executables we can run. If not, either
4207 # the compiler is broken, or we cross compile.
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4209 $as_echo_n "checking whether we are cross compiling... " >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4211 $as_echo "$cross_compiling" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4214 $as_echo_n "checking for suffix of executables... " >&6; }
4215 if { { ac_try="$ac_link"
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4221 $as_echo "$ac_try_echo"; } >&5
4222 (eval "$ac_link") 2>&5
4224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4225 test $ac_status = 0; }; then :
4226 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4227 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4228 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4230 for ac_file
in conftest.exe conftest conftest.
*; do
4231 test -f "$ac_file" ||
continue
4233 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4234 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4242 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4243 See \`config.log' for more details." "$LINENO" 5; }
4245 rm -f conftest
$ac_cv_exeext
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4247 $as_echo "$ac_cv_exeext" >&6; }
4249 rm -f conftest.
$ac_ext
4250 EXEEXT
=$ac_cv_exeext
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4253 $as_echo_n "checking for suffix of object files... " >&6; }
4254 if test "${ac_cv_objext+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4268 rm -f conftest.o conftest.obj
4269 if { { ac_try
="$ac_compile"
4271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_compile") 2>&5
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }; then :
4280 for ac_file in conftest.o conftest.obj conftest.*; do
4281 test -f "$ac_file" || continue;
4283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4284 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4289 $as_echo "$as_me: failed program was:" >&5
4290 sed 's/^/| /' conftest.$ac_ext >&5
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error "cannot compute suffix of object files
: cannot compile
4295 See \
`config.log' for more details." "$LINENO" 5; }
4297 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4300 $as_echo "$ac_cv_objext" >&6; }
4301 OBJEXT=$ac_cv_objext
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4304 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4305 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* end confdefs.h. */
4322 if ac_fn_c_try_compile "$LINENO"; then :
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4332 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4333 if test $ac_compiler_gnu = yes; then
4338 ac_test_CFLAGS=${CFLAGS+set}
4339 ac_save_CFLAGS=$CFLAGS
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4341 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4342 if test "${ac_cv_prog_cc_g+set}" = set; then :
4343 $as_echo_n "(cached) " >&6
4345 ac_save_c_werror_flag=$ac_c_werror_flag
4346 ac_c_werror_flag=yes
4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h. */
4360 if ac_fn_c_try_compile "$LINENO"; then :
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4375 if ac_fn_c_try_compile "$LINENO"; then :
4378 ac_c_werror_flag=$ac_save_c_werror_flag
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4391 if ac_fn_c_try_compile "$LINENO"; then :
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399 ac_c_werror_flag=$ac_save_c_werror_flag
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4402 $as_echo "$ac_cv_prog_cc_g" >&6; }
4403 if test "$ac_test_CFLAGS" = set; then
4404 CFLAGS=$ac_save_CFLAGS
4405 elif test $ac_cv_prog_cc_g = yes; then
4406 if test "$GCC" = yes; then
4412 if test "$GCC" = yes; then
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4419 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4420 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4421 $as_echo_n "(cached) " >&6
4423 ac_cv_prog_cc_c89=no
4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4426 /* end confdefs.h. */
4429 #include <sys/types.h>
4430 #include <sys/stat.h>
4431 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4432 struct buf { int x; };
4433 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4434 static char *e (p, i)
4440 static char *f (char * (*g) (char **, int), char **p, ...)
4445 s = g (p, va_arg (v,int));
4450 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4451 function prototypes and stuff, but not '\xHH' hex character constants.
4452 These don't provoke an error unfortunately, instead are silently treated
4453 as 'x'. The following induces an error, until -std is added to get
4454 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4455 array size at least. It's necessary to write '\x00'==0 to get something
4456 that's true only with -std. */
4457 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4459 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4460 inside strings and character constants. */
4462 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4464 int test (int i, double x);
4465 struct s1 {int (*f) (int a);};
4466 struct s2 {int (*f) (double a);};
4467 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4473 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4478 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4479 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4481 CC="$ac_save_CC $ac_arg"
4482 if ac_fn_c_try_compile "$LINENO"; then :
4483 ac_cv_prog_cc_c89=$ac_arg
4485 rm -f core conftest.err conftest.$ac_objext
4486 test "x$ac_cv_prog_cc_c89" != "xno" && break
4488 rm -f conftest.$ac_ext
4493 case "x$ac_cv_prog_cc_c89" in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4496 $as_echo "none needed" >&6; } ;;
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4499 $as_echo "unsupported" >&6; } ;;
4501 CC="$CC $ac_cv_prog_cc_c89"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4503 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4505 if test "x$ac_cv_prog_cc_c89" != xno; then :
4510 ac_cpp='$CPP $CPPFLAGS'
4511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4514 DEPDIR="${am__leading_dot}deps"
4516 ac_config_commands="$ac_config_commands depfiles"
4519 am_make=${MAKE-make}
4520 cat > confinc << 'END'
4522 @echo this is the am__doit target
4525 # If we don't find an include directive, just comment out the code.
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4527 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4531 # First try GNU make style include.
4532 echo "include confinc" > confmf
4533 # Ignore all kinds of additional output from `make'.
4534 case `$am_make -s -f confmf 2> /dev/null` in #(
4535 *the\ am__doit\ target*)
4541 # Now try BSD make style include.
4542 if test "$am__include" = "#"; then
4543 echo '.include
"confinc"' > confmf
4544 case `$am_make -s -f confmf 2> /dev/null` in #(
4545 *the\ am__doit\ target*)
4546 am__include=.include
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4555 $as_echo "$_am_result" >&6; }
4556 rm -f confinc confmf
4558 # Check whether --enable-dependency-tracking was given.
4559 if test "${enable_dependency_tracking+set}" = set; then :
4560 enableval=$enable_dependency_tracking;
4563 if test "x$enable_dependency_tracking" != xno; then
4564 am_depcomp="$ac_aux_dir/depcomp"
4568 if test "x$enable_dependency_tracking" != xno
; then
4578 depcc
="$CC" am_compiler_list
=
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4581 $as_echo_n "checking dependency style of $depcc... " >&6; }
4582 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4586 # We make a subdir and do the tests there. Otherwise we can end up
4587 # making bogus files that we don't know about and never remove. For
4588 # instance it was reported that on HP-UX the gcc test will end up
4589 # making a dummy file named `D' -- because `-MD' means `put the output
4593 # Copy depcomp to subdir because otherwise we won't find it if we're
4594 # using a relative directory.
4595 cp "$am_depcomp" conftest.dir
4597 # We will build objects and dependencies in a subdirectory because
4598 # it helps to detect inapplicable dependency modes. For instance
4599 # both Tru64's cc and ICC support -MD to output dependencies as a
4600 # side effect of compilation, but ICC will put the dependencies in
4601 # the current directory while Tru64 will put them in the object
4605 am_cv_CC_dependencies_compiler_type
=none
4606 if test "$am_compiler_list" = ""; then
4607 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4610 case " $depcc " in #(
4611 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4614 for depmode
in $am_compiler_list; do
4615 # Setup a source with many dependencies, because some compilers
4616 # like to wrap large dependency lists on column 80 (with \), and
4617 # we should not choose a depcomp mode which is confused by this.
4619 # We need to recreate these files for each test, as the compiler may
4620 # overwrite some of them when testing with obscure command lines.
4621 # This happens at least with the AIX C compiler.
4623 for i
in 1 2 3 4 5 6; do
4624 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4625 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4626 # Solaris 8's {/usr,}/bin/sh.
4627 touch sub
/conftst
$i.h
4629 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4631 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4632 # mode. It turns out that the SunPro C++ compiler does not properly
4633 # handle `-M -o', and we need to detect this. Also, some Intel
4634 # versions had trouble with output in subdirs
4635 am__obj
=sub
/conftest.
${OBJEXT-o}
4636 am__minus_obj
="-o $am__obj"
4639 # This depmode causes a compiler race in universal mode.
4640 test "$am__universal" = false ||
continue
4643 # after this tag, mechanisms are not by side-effect, so they'll
4644 # only be used when explicitly requested
4645 if test "x$enable_dependency_tracking" = xyes
; then
4651 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4652 # This compiler won't grok `-c -o', but also, the minuso test has
4653 # not run yet. These depmodes are late enough in the game, and
4654 # so weak that their functioning should not be impacted.
4655 am__obj
=conftest.
${OBJEXT-o}
4660 if depmode
=$depmode \
4661 source=sub
/conftest.c object
=$am__obj \
4662 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4663 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4664 >/dev
/null
2>conftest.err
&&
4665 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4666 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4667 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4668 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4669 # icc doesn't choke on unknown options, it will just issue warnings
4670 # or remarks (even with -Werror). So we grep stderr for any message
4671 # that says an option was ignored or not supported.
4672 # When given -MP, icc 7.0 and 7.1 complain thusly:
4673 # icc: Command line warning: ignoring option '-M'; no argument required
4674 # The diagnosis changed in icc 8.0:
4675 # icc: Command line remark: option '-MP' not supported
4676 if (grep 'ignoring option' conftest.err ||
4677 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4678 am_cv_CC_dependencies_compiler_type
=$depmode
4687 am_cv_CC_dependencies_compiler_type
=none
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4692 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4693 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4696 test "x$enable_dependency_tracking" != xno \
4697 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4699 am__fastdepCC_FALSE
='#'
4701 am__fastdepCC_TRUE
='#'
4702 am__fastdepCC_FALSE
=
4707 ac_cpp
='$CXXCPP $CPPFLAGS'
4708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4711 if test -z "$CXX"; then
4712 if test -n "$CCC"; then
4715 if test -n "$ac_tool_prefix"; then
4716 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4719 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if test "${ac_cv_prog_CXX+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$CXX"; then
4726 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4735 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 if test -n "$CXX"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4748 $as_echo "$CXX" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4755 test -n "$CXX" && break
4758 if test -z "$CXX"; then
4760 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4762 # Extract the first word of "$ac_prog", so it can be a program name with args.
4763 set dummy
$ac_prog; ac_word
=$2
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 $as_echo_n "checking for $ac_word... " >&6; }
4766 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -n "$ac_ct_CXX"; then
4770 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir
=.
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4790 if test -n "$ac_ct_CXX"; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4792 $as_echo "$ac_ct_CXX" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 $as_echo "no" >&6; }
4799 test -n "$ac_ct_CXX" && break
4802 if test "x$ac_ct_CXX" = x
; then
4805 case $cross_compiling:$ac_tool_warned in
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4809 ac_tool_warned
=yes ;;
4817 # Provide some information about the compiler.
4818 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4821 for ac_option
in --version -v -V -qversion; do
4822 { { ac_try
="$ac_compiler $ac_option >&5"
4824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4828 $as_echo "$ac_try_echo"; } >&5
4829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4831 if test -s conftest.err; then
4833 ... rest of stderr output deleted ...
4834 10q' conftest.err >conftest.er1
4835 cat conftest.er1 >&5
4836 rm -f conftest.er1 conftest.err
4838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4839 test $ac_status = 0; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4843 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4844 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4845 $as_echo_n "(cached) " >&6
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4871 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4872 if test $ac_compiler_gnu = yes; then
4877 ac_test_CXXFLAGS=${CXXFLAGS+set}
4878 ac_save_CXXFLAGS=$CXXFLAGS
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4880 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4881 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4884 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4885 ac_cxx_werror_flag=yes
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4899 if ac_fn_cxx_try_compile "$LINENO"; then :
4900 ac_cv_prog_cxx_g=yes
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4914 if ac_fn_cxx_try_compile "$LINENO"; then :
4917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4930 if ac_fn_cxx_try_compile "$LINENO"; then :
4931 ac_cv_prog_cxx_g=yes
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4941 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4942 if test "$ac_test_CXXFLAGS" = set; then
4943 CXXFLAGS=$ac_save_CXXFLAGS
4944 elif test $ac_cv_prog_cxx_g = yes; then
4945 if test "$GXX" = yes; then
4951 if test "$GXX" = yes; then
4958 ac_cpp='$CPP $CPPFLAGS'
4959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4963 depcc="$CXX" am_compiler_list=
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4966 $as_echo_n "checking dependency style of $depcc... " >&6; }
4967 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4968 $as_echo_n "(cached) " >&6
4970 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4971 # We make a subdir and do the tests there. Otherwise we can end up
4972 # making bogus files that we don't know about and never remove. For
4973 # instance it was reported that on HP-UX the gcc test will end up
4974 # making a dummy file named `D
' -- because `-MD' means
`put the output
4978 # Copy depcomp to subdir because otherwise we won't find it if we're
4979 # using a relative directory.
4980 cp "$am_depcomp" conftest.dir
4982 # We will build objects and dependencies in a subdirectory because
4983 # it helps to detect inapplicable dependency modes. For instance
4984 # both Tru64's cc and ICC support -MD to output dependencies as a
4985 # side effect of compilation, but ICC will put the dependencies in
4986 # the current directory while Tru64 will put them in the object
4990 am_cv_CXX_dependencies_compiler_type=none
4991 if test "$am_compiler_list" = ""; then
4992 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4995 case " $depcc " in #(
4996 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4999 for depmode in $am_compiler_list; do
5000 # Setup a source with many dependencies, because some compilers
5001 # like to wrap large dependency lists on column 80 (with \), and
5002 # we should not choose a depcomp mode which is confused by this.
5004 # We need to recreate these files for each test, as the compiler may
5005 # overwrite some of them when testing with obscure command lines.
5006 # This happens at least with the AIX C compiler.
5008 for i in 1 2 3 4 5 6; do
5009 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5010 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5011 # Solaris 8's
{/usr
,}/bin
/sh.
5012 touch sub
/conftst
$i.h
5014 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5016 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5017 # mode. It turns out that the SunPro C++ compiler does not properly
5018 # handle `-M -o', and we need to detect this. Also, some Intel
5019 # versions had trouble with output in subdirs
5020 am__obj
=sub
/conftest.
${OBJEXT-o}
5021 am__minus_obj
="-o $am__obj"
5024 # This depmode causes a compiler race in universal mode.
5025 test "$am__universal" = false ||
continue
5028 # after this tag, mechanisms are not by side-effect, so they'll
5029 # only be used when explicitly requested
5030 if test "x$enable_dependency_tracking" = xyes
; then
5036 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5037 # This compiler won't grok `-c -o', but also, the minuso test has
5038 # not run yet. These depmodes are late enough in the game, and
5039 # so weak that their functioning should not be impacted.
5040 am__obj
=conftest.
${OBJEXT-o}
5045 if depmode
=$depmode \
5046 source=sub
/conftest.c object
=$am__obj \
5047 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5048 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5049 >/dev
/null
2>conftest.err
&&
5050 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5051 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5052 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5053 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5054 # icc doesn't choke on unknown options, it will just issue warnings
5055 # or remarks (even with -Werror). So we grep stderr for any message
5056 # that says an option was ignored or not supported.
5057 # When given -MP, icc 7.0 and 7.1 complain thusly:
5058 # icc: Command line warning: ignoring option '-M'; no argument required
5059 # The diagnosis changed in icc 8.0:
5060 # icc: Command line remark: option '-MP' not supported
5061 if (grep 'ignoring option' conftest.err ||
5062 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5063 am_cv_CXX_dependencies_compiler_type
=$depmode
5072 am_cv_CXX_dependencies_compiler_type
=none
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5077 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5078 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5081 test "x$enable_dependency_tracking" != xno \
5082 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5083 am__fastdepCXX_TRUE
=
5084 am__fastdepCXX_FALSE
='#'
5086 am__fastdepCXX_TRUE
='#'
5087 am__fastdepCXX_FALSE
=
5091 for ac_prog
in 'bison -y' byacc
5093 # Extract the first word of "$ac_prog", so it can be a program name with args.
5094 set dummy
$ac_prog; ac_word
=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if test "${ac_cv_prog_YACC+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$YACC"; then
5101 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5110 ac_cv_prog_YACC
="$ac_prog"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 YACC
=$ac_cv_prog_YACC
5121 if test -n "$YACC"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5123 $as_echo "$YACC" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5130 test -n "$YACC" && break
5132 test -n "$YACC" || YACC
="yacc"
5134 if test -n "$ac_tool_prefix"; then
5135 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5136 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$RANLIB"; then
5143 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir
=.
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 RANLIB
=$ac_cv_prog_RANLIB
5163 if test -n "$RANLIB"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5165 $as_echo "$RANLIB" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5173 if test -z "$ac_cv_prog_RANLIB"; then
5174 ac_ct_RANLIB
=$RANLIB
5175 # Extract the first word of "ranlib", so it can be a program name with args.
5176 set dummy ranlib
; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$ac_ct_RANLIB"; then
5183 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5192 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5203 if test -n "$ac_ct_RANLIB"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5205 $as_echo "$ac_ct_RANLIB" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5211 if test "x$ac_ct_RANLIB" = x
; then
5214 case $cross_compiling:$ac_tool_warned in
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5218 ac_tool_warned
=yes ;;
5220 RANLIB
=$ac_ct_RANLIB
5223 RANLIB
="$ac_cv_prog_RANLIB"
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5228 $as_echo_n "checking whether ln -s works... " >&6; }
5230 if test "$LN_S" = "ln -s"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5232 $as_echo "yes" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5235 $as_echo "no, using $LN_S" >&6; }
5241 ac_cpp
='$CPP $CPPFLAGS'
5242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5246 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5247 # On Suns, sometimes $CPP names a directory.
5248 if test -n "$CPP" && test -d "$CPP"; then
5251 if test -z "$CPP"; then
5252 if test "${ac_cv_prog_CPP+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 # Double quotes because CPP needs to be expanded
5256 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5259 for ac_c_preproc_warn_flag
in '' yes
5261 # Use a header file that comes with gcc, so configuring glibc
5262 # with a fresh cross-compiler works.
5263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5264 # <limits.h> exists even on freestanding compilers.
5265 # On the NeXT, cc -E runs the code through the compiler's parser,
5266 # not just through cpp. "Syntax error" is here to catch this case.
5267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5270 # include <limits.h>
5272 # include <assert.h>
5276 if ac_fn_c_try_cpp
"$LINENO"; then :
5279 # Broken: fails on valid input.
5282 rm -f conftest.err conftest.
$ac_ext
5284 # OK, works on sane cases. Now check whether nonexistent headers
5285 # can be detected and how.
5286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288 #include <ac_nonexistent.h>
5290 if ac_fn_c_try_cpp
"$LINENO"; then :
5291 # Broken: success on invalid input.
5294 # Passes both tests.
5298 rm -f conftest.err conftest.
$ac_ext
5301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5302 rm -f conftest.err conftest.
$ac_ext
5303 if $ac_preproc_ok; then :
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5316 $as_echo "$CPP" >&6; }
5318 for ac_c_preproc_warn_flag
in '' yes
5320 # Use a header file that comes with gcc, so configuring glibc
5321 # with a fresh cross-compiler works.
5322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5323 # <limits.h> exists even on freestanding compilers.
5324 # On the NeXT, cc -E runs the code through the compiler's parser,
5325 # not just through cpp. "Syntax error" is here to catch this case.
5326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5329 # include <limits.h>
5331 # include <assert.h>
5335 if ac_fn_c_try_cpp
"$LINENO"; then :
5338 # Broken: fails on valid input.
5341 rm -f conftest.err conftest.
$ac_ext
5343 # OK, works on sane cases. Now check whether nonexistent headers
5344 # can be detected and how.
5345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5347 #include <ac_nonexistent.h>
5349 if ac_fn_c_try_cpp
"$LINENO"; then :
5350 # Broken: success on invalid input.
5353 # Passes both tests.
5357 rm -f conftest.err conftest.
$ac_ext
5360 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5361 rm -f conftest.err conftest.
$ac_ext
5362 if $ac_preproc_ok; then :
5365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5367 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5368 See \`config.log' for more details." "$LINENO" 5; }
5372 ac_cpp
='$CPP $CPPFLAGS'
5373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5379 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5380 if test "${ac_cv_path_GREP+set}" = set; then :
5381 $as_echo_n "(cached) " >&6
5383 if test -z "$GREP"; then
5384 ac_path_GREP_found
=false
5385 # Loop through the user's path and test for each of PROGNAME-LIST
5386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5390 test -z "$as_dir" && as_dir
=.
5391 for ac_prog
in grep ggrep
; do
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5394 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5395 # Check for GNU ac_path_GREP and select it if it is found.
5396 # Check for GNU $ac_path_GREP
5397 case `"$ac_path_GREP" --version 2>&1` in
5399 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5402 $as_echo_n 0123456789 >"conftest.in"
5405 cat "conftest.in" "conftest.in" >"conftest.tmp"
5406 mv "conftest.tmp" "conftest.in"
5407 cp "conftest.in" "conftest.nl"
5408 $as_echo 'GREP' >> "conftest.nl"
5409 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5410 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5411 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5412 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5413 # Best one so far, save it but keep looking for a better one
5414 ac_cv_path_GREP
="$ac_path_GREP"
5415 ac_path_GREP_max
=$ac_count
5417 # 10*(2^10) chars as input seems more than enough
5418 test $ac_count -gt 10 && break
5420 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5423 $ac_path_GREP_found && break 3
5428 if test -z "$ac_cv_path_GREP"; then
5429 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5432 ac_cv_path_GREP
=$GREP
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5437 $as_echo "$ac_cv_path_GREP" >&6; }
5438 GREP
="$ac_cv_path_GREP"
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5442 $as_echo_n "checking for egrep... " >&6; }
5443 if test "${ac_cv_path_EGREP+set}" = set; then :
5444 $as_echo_n "(cached) " >&6
5446 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5447 then ac_cv_path_EGREP
="$GREP -E"
5449 if test -z "$EGREP"; then
5450 ac_path_EGREP_found
=false
5451 # Loop through the user's path and test for each of PROGNAME-LIST
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5453 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5456 test -z "$as_dir" && as_dir
=.
5457 for ac_prog
in egrep; do
5458 for ac_exec_ext
in '' $ac_executable_extensions; do
5459 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5460 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5461 # Check for GNU ac_path_EGREP and select it if it is found.
5462 # Check for GNU $ac_path_EGREP
5463 case `"$ac_path_EGREP" --version 2>&1` in
5465 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5468 $as_echo_n 0123456789 >"conftest.in"
5471 cat "conftest.in" "conftest.in" >"conftest.tmp"
5472 mv "conftest.tmp" "conftest.in"
5473 cp "conftest.in" "conftest.nl"
5474 $as_echo 'EGREP' >> "conftest.nl"
5475 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5476 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5477 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5478 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5479 # Best one so far, save it but keep looking for a better one
5480 ac_cv_path_EGREP
="$ac_path_EGREP"
5481 ac_path_EGREP_max
=$ac_count
5483 # 10*(2^10) chars as input seems more than enough
5484 test $ac_count -gt 10 && break
5486 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5489 $ac_path_EGREP_found && break 3
5494 if test -z "$ac_cv_path_EGREP"; then
5495 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5498 ac_cv_path_EGREP
=$EGREP
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5504 $as_echo "$ac_cv_path_EGREP" >&6; }
5505 EGREP
="$ac_cv_path_EGREP"
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5509 $as_echo_n "checking for ANSI C header files... " >&6; }
5510 if test "${ac_cv_header_stdc+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5528 if ac_fn_c_try_compile
"$LINENO"; then :
5529 ac_cv_header_stdc
=yes
5531 ac_cv_header_stdc
=no
5533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5535 if test $ac_cv_header_stdc = yes; then
5536 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5543 $EGREP "memchr" >/dev
/null
2>&1; then :
5546 ac_cv_header_stdc
=no
5552 if test $ac_cv_header_stdc = yes; then
5553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5560 $EGREP "free" >/dev
/null
2>&1; then :
5563 ac_cv_header_stdc
=no
5569 if test $ac_cv_header_stdc = yes; then
5570 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5571 if test "$cross_compiling" = yes; then :
5574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5578 #if ((' ' & 0x0FF) == 0x020)
5579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5582 # define ISLOWER(c) \
5583 (('a' <= (c) && (c) <= 'i') \
5584 || ('j' <= (c) && (c) <= 'r') \
5585 || ('s' <= (c) && (c) <= 'z'))
5586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5594 for (i = 0; i < 256; i++)
5595 if (XOR (islower (i), ISLOWER (i))
5596 || toupper (i) != TOUPPER (i))
5601 if ac_fn_c_try_run
"$LINENO"; then :
5604 ac_cv_header_stdc
=no
5606 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5607 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5613 $as_echo "$ac_cv_header_stdc" >&6; }
5614 if test $ac_cv_header_stdc = yes; then
5616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5620 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5621 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5622 inttypes.h stdint.h unistd.h
5624 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5625 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5627 eval as_val
=\$
$as_ac_Header
5628 if test "x$as_val" = x
""yes; then :
5629 cat >>confdefs.h
<<_ACEOF
5630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5639 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5640 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5647 if test "$MINIX" = yes; then
5649 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5652 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5655 $as_echo "#define _MINIX 1" >>confdefs.h
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5661 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5662 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5663 $as_echo_n "(cached) " >&6
5665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5668 # define __EXTENSIONS__ 1
5669 $ac_includes_default
5678 if ac_fn_c_try_compile
"$LINENO"; then :
5679 ac_cv_safe_to_define___extensions__
=yes
5681 ac_cv_safe_to_define___extensions__
=no
5683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5686 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5687 test $ac_cv_safe_to_define___extensions__ = yes &&
5688 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5690 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5692 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5694 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5696 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5701 # If we haven't got the data from the intl directory,
5702 # assume NLS is disabled.
5711 if test -f ..
/intl
/config.intl
; then
5712 . ..
/intl
/config.intl
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5715 $as_echo_n "checking whether NLS is requested... " >&6; }
5716 if test x
"$USE_NLS" != xyes
; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5721 $as_echo "yes" >&6; }
5723 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5727 $as_echo_n "checking for catalogs to be installed... " >&6; }
5728 # Look for .po and .gmo files in the source directory.
5731 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5732 # If there aren't any .gmo files the shell will give us the
5733 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5735 case "$cat" in *\
**)
5738 # The quadruple backslash is collapsed to a double backslash
5739 # by the backticks, then collapsed again by the double quotes,
5740 # leaving us with one backslash in the sed expression (right
5741 # before the dot that mustn't act as a wildcard).
5742 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5743 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5744 # The user is allowed to set LINGUAS to a list of languages to
5745 # install catalogs for. If it's empty that means "all of them."
5746 if test "x$LINGUAS" = x
; then
5747 CATALOGS
="$CATALOGS $cat"
5748 XLINGUAS
="$XLINGUAS $lang"
5750 case "$LINGUAS" in *$lang*)
5751 CATALOGS
="$CATALOGS $cat"
5752 XLINGUAS
="$XLINGUAS $lang"
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5759 $as_echo "$LINGUAS" >&6; }
5773 if test -n "$ac_aux_dir"; then
5774 case "$ac_aux_dir" in
5775 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5776 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5779 if test -z "$MKINSTALLDIRS"; then
5780 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5786 $as_echo_n "checking whether NLS is requested... " >&6; }
5787 # Check whether --enable-nls was given.
5788 if test "${enable_nls+set}" = set; then :
5789 enableval
=$enable_nls; USE_NLS
=$enableval
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5795 $as_echo "$USE_NLS" >&6; }
5802 # Prepare PATH_SEPARATOR.
5803 # The user is always right.
5804 if test "${PATH_SEPARATOR+set}" != set; then
5805 echo "#! /bin/sh" >conf$$.sh
5806 echo "exit 0" >>conf$$.sh
5808 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5816 # Find out how to test for executable files. Don't use a zero-byte file,
5817 # as systems may use methods other than mode bits to determine executability.
5818 cat >conf$$.
file <<_ASEOF
5822 chmod +x conf$$.
file
5823 if test -x conf$$.
file >/dev
/null
2>&1; then
5824 ac_executable_p
="test -x"
5826 ac_executable_p
="test -f"
5830 # Extract the first word of "msgfmt", so it can be a program name with args.
5831 set dummy msgfmt
; ac_word
=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5839 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5842 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5843 for ac_dir
in $PATH; do
5845 test -z "$ac_dir" && ac_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5848 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5849 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5850 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5857 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5861 MSGFMT
="$ac_cv_path_MSGFMT"
5862 if test "$MSGFMT" != ":"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5864 $as_echo "$MSGFMT" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5871 set dummy gmsgfmt
; ac_word
=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 $as_echo_n "checking for $ac_word... " >&6; }
5874 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5875 $as_echo_n "(cached) " >&6
5879 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir
=.
5887 for ac_exec_ext
in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5901 GMSGFMT
=$ac_cv_path_GMSGFMT
5902 if test -n "$GMSGFMT"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5904 $as_echo "$GMSGFMT" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5913 # Prepare PATH_SEPARATOR.
5914 # The user is always right.
5915 if test "${PATH_SEPARATOR+set}" != set; then
5916 echo "#! /bin/sh" >conf$$.sh
5917 echo "exit 0" >>conf$$.sh
5919 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5927 # Find out how to test for executable files. Don't use a zero-byte file,
5928 # as systems may use methods other than mode bits to determine executability.
5929 cat >conf$$.
file <<_ASEOF
5933 chmod +x conf$$.
file
5934 if test -x conf$$.
file >/dev
/null
2>&1; then
5935 ac_executable_p
="test -x"
5937 ac_executable_p
="test -f"
5941 # Extract the first word of "xgettext", so it can be a program name with args.
5942 set dummy xgettext
; ac_word
=$2
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944 $as_echo_n "checking for $ac_word... " >&6; }
5945 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5946 $as_echo_n "(cached) " >&6
5950 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5953 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5954 for ac_dir
in $PATH; do
5956 test -z "$ac_dir" && ac_dir
=.
5957 for ac_exec_ext
in '' $ac_executable_extensions; do
5958 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5959 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5960 (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
5961 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5968 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5972 XGETTEXT
="$ac_cv_path_XGETTEXT"
5973 if test "$XGETTEXT" != ":"; then
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5975 $as_echo "$XGETTEXT" >&6; }
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5978 $as_echo "no" >&6; }
5984 # Prepare PATH_SEPARATOR.
5985 # The user is always right.
5986 if test "${PATH_SEPARATOR+set}" != set; then
5987 echo "#! /bin/sh" >conf$$.sh
5988 echo "exit 0" >>conf$$.sh
5990 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5998 # Find out how to test for executable files. Don't use a zero-byte file,
5999 # as systems may use methods other than mode bits to determine executability.
6000 cat >conf$$.
file <<_ASEOF
6004 chmod +x conf$$.
file
6005 if test -x conf$$.
file >/dev
/null
2>&1; then
6006 ac_executable_p
="test -x"
6008 ac_executable_p
="test -f"
6012 # Extract the first word of "msgmerge", so it can be a program name with args.
6013 set dummy msgmerge
; ac_word
=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6017 $as_echo_n "(cached) " >&6
6021 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6024 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6025 for ac_dir
in $PATH; do
6027 test -z "$ac_dir" && ac_dir
=.
6028 for ac_exec_ext
in '' $ac_executable_extensions; do
6029 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6030 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6031 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6038 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6042 MSGMERGE
="$ac_cv_path_MSGMERGE"
6043 if test "$MSGMERGE" != ":"; then
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6045 $as_echo "$MSGMERGE" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 if test "$GMSGFMT" != ":"; then
6053 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6054 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6057 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6059 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6064 if test "$XGETTEXT" != ":"; then
6065 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6066 (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
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6070 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6076 ac_config_commands
="$ac_config_commands default-1"
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6081 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6082 if test "${ac_cv_c_bigendian+set}" = set; then :
6083 $as_echo_n "(cached) " >&6
6085 ac_cv_c_bigendian
=unknown
6086 # See if we're dealing with a universal compiler.
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #ifndef __APPLE_CC__
6090 not a universal capable compiler
6095 if ac_fn_c_try_compile
"$LINENO"; then :
6097 # Check for potential -arch flags. It is not universal unless
6098 # there are at least two -arch flags with different values.
6101 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6102 if test -n "$ac_prev"; then
6104 i?
86 | x86_64 | ppc | ppc64
)
6105 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6108 ac_cv_c_bigendian
=universal
6114 elif test "x$ac_word" = "x-arch"; then
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 if test $ac_cv_c_bigendian = unknown
; then
6121 # See if sys/param.h defines the BYTE_ORDER macro.
6122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6124 #include <sys/types.h>
6125 #include <sys/param.h>
6130 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6131 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6140 if ac_fn_c_try_compile
"$LINENO"; then :
6141 # It does; now see whether it defined to BIG_ENDIAN or not.
6142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6144 #include <sys/types.h>
6145 #include <sys/param.h>
6150 #if BYTE_ORDER != BIG_ENDIAN
6158 if ac_fn_c_try_compile
"$LINENO"; then :
6159 ac_cv_c_bigendian
=yes
6161 ac_cv_c_bigendian
=no
6163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6167 if test $ac_cv_c_bigendian = unknown
; then
6168 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6176 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6184 if ac_fn_c_try_compile
"$LINENO"; then :
6185 # It does; now see whether it defined to _BIG_ENDIAN or not.
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6201 if ac_fn_c_try_compile
"$LINENO"; then :
6202 ac_cv_c_bigendian
=yes
6204 ac_cv_c_bigendian
=no
6206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6210 if test $ac_cv_c_bigendian = unknown
; then
6211 # Compile a test program.
6212 if test "$cross_compiling" = yes; then :
6213 # Try to guess by grepping values from an object file.
6214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6216 short int ascii_mm[] =
6217 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6218 short int ascii_ii[] =
6219 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6220 int use_ascii (int i) {
6221 return ascii_mm[i] + ascii_ii[i];
6223 short int ebcdic_ii[] =
6224 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6225 short int ebcdic_mm[] =
6226 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6227 int use_ebcdic (int i) {
6228 return ebcdic_mm[i] + ebcdic_ii[i];
6235 return use_ascii (foo) == use_ebcdic (foo);
6240 if ac_fn_c_try_compile
"$LINENO"; then :
6241 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6242 ac_cv_c_bigendian
=yes
6244 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6245 if test "$ac_cv_c_bigendian" = unknown
; then
6246 ac_cv_c_bigendian
=no
6248 # finding both strings is unlikely to happen, but who knows?
6249 ac_cv_c_bigendian
=unknown
6253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 $ac_includes_default
6262 /* Are we little or big endian? From Harbison&Steele. */
6266 char c[sizeof (long int)];
6269 return u.c[sizeof (long int) - 1] == 1;
6275 if ac_fn_c_try_run
"$LINENO"; then :
6276 ac_cv_c_bigendian
=no
6278 ac_cv_c_bigendian
=yes
6280 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6281 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6287 $as_echo "$ac_cv_c_bigendian" >&6; }
6288 case $ac_cv_c_bigendian in #(
6290 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6296 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6300 as_fn_error
"unknown endianness
6301 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6307 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6309 NATIVE_LINKER_FALSE
='#'
6311 NATIVE_LINKER_TRUE
='#'
6312 NATIVE_LINKER_FALSE
=
6315 if test "$GCC" = yes; then
6324 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6325 NATIVE_OR_CROSS_LINKER_TRUE
=
6326 NATIVE_OR_CROSS_LINKER_FALSE
='#'
6328 NATIVE_OR_CROSS_LINKER_TRUE
='#'
6329 NATIVE_OR_CROSS_LINKER_FALSE
=
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6334 $as_echo_n "checking whether static linking works... " >&6; }
6335 if test "${gold_cv_lib_static+set}" = set; then :
6336 $as_echo_n "(cached) " >&6
6338 LDFLAGS_hold
=$LDFLAGS
6339 LDFLAGS
="$LDFLAGS -static"
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6352 if ac_fn_c_try_link
"$LINENO"; then :
6353 gold_cv_lib_static
=yes
6355 gold_cv_lib_static
=no
6357 rm -f core conftest.err conftest.
$ac_objext \
6358 conftest
$ac_exeext conftest.
$ac_ext
6359 LDFLAGS
=$LDFLAGS_hold
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6362 $as_echo "$gold_cv_lib_static" >&6; }
6363 if test "$gold_cv_lib_static" = "yes"; then
6365 HAVE_STATIC_FALSE
='#'
6367 HAVE_STATIC_TRUE
='#'
6380 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6381 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6383 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6384 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6389 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6390 if test "${gold_cv_prog_gcc41+set}" = set; then :
6391 $as_echo_n "(cached) " >&6
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 #if !defined __GNUC__
6398 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6403 if ac_fn_c_try_compile
"$LINENO"; then :
6404 gold_cv_prog_gcc41
=yes
6406 gold_cv_prog_gcc41
=no
6408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6411 $as_echo "$gold_cv_prog_gcc41" >&6; }
6413 save_CFLAGS
="$CFLAGS"
6414 CFLAGS
="$CFLAGS -mcmodel=medium"
6415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6419 if ac_fn_c_try_compile
"$LINENO"; then :
6420 have_mcmodel_medium
=yes
6422 have_mcmodel_medium
=no
6424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6425 CFLAGS
="$save_CFLAGS"
6426 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6427 MCMODEL_MEDIUM_TRUE
=
6428 MCMODEL_MEDIUM_FALSE
='#'
6430 MCMODEL_MEDIUM_TRUE
='#'
6431 MCMODEL_MEDIUM_FALSE
=
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6436 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6437 if test "${gold_cv_merge_constants+set}" = set; then :
6438 $as_echo_n "(cached) " >&6
6441 save_CFLAGS
="$CFLAGS"
6442 CFLAGS
="$CFLAGS -fmerge-constants"
6443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 const char *s = "foo";
6447 if ac_fn_c_try_compile
"$LINENO"; then :
6448 gold_cv_merge_constants
=yes
6450 gold_cv_merge_constants
=no
6452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6453 CFLAGS
="$save_CFLAGS"
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5
6456 $as_echo "$gold_cv_merge_constants" >&6; }
6458 if test "$gold_cv_merge_constants" = yes; then :
6459 MERGE_CONSTANTS_FLAG
=-fmerge-constants
6461 MERGE_CONSTANTS_FLAG
=
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6465 $as_echo_n "checking for thread support... " >&6; }
6466 if test "${gold_cv_c_thread+set}" = set; then :
6467 $as_echo_n "(cached) " >&6
6469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6473 if ac_fn_c_try_compile
"$LINENO"; then :
6474 gold_cv_c_thread
=yes
6478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6481 $as_echo "$gold_cv_c_thread" >&6; }
6483 if test "$gold_cv_c_thread" = "yes"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6493 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6494 if test "${gold_cv_lib_glibc24+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6500 #include <features.h>
6501 #if !defined __GLIBC__
6503 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6508 if ac_fn_c_try_compile
"$LINENO"; then :
6509 gold_cv_lib_glibc24
=yes
6511 gold_cv_lib_glibc24
=no
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6516 $as_echo "$gold_cv_lib_glibc24" >&6; }
6518 if test "$gold_cv_lib_glibc24" = "yes"; then
6520 STATIC_TLS_FALSE
='#'
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6528 $as_echo_n "checking for omp support... " >&6; }
6529 if test "${gold_cv_c_threadprivate+set}" = set; then :
6530 $as_echo_n "(cached) " >&6
6532 save_CFLAGS
="$CFLAGS"
6533 CFLAGS
="$CFLAGS -fopenmp"
6534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6539 #pragma omp threadprivate (i)
6542 if ac_fn_c_try_compile
"$LINENO"; then :
6543 gold_cv_c_threadprivate
=yes
6545 gold_cv_c_threadprivate
=no
6547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6548 CFLAGS
="$save_CFLAGS"
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6551 $as_echo "$gold_cv_c_threadprivate" >&6; }
6552 if test "$gold_cv_c_threadprivate" = "yes"; then
6554 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6557 if test "$gold_cv_c_threadprivate" = "yes"; then
6559 OMP_SUPPORT_FALSE
='#'
6561 OMP_SUPPORT_TRUE
='#'
6566 save_CFLAGS
="$CFLAGS"
6567 CFLAGS
="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6578 if ac_fn_c_try_compile
"$LINENO"; then :
6583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6584 CFLAGS
="$save_CFLAGS"
6585 if test "$have_tls_gnu2" = "yes"; then
6586 TLS_GNU2_DIALECT_TRUE
=
6587 TLS_GNU2_DIALECT_FALSE
='#'
6589 TLS_GNU2_DIALECT_TRUE
='#'
6590 TLS_GNU2_DIALECT_FALSE
=
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6595 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6596 if test "${gold_cv_lib_glibc29+set}" = set; then :
6597 $as_echo_n "(cached) " >&6
6599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6602 #include <features.h>
6603 #if !defined __GLIBC__
6605 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6610 if ac_fn_c_try_compile
"$LINENO"; then :
6611 gold_cv_lib_glibc29
=yes
6613 gold_cv_lib_glibc29
=no
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6618 $as_echo "$gold_cv_lib_glibc29" >&6; }
6620 if test "$gold_cv_lib_glibc29" = "yes"; then
6621 TLS_DESCRIPTORS_TRUE
=
6622 TLS_DESCRIPTORS_FALSE
='#'
6624 TLS_DESCRIPTORS_TRUE
='#'
6625 TLS_DESCRIPTORS_FALSE
=
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6630 $as_echo_n "checking for -frandom-seed support... " >&6; }
6631 if test "${gold_cv_c_random_seed+set}" = set; then :
6632 $as_echo_n "(cached) " >&6
6634 save_CFLAGS
="$CFLAGS"
6635 CFLAGS
="$CFLAGS -frandom-seed=foo"
6636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6640 if ac_fn_c_try_compile
"$LINENO"; then :
6641 gold_cv_c_random_seed
=yes
6643 gold_cv_c_random_seed
=no
6645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6646 CFLAGS
="$save_CFLAGS"
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6649 $as_echo "$gold_cv_c_random_seed" >&6; }
6650 if test "$gold_cv_c_random_seed" = "yes"; then
6651 # In Makefile, '$@' will be expanded to be the name of the file
6652 # being built, providing a unique seed for each file.
6653 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6658 $as_echo_n "checking for glibc ifunc support... " >&6; }
6659 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6660 $as_echo_n "(cached) " >&6
6662 save_LDFLAGS
="$LDFLAGS"
6663 LDFLAGS
="$LDFLAGS -static"
6664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6667 #include <features.h>
6668 #if !defined __GLIBC__
6670 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6673 void func (void) { }
6675 __asm__(".type invoke, %gnu_indirect_function");
6676 typedef void (*funcptr) (void);
6677 funcptr dispatch (void) __asm__ ("invoke");
6678 funcptr dispatch (void) { return &func; }
6688 if ac_fn_c_try_link
"$LINENO"; then :
6690 if ${NM} conftest
$EXEEXT |
grep "__rela\?_iplt_start" >/dev
/null
2>&1; then
6691 gold_cv_lib_glibc_ifunc
=both
6693 gold_cv_lib_glibc_ifunc
=dyn
6696 gold_cv_lib_glibc_ifunc
=no
6698 rm -f core conftest.err conftest.
$ac_objext \
6699 conftest
$ac_exeext conftest.
$ac_ext
6700 LDFLAGS
="$save_LDFLAGS"
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6703 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6705 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6713 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6715 IFUNC_STATIC_FALSE
='#'
6717 IFUNC_STATIC_TRUE
='#'
6723 # Set the 'development' global.
6724 .
$srcdir/..
/bfd
/development.sh
6726 # Default set of GCC warnings to enable.
6727 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6729 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
6730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6735 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6738 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6743 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6749 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
6752 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
6757 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
6758 WARN_WRITE_STRINGS
=""
6759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6767 WARN_WRITE_STRINGS
="-Wwrite-strings"
6772 # Check whether --enable-werror was given.
6773 if test "${enable_werror+set}" = set; then :
6774 enableval
=$enable_werror; case "${enableval}" in
6775 yes | y
) ERROR_ON_WARNING
="yes" ;;
6776 no | n
) ERROR_ON_WARNING
="no" ;;
6777 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6782 # Disable -Wformat by default when using gcc on mingw
6785 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6786 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6792 # Enable -Werror by default when using gcc. Turn it off for releases.
6793 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
6794 ERROR_ON_WARNING
=yes
6798 if test "${ERROR_ON_WARNING}" = yes ; then
6799 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6800 NO_WERROR
="-Wno-error"
6803 if test "${GCC}" = yes ; then
6804 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6807 # Check whether --enable-build-warnings was given.
6808 if test "${enable_build_warnings+set}" = set; then :
6809 enableval
=$enable_build_warnings; case "${enableval}" in
6810 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6811 no
) if test "${GCC}" = yes ; then
6814 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6815 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6816 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6817 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6818 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6823 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6824 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6832 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6836 # Check whether --with-gold-ldflags was given.
6837 if test "${with_gold_ldflags+set}" = set; then :
6838 withval
=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6841 GOLD_LDFLAGS
=$withval
6850 # Check whether --with-gold-ldadd was given.
6851 if test "${with_gold_ldadd+set}" = set; then :
6852 withval
=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6863 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6866 for ac_header
in sys
/mman.h
6868 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6869 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
6870 cat >>confdefs.h
<<_ACEOF
6871 #define HAVE_SYS_MMAN_H 1
6878 for ac_func
in chsize mmap
6880 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6881 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6882 eval as_val
=\$
$as_ac_var
6883 if test "x$as_val" = x
""yes; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6891 for ac_func
in pread ftruncate ffsll
6893 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6894 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6895 eval as_val
=\$
$as_ac_var
6896 if test "x$as_val" = x
""yes; then :
6897 cat >>confdefs.h
<<_ACEOF
6898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6902 case " $LIBOBJS " in
6903 *" $ac_func.$ac_objext "* ) ;;
6904 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6914 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6915 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6922 #include <sys/mman.h>
6923 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6933 if ac_fn_c_try_link
"$LINENO"; then :
6934 gold_cv_lib_mremap_maymove
=yes
6936 gold_cv_lib_mremap_maymove
=no
6938 rm -f core conftest.err conftest.
$ac_objext \
6939 conftest
$ac_exeext conftest.
$ac_ext
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6942 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6943 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6945 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6948 case " $LIBOBJS " in
6949 *" mremap.$ac_objext "* ) ;;
6950 *) LIBOBJS
="$LIBOBJS mremap.$ac_objext"
6956 # Link in zlib if we can. This allows us to write compressed sections.
6958 # Use the system's zlib library.
6959 zlibdir
="-L\$(top_builddir)/../zlib"
6960 zlibinc
="-I\$(top_srcdir)/../zlib"
6962 # Check whether --with-system-zlib was given.
6963 if test "${with_system_zlib+set}" = set; then :
6964 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
6975 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6976 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6982 cat >>confdefs.h
<<_ACEOF
6983 #define HAVE_DECL_BASENAME $ac_have_decl
6985 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6986 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_DECL_FFS $ac_have_decl
6995 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6996 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7002 cat >>confdefs.h
<<_ACEOF
7003 #define HAVE_DECL_ASPRINTF $ac_have_decl
7005 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7006 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7012 cat >>confdefs.h
<<_ACEOF
7013 #define HAVE_DECL_VASPRINTF $ac_have_decl
7015 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7016 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7022 cat >>confdefs.h
<<_ACEOF
7023 #define HAVE_DECL_SNPRINTF $ac_have_decl
7025 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7026 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7032 cat >>confdefs.h
<<_ACEOF
7033 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7035 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7036 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7042 cat >>confdefs.h
<<_ACEOF
7043 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7047 save_CFLAGS
="$CFLAGS"
7048 CFLAGS
="$CFLAGS -Werror -gpubnames"
7049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7053 if ac_fn_c_try_compile
"$LINENO"; then :
7058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7059 CFLAGS
="$save_CFLAGS"
7060 if test "$have_pubnames" = "yes"; then
7062 HAVE_PUBNAMES_FALSE
='#'
7064 HAVE_PUBNAMES_TRUE
='#'
7065 HAVE_PUBNAMES_FALSE
=
7069 save_CFLAGS
="$CFLAGS"
7070 CFLAGS
="$CFLAGS -Werror -fno-use-linker-plugin"
7071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7075 if ac_fn_c_try_compile
"$LINENO"; then :
7076 have_no_use_linker_plugin
=yes
7078 have_no_use_linker_plugin
=no
7080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7081 CFLAGS
="$save_CFLAGS"
7082 if test "$have_no_use_linker_plugin" = "yes"; then
7083 HAVE_NO_USE_LINKER_PLUGIN_TRUE
=
7084 HAVE_NO_USE_LINKER_PLUGIN_FALSE
='#'
7086 HAVE_NO_USE_LINKER_PLUGIN_TRUE
='#'
7087 HAVE_NO_USE_LINKER_PLUGIN_FALSE
=
7092 ac_cpp
='$CXXCPP $CPPFLAGS'
7093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7100 ac_cpp
='$CXXCPP $CPPFLAGS'
7101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7105 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7106 if test -z "$CXXCPP"; then
7107 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7110 # Double quotes because CXXCPP needs to be expanded
7111 for CXXCPP
in "$CXX -E" "/lib/cpp"
7114 for ac_cxx_preproc_warn_flag
in '' yes
7116 # Use a header file that comes with gcc, so configuring glibc
7117 # with a fresh cross-compiler works.
7118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7119 # <limits.h> exists even on freestanding compilers.
7120 # On the NeXT, cc -E runs the code through the compiler's parser,
7121 # not just through cpp. "Syntax error" is here to catch this case.
7122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7125 # include <limits.h>
7127 # include <assert.h>
7131 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7134 # Broken: fails on valid input.
7137 rm -f conftest.err conftest.
$ac_ext
7139 # OK, works on sane cases. Now check whether nonexistent headers
7140 # can be detected and how.
7141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7143 #include <ac_nonexistent.h>
7145 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7146 # Broken: success on invalid input.
7149 # Passes both tests.
7153 rm -f conftest.err conftest.
$ac_ext
7156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7157 rm -f conftest.err conftest.
$ac_ext
7158 if $ac_preproc_ok; then :
7163 ac_cv_prog_CXXCPP
=$CXXCPP
7166 CXXCPP
=$ac_cv_prog_CXXCPP
7168 ac_cv_prog_CXXCPP
=$CXXCPP
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7171 $as_echo "$CXXCPP" >&6; }
7173 for ac_cxx_preproc_warn_flag
in '' yes
7175 # Use a header file that comes with gcc, so configuring glibc
7176 # with a fresh cross-compiler works.
7177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7178 # <limits.h> exists even on freestanding compilers.
7179 # On the NeXT, cc -E runs the code through the compiler's parser,
7180 # not just through cpp. "Syntax error" is here to catch this case.
7181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7184 # include <limits.h>
7186 # include <assert.h>
7190 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7193 # Broken: fails on valid input.
7196 rm -f conftest.err conftest.
$ac_ext
7198 # OK, works on sane cases. Now check whether nonexistent headers
7199 # can be detected and how.
7200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7201 /* end confdefs.h. */
7202 #include <ac_nonexistent.h>
7204 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7205 # Broken: success on invalid input.
7208 # Passes both tests.
7212 rm -f conftest.err conftest.
$ac_ext
7215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7216 rm -f conftest.err conftest.
$ac_ext
7217 if $ac_preproc_ok; then :
7220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7222 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
7223 See \`config.log' for more details." "$LINENO" 5; }
7227 ac_cpp
='$CXXCPP $CPPFLAGS'
7228 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7233 for ac_header
in unordered_set unordered_map
7235 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7236 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7237 eval as_val
=\$
$as_ac_Header
7238 if test "x$as_val" = x
""yes; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7247 for ac_header
in tr1/unordered_set
tr1/unordered_map
7249 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7250 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7251 eval as_val
=\$
$as_ac_Header
7252 if test "x$as_val" = x
""yes; then :
7253 cat >>confdefs.h
<<_ACEOF
7254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7261 for ac_header
in ext
/hash_map ext
/hash_set
7263 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7264 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7265 eval as_val
=\$
$as_ac_Header
7266 if test "x$as_val" = x
""yes; then :
7267 cat >>confdefs.h
<<_ACEOF
7268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 for ac_header
in byteswap.h
7277 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7278 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
7279 cat >>confdefs.h
<<_ACEOF
7280 #define HAVE_BYTESWAP_H 1
7288 for ac_header
in windows.h
7290 ac_fn_cxx_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7291 if test "x$ac_cv_header_windows_h" = x
""yes; then :
7292 cat >>confdefs.h
<<_ACEOF
7293 #define HAVE_WINDOWS_H 1
7300 for ac_header
in dlfcn.h
7302 ac_fn_cxx_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7303 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7304 cat >>confdefs.h
<<_ACEOF
7305 #define HAVE_DLFCN_H 1
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7313 $as_echo_n "checking for library containing dlopen... " >&6; }
7314 if test "${ac_cv_search_dlopen+set}" = set; then :
7315 $as_echo_n "(cached) " >&6
7317 ac_func_search_save_LIBS
=$LIBS
7318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7321 /* Override any GCC internal prototype to avoid an error.
7322 Use char because int might match the return type of a GCC
7323 builtin and then its argument prototype would still apply. */
7336 for ac_lib
in '' dl dld
; do
7337 if test -z "$ac_lib"; then
7338 ac_res
="none required"
7341 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7343 if ac_fn_cxx_try_link
"$LINENO"; then :
7344 ac_cv_search_dlopen
=$ac_res
7346 rm -f core conftest.err conftest.
$ac_objext \
7348 if test "${ac_cv_search_dlopen+set}" = set; then :
7352 if test "${ac_cv_search_dlopen+set}" = set; then :
7355 ac_cv_search_dlopen
=no
7358 LIBS
=$ac_func_search_save_LIBS
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7361 $as_echo "$ac_cv_search_dlopen" >&6; }
7362 ac_res
=$ac_cv_search_dlopen
7363 if test "$ac_res" != no
; then :
7364 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7368 case "$ac_cv_search_dlopen" in
7369 no
*) DLOPEN_LIBS
="";;
7370 *) DLOPEN_LIBS
="$ac_cv_search_dlopen";;
7374 for ac_func
in mallinfo posix_fallocate fallocate readv sysconf
times
7376 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7377 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7378 eval as_val
=\$
$as_ac_var
7379 if test "x$as_val" = x
""yes; then :
7380 cat >>confdefs.h
<<_ACEOF
7381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7387 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7388 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7394 cat >>confdefs.h
<<_ACEOF
7395 #define HAVE_DECL_BASENAME $ac_have_decl
7397 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7398 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7404 cat >>confdefs.h
<<_ACEOF
7405 #define HAVE_DECL_FFS $ac_have_decl
7407 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7408 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7414 cat >>confdefs.h
<<_ACEOF
7415 #define HAVE_DECL_ASPRINTF $ac_have_decl
7417 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7418 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7424 cat >>confdefs.h
<<_ACEOF
7425 #define HAVE_DECL_VASPRINTF $ac_have_decl
7427 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7428 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7434 cat >>confdefs.h
<<_ACEOF
7435 #define HAVE_DECL_SNPRINTF $ac_have_decl
7437 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7438 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7444 cat >>confdefs.h
<<_ACEOF
7445 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7447 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7448 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7454 cat >>confdefs.h
<<_ACEOF
7455 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7457 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7458 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
7464 cat >>confdefs.h
<<_ACEOF
7465 #define HAVE_DECL_STRNDUP $ac_have_decl
7467 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7468 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
7474 cat >>confdefs.h
<<_ACEOF
7475 #define HAVE_DECL_MEMMEM $ac_have_decl
7479 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7480 # at link time with some versions of GCC.
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7482 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7483 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7489 #include <tr1/unordered_map>
7490 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7500 if ac_fn_cxx_try_link
"$LINENO"; then :
7501 gold_cv_unordered_map_rehash
=yes
7503 gold_cv_unordered_map_rehash
=no
7505 rm -f core conftest.err conftest.
$ac_objext \
7506 conftest
$ac_exeext conftest.
$ac_ext
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7509 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7510 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7512 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7516 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7517 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7519 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7520 if test "${gold_cv_hash_off_t+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7523 CXXFLAGS_hold
=$CXXFLAGS
7524 CXXFLAGS
="$CXXFLAGS $LFS_CFLAGS"
7525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7528 #include <sys/types.h>
7529 #include <tr1/unordered_map>
7530 std::tr1::hash<off_t> h;
7533 if ac_fn_cxx_try_compile
"$LINENO"; then :
7534 gold_cv_hash_off_t
=yes
7536 gold_cv_hash_off_t
=no
7538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7539 CXXFLAGS
=$CXXFLAGS_hold
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7542 $as_echo "$gold_cv_hash_off_t" >&6; }
7543 if test "$gold_cv_hash_off_t" = "yes"; then
7545 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7549 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7550 # function. Check for that. This is gcc bug 35546. This test can
7551 # probably be removed after the bug has been fixed for a while.
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7553 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7554 if test "${gold_cv_template_attribute+set}" = set; then :
7555 $as_echo_n "(cached) " >&6
7557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7560 template<typename T> extern void foo(const char*, ...)
7561 __attribute__ ((__format__ (__printf__, 1, 2)));
7562 template<typename T> void foo(const char* format, ...) {}
7563 void bar() { foo<int>("%s\n", "foo"); }
7566 if ac_fn_cxx_try_compile
"$LINENO"; then :
7567 gold_cv_template_attribute
=yes
7569 gold_cv_template_attribute
=no
7571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7574 $as_echo "$gold_cv_template_attribute" >&6; }
7575 if test "$gold_cv_template_attribute" = "yes"; then
7577 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7582 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7583 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7584 $as_echo_n "(cached) " >&6
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7589 #include <sys/stat.h>
7590 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7600 if ac_fn_cxx_try_compile
"$LINENO"; then :
7601 gold_cv_stat_st_mtim
=yes
7603 gold_cv_stat_st_mtim
=no
7605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7608 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7609 if test "$gold_cv_stat_st_mtim" = "yes"; then
7611 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7616 ac_cpp
='$CPP $CPPFLAGS'
7617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7622 for ac_header
in locale.h
7624 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7625 if test "x$ac_cv_header_locale_h" = x
""yes; then :
7626 cat >>confdefs.h
<<_ACEOF
7627 #define HAVE_LOCALE_H 1
7634 for ac_func
in setlocale
7636 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
7637 if test "x$ac_cv_func_setlocale" = x
""yes; then :
7638 cat >>confdefs.h
<<_ACEOF
7639 #define HAVE_SETLOCALE 1
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7647 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7648 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7649 $as_echo_n "(cached) " >&6
7651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7662 if ac_fn_c_try_link
"$LINENO"; then :
7663 am_cv_val_LC_MESSAGES
=yes
7665 am_cv_val_LC_MESSAGES
=no
7667 rm -f core conftest.err conftest.
$ac_objext \
7668 conftest
$ac_exeext conftest.
$ac_ext
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7671 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7672 if test $am_cv_val_LC_MESSAGES = yes; then
7674 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7681 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7682 # Check whether --enable-maintainer-mode was given.
7683 if test "${enable_maintainer_mode+set}" = set; then :
7684 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7686 USE_MAINTAINER_MODE
=no
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7690 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7691 if test $USE_MAINTAINER_MODE = yes; then
7692 MAINTAINER_MODE_TRUE
=
7693 MAINTAINER_MODE_FALSE
='#'
7695 MAINTAINER_MODE_TRUE
='#'
7696 MAINTAINER_MODE_FALSE
=
7699 MAINT
=$MAINTAINER_MODE_TRUE
7703 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7705 cat >confcache
<<\_ACEOF
7706 # This file is a shell script that caches the results of configure
7707 # tests run on this system so they can be shared between configure
7708 # scripts and configure runs, see configure's option --config-cache.
7709 # It is not useful on other systems. If it contains results you don't
7710 # want to keep, you may remove or edit it.
7712 # config.status only pays attention to the cache file if you give it
7713 # the --recheck option to rerun configure.
7715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7721 # The following way of writing the cache mishandles newlines in values,
7722 # but we know of no workaround that is simple, portable, and efficient.
7723 # So, we kill variables containing newlines.
7724 # Ultrix sh set writes to stderr and can't be redirected directly,
7725 # and sets the high bit in the cache file unless we assign to the vars.
7727 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7728 eval ac_val
=\$
$ac_var
7732 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7733 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7736 _ | IFS | as_nl
) ;; #(
7737 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7738 *) { eval $ac_var=; unset $ac_var;} ;;
7744 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7745 *${as_nl}ac_space
=\
*)
7746 # `set' does not quote correctly, so add quotes: double-quote
7747 # substitution turns \\\\ into \\, and sed turns \\ into \.
7750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7753 # `set' quotes correctly as required by POSIX, so do not add quotes.
7754 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7765 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7767 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7768 if test -w "$cache_file"; then
7769 test "x$cache_file" != "x/dev/null" &&
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7771 $as_echo "$as_me: updating cache $cache_file" >&6;}
7772 cat confcache
>$cache_file
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7775 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7780 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7781 # Let make expand exec_prefix.
7782 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7784 DEFS
=-DHAVE_CONFIG_H
7788 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7789 # 1. Remove the extension, and $U if already installed.
7790 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7791 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7792 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7793 # will be set to the directory where LIBOBJS objects are built.
7794 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7795 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7799 LTLIBOBJS
=$ac_ltlibobjs
7802 if test -n "$EXEEXT"; then
7804 am__EXEEXT_FALSE
='#'
7810 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7811 as_fn_error
"conditional \"THREADS\" was never defined.
7812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7814 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7815 as_fn_error
"conditional \"PLUGINS\" was never defined.
7816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7818 if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then
7819 as_fn_error
"conditional \"DEFAULT_TARGET_AARCH64\" was never defined.
7820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7822 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7823 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7826 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7827 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7830 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7831 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7834 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7835 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7838 if test -z "${DEFAULT_TARGET_S390_TRUE}" && test -z "${DEFAULT_TARGET_S390_FALSE}"; then
7839 as_fn_error
"conditional \"DEFAULT_TARGET_S390\" was never defined.
7840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7842 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7843 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7846 if test -z "${DEFAULT_TARGET_X32_TRUE}" && test -z "${DEFAULT_TARGET_X32_FALSE}"; then
7847 as_fn_error
"conditional \"DEFAULT_TARGET_X32\" was never defined.
7848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7850 if test -z "${DEFAULT_TARGET_X86_64_OR_X32_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_OR_X32_FALSE}"; then
7851 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64_OR_X32\" was never defined.
7852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7854 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7855 as_fn_error
"conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7858 if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then
7859 as_fn_error
"conditional \"DEFAULT_TARGET_MIPS\" was never defined.
7860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7862 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7863 as_fn_error
"conditional \"AMDEP\" was never defined.
7864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7866 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7867 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7870 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7871 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7875 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7876 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7879 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7880 as_fn_error
"conditional \"GCC\" was never defined.
7881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7883 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7884 as_fn_error
"conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7887 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7888 as_fn_error
"conditional \"HAVE_STATIC\" was never defined.
7889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7891 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7892 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7895 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7896 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7899 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7900 as_fn_error
"conditional \"TLS\" was never defined.
7901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7903 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7904 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7907 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7908 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7911 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7912 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7915 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7916 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7919 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7920 as_fn_error
"conditional \"IFUNC\" was never defined.
7921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7923 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7924 as_fn_error
"conditional \"IFUNC_STATIC\" was never defined.
7925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7927 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7928 as_fn_error
"conditional \"HAVE_PUBNAMES\" was never defined.
7929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7931 if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then
7932 as_fn_error
"conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined.
7933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7935 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7936 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7940 : ${CONFIG_STATUS=./config.status}
7942 ac_clean_files_save
=$ac_clean_files
7943 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7945 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7947 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7949 # Generated by $as_me.
7950 # Run this file to recreate the current configuration.
7951 # Compiler output produced by configure, useful for debugging
7952 # configure, is in config.log if it exists.
7958 SHELL=\${CONFIG_SHELL-$SHELL}
7961 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7962 ## -------------------- ##
7963 ## M4sh Initialization. ##
7964 ## -------------------- ##
7966 # Be more Bourne compatible
7967 DUALCASE
=1; export DUALCASE
# for MKS sh
7968 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7971 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7972 # is contrary to our usage. Disable this feature.
7973 alias -g '${1+"$@"}'='"$@"'
7974 setopt NO_GLOB_SUBST
7976 case `(set -o) 2>/dev/null` in #(
7988 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7989 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7990 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7991 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7992 # Prefer a ksh shell builtin over an external printf program on Solaris,
7993 # but without wasting forks for bash or zsh.
7994 if test -z "$BASH_VERSION$ZSH_VERSION" \
7995 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7996 as_echo='print
-r --'
7997 as_echo_n='print
-rn --'
7998 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7999 as_echo='printf %s
\n'
8000 as_echo_n='printf %s
'
8002 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8003 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8004 as_echo_n='/usr
/ucb
/echo -n'
8006 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8007 as_echo_n_body='eval
8011 expr "X$arg" : "X\\(.*\\)$as_nl";
8012 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8014 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8016 export as_echo_n_body
8017 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8020 as_echo='sh
-c $as_echo_body as_echo
'
8023 # The user is always right.
8024 if test "${PATH_SEPARATOR+set}" != set; then
8026 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8027 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8034 # We need space, tab and new line, in precisely that order. Quoting is
8035 # there to prevent editors from complaining about space-tab.
8036 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8037 # splitting by setting IFS to empty value.)
8040 # Find who we are. Look in the path if we contain no directory separator.
8042 *[\\/]* ) as_myself=$0 ;;
8043 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 test -z "$as_dir" && as_dir=.
8048 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8054 # We did not find ourselves, most probably we were run as `sh COMMAND'
8055 # in which case we are not to be found in the path.
8056 if test "x$as_myself" = x
; then
8059 if test ! -f "$as_myself"; then
8060 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8064 # Unset variables that we do not need and which cause bugs (e.g. in
8065 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8066 # suppresses any "Segmentation fault" message there. '((' could
8067 # trigger a bug in pdksh 5.2.14.
8068 for as_var
in BASH_ENV ENV MAIL MAILPATH
8069 do eval test x\
${$as_var+set} = xset \
8070 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8083 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8086 # as_fn_error ERROR [LINENO LOG_FD]
8087 # ---------------------------------
8088 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8089 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8090 # script with status $?, using 1 if that was 0.
8093 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8095 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8096 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8098 $as_echo "$as_me: error: $1" >&2
8099 as_fn_exit
$as_status
8103 # as_fn_set_status STATUS
8104 # -----------------------
8105 # Set $? to STATUS, without forking.
8109 } # as_fn_set_status
8113 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8123 # Portably unset VAR.
8126 { eval $1=; unset $1;}
8128 as_unset
=as_fn_unset
8129 # as_fn_append VAR VALUE
8130 # ----------------------
8131 # Append the text in VALUE to the end of the definition contained in VAR. Take
8132 # advantage of any shell optimizations that allow amortized linear growth over
8133 # repeated appends, instead of the typical quadratic growth present in naive
8135 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8136 eval 'as_fn_append ()
8147 # as_fn_arith ARG...
8148 # ------------------
8149 # Perform arithmetic evaluation on the ARGs, and store the result in the
8150 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8151 # must be portable across $(()) and expr.
8152 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8153 eval 'as_fn_arith ()
8160 as_val
=`expr "$@" || test $? -eq 1`
8165 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8166 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8172 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8173 as_basename
=basename
8178 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8184 as_me
=`$as_basename -- "$0" ||
8185 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8186 X"$0" : 'X\(//\)$' \| \
8187 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8189 sed '/^.*\/\([^/][^/]*\)\/*$/{
8203 # Avoid depending upon Character Ranges.
8204 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8205 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8206 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8207 as_cr_digits
='0123456789'
8208 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8210 ECHO_C
= ECHO_N
= ECHO_T
=
8211 case `echo -n x` in #(((((
8213 case `echo 'xy\c'` in
8214 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8216 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8223 rm -f conf$$ conf$$.exe conf$$.
file
8224 if test -d conf$$.dir
; then
8225 rm -f conf$$.dir
/conf$$.
file
8228 mkdir conf$$.dir
2>/dev
/null
8230 if (echo >conf$$.
file) 2>/dev
/null
; then
8231 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8233 # ... but there are two gotchas:
8234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8236 # In both cases, we have to default to `cp -p'.
8237 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8239 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8247 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8248 rmdir conf$$.dir
2>/dev
/null
8253 # Create "$as_dir" as a directory, including parents if necessary.
8258 -*) as_dir
=.
/$as_dir;;
8260 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8264 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8265 *) as_qdir
=$as_dir;;
8267 as_dirs
="'$as_qdir' $as_dirs"
8268 as_dir
=`$as_dirname -- "$as_dir" ||
8269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8270 X"$as_dir" : 'X\(//\)[^/]' \| \
8271 X"$as_dir" : 'X\(//\)$' \| \
8272 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8273 $as_echo X"$as_dir" |
8274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8291 test -d "$as_dir" && break
8293 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8294 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8298 if mkdir
-p .
2>/dev
/null
; then
8299 as_mkdir_p
='mkdir -p "$as_dir"'
8301 test -d .
/-p && rmdir .
/-p
8305 if test -x / >/dev
/null
2>&1; then
8308 if ls -dL / >/dev
/null
2>&1; then
8315 if test -d "$1"; then
8321 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8322 ???[sx]*):;;*)false;;esac;fi
8326 as_executable_p
=$as_test_x
8328 # Sed expression to map a string onto a valid CPP name.
8329 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8331 # Sed expression to map a string onto a valid variable name.
8332 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8336 ## ----------------------------------- ##
8337 ## Main body of $CONFIG_STATUS script. ##
8338 ## ----------------------------------- ##
8340 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8343 # Save the log message, to keep $0 and so on meaningful, and to
8344 # report actual input values of CONFIG_FILES etc. instead of their
8345 # values after options handling.
8347 This file was extended by gold $as_me 0.1, which was
8348 generated by GNU Autoconf 2.64. Invocation command line was
8350 CONFIG_FILES = $CONFIG_FILES
8351 CONFIG_HEADERS = $CONFIG_HEADERS
8352 CONFIG_LINKS = $CONFIG_LINKS
8353 CONFIG_COMMANDS = $CONFIG_COMMANDS
8356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8361 case $ac_config_files in *"
8362 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8365 case $ac_config_headers in *"
8366 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8371 # Files that config.status was made for.
8372 config_files="$ac_config_files"
8373 config_headers="$ac_config_headers"
8374 config_commands="$ac_config_commands"
8378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8380 \`$as_me' instantiates files and other configuration actions
8381 from templates according to the current configuration. Unless the files
8382 and actions are specified as TAGs, all are instantiated by default.
8384 Usage: $0 [OPTION]... [TAG]...
8386 -h, --help print this help, then exit
8387 -V, --version print version number and configuration settings, then exit
8388 -q, --quiet, --silent
8389 do not print progress messages
8390 -d, --debug don't remove temporary files
8391 --recheck update $as_me by reconfiguring in the same conditions
8392 --file=FILE[:TEMPLATE]
8393 instantiate the configuration file FILE
8394 --header=FILE[:TEMPLATE]
8395 instantiate the configuration header FILE
8397 Configuration files:
8400 Configuration headers:
8403 Configuration commands:
8406 Report bugs to the package provider."
8409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8411 gold config.status 0.1
8412 configured by $0, generated by GNU Autoconf 2.64,
8413 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8415 Copyright (C) 2009 Free Software Foundation, Inc.
8416 This config.status script is free software; the Free Software Foundation
8417 gives unlimited permission to copy, distribute and modify it."
8424 test -n "\$AWK" || AWK=awk
8427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8428 # The default lists apply if the user does not specify any file.
8434 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8435 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8446 # Handling of the options.
8447 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8449 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8450 $as_echo "$ac_cs_version"; exit ;;
8451 --debug |
--debu |
--deb |
--de |
--d |
-d )
8453 --file |
--fil |
--fi |
--f )
8456 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8458 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8459 ac_need_defaults
=false
;;
8460 --header |
--heade |
--head |
--hea )
8463 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8465 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8466 ac_need_defaults
=false
;;
8468 # Conflict between --help and --header
8469 as_fn_error
"ambiguous option: \`$1'
8470 Try \`$0 --help' for more information.";;
8471 --help |
--hel |
-h )
8472 $as_echo "$ac_cs_usage"; exit ;;
8473 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8474 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8478 -*) as_fn_error
"unrecognized option: \`$1'
8479 Try \`$0 --help' for more information." ;;
8481 *) as_fn_append ac_config_targets
" $1"
8482 ac_need_defaults
=false
;;
8488 ac_configure_extra_args
=
8490 if $ac_cs_silent; then
8492 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8497 if \$ac_cs_recheck; then
8498 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8500 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8501 CONFIG_SHELL='$SHELL'
8507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8511 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8512 ## Running $as_me. ##
8518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8522 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8523 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8524 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8526 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8527 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8528 LINGUAS="${LINGUAS-%UNSET%}"
8533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8535 # Handling of arguments.
8536 for ac_config_target
in $ac_config_targets
8538 case $ac_config_target in
8539 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8540 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8541 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8542 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8543 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
8544 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8546 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8551 # If the user did not use the arguments to specify the items to instantiate,
8552 # then the envvar interface is used. Set only those that are not.
8553 # We use the long form for the default assignment because of an extremely
8554 # bizarre bug on SunOS 4.1.3.
8555 if $ac_need_defaults; then
8556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8561 # Have a temporary directory for convenience. Make it in the build tree
8562 # simply because there is no reason against having it here, and in addition,
8563 # creating and moving files from /tmp can sometimes cause problems.
8564 # Hook for its removal unless debugging.
8565 # Note that there is a small window in which the directory will not be cleaned:
8566 # after its creation but before its name has been assigned to `$tmp'.
8570 trap 'exit_status=$?
8571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8573 trap 'as_fn_exit 1' 1 2 13 15
8575 # Create a (secure) tmp directory for tmp files.
8578 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8579 test -n "$tmp" && test -d "$tmp"
8582 tmp
=.
/conf$$
-$RANDOM
8583 (umask 077 && mkdir
"$tmp")
8584 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8586 # Set up the scripts for CONFIG_FILES section.
8587 # No need to generate them if there are no CONFIG_FILES.
8588 # This happens for instance with `./config.status config.h'.
8589 if test -n "$CONFIG_FILES"; then
8592 ac_cr
=`echo X | tr X '\015'`
8593 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8594 # But we know of no other shell where ac_cr would be empty at this
8595 # point, so we can use a bashism as a fallback.
8596 if test "x$ac_cr" = x
; then
8597 eval ac_cr
=\$
\'\\r
\'
8599 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8600 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8606 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8611 echo "cat >conf$$subs.awk <<_ACEOF" &&
8612 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8615 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8616 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8618 for ac_last_try in false false false false false :; do
8619 . ./conf$$subs.sh ||
8620 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8622 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8623 if test $ac_delim_n = $ac_delim_num; then
8625 elif $ac_last_try; then
8626 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8628 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8634 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8638 s/^/S["/; s
/!.
*/"]=/
8648 s/\(.\{148\}\).*/\1/
8650 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8655 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8662 s/\(.\{148\}\).*/\1/
8664 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8668 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8673 ' <conf$$subs.awk | sed '
8678 ' >>$CONFIG_STATUS || ac_write_fail=1
8679 rm -f conf$$subs.awk
8680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8682 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8683 for (key in S) S_is_set[key] = 1
8689 nfields = split(line, field, "@
")
8691 len = length(field[1])
8692 for (i = 2; i < nfields; i++) {
8694 keylen = length(key)
8695 if (S_is_set[key]) {
8697 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8698 len += length(value) + length(field[++i])
8709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8710 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8711 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8714 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8715 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8718 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8719 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8720 # trailing colons and then remove the whole line if VPATH becomes empty
8721 # (actually we leave an empty line to preserve line numbers).
8722 if test "x
$srcdir" = x.; then
8723 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8727 s/^\([^=]*=[ ]*\):*/\1/
8733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8734 fi # test -n "$CONFIG_FILES"
8736 # Set up the scripts for CONFIG_HEADERS section.
8737 # No need to generate them if there are no CONFIG_HEADERS.
8738 # This happens for instance with `./config.status Makefile'.
8739 if test -n "$CONFIG_HEADERS"; then
8740 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8744 # Transform confdefs.h into an awk script `defines.awk', embedded as
8745 # here-document in config.status, that substitutes the proper values into
8746 # config.h.in to produce config.h.
8748 # Create a delimiter string that does not exist in confdefs.h, to ease
8749 # handling of long lines.
8751 for ac_last_try in false false :; do
8752 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8753 if test -z "$ac_t"; then
8755 elif $ac_last_try; then
8756 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8758 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8762 # For the awk script, D is an array of macro values keyed by name,
8763 # likewise P contains macro parameters if any. Preserve backslash
8764 # newline sequences.
8766 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8768 s/.\{148\}/&'"$ac_delim"'/g
8771 s/^[ ]*#[ ]*define[ ][ ]*/ /
8778 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8780 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8785 D["\
1"]=" \
3\\\\\\n
"\\/p
8787 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8792 s/.\{148\}/&'"$ac_delim"'/g
8797 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8800 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8802 ' <confdefs.h | sed '
8803 s/'"$ac_delim"'/"\\\
8804 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8807 for (key in D) D_is_set[key] = 1
8810 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8812 split(line, arg, " ")
8813 if (arg[1] == "#") {
8817 defundef
= substr
(arg
[1], 2)
8820 split(mac1
, mac2
, "(") #)
8822 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8823 if (D_is_set
[macro
]) {
8824 # Preserve the white space surrounding the "#".
8825 print prefix
"define", macro P
[macro
] D
[macro
]
8828 # Replace #undef with comments. This is necessary, for example,
8829 # in the case of _POSIX_SOURCE, which is predefined and required
8830 # on some systems where configure will not decide to define it.
8831 if (defundef
== "undef") {
8832 print
"/*", prefix defundef
, macro
, "*/"
8840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8841 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8842 fi # test -n "$CONFIG_HEADERS"
8845 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8850 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8852 case $ac_mode$ac_tag in
8854 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8855 :[FH
]-) ac_tag
=-:-;;
8856 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8873 -) ac_f
="$tmp/stdin";;
8874 *) # Look for the file first in the build tree, then in the source tree
8875 # (if the path is not absolute). The absolute path cannot be DOS-style,
8876 # because $ac_f cannot contain `:'.
8880 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8882 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8884 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8885 as_fn_append ac_file_inputs
" '$ac_f'"
8888 # Let's still pretend it is `configure' which instantiates (i.e., don't
8889 # use $as_me), people would be surprised to read:
8890 # /* config.h. Generated by config.status. */
8891 configure_input
='Generated from '`
8892 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8894 if test x
"$ac_file" != x-
; then
8895 configure_input
="$ac_file. $configure_input"
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8897 $as_echo "$as_me: creating $ac_file" >&6;}
8899 # Neutralize special characters interpreted by sed in replacement strings.
8900 case $configure_input in #(
8901 *\
&* |
*\|
* |
*\\* )
8902 ac_sed_conf_input
=`$as_echo "$configure_input" |
8903 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8904 *) ac_sed_conf_input
=$configure_input;;
8908 *:-:* |
*:-) cat >"$tmp/stdin" \
8909 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8914 ac_dir
=`$as_dirname -- "$ac_file" ||
8915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8916 X"$ac_file" : 'X\(//\)[^/]' \| \
8917 X"$ac_file" : 'X\(//\)$' \| \
8918 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8919 $as_echo X"$ac_file" |
8920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8937 as_dir
="$ac_dir"; as_fn_mkdir_p
8941 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8943 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8944 # A ".." for each directory in $ac_dir_suffix.
8945 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8946 case $ac_top_builddir_sub in
8947 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8948 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8951 ac_abs_top_builddir
=$ac_pwd
8952 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8953 # for backward compatibility:
8954 ac_top_builddir
=$ac_top_build_prefix
8957 .
) # We are building in place.
8959 ac_top_srcdir
=$ac_top_builddir_sub
8960 ac_abs_top_srcdir
=$ac_pwd ;;
8961 [\\/]* | ?
:[\\/]* ) # Absolute name.
8962 ac_srcdir
=$srcdir$ac_dir_suffix;
8963 ac_top_srcdir
=$srcdir
8964 ac_abs_top_srcdir
=$srcdir ;;
8966 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8967 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8968 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8970 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8980 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8981 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8985 [\\/$
]* | ?
:[\\/]* ) ;;
8986 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8991 # If the template does not know about datarootdir, expand it.
8992 # FIXME: This hack should be removed a few years after 2.60.
8993 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9004 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9005 *datarootdir
*) ac_datarootdir_seen
=yes;;
9006 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9008 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9011 ac_datarootdir_hack='
9012 s&@datadir@&$datadir&g
9013 s&@docdir@&$docdir&g
9014 s&@infodir@&$infodir&g
9015 s&@localedir@&$localedir&g
9016 s&@mandir@&$mandir&g
9017 s&\\\${datarootdir}&$datarootdir&g' ;;
9021 # Neutralize VPATH when `$srcdir' = `.'.
9022 # Shell code in configure.ac might set extrasub.
9023 # FIXME: do we really want to maintain this feature?
9024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9025 ac_sed_extra="$ac_vpsub
9028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9030 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9031 s|@configure_input@|
$ac_sed_conf_input|
;t t
9032 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9033 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9034 s
&@srcdir@
&$ac_srcdir&;t t
9035 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9036 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9037 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9038 s
&@builddir@
&$ac_builddir&;t t
9039 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9040 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9041 s
&@INSTALL@
&$ac_INSTALL&;t t
9042 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9043 $ac_datarootdir_hack
9045 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9046 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9048 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9049 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9052 which seems to be undefined. Please make sure it is defined." >&5
9053 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9054 which seems to be undefined. Please make sure it is defined." >&2;}
9058 -) cat "$tmp/out" && rm -f "$tmp/out";;
9059 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9061 || as_fn_error "could not create $ac_file" "$LINENO" 5
9067 if test x"$ac_file" != x-; then
9069 $as_echo "/* $configure_input */" \
9070 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9071 } >"$tmp/config.h" \
9072 || as_fn_error "could not create $ac_file" "$LINENO" 5
9073 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9075 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9078 mv "$tmp/config.h" "$ac_file" \
9079 || as_fn_error "could not create $ac_file" "$LINENO" 5
9082 $as_echo "/* $configure_input */" \
9083 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9084 || as_fn_error "could not create -" "$LINENO" 5
9086 # Compute "$ac_file"'s index
in $config_headers.
9089 for _am_header
in $config_headers :; do
9091 $_am_arg |
$_am_arg:* )
9094 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9097 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9098 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9099 X"$_am_arg" : 'X\(//\)[^/]' \| \
9100 X"$_am_arg" : 'X\(//\)$' \| \
9101 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9102 $as_echo X"$_am_arg" |
9103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9119 s/.*/./; q'`/stamp-h
$_am_stamp_count
9122 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9123 $as_echo "$as_me: executing $ac_file commands" >&6;}
9128 case $ac_file$ac_mode in
9129 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9130 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9131 # are listed without --file. Let's play safe and only enable the eval
9132 # if we detect the quoting.
9133 case $CONFIG_FILES in
9134 *\'*) eval set x
"$CONFIG_FILES" ;;
9135 *) set x
$CONFIG_FILES ;;
9140 # Strip MF so we end up with the name of the file.
9141 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9142 # Check whether this is an Automake generated Makefile or not.
9143 # We used to match only the files named `Makefile.in', but
9144 # some people rename them; so instead we look at the file content.
9145 # Grep'ing the first line is not enough: some people post-process
9146 # each Makefile.in and add a new line on top of each file to say so.
9147 # Grep'ing the whole file is not good either: AIX grep has a line
9148 # limit of 2048, but all sed's we know have understand at least 4000.
9149 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9150 dirpart
=`$as_dirname -- "$mf" ||
9151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9152 X"$mf" : 'X\(//\)[^/]' \| \
9153 X"$mf" : 'X\(//\)$' \| \
9154 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9176 # Extract the definition of DEPDIR, am__include, and am__quote
9177 # from the Makefile without running `make'.
9178 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9179 test -z "$DEPDIR" && continue
9180 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9181 test -z "am__include" && continue
9182 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9183 # When using ansi2knr, U may be empty or an underscore; expand it
9184 U
=`sed -n 's/^U = //p' < "$mf"`
9185 # Find all dependency output files, they are included files with
9186 # $(DEPDIR) in their names. We invoke sed twice because it is the
9187 # simplest approach to changing $(DEPDIR) to its actual value in the
9189 for file in `sed -n "
9190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9192 # Make sure the directory exists.
9193 test -f "$dirpart/$file" && continue
9194 fdir
=`$as_dirname -- "$file" ||
9195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9196 X"$file" : 'X\(//\)[^/]' \| \
9197 X"$file" : 'X\(//\)$' \| \
9198 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9217 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9218 # echo "creating $dirpart/$file"
9219 echo '# dummy' > "$dirpart/$file"
9225 for ac_file
in $CONFIG_FILES; do
9226 # Support "outfile[:infile[:infile...]]"
9228 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9230 # PO directories have a Makefile.in generated from Makefile.in.in.
9231 case "$ac_file" in */Makefile.
in)
9232 # Adjust a relative srcdir.
9233 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9234 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
9235 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9236 # In autoconf-2.13 it is called $ac_given_srcdir.
9237 # In autoconf-2.50 it is called $srcdir.
9238 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9239 case "$ac_given_srcdir" in
9240 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9241 /*) top_srcdir
="$ac_given_srcdir" ;;
9242 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9244 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9245 rm -f "$ac_dir/POTFILES"
9246 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9247 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9248 POMAKEFILEDEPS
="POTFILES.in"
9249 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9250 # on $ac_dir but don't depend on user-specified configuration
9252 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9253 # The LINGUAS file contains the set of available languages.
9254 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9255 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
9257 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9258 # Hide the ALL_LINGUAS assigment from automake.
9259 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9260 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9262 # The set of available languages was given in configure.ac.
9263 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9265 case "$ac_given_srcdir" in
9267 *) srcdirpre
='$(srcdir)/' ;;
9273 for lang
in $ALL_LINGUAS; do
9274 POFILES
="$POFILES $srcdirpre$lang.po"
9275 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9276 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9277 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9279 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9280 # environment variable.
9282 if test -n "$ALL_LINGUAS"; then
9283 for presentlang
in $ALL_LINGUAS; do
9285 if test "%UNSET%" != "$LINGUAS"; then
9286 desiredlanguages
="$LINGUAS"
9288 desiredlanguages
="$ALL_LINGUAS"
9290 for desiredlang
in $desiredlanguages; do
9291 # Use the presentlang catalog if desiredlang is
9292 # a. equal to presentlang, or
9293 # b. a variant of presentlang (because in this case,
9294 # presentlang can be used as a fallback for messages
9295 # which are not translated in the desiredlang catalog).
9296 case "$desiredlang" in
9297 "$presentlang"*) useit
=yes;;
9300 if test $useit = yes; then
9301 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9306 if test -n "$INST_LINGUAS"; then
9307 for lang
in $INST_LINGUAS; do
9308 CATALOGS
="$CATALOGS $lang.gmo"
9311 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9312 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"
9313 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9314 if test -f "$f"; then
9316 *.orig |
*.bak |
*~
) ;;
9317 *) cat "$f" >> "$ac_dir/Makefile" ;;
9332 ac_clean_files
=$ac_clean_files_save
9334 test $ac_write_fail = 0 ||
9335 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9338 # configure is writing to config.log, and then calls config.status.
9339 # config.status does its own redirection, appending to config.log.
9340 # Unfortunately, on DOS this fails, as config.log is still kept open
9341 # by configure, so config.status won't be able to write to it; its
9342 # output is simply discarded. So we exec the FD to /dev/null,
9343 # effectively closing config.log, so it can be properly (re)opened and
9344 # appended to by config.status. When coming back to configure, we
9345 # need to make the FD available again.
9346 if test "$no_create" != yes; then
9348 ac_config_status_args
=
9349 test "$silent" = yes &&
9350 ac_config_status_args
="$ac_config_status_args --quiet"
9352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9355 # would make configure fail if this is the last instruction.
9356 $ac_cs_success || as_fn_exit $?
9358 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9360 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}