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
688 DEFAULT_TARGET_MIPS_FALSE
689 DEFAULT_TARGET_MIPS_TRUE
690 DEFAULT_TARGET_TILEGX_FALSE
691 DEFAULT_TARGET_TILEGX_TRUE
692 DEFAULT_TARGET_X32_FALSE
693 DEFAULT_TARGET_X32_TRUE
694 DEFAULT_TARGET_X86_64_FALSE
695 DEFAULT_TARGET_X86_64_TRUE
696 DEFAULT_TARGET_S390_FALSE
697 DEFAULT_TARGET_S390_TRUE
698 DEFAULT_TARGET_SPARC_FALSE
699 DEFAULT_TARGET_SPARC_TRUE
700 DEFAULT_TARGET_POWERPC_FALSE
701 DEFAULT_TARGET_POWERPC_TRUE
702 DEFAULT_TARGET_I386_FALSE
703 DEFAULT_TARGET_I386_TRUE
704 DEFAULT_TARGET_ARM_FALSE
705 DEFAULT_TARGET_ARM_TRUE
706 DEFAULT_TARGET_AARCH64_FALSE
707 DEFAULT_TARGET_AARCH64_TRUE
722 INSTALL_STRIP_PROGRAM
776 program_transform_name
789 enable_option_checking
796 enable_dependency_tracking
799 enable_build_warnings
803 enable_maintainer_mode
805 ac_precious_vars
='build_alias
822 # Initialize some variables set by options.
824 ac_init_version
=false
825 ac_unrecognized_opts
=
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
928 as_fn_error
"invalid feature name: $ac_useropt"
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 as_fn_error
"invalid feature name: $ac_useropt"
955 ac_useropt_orig
=$ac_useropt
956 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep
=', ';;
964 eval enable_
$ac_useropt=\
$ac_optarg ;;
966 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
967 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
968 |
--exec |
--exe |
--ex)
969 ac_prev
=exec_prefix
;;
970 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
971 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
972 |
--exec=* |
--exe=* |
--ex=*)
973 exec_prefix
=$ac_optarg ;;
975 -gas |
--gas |
--ga |
--g)
976 # Obsolete; use --with-gas.
979 -help |
--help |
--hel |
--he |
-h)
981 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
982 ac_init_help
=recursive
;;
983 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
984 ac_init_help
=short
;;
986 -host |
--host |
--hos |
--ho)
987 ac_prev
=host_alias
;;
988 -host=* |
--host=* |
--hos=* |
--ho=*)
989 host_alias
=$ac_optarg ;;
991 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
993 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
995 htmldir
=$ac_optarg ;;
997 -includedir |
--includedir |
--includedi |
--included |
--include \
998 |
--includ |
--inclu |
--incl |
--inc)
999 ac_prev
=includedir
;;
1000 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1001 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1002 includedir
=$ac_optarg ;;
1004 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1006 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1007 infodir
=$ac_optarg ;;
1009 -libdir |
--libdir |
--libdi |
--libd)
1011 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1012 libdir
=$ac_optarg ;;
1014 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1015 |
--libexe |
--libex |
--libe)
1016 ac_prev
=libexecdir
;;
1017 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1018 |
--libexe=* |
--libex=* |
--libe=*)
1019 libexecdir
=$ac_optarg ;;
1021 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1022 ac_prev
=localedir
;;
1023 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1024 localedir
=$ac_optarg ;;
1026 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1027 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1028 ac_prev
=localstatedir
;;
1029 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1030 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1031 localstatedir
=$ac_optarg ;;
1033 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1035 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1036 mandir
=$ac_optarg ;;
1038 -nfp |
--nfp |
--nf)
1039 # Obsolete; use --without-fp.
1042 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1043 |
--no-cr |
--no-c |
-n)
1046 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1047 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1050 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1051 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1052 |
--oldin |
--oldi |
--old |
--ol |
--o)
1053 ac_prev
=oldincludedir
;;
1054 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1055 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1056 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1057 oldincludedir
=$ac_optarg ;;
1059 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1061 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1062 prefix
=$ac_optarg ;;
1064 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1065 |
--program-pre |
--program-pr |
--program-p)
1066 ac_prev
=program_prefix
;;
1067 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1068 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1069 program_prefix
=$ac_optarg ;;
1071 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1072 |
--program-suf |
--program-su |
--program-s)
1073 ac_prev
=program_suffix
;;
1074 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1075 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1076 program_suffix
=$ac_optarg ;;
1078 -program-transform-name |
--program-transform-name \
1079 |
--program-transform-nam |
--program-transform-na \
1080 |
--program-transform-n |
--program-transform- \
1081 |
--program-transform |
--program-transfor \
1082 |
--program-transfo |
--program-transf \
1083 |
--program-trans |
--program-tran \
1084 |
--progr-tra |
--program-tr |
--program-t)
1085 ac_prev
=program_transform_name
;;
1086 -program-transform-name=* |
--program-transform-name=* \
1087 |
--program-transform-nam=* |
--program-transform-na=* \
1088 |
--program-transform-n=* |
--program-transform-=* \
1089 |
--program-transform=* |
--program-transfor=* \
1090 |
--program-transfo=* |
--program-transf=* \
1091 |
--program-trans=* |
--program-tran=* \
1092 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1093 program_transform_name
=$ac_optarg ;;
1095 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1097 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1098 pdfdir
=$ac_optarg ;;
1100 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1102 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1106 |
-silent |
--silent |
--silen |
--sile |
--sil)
1109 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1111 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1113 sbindir
=$ac_optarg ;;
1115 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1116 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1117 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1119 ac_prev
=sharedstatedir
;;
1120 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1121 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1122 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1124 sharedstatedir
=$ac_optarg ;;
1126 -site |
--site |
--sit)
1128 -site=* |
--site=* |
--sit=*)
1131 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1133 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1134 srcdir
=$ac_optarg ;;
1136 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1137 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1138 ac_prev
=sysconfdir
;;
1139 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1140 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1141 sysconfdir
=$ac_optarg ;;
1143 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1144 ac_prev
=target_alias
;;
1145 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1146 target_alias
=$ac_optarg ;;
1148 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1151 -version |
--version |
--versio |
--versi |
--vers |
-V)
1152 ac_init_version
=: ;;
1155 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error
"invalid package name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 as_fn_error
"invalid package name: $ac_useropt"
1175 ac_useropt_orig
=$ac_useropt
1176 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep
=', ';;
1184 eval with_
$ac_useropt=no
;;
1187 # Obsolete; use --with-x.
1190 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1191 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1192 ac_prev
=x_includes
;;
1193 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1194 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1195 x_includes
=$ac_optarg ;;
1197 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1198 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1199 ac_prev
=x_libraries
;;
1200 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1201 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1202 x_libraries
=$ac_optarg ;;
1204 -*) as_fn_error
"unrecognized option: \`$ac_option'
1205 Try \`$0 --help' for more information."
1209 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1210 # Reject names that are not valid shell variable names.
1211 case $ac_envvar in #(
1212 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1213 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1215 eval $ac_envvar=\
$ac_optarg
1216 export $ac_envvar ;;
1219 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1229 if test -n "$ac_prev"; then
1230 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1231 as_fn_error
"missing argument to $ac_option"
1234 if test -n "$ac_unrecognized_opts"; then
1235 case $enable_option_checking in
1237 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 # Check all directory arguments for consistency.
1243 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244 datadir sysconfdir sharedstatedir localstatedir includedir \
1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246 libdir localedir mandir
1248 eval ac_val
=\$
$ac_var
1249 # Remove trailing slashes.
1252 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253 eval $ac_var=\
$ac_val;;
1255 # Be sure to have absolute directory names.
1257 [\\/$
]* | ?
:[\\/]* ) continue;;
1258 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1260 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1263 # There might be people who depend on the old broken behavior: `$host'
1264 # used to hold the argument of --host etc.
1265 # FIXME: To remove some day.
1268 target
=$target_alias
1270 # FIXME: To remove some day.
1271 if test "x$host_alias" != x
; then
1272 if test "x$build_alias" = x
; then
1273 cross_compiling
=maybe
1274 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1275 If a cross compiler is detected then cross compile mode will be used." >&2
1276 elif test "x$build_alias" != "x$host_alias"; then
1282 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1284 test "$silent" = yes && exec 6>/dev
/null
1287 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1288 ac_ls_di
=`ls -di .` &&
1289 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1290 as_fn_error
"working directory cannot be determined"
1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1292 as_fn_error
"pwd does not report name of working directory"
1295 # Find the source files, if location was not specified.
1296 if test -z "$srcdir"; then
1297 ac_srcdir_defaulted
=yes
1298 # Try the directory containing this script, then the parent directory.
1299 ac_confdir
=`$as_dirname -- "$as_myself" ||
1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 X"$as_myself" : 'X\(//\)[^/]' \| \
1302 X"$as_myself" : 'X\(//\)$' \| \
1303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304 $as_echo X"$as_myself" |
1305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 if test ! -r "$srcdir/$ac_unique_file"; then
1327 ac_srcdir_defaulted
=no
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1330 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1331 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1333 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1337 # When building in place, set srcdir=.
1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
1341 # Remove unnecessary trailing slashes from srcdir.
1342 # Double slashes in file names in object file debugging info
1343 # mess up M-x gdb in Emacs.
1345 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1347 for ac_var
in $ac_precious_vars; do
1348 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1349 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1350 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1351 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1355 # Report the --help message.
1357 if test "$ac_init_help" = "long"; then
1358 # Omit some internal or obsolete options to make the list less imposing.
1359 # This message is too long to be a string in the A/UX 3.1 sh.
1361 \`configure' configures gold 0.1 to adapt to many kinds of systems.
1363 Usage: $0 [OPTION]... [VAR=VALUE]...
1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1366 VAR=VALUE. See below for descriptions of some of the useful variables.
1368 Defaults for the options are specified in brackets.
1371 -h, --help display this help and exit
1372 --help=short display options specific to this package
1373 --help=recursive display the short help of all the included packages
1374 -V, --version display version information and exit
1375 -q, --quiet, --silent do not print \`checking...' messages
1376 --cache-file=FILE cache test results in FILE [disabled]
1377 -C, --config-cache alias for \`--cache-file=config.cache'
1378 -n, --no-create do not create output files
1379 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1381 Installation directories:
1382 --prefix=PREFIX install architecture-independent files in PREFIX
1383 [$ac_default_prefix]
1384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1387 By default, \`make install' will install all the files in
1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1390 for instance \`--prefix=\$HOME'.
1392 For better control, use the options below.
1394 Fine tuning of the installation directories:
1395 --bindir=DIR user executables [EPREFIX/bin]
1396 --sbindir=DIR system admin executables [EPREFIX/sbin]
1397 --libexecdir=DIR program executables [EPREFIX/libexec]
1398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1401 --libdir=DIR object code libraries [EPREFIX/lib]
1402 --includedir=DIR C header files [PREFIX/include]
1403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1406 --infodir=DIR info documentation [DATAROOTDIR/info]
1407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1408 --mandir=DIR man documentation [DATAROOTDIR/man]
1409 --docdir=DIR documentation root [DATAROOTDIR/doc/gold]
1410 --htmldir=DIR html documentation [DOCDIR]
1411 --dvidir=DIR dvi documentation [DOCDIR]
1412 --pdfdir=DIR pdf documentation [DOCDIR]
1413 --psdir=DIR ps documentation [DOCDIR]
1419 --program-prefix=PREFIX prepend PREFIX to installed program names
1420 --program-suffix=SUFFIX append SUFFIX to installed program names
1421 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1424 --build=BUILD configure
for building on BUILD
[guessed
]
1425 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1426 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1430 if test -n "$ac_init_help"; then
1431 case $ac_init_help in
1432 short | recursive
) echo "Configuration of gold 0.1:";;
1437 --disable-option-checking ignore unrecognized
--enable/--with options
1438 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1439 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1440 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1441 --enable-threads multi-threaded linking
1442 --enable-plugins linker plugins
1443 --enable-targets alternative target configurations
1444 --disable-dependency-tracking speeds up one-time build
1445 --enable-dependency-tracking do not reject slow dependency extractors
1446 --disable-nls do not use Native Language Support
1447 --enable-werror treat compile warnings as errors
1448 --enable-build-warnings enable build-time compiler warnings
1449 --enable-maintainer-mode enable make rules and dependencies not useful
1450 (and sometimes confusing
) to the casual installer
1453 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1454 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1455 --with-sysroot=DIR search
for usr
/lib et al within DIR
1456 --with-lib-path=dir1
:dir2...
set default LIB_PATH
1457 --with-gold-ldflags=FLAGS additional link flags
for gold
1458 --with-gold-ldadd=LIBS additional libraries
for gold
1459 --with-system-zlib use installed libz
1461 Some influential environment variables
:
1462 CC C compiler
command
1463 CFLAGS C compiler flags
1464 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1465 nonstandard directory
<lib dir
>
1466 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1467 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1468 you have headers
in a nonstandard directory
<include dir
>
1469 CXX C
++ compiler
command
1470 CXXFLAGS C
++ compiler flags
1471 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1472 the first program found out of: `bison
-y', `byacc', `yacc'.
1473 YFLAGS The list of arguments that will be passed by default to $YACC.
1474 This script will default YFLAGS to the empty string to avoid a
1475 default value of `-d' given by some make applications.
1477 CXXCPP C++ preprocessor
1479 Use these variables to override the choices made by `configure' or to
help
1480 it to
find libraries and programs with nonstandard names
/locations.
1482 Report bugs to the package provider.
1487 if test "$ac_init_help" = "recursive"; then
1488 # If there are subdirs, report their specific --help.
1489 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1490 test -d "$ac_dir" ||
1491 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1496 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1498 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1499 # A ".." for each directory in $ac_dir_suffix.
1500 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1501 case $ac_top_builddir_sub in
1502 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1503 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1506 ac_abs_top_builddir
=$ac_pwd
1507 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1508 # for backward compatibility:
1509 ac_top_builddir
=$ac_top_build_prefix
1512 .
) # We are building in place.
1514 ac_top_srcdir
=$ac_top_builddir_sub
1515 ac_abs_top_srcdir
=$ac_pwd ;;
1516 [\\/]* | ?
:[\\/]* ) # Absolute name.
1517 ac_srcdir
=$srcdir$ac_dir_suffix;
1518 ac_top_srcdir
=$srcdir
1519 ac_abs_top_srcdir
=$srcdir ;;
1521 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1522 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1523 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1525 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1527 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1528 # Check for guested configure.
1529 if test -f "$ac_srcdir/configure.gnu"; then
1531 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1532 elif test -f "$ac_srcdir/configure"; then
1534 $SHELL "$ac_srcdir/configure" --help=recursive
1536 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1542 test -n "$ac_init_help" && exit $ac_status
1543 if $ac_init_version; then
1546 generated by GNU Autoconf
2.64
1548 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1549 This configure
script is free software
; the Free Software Foundation
1550 gives unlimited permission to copy
, distribute and modify it.
1555 ## ------------------------ ##
1556 ## Autoconf initialization. ##
1557 ## ------------------------ ##
1559 # ac_fn_c_try_compile LINENO
1560 # --------------------------
1561 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_compile
()
1564 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1565 rm -f conftest.
$ac_objext
1566 if { { ac_try
="$ac_compile"
1568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 $as_echo "$ac_try_echo"; } >&5
1573 (eval "$ac_compile") 2>conftest.err
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest.$ac_objext; then :
1587 $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1595 } # ac_fn_c_try_compile
1597 # ac_fn_cxx_try_compile LINENO
1598 # ----------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_cxx_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1607 *) ac_try_echo
=$ac_try;;
1609 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err
; then
1614 grep -v '^ *+' conftest.err
>conftest.er1
1615 cat conftest.er1
>&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_cxx_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.
$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.
$ac_ext >&5
1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1633 } # ac_fn_cxx_try_compile
1635 # ac_fn_c_try_cpp LINENO
1636 # ----------------------
1637 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1640 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1641 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1644 *) ac_try_echo=$ac_try;;
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650 if test -s conftest.err; then
1651 grep -v '^ *+' conftest.err >conftest.er1
1652 cat conftest.er1 >&5
1653 mv -f conftest.er1 conftest.err
1655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656 test $ac_status = 0; } >/dev/null && {
1657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1658 test ! -s conftest.err
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.$ac_ext >&5
1667 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1673 # -------------------------------------------------------
1674 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1675 # the include files in INCLUDES and setting the cache variable VAR
1677 ac_fn_c_check_header_mongrel ()
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 $as_echo_n "(cached) " >&6
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 # Is the header compilable?
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1692 $as_echo_n "checking $2 usability... " >&6; }
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h. */
1698 if ac_fn_c_try_compile "$LINENO"; then :
1699 ac_header_compiler=yes
1701 ac_header_compiler=no
1703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1705 $as_echo "$ac_header_compiler" >&6; }
1707 # Is the header present?
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1709 $as_echo_n "checking $2 presence... " >&6; }
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1714 if ac_fn_c_try_cpp "$LINENO"; then :
1715 ac_header_preproc=yes
1717 ac_header_preproc=no
1719 rm -f conftest.err conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1721 $as_echo "$ac_header_preproc" >&6; }
1723 # So? What about this header?
1724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1727 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1729 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1733 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1735 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1737 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1739 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1741 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747 $as_echo_n "(cached) " >&6
1749 eval "$3=\$ac_header_compiler"
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753 $as_echo "$ac_res" >&6; }
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757 } # ac_fn_c_check_header_mongrel
1759 # ac_fn_c_try_run LINENO
1760 # ----------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1762 # that executables *can* be run.
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_link"
1768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1769 *) ac_try_echo
=$ac_try;;
1771 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>&5
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1777 { { case "(($ac_try" in
1778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_try") 2>&5
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; }; }; then :
1789 $as_echo "$as_me: program exited with status $ac_status" >&5
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1793 ac_retval=$ac_status
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1811 $as_echo_n "(cached) " >&6
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile "$LINENO"; then :
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_c_check_header_compile
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest
$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 $as_test_x conftest
$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.
$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1876 } # ac_fn_c_try_link
1878 # ac_fn_c_check_func LINENO FUNC VAR
1879 # ----------------------------------
1880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1881 ac_fn_c_check_func
()
1883 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885 $as_echo_n "checking for $2... " >&6; }
1886 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1887 $as_echo_n "(cached) " >&6
1889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1891 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1893 #define $2 innocuous_$2
1895 /* System header to define __stub macros and hopefully few prototypes,
1896 which can conflict with char $2 (); below.
1897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1898 <limits.h> exists even on freestanding compilers. */
1901 # include <limits.h>
1903 # include <assert.h>
1908 /* Override any GCC internal prototype to avoid an error.
1909 Use char because int might match the return type of a GCC
1910 builtin and then its argument prototype would still apply. */
1915 /* The GNU C library defines this for functions which it implements
1916 to always fail with ENOSYS. Some functions are actually named
1917 something starting with __ and the normal name is an alias. */
1918 #if defined __stub_$2 || defined __stub___$2
1930 if ac_fn_c_try_link
"$LINENO"; then :
1935 rm -f core conftest.err conftest.
$ac_objext \
1936 conftest
$ac_exeext conftest.
$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1943 } # ac_fn_c_check_func
1945 # ac_fn_c_check_decl LINENO SYMBOL VAR
1946 # ------------------------------------
1947 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1948 ac_fn_c_check_decl
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1952 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1954 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1955 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956 $as_echo_n "(cached) " >&6
1958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1964 #ifndef $as_decl_name
1966 (void) $as_decl_use;
1968 (void) $as_decl_name;
1976 if ac_fn_c_try_compile
"$LINENO"; then :
1981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1988 } # ac_fn_c_check_decl
1990 # ac_fn_cxx_try_cpp LINENO
1991 # ------------------------
1992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_cpp
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } >/dev/null && {
2012 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 } # ac_fn_cxx_try_cpp
2027 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2028 # ---------------------------------------------------------
2029 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2030 # the include files in INCLUDES and setting the cache variable VAR
2032 ac_fn_cxx_check_header_mongrel ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2039 $as_echo_n "(cached) " >&6
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043 $as_echo "$ac_res" >&6; }
2045 # Is the header compilable?
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2047 $as_echo_n "checking $2 usability... " >&6; }
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2053 if ac_fn_cxx_try_compile "$LINENO"; then :
2054 ac_header_compiler=yes
2056 ac_header_compiler=no
2058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2060 $as_echo "$ac_header_compiler" >&6; }
2062 # Is the header present?
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2064 $as_echo_n "checking $2 presence... " >&6; }
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2069 if ac_fn_cxx_try_cpp "$LINENO"; then :
2070 ac_header_preproc=yes
2072 ac_header_preproc=no
2074 rm -f conftest.err conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2076 $as_echo "$ac_header_preproc" >&6; }
2078 # So? What about this header?
2079 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2082 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2084 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2088 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2090 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2092 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2094 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2096 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2102 $as_echo_n "(cached) " >&6
2104 eval "$3=\$ac_header_compiler"
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2112 } # ac_fn_cxx_check_header_mongrel
2114 # ac_fn_cxx_try_link LINENO
2115 # -------------------------
2116 # Try to link conftest.$ac_ext, and return whether this succeeded.
2117 ac_fn_cxx_try_link ()
2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2120 rm -f conftest.$ac_objext conftest$ac_exeext
2121 if { { ac_try="$ac_link"
2123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2124 *) ac_try_echo
=$ac_try;;
2126 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2127 $as_echo "$ac_try_echo"; } >&5
2128 (eval "$ac_link") 2>conftest.err
2130 if test -s conftest.err
; then
2131 grep -v '^ *+' conftest.err
>conftest.er1
2132 cat conftest.er1
>&5
2133 mv -f conftest.er1 conftest.err
2135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2136 test $ac_status = 0; } && {
2137 test -z "$ac_cxx_werror_flag" ||
2138 test ! -s conftest.err
2139 } && test -s conftest
$ac_exeext && {
2140 test "$cross_compiling" = yes ||
2141 $as_test_x conftest
$ac_exeext
2145 $as_echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.
$ac_ext >&5
2150 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2151 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2152 # interfere with the next link command; also delete a directory that is
2153 # left behind by Apple's compiler. We do this before executing the actions.
2154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2158 } # ac_fn_cxx_try_link
2160 # ac_fn_cxx_check_func LINENO FUNC VAR
2161 # ------------------------------------
2162 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2163 ac_fn_cxx_check_func
()
2165 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2169 $as_echo_n "(cached) " >&6
2171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2173 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2175 #define $2 innocuous_$2
2177 /* System header to define __stub macros and hopefully few prototypes,
2178 which can conflict with char $2 (); below.
2179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2180 <limits.h> exists even on freestanding compilers. */
2183 # include <limits.h>
2185 # include <assert.h>
2190 /* Override any GCC internal prototype to avoid an error.
2191 Use char because int might match the return type of a GCC
2192 builtin and then its argument prototype would still apply. */
2197 /* The GNU C library defines this for functions which it implements
2198 to always fail with ENOSYS. Some functions are actually named
2199 something starting with __ and the normal name is an alias. */
2200 #if defined __stub_$2 || defined __stub___$2
2212 if ac_fn_cxx_try_link
"$LINENO"; then :
2217 rm -f core conftest.err conftest.
$ac_objext \
2218 conftest
$ac_exeext conftest.
$ac_ext
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2225 } # ac_fn_cxx_check_func
2227 # ac_fn_cxx_check_decl LINENO SYMBOL VAR
2228 # --------------------------------------
2229 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2230 ac_fn_cxx_check_decl
()
2232 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2233 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2234 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2236 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2237 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h. */
2246 #ifndef $as_decl_name
2248 (void) $as_decl_use;
2250 (void) $as_decl_name;
2258 if ac_fn_cxx_try_compile
"$LINENO"; then :
2263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2268 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2270 } # ac_fn_cxx_check_decl
2271 cat >config.log
<<_ACEOF
2272 This file contains any messages produced by compilers while
2273 running configure, to aid debugging if configure makes a mistake.
2275 It was created by gold $as_me 0.1, which was
2276 generated by GNU Autoconf 2.64. Invocation command line was
2288 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2289 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2290 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2291 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2292 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2294 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2295 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2297 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2298 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2299 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2300 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2301 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2302 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2303 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir
=.
2312 $as_echo "PATH: $as_dir"
2328 # Keep a trace of the command line.
2329 # Strip out --no-create and --no-recursion so they do not pile up.
2330 # Strip out --silent because we don't want to record it for future runs.
2331 # Also quote any args containing shell meta-characters.
2332 # Make two passes to allow for proper duplicate-argument suppression.
2336 ac_must_keep_next
=false
2342 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2344 |
-silent |
--silent |
--silen |
--sile |
--sil)
2347 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2350 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2352 as_fn_append ac_configure_args1
" '$ac_arg'"
2353 if test $ac_must_keep_next = true
; then
2354 ac_must_keep_next
=false
# Got value, back to normal.
2357 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2358 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2359 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2360 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2361 case "$ac_configure_args0 " in
2362 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2365 -* ) ac_must_keep_next
=true
;;
2368 as_fn_append ac_configure_args
" '$ac_arg'"
2373 { ac_configure_args0
=; unset ac_configure_args0
;}
2374 { ac_configure_args1
=; unset ac_configure_args1
;}
2376 # When interrupted or exit'd, cleanup temporary files, and complete
2377 # config.log. We remove comments because anyway the quotes in there
2378 # would cause problems or look ugly.
2379 # WARNING: Use '\'' to represent an apostrophe within the trap.
2380 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2381 trap 'exit_status=$?
2382 # Save into config.log some information that might help in debugging.
2387 ## ---------------- ##
2388 ## Cache variables. ##
2389 ## ---------------- ##
2392 # The following way of writing the cache mishandles newlines in values,
2394 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2395 eval ac_val=\$$ac_var
2399 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2400 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2403 _ | IFS | as_nl) ;; #(
2404 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2405 *) { eval $ac_var=; unset $ac_var;} ;;
2410 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2411 *${as_nl}ac_space=\ *)
2413 "s/'\''/'\''\\\\'\'''\''/g;
2414 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2417 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2425 ## ----------------- ##
2426 ## Output variables. ##
2427 ## ----------------- ##
2430 for ac_var in $ac_subst_vars
2432 eval ac_val=\$$ac_var
2434 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2436 $as_echo "$ac_var='\''$ac_val'\''"
2440 if test -n "$ac_subst_files"; then
2442 ## ------------------- ##
2443 ## File substitutions. ##
2444 ## ------------------- ##
2447 for ac_var
in $ac_subst_files
2449 eval ac_val
=\$
$ac_var
2451 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2453 $as_echo "$ac_var='\''$ac_val'\''"
2458 if test -s confdefs.h; then
2468 test "$ac_signal" != 0 &&
2469 $as_echo "$as_me: caught signal $ac_signal"
2470 $as_echo "$as_me: exit $exit_status"
2472 rm -f core *.core core.conftest.* &&
2473 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2476 for ac_signal
in 1 2 13 15; do
2477 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2481 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2482 rm -f -r conftest
* confdefs.h
2484 $as_echo "/* confdefs.h */" > confdefs.h
2486 # Predefined preprocessor variables.
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_NAME "$PACKAGE_NAME"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE_STRING "$PACKAGE_STRING"
2504 cat >>confdefs.h
<<_ACEOF
2505 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2508 cat >>confdefs.h
<<_ACEOF
2509 #define PACKAGE_URL "$PACKAGE_URL"
2513 # Let the site file select an alternate cache file if it wants to.
2514 # Prefer an explicitly selected file to automatically selected ones.
2517 if test -n "$CONFIG_SITE"; then
2518 ac_site_file1
=$CONFIG_SITE
2519 elif test "x$prefix" != xNONE
; then
2520 ac_site_file1
=$prefix/share
/config.site
2521 ac_site_file2
=$prefix/etc
/config.site
2523 ac_site_file1
=$ac_default_prefix/share
/config.site
2524 ac_site_file2
=$ac_default_prefix/etc
/config.site
2526 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2528 test "x$ac_site_file" = xNONE
&& continue
2529 if test -r "$ac_site_file"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2531 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2532 sed 's/^/| /' "$ac_site_file" >&5
2537 if test -r "$cache_file"; then
2538 # Some versions of bash will fail to source /dev/null (special
2539 # files actually), so we avoid doing that.
2540 if test -f "$cache_file"; then
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2542 $as_echo "$as_me: loading cache $cache_file" >&6;}
2544 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2545 *) .
"./$cache_file";;
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2550 $as_echo "$as_me: creating cache $cache_file" >&6;}
2554 # Check that the precious variables saved in the cache have kept the same
2556 ac_cache_corrupted
=false
2557 for ac_var
in $ac_precious_vars; do
2558 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2559 eval ac_new_set
=\
$ac_env_${ac_var}_set
2560 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2561 eval ac_new_val
=\
$ac_env_${ac_var}_value
2562 case $ac_old_set,$ac_new_set in
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2565 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2566 ac_cache_corrupted
=: ;;
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2569 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2570 ac_cache_corrupted
=: ;;
2573 if test "x$ac_old_val" != "x$ac_new_val"; then
2574 # differences in whitespace do not lead to failure.
2575 ac_old_val_w
=`echo x $ac_old_val`
2576 ac_new_val_w
=`echo x $ac_new_val`
2577 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2579 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2580 ac_cache_corrupted
=:
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2583 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2584 eval $ac_var=\
$ac_old_val
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2587 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2589 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2592 # Pass precious variables to config.status.
2593 if test "$ac_new_set" = set; then
2595 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2596 *) ac_arg
=$ac_var=$ac_new_val ;;
2598 case " $ac_configure_args " in
2599 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2600 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2604 if $ac_cache_corrupted; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2608 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2609 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2611 ## -------------------- ##
2612 ## Main body of script. ##
2613 ## -------------------- ##
2616 ac_cpp
='$CPP $CPPFLAGS'
2617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2628 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2629 for ac_t
in install-sh
install.sh shtool
; do
2630 if test -f "$ac_dir/$ac_t"; then
2632 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2637 if test -z "$ac_aux_dir"; then
2638 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2641 # These three variables are undocumented and unsupported,
2642 # and are intended to be withdrawn in a future Autoconf release.
2643 # They can cause serious problems if a builder's source tree is in a directory
2644 # whose full name contains unusual characters.
2645 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2646 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2647 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2650 # Make sure we can run config.sub.
2651 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2652 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2655 $as_echo_n "checking build system type... " >&6; }
2656 if test "${ac_cv_build+set}" = set; then :
2657 $as_echo_n "(cached) " >&6
2659 ac_build_alias
=$build_alias
2660 test "x$ac_build_alias" = x
&&
2661 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2662 test "x$ac_build_alias" = x
&&
2663 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2664 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2665 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2669 $as_echo "$ac_cv_build" >&6; }
2670 case $ac_cv_build in
2672 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2675 ac_save_IFS
=$IFS; IFS
='-'
2681 # Remember, the first character of IFS is used to create $*,
2682 # except with old shells:
2685 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2689 $as_echo_n "checking host system type... " >&6; }
2690 if test "${ac_cv_host+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test "x$host_alias" = x
; then
2694 ac_cv_host
=$ac_cv_build
2696 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2697 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2702 $as_echo "$ac_cv_host" >&6; }
2705 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2708 ac_save_IFS
=$IFS; IFS
='-'
2714 # Remember, the first character of IFS is used to create $*,
2715 # except with old shells:
2718 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2722 $as_echo_n "checking target system type... " >&6; }
2723 if test "${ac_cv_target+set}" = set; then :
2724 $as_echo_n "(cached) " >&6
2726 if test "x$target_alias" = x
; then
2727 ac_cv_target
=$ac_cv_host
2729 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2730 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2735 $as_echo "$ac_cv_target" >&6; }
2736 case $ac_cv_target in
2738 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2740 target
=$ac_cv_target
2741 ac_save_IFS
=$IFS; IFS
='-'
2747 # Remember, the first character of IFS is used to create $*,
2748 # except with old shells:
2751 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2754 # The aliases save the names the user supplied, while $host etc.
2755 # will get canonicalized.
2756 test -n "$target_alias" &&
2757 test "$program_prefix$program_suffix$program_transform_name" = \
2759 program_prefix
=${target_alias}-
2761 am__api_version
='1.11'
2763 # Find a good install program. We prefer a C program (faster),
2764 # so one script is as good as another. But avoid the broken or
2765 # incompatible versions:
2766 # SysV /etc/install, /usr/sbin/install
2767 # SunOS /usr/etc/install
2768 # IRIX /sbin/install
2770 # AmigaOS /C/install, which installs bootblocks on floppy discs
2771 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2772 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2773 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2774 # OS/2's system install, which has a completely different semantic
2775 # ./install, which can be erroneously created by make from ./install.sh.
2776 # Reject install programs that cannot install multiple files.
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2778 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2779 if test -z "$INSTALL"; then
2780 if test "${ac_cv_path_install+set}" = set; then :
2781 $as_echo_n "(cached) " >&6
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 # Account for people who put trailing slashes in PATH elements.
2789 case $as_dir/ in #((
2790 .
/ | .
// |
/[cC
]/* | \
2791 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2792 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2795 # OSF1 and SCO ODT 3.0 have their own names for install.
2796 # Don't use installbsd from OSF since it installs stuff as root
2798 for ac_prog
in ginstall scoinst
install; do
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2801 if test $ac_prog = install &&
2802 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2803 # AIX install. It has an incompatible calling convention.
2805 elif test $ac_prog = install &&
2806 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2807 # program-specific install script used by HP pwplus--don't use.
2810 rm -rf conftest.one conftest.two conftest.dir
2811 echo one
> conftest.one
2812 echo two
> conftest.two
2814 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2815 test -s conftest.one
&& test -s conftest.two
&&
2816 test -s conftest.dir
/conftest.one
&&
2817 test -s conftest.dir
/conftest.two
2819 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2832 rm -rf conftest.one conftest.two conftest.dir
2835 if test "${ac_cv_path_install+set}" = set; then
2836 INSTALL
=$ac_cv_path_install
2838 # As a last resort, use the slow shell script. Don't cache a
2839 # value for INSTALL within a source directory, because that will
2840 # break other packages using the cache if that directory is
2841 # removed, or if the value is a relative name.
2842 INSTALL
=$ac_install_sh
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2846 $as_echo "$INSTALL" >&6; }
2848 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2849 # It thinks the first close brace ends the variable substitution.
2850 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2852 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2854 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2857 $as_echo_n "checking whether build environment is sane... " >&6; }
2860 echo timestamp
> conftest.
file
2861 # Reject unsafe characters in $srcdir or the absolute working directory
2862 # name. Accept space and tab only in the latter.
2866 *[\\\"\
#\$\&\'\`$am_lf]*)
2867 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2870 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2871 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2874 # Do `set' in a subshell so we don't clobber the current shell's
2875 # arguments. Must try -L first in case configure is actually a
2876 # symlink; some systems play weird games with the mod time of symlinks
2877 # (eg FreeBSD returns the mod time of the symlink's containing
2880 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2881 if test "$*" = "X"; then
2883 set X
`ls -t "$srcdir/configure" conftest.file`
2886 if test "$*" != "X $srcdir/configure conftest.file" \
2887 && test "$*" != "X conftest.file $srcdir/configure"; then
2889 # If neither matched, then we have a broken ls. This can happen
2890 # if, for instance, CONFIG_SHELL is bash and it inherits a
2891 # broken ls alias from the environment. This has actually
2892 # happened. Such a system could not be considered "sane".
2893 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2894 alias in your environment" "$LINENO" 5
2897 test "$2" = conftest.
file
2903 as_fn_error
"newly created file is older than distributed files!
2904 Check your system clock" "$LINENO" 5
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2907 $as_echo "yes" >&6; }
2908 test "$program_prefix" != NONE
&&
2909 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2910 # Use a double $ so make ignores it.
2911 test "$program_suffix" != NONE
&&
2912 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2913 # Double any \ or $.
2914 # By default was `s,x,x', remove it if useless.
2915 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2916 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2918 # expand $ac_aux_dir to an absolute path
2919 am_aux_dir
=`cd $ac_aux_dir && pwd`
2921 if test x
"${MISSING+set}" != xset
; then
2924 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2926 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2929 # Use eval to expand $SHELL
2930 if eval "$MISSING --run true"; then
2931 am_missing_run
="$MISSING --run "
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2935 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2938 if test x
"${install_sh}" != xset
; then
2941 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2943 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2947 # Installed binaries are usually stripped using `strip' when the user
2948 # run `make install-strip'. However `strip' might not be the right
2949 # tool to use in cross-compilation environments, therefore Automake
2950 # will honor the `STRIP' environment variable to overrule this program.
2951 if test "$cross_compiling" != no
; then
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2954 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if test "${ac_cv_prog_STRIP+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$STRIP"; then
2961 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 STRIP
=$ac_cv_prog_STRIP
2981 if test -n "$STRIP"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2983 $as_echo "$STRIP" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2991 if test -z "$ac_cv_prog_STRIP"; then
2993 # Extract the first word of "strip", so it can be a program name with args.
2994 set dummy strip
; ac_word
=$2
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996 $as_echo_n "checking for $ac_word... " >&6; }
2997 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2998 $as_echo_n "(cached) " >&6
3000 if test -n "$ac_ct_STRIP"; then
3001 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir
=.
3008 for ac_exec_ext
in '' $ac_executable_extensions; do
3009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3010 ac_cv_prog_ac_ct_STRIP
="strip"
3011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3021 if test -n "$ac_ct_STRIP"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3023 $as_echo "$ac_ct_STRIP" >&6; }
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3029 if test "x$ac_ct_STRIP" = x
; then
3032 case $cross_compiling:$ac_tool_warned in
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3036 ac_tool_warned
=yes ;;
3041 STRIP
="$ac_cv_prog_STRIP"
3045 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3048 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3049 if test -z "$MKDIR_P"; then
3050 if test "${ac_cv_path_mkdir+set}" = set; then :
3051 $as_echo_n "(cached) " >&6
3053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3054 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3057 test -z "$as_dir" && as_dir
=.
3058 for ac_prog
in mkdir gmkdir
; do
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3061 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3062 'mkdir (GNU coreutils) '* | \
3063 'mkdir (coreutils) '* | \
3064 'mkdir (fileutils) '4.1*)
3065 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3075 if test "${ac_cv_path_mkdir+set}" = set; then
3076 MKDIR_P
="$ac_cv_path_mkdir -p"
3078 # As a last resort, use the slow shell script. Don't cache a
3079 # value for MKDIR_P within a source directory, because that will
3080 # break other packages using the cache if that directory is
3081 # removed, or if the value is a relative name.
3082 test -d .
/--version && rmdir .
/--version
3083 MKDIR_P
="$ac_install_sh -d"
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3087 $as_echo "$MKDIR_P" >&6; }
3091 [\\/$
]* | ?
:[\\/]*) ;;
3092 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3095 for ac_prog
in gawk mawk nawk
awk
3097 # Extract the first word of "$ac_prog", so it can be a program name with args.
3098 set dummy
$ac_prog; ac_word
=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if test "${ac_cv_prog_AWK+set}" = set; then :
3102 $as_echo_n "(cached) " >&6
3104 if test -n "$AWK"; then
3105 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_exec_ext
in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114 ac_cv_prog_AWK
="$ac_prog"
3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 if test -n "$AWK"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3127 $as_echo "$AWK" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3134 test -n "$AWK" && break
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3138 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3140 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3141 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3142 $as_echo_n "(cached) " >&6
3144 cat >conftest.
make <<\_ACEOF
3147 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3149 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3150 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3152 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3154 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3158 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3160 $as_echo "yes" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 SET_MAKE
="MAKE=${MAKE-make}"
3168 rm -rf .tst
2>/dev
/null
3169 mkdir .tst
2>/dev
/null
3170 if test -d .tst
; then
3175 rmdir .tst
2>/dev
/null
3177 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3178 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3179 # is not polluted with repeated "-I."
3180 am__isrc
=' -I$(srcdir)'
3181 # test to see if srcdir already configured
3182 if test -f $srcdir/config.status
; then
3183 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3187 # test whether we have cygpath
3188 if test -z "$CYGPATH_W"; then
3189 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3190 CYGPATH_W
='cygpath -w'
3197 # Define the identity of the package.
3202 cat >>confdefs.h
<<_ACEOF
3203 #define PACKAGE "$PACKAGE"
3207 cat >>confdefs.h
<<_ACEOF
3208 #define VERSION "$VERSION"
3211 # Some tools Automake needs.
3213 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3216 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3219 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3222 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3225 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3227 # We need awk for the "check" target. The system "awk" is bad on
3229 # Always define AMTAR for backward compatibility.
3231 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3233 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3240 ac_config_headers
="$ac_config_headers config.h:config.in"
3247 # Check whether --with-sysroot was given.
3248 if test "${with_sysroot+set}" = set; then :
3249 withval
=$with_sysroot; sysroot
=$withval
3255 if test "$sysroot" = "yes"; then
3256 sysroot
='${exec_prefix}/${target_alias}/sys-root'
3257 elif test "$sysroot" = "no"; then
3261 sysroot_relocatable
=0
3262 if test -n "$sysroot"; then
3264 "${prefix}" |
"${prefix}/"* | \
3265 "${exec_prefix}" |
"${exec_prefix}/"* | \
3266 '${prefix}' |
'${prefix}/'*| \
3267 '${exec_prefix}' |
'${exec_prefix}/'*)
3268 sysroot_relocatable
=1
3274 cat >>confdefs.h
<<_ACEOF
3275 #define TARGET_SYSTEM_ROOT "$sysroot"
3279 cat >>confdefs.h
<<_ACEOF
3280 #define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
3285 installed_linker
=ld.gold
3286 # Check whether --enable-gold was given.
3287 if test "${enable_gold+set}" = set; then :
3288 enableval
=$enable_gold; case "${enableval}" in
3290 install_as_default
=yes
3293 if test x
${enable_ld} = xno
; then
3294 install_as_default
=yes
3299 install_as_default
=no
3305 # Check whether --enable-threads was given.
3306 if test "${enable_threads+set}" = set; then :
3307 enableval
=$enable_threads; case "${enableval}" in
3308 yes |
"") threads
=yes ;;
3316 if test "$threads" = "yes"; then
3318 $as_echo "#define ENABLE_THREADS 1" >>confdefs.h
3321 if test "$threads" = "yes"; then
3330 # Check whether --enable-plugins was given.
3331 if test "${enable_plugins+set}" = set; then :
3332 enableval
=$enable_plugins; case "${enableval}" in
3333 yes |
"") plugins
=yes ;;
3341 if test "$plugins" = "yes"; then
3343 $as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
3346 if test "$plugins" = "yes"; then
3355 # Check whether --enable-targets was given.
3356 if test "${enable_targets+set}" = set; then :
3357 enableval
=$enable_targets; case "${enableval}" in
3359 as_fn_error
"--enable-targets option must specify target names or 'all'" "$LINENO" 5
3365 enable_targets
=$enableval
3369 # For now, enable all targets by default
3375 # Canonicalize the enabled targets.
3376 if test -n "$enable_targets"; then
3377 for targ
in `echo $enable_targets | sed -e 's/,/ /g'`; do
3378 result
=`$ac_config_sub $targ 2>/dev/null`
3379 if test -n "$result"; then
3380 canon_targets
="$canon_targets $result"
3382 # Permit unrecognized target names, like "all".
3383 canon_targets
="$canon_targets $targ"
3388 # See which specific instantiations we need.
3394 default_osabi
=ELFOSABI_NONE
3399 for targ
in $target $canon_targets; do
3400 if test "$targ" = "all"; then
3407 .
${srcdir}/configure.tgt
3409 if test "$targ_obj" = "UNKNOWN"; then
3410 as_fn_error
"\"unsupported target $targ\"" "$LINENO" 5
3412 targetobjs
="$targetobjs ${targ_obj}.\$(OBJEXT)"
3413 if test "$targ_extra_obj" != ""; then
3414 targetobjs
="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
3416 if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
3417 if test "$targ_big_endian" = "true" \
3418 -o "$targ_extra_big_endian" = "true"; then
3421 if test "$targ_big_endian" = "false" \
3422 -o "$targ_extra_big_endian" = "false"; then
3426 if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
3427 if test "$targ_big_endian" = "true" \
3428 -o "$targ_extra_big_endian" = "true"; then
3431 if test "$targ_big_endian" = "false" \
3432 -o "$targ_extra_big_endian" = "false"; then
3437 if test "$target" = "$targ"; then
3438 default_machine
=$targ_machine
3439 default_size
=$targ_size
3440 default_big_endian
=$targ_big_endian
3441 default_osabi
=$targ_osabi
3443 if test "$targ_obj" = "aarch64"; then
3444 DEFAULT_TARGET_AARCH64_TRUE
=
3445 DEFAULT_TARGET_AARCH64_FALSE
='#'
3447 DEFAULT_TARGET_AARCH64_TRUE
='#'
3448 DEFAULT_TARGET_AARCH64_FALSE
=
3451 if test "$targ_obj" = "arm"; then
3452 DEFAULT_TARGET_ARM_TRUE
=
3453 DEFAULT_TARGET_ARM_FALSE
='#'
3455 DEFAULT_TARGET_ARM_TRUE
='#'
3456 DEFAULT_TARGET_ARM_FALSE
=
3459 if test "$targ_obj" = "i386"; then
3460 DEFAULT_TARGET_I386_TRUE
=
3461 DEFAULT_TARGET_I386_FALSE
='#'
3463 DEFAULT_TARGET_I386_TRUE
='#'
3464 DEFAULT_TARGET_I386_FALSE
=
3467 if test "$targ_obj" = "powerpc"; then
3468 DEFAULT_TARGET_POWERPC_TRUE
=
3469 DEFAULT_TARGET_POWERPC_FALSE
='#'
3471 DEFAULT_TARGET_POWERPC_TRUE
='#'
3472 DEFAULT_TARGET_POWERPC_FALSE
=
3475 if test "$targ_obj" = "sparc"; then
3476 DEFAULT_TARGET_SPARC_TRUE
=
3477 DEFAULT_TARGET_SPARC_FALSE
='#'
3479 DEFAULT_TARGET_SPARC_TRUE
='#'
3480 DEFAULT_TARGET_SPARC_FALSE
=
3483 if test "$targ_obj" = "s390"; then
3484 DEFAULT_TARGET_S390_TRUE
=
3485 DEFAULT_TARGET_S390_FALSE
='#'
3487 DEFAULT_TARGET_S390_TRUE
='#'
3488 DEFAULT_TARGET_S390_FALSE
=
3493 if test "$targ_obj" = "x86_64"; then
3495 x86_64
*-linux-gnux32)
3504 if test "$target_x86_64" = "yes"; then
3505 DEFAULT_TARGET_X86_64_TRUE
=
3506 DEFAULT_TARGET_X86_64_FALSE
='#'
3508 DEFAULT_TARGET_X86_64_TRUE
='#'
3509 DEFAULT_TARGET_X86_64_FALSE
=
3512 if test "$target_x32" = "yes"; then
3513 DEFAULT_TARGET_X32_TRUE
=
3514 DEFAULT_TARGET_X32_FALSE
='#'
3516 DEFAULT_TARGET_X32_TRUE
='#'
3517 DEFAULT_TARGET_X32_FALSE
=
3520 if test "$targ_obj" = "tilegx"; then
3521 DEFAULT_TARGET_TILEGX_TRUE
=
3522 DEFAULT_TARGET_TILEGX_FALSE
='#'
3524 DEFAULT_TARGET_TILEGX_TRUE
='#'
3525 DEFAULT_TARGET_TILEGX_FALSE
=
3528 if test "$targ_obj" = "mips"; then
3529 DEFAULT_TARGET_MIPS_TRUE
=
3530 DEFAULT_TARGET_MIPS_FALSE
='#'
3532 DEFAULT_TARGET_MIPS_TRUE
='#'
3533 DEFAULT_TARGET_MIPS_FALSE
=
3536 DEFAULT_TARGET
=${targ_obj}
3543 # Remove any duplicates.
3545 for t
in $targetobjs; do
3553 if test -n "$targ_32_little"; then
3555 $as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
3558 if test -n "$targ_32_big"; then
3560 $as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
3563 if test -n "$targ_64_little"; then
3565 $as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
3568 if test -n "$targ_64_big"; then
3570 $as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
3574 if test -n "$all_targets"; then
3575 TARGETOBJS
='$(ALL_TARGETOBJS)'
3577 TARGETOBJS
="$targetobjs"
3582 cat >>confdefs.h
<<_ACEOF
3583 #define GOLD_DEFAULT_MACHINE $default_machine
3587 cat >>confdefs.h
<<_ACEOF
3588 #define GOLD_DEFAULT_SIZE $default_size
3592 cat >>confdefs.h
<<_ACEOF
3593 #define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
3597 cat >>confdefs.h
<<_ACEOF
3598 #define GOLD_DEFAULT_OSABI $default_osabi
3603 # Check whether --with-lib-path was given.
3604 if test "${with_lib_path+set}" = set; then :
3605 withval
=$with_lib_path; case "$withval" in
3606 yes) LIB_PATH
='"/lib:/usr/lib"' ;;
3607 no
) LIB_PATH
='""' ;;
3608 *) LIB_PATH
='"'"$withval"'"' ;;
3611 LIB_PATH
='"::DEFAULT::"'
3615 cat >>confdefs.h
<<_ACEOF
3616 #define LIB_PATH $LIB_PATH
3619 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
3621 $as_echo "#define NATIVE_LINKER 1" >>confdefs.h
3625 if test -n "$ac_tool_prefix"; then
3626 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
3627 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629 $as_echo_n "checking for $ac_word... " >&6; }
3630 if test "${ac_cv_prog_NM+set}" = set; then :
3631 $as_echo_n "(cached) " >&6
3633 if test -n "$NM"; then
3634 ac_cv_prog_NM
="$NM" # Let the user override the test.
3636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3640 test -z "$as_dir" && as_dir
=.
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643 ac_cv_prog_NM
="${ac_tool_prefix}nm"
3644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 if test -n "$NM"; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
3656 $as_echo "$NM" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3664 if test -z "$ac_cv_prog_NM"; then
3666 # Extract the first word of "nm", so it can be a program name with args.
3667 set dummy nm
; ac_word
=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$ac_ct_NM"; then
3674 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_ac_ct_NM
="nm"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
3694 if test -n "$ac_ct_NM"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
3696 $as_echo "$ac_ct_NM" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3702 if test "x$ac_ct_NM" = x
; then
3705 case $cross_compiling:$ac_tool_warned in
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3709 ac_tool_warned
=yes ;;
3719 ac_cpp
='$CPP $CPPFLAGS'
3720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3723 if test -n "$ac_tool_prefix"; then
3724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3725 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3728 if test "${ac_cv_prog_CC+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 if test -n "$CC"; then
3732 ac_cv_prog_CC
="$CC" # Let the user override the test.
3734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3738 test -z "$as_dir" && as_dir
=.
3739 for ac_exec_ext
in '' $ac_executable_extensions; do
3740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3741 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 if test -n "$CC"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3754 $as_echo "$CC" >&6; }
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3762 if test -z "$ac_cv_prog_CC"; then
3764 # Extract the first word of "gcc", so it can be a program name with args.
3765 set dummy gcc
; ac_word
=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3769 $as_echo_n "(cached) " >&6
3771 if test -n "$ac_ct_CC"; then
3772 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781 ac_cv_prog_ac_ct_CC
="gcc"
3782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3792 if test -n "$ac_ct_CC"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3794 $as_echo "$ac_ct_CC" >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3800 if test "x$ac_ct_CC" = x
; then
3803 case $cross_compiling:$ac_tool_warned in
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3807 ac_tool_warned
=yes ;;
3815 if test -z "$CC"; then
3816 if test -n "$ac_tool_prefix"; then
3817 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3818 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820 $as_echo_n "checking for $ac_word... " >&6; }
3821 if test "${ac_cv_prog_CC+set}" = set; then :
3822 $as_echo_n "(cached) " >&6
3824 if test -n "$CC"; then
3825 ac_cv_prog_CC
="$CC" # Let the user override the test.
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3834 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 if test -n "$CC"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3847 $as_echo "$CC" >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3856 if test -z "$CC"; then
3857 # Extract the first word of "cc", so it can be a program name with args.
3858 set dummy cc
; ac_word
=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if test "${ac_cv_prog_CC+set}" = set; then :
3862 $as_echo_n "(cached) " >&6
3864 if test -n "$CC"; then
3865 ac_cv_prog_CC
="$CC" # Let the user override the test.
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir
=.
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3875 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3876 ac_prog_rejected
=yes
3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 if test $ac_prog_rejected = yes; then
3888 # We found a bogon in the path, so make sure we never use it.
3889 set dummy
$ac_cv_prog_CC
3891 if test $# != 0; then
3892 # We chose a different compiler from the bogus one.
3893 # However, it has the same basename, so the bogon will be chosen
3894 # first if we set CC to just the basename; use the full file name.
3896 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3902 if test -n "$CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3904 $as_echo "$CC" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3912 if test -z "$CC"; then
3913 if test -n "$ac_tool_prefix"; then
3914 for ac_prog
in cl.exe
3916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3917 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if test "${ac_cv_prog_CC+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$CC"; then
3924 ac_cv_prog_CC
="$CC" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 if test -n "$CC"; then
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3946 $as_echo "$CC" >&6; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3949 $as_echo "no" >&6; }
3953 test -n "$CC" && break
3956 if test -z "$CC"; then
3958 for ac_prog
in cl.exe
3960 # Extract the first word of "$ac_prog", so it can be a program name with args.
3961 set dummy
$ac_prog; ac_word
=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3965 $as_echo_n "(cached) " >&6
3967 if test -n "$ac_ct_CC"; then
3968 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3977 ac_cv_prog_ac_ct_CC
="$ac_prog"
3978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3988 if test -n "$ac_ct_CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3990 $as_echo "$ac_ct_CC" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3997 test -n "$ac_ct_CC" && break
4000 if test "x$ac_ct_CC" = x
; then
4003 case $cross_compiling:$ac_tool_warned in
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007 ac_tool_warned
=yes ;;
4016 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error
"no acceptable C compiler found in \$PATH
4019 See \`config.log' for more details." "$LINENO" 5; }
4021 # Provide some information about the compiler.
4022 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4025 for ac_option
in --version -v -V -qversion; do
4026 { { ac_try
="$ac_compiler $ac_option >&5"
4028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4035 if test -s conftest.err; then
4037 ... rest of stderr output deleted ...
4038 10q' conftest.err >conftest.er1
4039 cat conftest.er1 >&5
4040 rm -f conftest.er1 conftest.err
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4057 ac_clean_files_save=$ac_clean_files
4058 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4059 # Try to create an executable without -o first, disregard a.out.
4060 # It will help us diagnose broken compilers, and finding out an intuition
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4063 $as_echo_n "checking for C compiler default output file name... " >&6; }
4064 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4066 # The possible output files:
4067 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4070 for ac_file in $ac_files
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4074 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4079 if { { ac_try="$ac_link_default"
4081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4082 *) ac_try_echo
=$ac_try;;
4084 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_link_default") 2>&5
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4091 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4092 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4093 # so that the user can short-circuit this test for compilers unknown to
4095 for ac_file
in $ac_files ''
4097 test -f "$ac_file" ||
continue
4099 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4102 # We found the default executable, but exeext='' is most
4106 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4108 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4110 # We set ac_cv_exeext here because the later test for it is not
4111 # safe: cross compilers may not add the suffix if given an `-o'
4112 # argument, so we may need to know it at that point already.
4113 # Even if this section looks crufty: it has the advantage of
4120 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4126 $as_echo "$ac_file" >&6; }
4127 if test -z "$ac_file"; then :
4128 $as_echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.
$ac_ext >&5
4131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 { as_fn_set_status
77
4134 as_fn_error
"C compiler cannot create executables
4135 See \`config.log' for more details." "$LINENO" 5; }; }
4137 ac_exeext
=$ac_cv_exeext
4139 # Check that the compiler produces executables we can run. If not, either
4140 # the compiler is broken, or we cross compile.
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4142 $as_echo_n "checking whether the C compiler works... " >&6; }
4143 # If not cross compiling, check that we can run a simple program.
4144 if test "$cross_compiling" != yes; then
4145 if { ac_try
='./$ac_file'
4146 { { case "(($ac_try" in
4147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4151 $as_echo "$ac_try_echo"; } >&5
4152 (eval "$ac_try") 2>&5
4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4155 test $ac_status = 0; }; }; then
4158 if test "$cross_compiling" = maybe; then
4161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4163 as_fn_error "cannot run C compiled programs.
4164 If you meant to cross compile
, use \
`--host'.
4165 See \`config.log
' for more details." "$LINENO" 5; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4170 $as_echo "yes" >&6; }
4172 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4173 ac_clean_files=$ac_clean_files_save
4174 # Check that the compiler produces executables we can run. If not, either
4175 # the compiler is broken, or we cross compile.
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4177 $as_echo_n "checking whether we are cross compiling... " >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4179 $as_echo "$cross_compiling" >&6; }
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4182 $as_echo_n "checking for suffix of executables... " >&6; }
4183 if { { ac_try="$ac_link"
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$ac_try_echo"; } >&5
4190 (eval "$ac_link") 2>&5
4192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4193 test $ac_status = 0; }; then :
4194 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4195 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4196 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4198 for ac_file
in conftest.exe conftest conftest.
*; do
4199 test -f "$ac_file" ||
continue
4201 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4202 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4211 See \`config.log' for more details." "$LINENO" 5; }
4213 rm -f conftest
$ac_cv_exeext
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4215 $as_echo "$ac_cv_exeext" >&6; }
4217 rm -f conftest.
$ac_ext
4218 EXEEXT
=$ac_cv_exeext
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4221 $as_echo_n "checking for suffix of object files... " >&6; }
4222 if test "${ac_cv_objext+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 rm -f conftest.o conftest.obj
4237 if { { ac_try
="$ac_compile"
4239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_compile") 2>&5
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then :
4248 for ac_file in conftest.o conftest.obj conftest.*; do
4249 test -f "$ac_file" || continue;
4251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4252 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error "cannot compute suffix of object files
: cannot compile
4263 See \
`config.log' for more details." "$LINENO" 5; }
4265 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4268 $as_echo "$ac_cv_objext" >&6; }
4269 OBJEXT=$ac_cv_objext
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4272 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4273 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4274 $as_echo_n "(cached) " >&6
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4290 if ac_fn_c_try_compile "$LINENO"; then :
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4296 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4300 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4301 if test $ac_compiler_gnu = yes; then
4306 ac_test_CFLAGS=${CFLAGS+set}
4307 ac_save_CFLAGS=$CFLAGS
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4309 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4310 if test "${ac_cv_prog_cc_g+set}" = set; then :
4311 $as_echo_n "(cached) " >&6
4313 ac_save_c_werror_flag=$ac_c_werror_flag
4314 ac_c_werror_flag=yes
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4328 if ac_fn_c_try_compile "$LINENO"; then :
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4343 if ac_fn_c_try_compile "$LINENO"; then :
4346 ac_c_werror_flag=$ac_save_c_werror_flag
4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_c_try_compile "$LINENO"; then :
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4367 ac_c_werror_flag=$ac_save_c_werror_flag
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4370 $as_echo "$ac_cv_prog_cc_g" >&6; }
4371 if test "$ac_test_CFLAGS" = set; then
4372 CFLAGS=$ac_save_CFLAGS
4373 elif test $ac_cv_prog_cc_g = yes; then
4374 if test "$GCC" = yes; then
4380 if test "$GCC" = yes; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4387 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4388 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4391 ac_cv_prog_cc_c89=no
4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h. */
4397 #include <sys/types.h>
4398 #include <sys/stat.h>
4399 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4400 struct buf { int x; };
4401 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4402 static char *e (p, i)
4408 static char *f (char * (*g) (char **, int), char **p, ...)
4413 s = g (p, va_arg (v,int));
4418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4419 function prototypes and stuff, but not '\xHH' hex character constants.
4420 These don't provoke an error unfortunately, instead are silently treated
4421 as 'x'. The following induces an error, until -std is added to get
4422 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4423 array size at least. It's necessary to write '\x00'==0 to get something
4424 that's true only with -std. */
4425 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4428 inside strings and character constants. */
4430 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4432 int test (int i, double x);
4433 struct s1 {int (*f) (int a);};
4434 struct s2 {int (*f) (double a);};
4435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4446 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4447 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4449 CC="$ac_save_CC $ac_arg"
4450 if ac_fn_c_try_compile "$LINENO"; then :
4451 ac_cv_prog_cc_c89=$ac_arg
4453 rm -f core conftest.err conftest.$ac_objext
4454 test "x$ac_cv_prog_cc_c89" != "xno" && break
4456 rm -f conftest.$ac_ext
4461 case "x$ac_cv_prog_cc_c89" in
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4464 $as_echo "none needed" >&6; } ;;
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4467 $as_echo "unsupported" >&6; } ;;
4469 CC="$CC $ac_cv_prog_cc_c89"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4471 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4473 if test "x$ac_cv_prog_cc_c89" != xno; then :
4478 ac_cpp='$CPP $CPPFLAGS'
4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4482 DEPDIR="${am__leading_dot}deps"
4484 ac_config_commands="$ac_config_commands depfiles"
4487 am_make=${MAKE-make}
4488 cat > confinc << 'END'
4490 @echo this is the am__doit target
4493 # If we don't find an include directive, just comment out the code.
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4495 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4499 # First try GNU make style include.
4500 echo "include confinc" > confmf
4501 # Ignore all kinds of additional output from `make'.
4502 case `$am_make -s -f confmf 2> /dev/null` in #(
4503 *the\ am__doit\ target*)
4509 # Now try BSD make style include.
4510 if test "$am__include" = "#"; then
4511 echo '.include
"confinc"' > confmf
4512 case `$am_make -s -f confmf 2> /dev/null` in #(
4513 *the\ am__doit\ target*)
4514 am__include=.include
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4523 $as_echo "$_am_result" >&6; }
4524 rm -f confinc confmf
4526 # Check whether --enable-dependency-tracking was given.
4527 if test "${enable_dependency_tracking+set}" = set; then :
4528 enableval=$enable_dependency_tracking;
4531 if test "x$enable_dependency_tracking" != xno; then
4532 am_depcomp="$ac_aux_dir/depcomp"
4535 if test "x$enable_dependency_tracking" != xno
; then
4545 depcc
="$CC" am_compiler_list
=
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4548 $as_echo_n "checking dependency style of $depcc... " >&6; }
4549 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4553 # We make a subdir and do the tests there. Otherwise we can end up
4554 # making bogus files that we don't know about and never remove. For
4555 # instance it was reported that on HP-UX the gcc test will end up
4556 # making a dummy file named `D' -- because `-MD' means `put the output
4559 # Copy depcomp to subdir because otherwise we won't find it if we're
4560 # using a relative directory.
4561 cp "$am_depcomp" conftest.dir
4563 # We will build objects and dependencies in a subdirectory because
4564 # it helps to detect inapplicable dependency modes. For instance
4565 # both Tru64's cc and ICC support -MD to output dependencies as a
4566 # side effect of compilation, but ICC will put the dependencies in
4567 # the current directory while Tru64 will put them in the object
4571 am_cv_CC_dependencies_compiler_type
=none
4572 if test "$am_compiler_list" = ""; then
4573 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4576 case " $depcc " in #(
4577 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4580 for depmode
in $am_compiler_list; do
4581 # Setup a source with many dependencies, because some compilers
4582 # like to wrap large dependency lists on column 80 (with \), and
4583 # we should not choose a depcomp mode which is confused by this.
4585 # We need to recreate these files for each test, as the compiler may
4586 # overwrite some of them when testing with obscure command lines.
4587 # This happens at least with the AIX C compiler.
4589 for i
in 1 2 3 4 5 6; do
4590 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4591 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4592 # Solaris 8's {/usr,}/bin/sh.
4593 touch sub
/conftst
$i.h
4595 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4597 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4598 # mode. It turns out that the SunPro C++ compiler does not properly
4599 # handle `-M -o', and we need to detect this. Also, some Intel
4600 # versions had trouble with output in subdirs
4601 am__obj
=sub
/conftest.
${OBJEXT-o}
4602 am__minus_obj
="-o $am__obj"
4605 # This depmode causes a compiler race in universal mode.
4606 test "$am__universal" = false ||
continue
4609 # after this tag, mechanisms are not by side-effect, so they'll
4610 # only be used when explicitly requested
4611 if test "x$enable_dependency_tracking" = xyes
; then
4617 msvisualcpp | msvcmsys
)
4618 # This compiler won't grok `-c -o', but also, the minuso test has
4619 # not run yet. These depmodes are late enough in the game, and
4620 # so weak that their functioning should not be impacted.
4621 am__obj
=conftest.
${OBJEXT-o}
4626 if depmode
=$depmode \
4627 source=sub
/conftest.c object
=$am__obj \
4628 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4629 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4630 >/dev
/null
2>conftest.err
&&
4631 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4632 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4633 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4634 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4635 # icc doesn't choke on unknown options, it will just issue warnings
4636 # or remarks (even with -Werror). So we grep stderr for any message
4637 # that says an option was ignored or not supported.
4638 # When given -MP, icc 7.0 and 7.1 complain thusly:
4639 # icc: Command line warning: ignoring option '-M'; no argument required
4640 # The diagnosis changed in icc 8.0:
4641 # icc: Command line remark: option '-MP' not supported
4642 if (grep 'ignoring option' conftest.err ||
4643 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4644 am_cv_CC_dependencies_compiler_type
=$depmode
4653 am_cv_CC_dependencies_compiler_type
=none
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4658 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4659 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4662 test "x$enable_dependency_tracking" != xno \
4663 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4665 am__fastdepCC_FALSE
='#'
4667 am__fastdepCC_TRUE
='#'
4668 am__fastdepCC_FALSE
=
4673 ac_cpp
='$CXXCPP $CPPFLAGS'
4674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4677 if test -z "$CXX"; then
4678 if test -n "$CCC"; then
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if test "${ac_cv_prog_CXX+set}" = set; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$CXX"; then
4692 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir
=.
4699 for ac_exec_ext
in '' $ac_executable_extensions; do
4700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 if test -n "$CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4714 $as_echo "$CXX" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4721 test -n "$CXX" && break
4724 if test -z "$CXX"; then
4726 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy
$ac_prog; ac_word
=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4733 $as_echo_n "(cached) " >&6
4735 if test -n "$ac_ct_CXX"; then
4736 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4756 if test -n "$ac_ct_CXX"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4758 $as_echo "$ac_ct_CXX" >&6; }
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4765 test -n "$ac_ct_CXX" && break
4768 if test "x$ac_ct_CXX" = x
; then
4771 case $cross_compiling:$ac_tool_warned in
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned
=yes ;;
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4787 for ac_option
in --version -v -V -qversion; do
4788 { { ac_try
="$ac_compiler $ac_option >&5"
4790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4797 if test -s conftest.err; then
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4802 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4810 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4837 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4843 ac_test_CXXFLAGS=${CXXFLAGS+set}
4844 ac_save_CXXFLAGS=$CXXFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4846 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4847 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4848 $as_echo_n "(cached) " >&6
4850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4851 ac_cxx_werror_flag=yes
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4865 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 ac_cv_prog_cxx_g=yes
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4883 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_cv_prog_cxx_g=yes
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4908 if test "$ac_test_CXXFLAGS" = set; then
4909 CXXFLAGS=$ac_save_CXXFLAGS
4910 elif test $ac_cv_prog_cxx_g = yes; then
4911 if test "$GXX" = yes; then
4917 if test "$GXX" = yes; then
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4929 depcc="$CXX" am_compiler_list=
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4932 $as_echo_n "checking dependency style of $depcc... " >&6; }
4933 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4937 # We make a subdir and do the tests there. Otherwise we can end up
4938 # making bogus files that we don't know about and never remove. For
4939 # instance it was reported that on HP-UX the gcc test will end up
4940 # making a dummy file named `D
' -- because `-MD' means
`put the output
4943 # Copy depcomp to subdir because otherwise we won't find it if we're
4944 # using a relative directory.
4945 cp "$am_depcomp" conftest.dir
4947 # We will build objects and dependencies in a subdirectory because
4948 # it helps to detect inapplicable dependency modes. For instance
4949 # both Tru64's cc and ICC support -MD to output dependencies as a
4950 # side effect of compilation, but ICC will put the dependencies in
4951 # the current directory while Tru64 will put them in the object
4955 am_cv_CXX_dependencies_compiler_type=none
4956 if test "$am_compiler_list" = ""; then
4957 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4960 case " $depcc " in #(
4961 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4964 for depmode in $am_compiler_list; do
4965 # Setup a source with many dependencies, because some compilers
4966 # like to wrap large dependency lists on column 80 (with \), and
4967 # we should not choose a depcomp mode which is confused by this.
4969 # We need to recreate these files for each test, as the compiler may
4970 # overwrite some of them when testing with obscure command lines.
4971 # This happens at least with the AIX C compiler.
4973 for i in 1 2 3 4 5 6; do
4974 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4975 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4976 # Solaris 8's
{/usr
,}/bin
/sh.
4977 touch sub
/conftst
$i.h
4979 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4981 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4982 # mode. It turns out that the SunPro C++ compiler does not properly
4983 # handle `-M -o', and we need to detect this. Also, some Intel
4984 # versions had trouble with output in subdirs
4985 am__obj
=sub
/conftest.
${OBJEXT-o}
4986 am__minus_obj
="-o $am__obj"
4989 # This depmode causes a compiler race in universal mode.
4990 test "$am__universal" = false ||
continue
4993 # after this tag, mechanisms are not by side-effect, so they'll
4994 # only be used when explicitly requested
4995 if test "x$enable_dependency_tracking" = xyes
; then
5001 msvisualcpp | msvcmsys
)
5002 # This compiler won't grok `-c -o', but also, the minuso test has
5003 # not run yet. These depmodes are late enough in the game, and
5004 # so weak that their functioning should not be impacted.
5005 am__obj
=conftest.
${OBJEXT-o}
5010 if depmode
=$depmode \
5011 source=sub
/conftest.c object
=$am__obj \
5012 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5013 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5014 >/dev
/null
2>conftest.err
&&
5015 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5016 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5017 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5018 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5019 # icc doesn't choke on unknown options, it will just issue warnings
5020 # or remarks (even with -Werror). So we grep stderr for any message
5021 # that says an option was ignored or not supported.
5022 # When given -MP, icc 7.0 and 7.1 complain thusly:
5023 # icc: Command line warning: ignoring option '-M'; no argument required
5024 # The diagnosis changed in icc 8.0:
5025 # icc: Command line remark: option '-MP' not supported
5026 if (grep 'ignoring option' conftest.err ||
5027 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5028 am_cv_CXX_dependencies_compiler_type
=$depmode
5037 am_cv_CXX_dependencies_compiler_type
=none
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5042 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5043 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5046 test "x$enable_dependency_tracking" != xno \
5047 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5048 am__fastdepCXX_TRUE
=
5049 am__fastdepCXX_FALSE
='#'
5051 am__fastdepCXX_TRUE
='#'
5052 am__fastdepCXX_FALSE
=
5056 for ac_prog
in 'bison -y' byacc
5058 # Extract the first word of "$ac_prog", so it can be a program name with args.
5059 set dummy
$ac_prog; ac_word
=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_YACC+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$YACC"; then
5066 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir
=.
5073 for ac_exec_ext
in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_YACC
="$ac_prog"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 YACC
=$ac_cv_prog_YACC
5086 if test -n "$YACC"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5088 $as_echo "$YACC" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5095 test -n "$YACC" && break
5097 test -n "$YACC" || YACC
="yacc"
5099 if test -n "$ac_tool_prefix"; then
5100 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5101 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$RANLIB"; then
5108 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 RANLIB
=$ac_cv_prog_RANLIB
5128 if test -n "$RANLIB"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5130 $as_echo "$RANLIB" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5138 if test -z "$ac_cv_prog_RANLIB"; then
5139 ac_ct_RANLIB
=$RANLIB
5140 # Extract the first word of "ranlib", so it can be a program name with args.
5141 set dummy ranlib
; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$ac_ct_RANLIB"; then
5148 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5168 if test -n "$ac_ct_RANLIB"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5170 $as_echo "$ac_ct_RANLIB" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5176 if test "x$ac_ct_RANLIB" = x
; then
5179 case $cross_compiling:$ac_tool_warned in
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5183 ac_tool_warned
=yes ;;
5185 RANLIB
=$ac_ct_RANLIB
5188 RANLIB
="$ac_cv_prog_RANLIB"
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5193 $as_echo_n "checking whether ln -s works... " >&6; }
5195 if test "$LN_S" = "ln -s"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5197 $as_echo "yes" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5200 $as_echo "no, using $LN_S" >&6; }
5206 ac_cpp
='$CPP $CPPFLAGS'
5207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5211 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5212 # On Suns, sometimes $CPP names a directory.
5213 if test -n "$CPP" && test -d "$CPP"; then
5216 if test -z "$CPP"; then
5217 if test "${ac_cv_prog_CPP+set}" = set; then :
5218 $as_echo_n "(cached) " >&6
5220 # Double quotes because CPP needs to be expanded
5221 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5224 for ac_c_preproc_warn_flag
in '' yes
5226 # Use a header file that comes with gcc, so configuring glibc
5227 # with a fresh cross-compiler works.
5228 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5229 # <limits.h> exists even on freestanding compilers.
5230 # On the NeXT, cc -E runs the code through the compiler's parser,
5231 # not just through cpp. "Syntax error" is here to catch this case.
5232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5233 /* end confdefs.h. */
5235 # include <limits.h>
5237 # include <assert.h>
5241 if ac_fn_c_try_cpp
"$LINENO"; then :
5244 # Broken: fails on valid input.
5247 rm -f conftest.err conftest.
$ac_ext
5249 # OK, works on sane cases. Now check whether nonexistent headers
5250 # can be detected and how.
5251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5253 #include <ac_nonexistent.h>
5255 if ac_fn_c_try_cpp
"$LINENO"; then :
5256 # Broken: success on invalid input.
5259 # Passes both tests.
5263 rm -f conftest.err conftest.
$ac_ext
5266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5267 rm -f conftest.err conftest.
$ac_ext
5268 if $ac_preproc_ok; then :
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5281 $as_echo "$CPP" >&6; }
5283 for ac_c_preproc_warn_flag
in '' yes
5285 # Use a header file that comes with gcc, so configuring glibc
5286 # with a fresh cross-compiler works.
5287 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5288 # <limits.h> exists even on freestanding compilers.
5289 # On the NeXT, cc -E runs the code through the compiler's parser,
5290 # not just through cpp. "Syntax error" is here to catch this case.
5291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5294 # include <limits.h>
5296 # include <assert.h>
5300 if ac_fn_c_try_cpp
"$LINENO"; then :
5303 # Broken: fails on valid input.
5306 rm -f conftest.err conftest.
$ac_ext
5308 # OK, works on sane cases. Now check whether nonexistent headers
5309 # can be detected and how.
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5312 #include <ac_nonexistent.h>
5314 if ac_fn_c_try_cpp
"$LINENO"; then :
5315 # Broken: success on invalid input.
5318 # Passes both tests.
5322 rm -f conftest.err conftest.
$ac_ext
5325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5326 rm -f conftest.err conftest.
$ac_ext
5327 if $ac_preproc_ok; then :
5330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5332 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5333 See \`config.log' for more details." "$LINENO" 5; }
5337 ac_cpp
='$CPP $CPPFLAGS'
5338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5344 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5345 if test "${ac_cv_path_GREP+set}" = set; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -z "$GREP"; then
5349 ac_path_GREP_found
=false
5350 # Loop through the user's path and test for each of PROGNAME-LIST
5351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5355 test -z "$as_dir" && as_dir
=.
5356 for ac_prog
in grep ggrep
; do
5357 for ac_exec_ext
in '' $ac_executable_extensions; do
5358 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5359 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5360 # Check for GNU ac_path_GREP and select it if it is found.
5361 # Check for GNU $ac_path_GREP
5362 case `"$ac_path_GREP" --version 2>&1` in
5364 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5367 $as_echo_n 0123456789 >"conftest.in"
5370 cat "conftest.in" "conftest.in" >"conftest.tmp"
5371 mv "conftest.tmp" "conftest.in"
5372 cp "conftest.in" "conftest.nl"
5373 $as_echo 'GREP' >> "conftest.nl"
5374 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5375 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5376 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5377 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5378 # Best one so far, save it but keep looking for a better one
5379 ac_cv_path_GREP
="$ac_path_GREP"
5380 ac_path_GREP_max
=$ac_count
5382 # 10*(2^10) chars as input seems more than enough
5383 test $ac_count -gt 10 && break
5385 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5388 $ac_path_GREP_found && break 3
5393 if test -z "$ac_cv_path_GREP"; then
5394 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5397 ac_cv_path_GREP
=$GREP
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5402 $as_echo "$ac_cv_path_GREP" >&6; }
5403 GREP
="$ac_cv_path_GREP"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5407 $as_echo_n "checking for egrep... " >&6; }
5408 if test "${ac_cv_path_EGREP+set}" = set; then :
5409 $as_echo_n "(cached) " >&6
5411 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5412 then ac_cv_path_EGREP
="$GREP -E"
5414 if test -z "$EGREP"; then
5415 ac_path_EGREP_found
=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5418 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_prog
in egrep; do
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5425 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5426 # Check for GNU ac_path_EGREP and select it if it is found.
5427 # Check for GNU $ac_path_EGREP
5428 case `"$ac_path_EGREP" --version 2>&1` in
5430 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5433 $as_echo_n 0123456789 >"conftest.in"
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo 'EGREP' >> "conftest.nl"
5440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5441 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5442 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_EGREP
="$ac_path_EGREP"
5446 ac_path_EGREP_max
=$ac_count
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5451 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5454 $ac_path_EGREP_found && break 3
5459 if test -z "$ac_cv_path_EGREP"; then
5460 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5463 ac_cv_path_EGREP
=$EGREP
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5469 $as_echo "$ac_cv_path_EGREP" >&6; }
5470 EGREP
="$ac_cv_path_EGREP"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5474 $as_echo_n "checking for ANSI C header files... " >&6; }
5475 if test "${ac_cv_header_stdc+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5493 if ac_fn_c_try_compile
"$LINENO"; then :
5494 ac_cv_header_stdc
=yes
5496 ac_cv_header_stdc
=no
5498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 if test $ac_cv_header_stdc = yes; then
5501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 $EGREP "memchr" >/dev
/null
2>&1; then :
5511 ac_cv_header_stdc
=no
5517 if test $ac_cv_header_stdc = yes; then
5518 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5525 $EGREP "free" >/dev
/null
2>&1; then :
5528 ac_cv_header_stdc
=no
5534 if test $ac_cv_header_stdc = yes; then
5535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5536 if test "$cross_compiling" = yes; then :
5539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5543 #if ((' ' & 0x0FF) == 0x020)
5544 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5545 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5547 # define ISLOWER(c) \
5548 (('a' <= (c) && (c) <= 'i') \
5549 || ('j' <= (c) && (c) <= 'r') \
5550 || ('s' <= (c) && (c) <= 'z'))
5551 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5559 for (i = 0; i < 256; i++)
5560 if (XOR (islower (i), ISLOWER (i))
5561 || toupper (i) != TOUPPER (i))
5566 if ac_fn_c_try_run
"$LINENO"; then :
5569 ac_cv_header_stdc
=no
5571 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5572 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5578 $as_echo "$ac_cv_header_stdc" >&6; }
5579 if test $ac_cv_header_stdc = yes; then
5581 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5585 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5586 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5587 inttypes.h stdint.h unistd.h
5589 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5590 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5592 eval as_val
=\$
$as_ac_Header
5593 if test "x$as_val" = x
""yes; then :
5594 cat >>confdefs.h
<<_ACEOF
5595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5604 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5605 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
5612 if test "$MINIX" = yes; then
5614 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5617 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5620 $as_echo "#define _MINIX 1" >>confdefs.h
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5626 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5627 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5628 $as_echo_n "(cached) " >&6
5630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5633 # define __EXTENSIONS__ 1
5634 $ac_includes_default
5643 if ac_fn_c_try_compile
"$LINENO"; then :
5644 ac_cv_safe_to_define___extensions__
=yes
5646 ac_cv_safe_to_define___extensions__
=no
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5651 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5652 test $ac_cv_safe_to_define___extensions__ = yes &&
5653 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5655 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5657 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5659 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5661 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5666 # If we haven't got the data from the intl directory,
5667 # assume NLS is disabled.
5676 if test -f ..
/intl
/config.intl
; then
5677 . ..
/intl
/config.intl
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5680 $as_echo_n "checking whether NLS is requested... " >&6; }
5681 if test x
"$USE_NLS" != xyes
; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5686 $as_echo "yes" >&6; }
5688 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5692 $as_echo_n "checking for catalogs to be installed... " >&6; }
5693 # Look for .po and .gmo files in the source directory.
5696 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5697 # If there aren't any .gmo files the shell will give us the
5698 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5700 case "$cat" in *\
**)
5703 # The quadruple backslash is collapsed to a double backslash
5704 # by the backticks, then collapsed again by the double quotes,
5705 # leaving us with one backslash in the sed expression (right
5706 # before the dot that mustn't act as a wildcard).
5707 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5708 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5709 # The user is allowed to set LINGUAS to a list of languages to
5710 # install catalogs for. If it's empty that means "all of them."
5711 if test "x$LINGUAS" = x
; then
5712 CATALOGS
="$CATALOGS $cat"
5713 XLINGUAS
="$XLINGUAS $lang"
5715 case "$LINGUAS" in *$lang*)
5716 CATALOGS
="$CATALOGS $cat"
5717 XLINGUAS
="$XLINGUAS $lang"
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5724 $as_echo "$LINGUAS" >&6; }
5738 if test -n "$ac_aux_dir"; then
5739 case "$ac_aux_dir" in
5740 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5741 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5744 if test -z "$MKINSTALLDIRS"; then
5745 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5751 $as_echo_n "checking whether NLS is requested... " >&6; }
5752 # Check whether --enable-nls was given.
5753 if test "${enable_nls+set}" = set; then :
5754 enableval
=$enable_nls; USE_NLS
=$enableval
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5760 $as_echo "$USE_NLS" >&6; }
5767 # Prepare PATH_SEPARATOR.
5768 # The user is always right.
5769 if test "${PATH_SEPARATOR+set}" != set; then
5770 echo "#! /bin/sh" >conf$$.sh
5771 echo "exit 0" >>conf$$.sh
5773 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5781 # Find out how to test for executable files. Don't use a zero-byte file,
5782 # as systems may use methods other than mode bits to determine executability.
5783 cat >conf$$.
file <<_ASEOF
5787 chmod +x conf$$.
file
5788 if test -x conf$$.
file >/dev
/null
2>&1; then
5789 ac_executable_p
="test -x"
5791 ac_executable_p
="test -f"
5795 # Extract the first word of "msgfmt", so it can be a program name with args.
5796 set dummy msgfmt
; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5804 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5807 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5808 for ac_dir
in $PATH; do
5810 test -z "$ac_dir" && ac_dir
=.
5811 for ac_exec_ext
in '' $ac_executable_extensions; do
5812 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5813 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5814 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5815 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5822 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5826 MSGFMT
="$ac_cv_path_MSGFMT"
5827 if test "$MSGFMT" != ":"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5829 $as_echo "$MSGFMT" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5835 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5836 set dummy gmsgfmt
; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5844 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5866 GMSGFMT
=$ac_cv_path_GMSGFMT
5867 if test -n "$GMSGFMT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5869 $as_echo "$GMSGFMT" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5878 # Prepare PATH_SEPARATOR.
5879 # The user is always right.
5880 if test "${PATH_SEPARATOR+set}" != set; then
5881 echo "#! /bin/sh" >conf$$.sh
5882 echo "exit 0" >>conf$$.sh
5884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5892 # Find out how to test for executable files. Don't use a zero-byte file,
5893 # as systems may use methods other than mode bits to determine executability.
5894 cat >conf$$.
file <<_ASEOF
5898 chmod +x conf$$.
file
5899 if test -x conf$$.
file >/dev
/null
2>&1; then
5900 ac_executable_p
="test -x"
5902 ac_executable_p
="test -f"
5906 # Extract the first word of "xgettext", so it can be a program name with args.
5907 set dummy xgettext
; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5911 $as_echo_n "(cached) " >&6
5915 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5918 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5919 for ac_dir
in $PATH; do
5921 test -z "$ac_dir" && ac_dir
=.
5922 for ac_exec_ext
in '' $ac_executable_extensions; do
5923 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5924 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5925 (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
5926 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5933 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5937 XGETTEXT
="$ac_cv_path_XGETTEXT"
5938 if test "$XGETTEXT" != ":"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5940 $as_echo "$XGETTEXT" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5949 # Prepare PATH_SEPARATOR.
5950 # The user is always right.
5951 if test "${PATH_SEPARATOR+set}" != set; then
5952 echo "#! /bin/sh" >conf$$.sh
5953 echo "exit 0" >>conf$$.sh
5955 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5963 # Find out how to test for executable files. Don't use a zero-byte file,
5964 # as systems may use methods other than mode bits to determine executability.
5965 cat >conf$$.
file <<_ASEOF
5969 chmod +x conf$$.
file
5970 if test -x conf$$.
file >/dev
/null
2>&1; then
5971 ac_executable_p
="test -x"
5973 ac_executable_p
="test -f"
5977 # Extract the first word of "msgmerge", so it can be a program name with args.
5978 set dummy msgmerge
; ac_word
=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5982 $as_echo_n "(cached) " >&6
5986 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5989 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5990 for ac_dir
in $PATH; do
5992 test -z "$ac_dir" && ac_dir
=.
5993 for ac_exec_ext
in '' $ac_executable_extensions; do
5994 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5995 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5996 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6003 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6007 MSGMERGE
="$ac_cv_path_MSGMERGE"
6008 if test "$MSGMERGE" != ":"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6010 $as_echo "$MSGMERGE" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6017 if test "$GMSGFMT" != ":"; then
6018 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6019 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6022 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6024 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
6029 if test "$XGETTEXT" != ":"; then
6030 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6031 (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
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6035 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6041 ac_config_commands
="$ac_config_commands default-1"
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6046 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6047 if test "${ac_cv_c_bigendian+set}" = set; then :
6048 $as_echo_n "(cached) " >&6
6050 ac_cv_c_bigendian
=unknown
6051 # See if we're dealing with a universal compiler.
6052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6054 #ifndef __APPLE_CC__
6055 not a universal capable compiler
6060 if ac_fn_c_try_compile
"$LINENO"; then :
6062 # Check for potential -arch flags. It is not universal unless
6063 # there are at least two -arch flags with different values.
6066 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6067 if test -n "$ac_prev"; then
6069 i?
86 | x86_64 | ppc | ppc64
)
6070 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
6073 ac_cv_c_bigendian
=universal
6079 elif test "x$ac_word" = "x-arch"; then
6084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6085 if test $ac_cv_c_bigendian = unknown
; then
6086 # See if sys/param.h defines the BYTE_ORDER macro.
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 #include <sys/param.h>
6095 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6096 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6105 if ac_fn_c_try_compile
"$LINENO"; then :
6106 # It does; now see whether it defined to BIG_ENDIAN or not.
6107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6109 #include <sys/types.h>
6110 #include <sys/param.h>
6115 #if BYTE_ORDER != BIG_ENDIAN
6123 if ac_fn_c_try_compile
"$LINENO"; then :
6124 ac_cv_c_bigendian
=yes
6126 ac_cv_c_bigendian
=no
6128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6132 if test $ac_cv_c_bigendian = unknown
; then
6133 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6141 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6150 # It does; now see whether it defined to _BIG_ENDIAN or not.
6151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6166 if ac_fn_c_try_compile
"$LINENO"; then :
6167 ac_cv_c_bigendian
=yes
6169 ac_cv_c_bigendian
=no
6171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6175 if test $ac_cv_c_bigendian = unknown
; then
6176 # Compile a test program.
6177 if test "$cross_compiling" = yes; then :
6178 # Try to guess by grepping values from an object file.
6179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 short int ascii_mm[] =
6182 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6183 short int ascii_ii[] =
6184 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6185 int use_ascii (int i) {
6186 return ascii_mm[i] + ascii_ii[i];
6188 short int ebcdic_ii[] =
6189 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6190 short int ebcdic_mm[] =
6191 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6192 int use_ebcdic (int i) {
6193 return ebcdic_mm[i] + ebcdic_ii[i];
6200 return use_ascii (foo) == use_ebcdic (foo);
6205 if ac_fn_c_try_compile
"$LINENO"; then :
6206 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6207 ac_cv_c_bigendian
=yes
6209 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6210 if test "$ac_cv_c_bigendian" = unknown
; then
6211 ac_cv_c_bigendian
=no
6213 # finding both strings is unlikely to happen, but who knows?
6214 ac_cv_c_bigendian
=unknown
6218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 $ac_includes_default
6227 /* Are we little or big endian? From Harbison&Steele. */
6231 char c[sizeof (long int)];
6234 return u.c[sizeof (long int) - 1] == 1;
6240 if ac_fn_c_try_run
"$LINENO"; then :
6241 ac_cv_c_bigendian
=no
6243 ac_cv_c_bigendian
=yes
6245 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6246 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6252 $as_echo "$ac_cv_c_bigendian" >&6; }
6253 case $ac_cv_c_bigendian in #(
6255 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6261 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6265 as_fn_error
"unknown endianness
6266 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6272 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
6274 NATIVE_LINKER_FALSE
='#'
6276 NATIVE_LINKER_TRUE
='#'
6277 NATIVE_LINKER_FALSE
=
6280 if test "$GCC" = yes; then
6289 if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
6290 NATIVE_OR_CROSS_LINKER_TRUE
=
6291 NATIVE_OR_CROSS_LINKER_FALSE
='#'
6293 NATIVE_OR_CROSS_LINKER_TRUE
='#'
6294 NATIVE_OR_CROSS_LINKER_FALSE
=
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static linking works" >&5
6299 $as_echo_n "checking whether static linking works... " >&6; }
6300 if test "${gold_cv_lib_static+set}" = set; then :
6301 $as_echo_n "(cached) " >&6
6303 LDFLAGS_hold
=$LDFLAGS
6304 LDFLAGS
="$LDFLAGS -static"
6305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6317 if ac_fn_c_try_link
"$LINENO"; then :
6318 gold_cv_lib_static
=yes
6320 gold_cv_lib_static
=no
6322 rm -f core conftest.err conftest.
$ac_objext \
6323 conftest
$ac_exeext conftest.
$ac_ext
6324 LDFLAGS
=$LDFLAGS_hold
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_static" >&5
6327 $as_echo "$gold_cv_lib_static" >&6; }
6328 if test "$gold_cv_lib_static" = "yes"; then
6330 HAVE_STATIC_FALSE
='#'
6332 HAVE_STATIC_TRUE
='#'
6345 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
=
6346 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
='#'
6348 FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
='#'
6349 FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
=
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
6354 $as_echo_n "checking for gcc >= 4.1... " >&6; }
6355 if test "${gold_cv_prog_gcc41+set}" = set; then :
6356 $as_echo_n "(cached) " >&6
6358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6361 #if !defined __GNUC__
6363 #elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
6368 if ac_fn_c_try_compile
"$LINENO"; then :
6369 gold_cv_prog_gcc41
=yes
6371 gold_cv_prog_gcc41
=no
6373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
6376 $as_echo "$gold_cv_prog_gcc41" >&6; }
6378 save_CFLAGS
="$CFLAGS"
6379 CFLAGS
="$CFLAGS -mcmodel=medium"
6380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6384 if ac_fn_c_try_compile
"$LINENO"; then :
6385 have_mcmodel_medium
=yes
6387 have_mcmodel_medium
=no
6389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6390 CFLAGS
="$save_CFLAGS"
6391 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
6392 MCMODEL_MEDIUM_TRUE
=
6393 MCMODEL_MEDIUM_FALSE
='#'
6395 MCMODEL_MEDIUM_TRUE
='#'
6396 MCMODEL_MEDIUM_FALSE
=
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fmerge-constants" >&5
6401 $as_echo_n "checking whether $CC supports -fmerge-constants... " >&6; }
6402 if test "${gold_cv_merge_constants+set}" = set; then :
6403 $as_echo_n "(cached) " >&6
6406 save_CFLAGS
="$CFLAGS"
6407 CFLAGS
="$CFLAGS -fmerge-constants"
6408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 const char *s = "foo";
6412 if ac_fn_c_try_compile
"$LINENO"; then :
6413 gold_cv_merge_constants
=yes
6415 gold_cv_merge_constants
=no
6417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 CFLAGS
="$save_CFLAGS"
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_merge_constants" >&5
6421 $as_echo "$gold_cv_merge_constants" >&6; }
6423 if test "$gold_cv_merge_constants" = yes; then :
6424 MERGE_CONSTANTS_FLAG
=-fmerge-constants
6426 MERGE_CONSTANTS_FLAG
=
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
6430 $as_echo_n "checking for thread support... " >&6; }
6431 if test "${gold_cv_c_thread+set}" = set; then :
6432 $as_echo_n "(cached) " >&6
6434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6435 /* end confdefs.h. */
6438 if ac_fn_c_try_compile
"$LINENO"; then :
6439 gold_cv_c_thread
=yes
6443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
6446 $as_echo "$gold_cv_c_thread" >&6; }
6448 if test "$gold_cv_c_thread" = "yes"; then
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
6458 $as_echo_n "checking for glibc >= 2.4... " >&6; }
6459 if test "${gold_cv_lib_glibc24+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6463 /* end confdefs.h. */
6465 #include <features.h>
6466 #if !defined __GLIBC__
6468 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
6473 if ac_fn_c_try_compile
"$LINENO"; then :
6474 gold_cv_lib_glibc24
=yes
6476 gold_cv_lib_glibc24
=no
6478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
6481 $as_echo "$gold_cv_lib_glibc24" >&6; }
6483 if test "$gold_cv_lib_glibc24" = "yes"; then
6485 STATIC_TLS_FALSE
='#'
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
6493 $as_echo_n "checking for omp support... " >&6; }
6494 if test "${gold_cv_c_threadprivate+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 save_CFLAGS
="$CFLAGS"
6498 CFLAGS
="$CFLAGS -fopenmp"
6499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6504 #pragma omp threadprivate (i)
6507 if ac_fn_c_try_compile
"$LINENO"; then :
6508 gold_cv_c_threadprivate
=yes
6510 gold_cv_c_threadprivate
=no
6512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 CFLAGS
="$save_CFLAGS"
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
6516 $as_echo "$gold_cv_c_threadprivate" >&6; }
6517 if test "$gold_cv_c_threadprivate" = "yes"; then
6519 $as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
6522 if test "$gold_cv_c_threadprivate" = "yes"; then
6524 OMP_SUPPORT_FALSE
='#'
6526 OMP_SUPPORT_TRUE
='#'
6531 save_CFLAGS
="$CFLAGS"
6532 CFLAGS
="$CFLAGS -Werror -fpic -mtls-dialect=gnu2"
6533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h. */
6543 if ac_fn_c_try_compile
"$LINENO"; then :
6548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 CFLAGS
="$save_CFLAGS"
6550 if test "$have_tls_gnu2" = "yes"; then
6551 TLS_GNU2_DIALECT_TRUE
=
6552 TLS_GNU2_DIALECT_FALSE
='#'
6554 TLS_GNU2_DIALECT_TRUE
='#'
6555 TLS_GNU2_DIALECT_FALSE
=
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
6560 $as_echo_n "checking for glibc >= 2.9... " >&6; }
6561 if test "${gold_cv_lib_glibc29+set}" = set; then :
6562 $as_echo_n "(cached) " >&6
6564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6567 #include <features.h>
6568 #if !defined __GLIBC__
6570 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
6575 if ac_fn_c_try_compile
"$LINENO"; then :
6576 gold_cv_lib_glibc29
=yes
6578 gold_cv_lib_glibc29
=no
6580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
6583 $as_echo "$gold_cv_lib_glibc29" >&6; }
6585 if test "$gold_cv_lib_glibc29" = "yes"; then
6586 TLS_DESCRIPTORS_TRUE
=
6587 TLS_DESCRIPTORS_FALSE
='#'
6589 TLS_DESCRIPTORS_TRUE
='#'
6590 TLS_DESCRIPTORS_FALSE
=
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
6595 $as_echo_n "checking for -frandom-seed support... " >&6; }
6596 if test "${gold_cv_c_random_seed+set}" = set; then :
6597 $as_echo_n "(cached) " >&6
6599 save_CFLAGS
="$CFLAGS"
6600 CFLAGS
="$CFLAGS -frandom-seed=foo"
6601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6605 if ac_fn_c_try_compile
"$LINENO"; then :
6606 gold_cv_c_random_seed
=yes
6608 gold_cv_c_random_seed
=no
6610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6611 CFLAGS
="$save_CFLAGS"
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
6614 $as_echo "$gold_cv_c_random_seed" >&6; }
6615 if test "$gold_cv_c_random_seed" = "yes"; then
6616 # In Makefile, '$@' will be expanded to be the name of the file
6617 # being built, providing a unique seed for each file.
6618 RANDOM_SEED_CFLAGS
=-frandom-seed=\$@
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc ifunc support" >&5
6623 $as_echo_n "checking for glibc ifunc support... " >&6; }
6624 if test "${gold_cv_lib_glibc_ifunc+set}" = set; then :
6625 $as_echo_n "(cached) " >&6
6627 save_LDFLAGS
="$LDFLAGS"
6628 LDFLAGS
="$LDFLAGS -static"
6629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6632 #include <features.h>
6633 #if !defined __GLIBC__
6635 #elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
6638 void func (void) { }
6640 __asm__(".type invoke, %gnu_indirect_function");
6641 typedef void (*funcptr) (void);
6642 funcptr dispatch (void) __asm__ ("invoke");
6643 funcptr dispatch (void) { return &func; }
6653 if ac_fn_c_try_link
"$LINENO"; then :
6655 if ${NM} conftest
$EXEEXT |
grep "__rela\?_iplt_start" >/dev
/null
2>&1; then
6656 gold_cv_lib_glibc_ifunc
=both
6658 gold_cv_lib_glibc_ifunc
=dyn
6661 gold_cv_lib_glibc_ifunc
=no
6663 rm -f core conftest.err conftest.
$ac_objext \
6664 conftest
$ac_exeext conftest.
$ac_ext
6665 LDFLAGS
="$save_LDFLAGS"
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc_ifunc" >&5
6668 $as_echo "$gold_cv_lib_glibc_ifunc" >&6; }
6670 if test "$gold_cv_lib_glibc_ifunc" != "no"; then
6678 if test "$gold_cv_lib_glibc_ifunc" = "both"; then
6680 IFUNC_STATIC_FALSE
='#'
6682 IFUNC_STATIC_TRUE
='#'
6688 # Set the 'development' global.
6689 .
$srcdir/..
/bfd
/development.sh
6691 # Default set of GCC warnings to enable.
6692 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6694 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6700 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6703 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wshadow"
6708 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
6709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6714 $EGREP "^[0-4]$" >/dev
/null
2>&1; then :
6717 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wstack-usage=262144"
6722 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
6723 WARN_WRITE_STRINGS
=""
6724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6729 $EGREP "^[0-3]$" >/dev
/null
2>&1; then :
6732 WARN_WRITE_STRINGS
="-Wwrite-strings"
6737 # Check whether --enable-werror was given.
6738 if test "${enable_werror+set}" = set; then :
6739 enableval
=$enable_werror; case "${enableval}" in
6740 yes | y
) ERROR_ON_WARNING
="yes" ;;
6741 no | n
) ERROR_ON_WARNING
="no" ;;
6742 *) as_fn_error
"bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
6747 # Disable -Wformat by default when using gcc on mingw
6750 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6751 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
6757 # Enable -Werror by default when using gcc. Turn it off for releases.
6758 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true
; then
6759 ERROR_ON_WARNING
=yes
6763 if test "${ERROR_ON_WARNING}" = yes ; then
6764 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6765 NO_WERROR
="-Wno-error"
6768 if test "${GCC}" = yes ; then
6769 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6772 # Check whether --enable-build-warnings was given.
6773 if test "${enable_build_warnings+set}" = set; then :
6774 enableval
=$enable_build_warnings; case "${enableval}" in
6775 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6776 no
) if test "${GCC}" = yes ; then
6779 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6780 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6781 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6782 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6783 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6788 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6789 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6797 WARN_CXXFLAGS
=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
6801 # Check whether --with-gold-ldflags was given.
6802 if test "${with_gold_ldflags+set}" = set; then :
6803 withval
=$with_gold_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
6806 GOLD_LDFLAGS
=$withval
6815 # Check whether --with-gold-ldadd was given.
6816 if test "${with_gold_ldadd+set}" = set; then :
6817 withval
=$with_gold_ldadd; if test "$withval" = "no" -o "$withval" = "yes"; then
6828 LFS_CFLAGS
="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
6831 for ac_header
in sys
/mman.h
6833 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
6834 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
6835 cat >>confdefs.h
<<_ACEOF
6836 #define HAVE_SYS_MMAN_H 1
6843 for ac_func
in chsize mmap
6845 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6846 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6847 eval as_val
=\$
$as_ac_var
6848 if test "x$as_val" = x
""yes; then :
6849 cat >>confdefs.h
<<_ACEOF
6850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6856 for ac_func
in pread ftruncate ffsll
6858 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6859 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6860 eval as_val
=\$
$as_ac_var
6861 if test "x$as_val" = x
""yes; then :
6862 cat >>confdefs.h
<<_ACEOF
6863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6867 case " $LIBOBJS " in
6868 *" $ac_func.$ac_objext "* ) ;;
6869 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
6879 $as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
6880 if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6887 #include <sys/mman.h>
6888 void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
6898 if ac_fn_c_try_link
"$LINENO"; then :
6899 gold_cv_lib_mremap_maymove
=yes
6901 gold_cv_lib_mremap_maymove
=no
6903 rm -f core conftest.err conftest.
$ac_objext \
6904 conftest
$ac_exeext conftest.
$ac_ext
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
6907 $as_echo "$gold_cv_lib_mremap_maymove" >&6; }
6908 if test "$gold_cv_lib_mremap_maymove" = "yes"; then
6910 $as_echo "#define HAVE_MREMAP 1" >>confdefs.h
6913 case " $LIBOBJS " in
6914 *" mremap.$ac_objext "* ) ;;
6915 *) LIBOBJS
="$LIBOBJS mremap.$ac_objext"
6921 # Link in zlib if we can. This allows us to write compressed sections.
6923 # Use the system's zlib library.
6924 zlibdir
="-L\$(top_builddir)/../zlib"
6925 zlibinc
="-I\$(top_srcdir)/../zlib"
6927 # Check whether --with-system-zlib was given.
6928 if test "${with_system_zlib+set}" = set; then :
6929 withval
=$with_system_zlib; if test x
$with_system_zlib = xyes
; then
6940 ac_fn_c_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
6941 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define HAVE_DECL_BASENAME $ac_have_decl
6950 ac_fn_c_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
6951 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
6957 cat >>confdefs.h
<<_ACEOF
6958 #define HAVE_DECL_FFS $ac_have_decl
6960 ac_fn_c_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
6961 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
6967 cat >>confdefs.h
<<_ACEOF
6968 #define HAVE_DECL_ASPRINTF $ac_have_decl
6970 ac_fn_c_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
6971 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
6977 cat >>confdefs.h
<<_ACEOF
6978 #define HAVE_DECL_VASPRINTF $ac_have_decl
6980 ac_fn_c_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
6981 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_DECL_SNPRINTF $ac_have_decl
6990 ac_fn_c_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
6991 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
6997 cat >>confdefs.h
<<_ACEOF
6998 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7000 ac_fn_c_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7001 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7012 save_CFLAGS
="$CFLAGS"
7013 CFLAGS
="$CFLAGS -Werror -gpubnames"
7014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7015 /* end confdefs.h. */
7018 if ac_fn_c_try_compile
"$LINENO"; then :
7023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7024 CFLAGS
="$save_CFLAGS"
7025 if test "$have_pubnames" = "yes"; then
7027 HAVE_PUBNAMES_FALSE
='#'
7029 HAVE_PUBNAMES_TRUE
='#'
7030 HAVE_PUBNAMES_FALSE
=
7034 save_CFLAGS
="$CFLAGS"
7035 CFLAGS
="$CFLAGS -Werror -fno-use-linker-plugin"
7036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7040 if ac_fn_c_try_compile
"$LINENO"; then :
7041 have_no_use_linker_plugin
=yes
7043 have_no_use_linker_plugin
=no
7045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7046 CFLAGS
="$save_CFLAGS"
7047 if test "$have_no_use_linker_plugin" = "yes"; then
7048 HAVE_NO_USE_LINKER_PLUGIN_TRUE
=
7049 HAVE_NO_USE_LINKER_PLUGIN_FALSE
='#'
7051 HAVE_NO_USE_LINKER_PLUGIN_TRUE
='#'
7052 HAVE_NO_USE_LINKER_PLUGIN_FALSE
=
7057 ac_cpp
='$CXXCPP $CPPFLAGS'
7058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7065 ac_cpp
='$CXXCPP $CPPFLAGS'
7066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7070 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7071 if test -z "$CXXCPP"; then
7072 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7073 $as_echo_n "(cached) " >&6
7075 # Double quotes because CXXCPP needs to be expanded
7076 for CXXCPP
in "$CXX -E" "/lib/cpp"
7079 for ac_cxx_preproc_warn_flag
in '' yes
7081 # Use a header file that comes with gcc, so configuring glibc
7082 # with a fresh cross-compiler works.
7083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7084 # <limits.h> exists even on freestanding compilers.
7085 # On the NeXT, cc -E runs the code through the compiler's parser,
7086 # not just through cpp. "Syntax error" is here to catch this case.
7087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7090 # include <limits.h>
7092 # include <assert.h>
7096 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7099 # Broken: fails on valid input.
7102 rm -f conftest.err conftest.
$ac_ext
7104 # OK, works on sane cases. Now check whether nonexistent headers
7105 # can be detected and how.
7106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7107 /* end confdefs.h. */
7108 #include <ac_nonexistent.h>
7110 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7111 # Broken: success on invalid input.
7114 # Passes both tests.
7118 rm -f conftest.err conftest.
$ac_ext
7121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7122 rm -f conftest.err conftest.
$ac_ext
7123 if $ac_preproc_ok; then :
7128 ac_cv_prog_CXXCPP
=$CXXCPP
7131 CXXCPP
=$ac_cv_prog_CXXCPP
7133 ac_cv_prog_CXXCPP
=$CXXCPP
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7136 $as_echo "$CXXCPP" >&6; }
7138 for ac_cxx_preproc_warn_flag
in '' yes
7140 # Use a header file that comes with gcc, so configuring glibc
7141 # with a fresh cross-compiler works.
7142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7143 # <limits.h> exists even on freestanding compilers.
7144 # On the NeXT, cc -E runs the code through the compiler's parser,
7145 # not just through cpp. "Syntax error" is here to catch this case.
7146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h. */
7149 # include <limits.h>
7151 # include <assert.h>
7155 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7158 # Broken: fails on valid input.
7161 rm -f conftest.err conftest.
$ac_ext
7163 # OK, works on sane cases. Now check whether nonexistent headers
7164 # can be detected and how.
7165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167 #include <ac_nonexistent.h>
7169 if ac_fn_cxx_try_cpp
"$LINENO"; then :
7170 # Broken: success on invalid input.
7173 # Passes both tests.
7177 rm -f conftest.err conftest.
$ac_ext
7180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7181 rm -f conftest.err conftest.
$ac_ext
7182 if $ac_preproc_ok; then :
7185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7187 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
7188 See \`config.log' for more details." "$LINENO" 5; }
7192 ac_cpp
='$CXXCPP $CPPFLAGS'
7193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7198 for ac_header
in unordered_set unordered_map
7200 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7201 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7202 eval as_val
=\$
$as_ac_Header
7203 if test "x$as_val" = x
""yes; then :
7204 cat >>confdefs.h
<<_ACEOF
7205 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7212 for ac_header
in tr1/unordered_set
tr1/unordered_map
7214 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7215 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7216 eval as_val
=\$
$as_ac_Header
7217 if test "x$as_val" = x
""yes; then :
7218 cat >>confdefs.h
<<_ACEOF
7219 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7226 for ac_header
in ext
/hash_map ext
/hash_set
7228 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7229 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7230 eval as_val
=\$
$as_ac_Header
7231 if test "x$as_val" = x
""yes; then :
7232 cat >>confdefs.h
<<_ACEOF
7233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 for ac_header
in byteswap.h
7242 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7243 if test "x$ac_cv_header_byteswap_h" = x
""yes; then :
7244 cat >>confdefs.h
<<_ACEOF
7245 #define HAVE_BYTESWAP_H 1
7253 for ac_header
in windows.h
7255 ac_fn_cxx_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7256 if test "x$ac_cv_header_windows_h" = x
""yes; then :
7257 cat >>confdefs.h
<<_ACEOF
7258 #define HAVE_WINDOWS_H 1
7265 for ac_header
in dlfcn.h
7267 ac_fn_cxx_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
7268 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7269 cat >>confdefs.h
<<_ACEOF
7270 #define HAVE_DLFCN_H 1
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
7278 $as_echo_n "checking for library containing dlopen... " >&6; }
7279 if test "${ac_cv_search_dlopen+set}" = set; then :
7280 $as_echo_n "(cached) " >&6
7282 ac_func_search_save_LIBS
=$LIBS
7283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7286 /* Override any GCC internal prototype to avoid an error.
7287 Use char because int might match the return type of a GCC
7288 builtin and then its argument prototype would still apply. */
7301 for ac_lib
in '' dl dld
; do
7302 if test -z "$ac_lib"; then
7303 ac_res
="none required"
7306 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7308 if ac_fn_cxx_try_link
"$LINENO"; then :
7309 ac_cv_search_dlopen
=$ac_res
7311 rm -f core conftest.err conftest.
$ac_objext \
7313 if test "${ac_cv_search_dlopen+set}" = set; then :
7317 if test "${ac_cv_search_dlopen+set}" = set; then :
7320 ac_cv_search_dlopen
=no
7323 LIBS
=$ac_func_search_save_LIBS
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
7326 $as_echo "$ac_cv_search_dlopen" >&6; }
7327 ac_res
=$ac_cv_search_dlopen
7328 if test "$ac_res" != no
; then :
7329 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7333 case "$ac_cv_search_dlopen" in
7334 no
*) DLOPEN_LIBS
="";;
7335 *) DLOPEN_LIBS
="$ac_cv_search_dlopen";;
7339 for ac_func
in mallinfo posix_fallocate fallocate readv sysconf
times
7341 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7342 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7343 eval as_val
=\$
$as_ac_var
7344 if test "x$as_val" = x
""yes; then :
7345 cat >>confdefs.h
<<_ACEOF
7346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7352 ac_fn_cxx_check_decl
"$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
7353 if test "x$ac_cv_have_decl_basename" = x
""yes; then :
7359 cat >>confdefs.h
<<_ACEOF
7360 #define HAVE_DECL_BASENAME $ac_have_decl
7362 ac_fn_cxx_check_decl
"$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
7363 if test "x$ac_cv_have_decl_ffs" = x
""yes; then :
7369 cat >>confdefs.h
<<_ACEOF
7370 #define HAVE_DECL_FFS $ac_have_decl
7372 ac_fn_cxx_check_decl
"$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
7373 if test "x$ac_cv_have_decl_asprintf" = x
""yes; then :
7379 cat >>confdefs.h
<<_ACEOF
7380 #define HAVE_DECL_ASPRINTF $ac_have_decl
7382 ac_fn_cxx_check_decl
"$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
7383 if test "x$ac_cv_have_decl_vasprintf" = x
""yes; then :
7389 cat >>confdefs.h
<<_ACEOF
7390 #define HAVE_DECL_VASPRINTF $ac_have_decl
7392 ac_fn_cxx_check_decl
"$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
7393 if test "x$ac_cv_have_decl_snprintf" = x
""yes; then :
7399 cat >>confdefs.h
<<_ACEOF
7400 #define HAVE_DECL_SNPRINTF $ac_have_decl
7402 ac_fn_cxx_check_decl
"$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
7403 if test "x$ac_cv_have_decl_vsnprintf" = x
""yes; then :
7409 cat >>confdefs.h
<<_ACEOF
7410 #define HAVE_DECL_VSNPRINTF $ac_have_decl
7412 ac_fn_cxx_check_decl
"$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
7413 if test "x$ac_cv_have_decl_strverscmp" = x
""yes; then :
7419 cat >>confdefs.h
<<_ACEOF
7420 #define HAVE_DECL_STRVERSCMP $ac_have_decl
7422 ac_fn_cxx_check_decl
"$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
7423 if test "x$ac_cv_have_decl_strndup" = x
""yes; then :
7429 cat >>confdefs.h
<<_ACEOF
7430 #define HAVE_DECL_STRNDUP $ac_have_decl
7432 ac_fn_cxx_check_decl
"$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
7433 if test "x$ac_cv_have_decl_memmem" = x
""yes; then :
7439 cat >>confdefs.h
<<_ACEOF
7440 #define HAVE_DECL_MEMMEM $ac_have_decl
7444 # Use of ::std::tr1::unordered_map::rehash causes undefined symbols
7445 # at link time with some versions of GCC.
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
7447 $as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
7448 if test "${gold_cv_unordered_map_rehash+set}" = set; then :
7449 $as_echo_n "(cached) " >&6
7451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7454 #include <tr1/unordered_map>
7455 void bar() { ::std::tr1::unordered_map<int, int> x; x.rehash(10); }
7465 if ac_fn_cxx_try_link
"$LINENO"; then :
7466 gold_cv_unordered_map_rehash
=yes
7468 gold_cv_unordered_map_rehash
=no
7470 rm -f core conftest.err conftest.
$ac_objext \
7471 conftest
$ac_exeext conftest.
$ac_ext
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
7474 $as_echo "$gold_cv_unordered_map_rehash" >&6; }
7475 if test "$gold_cv_unordered_map_rehash" = "yes"; then
7477 $as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
7481 # Use of tr1/unordered_map with off_t as a key is not supported on GCC
7482 # 4.1.xx when compiling in 32-bit mode with a 64-bit off_t type.
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether std::tr1::hash<off_t> is defined" >&5
7484 $as_echo_n "checking whether std::tr1::hash<off_t> is defined... " >&6; }
7485 if test "${gold_cv_hash_off_t+set}" = set; then :
7486 $as_echo_n "(cached) " >&6
7488 CXXFLAGS_hold
=$CXXFLAGS
7489 CXXFLAGS
="$CXXFLAGS $LFS_CFLAGS"
7490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h. */
7493 #include <sys/types.h>
7494 #include <tr1/unordered_map>
7495 std::tr1::hash<off_t> h;
7498 if ac_fn_cxx_try_compile
"$LINENO"; then :
7499 gold_cv_hash_off_t
=yes
7501 gold_cv_hash_off_t
=no
7503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7504 CXXFLAGS
=$CXXFLAGS_hold
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_hash_off_t" >&5
7507 $as_echo "$gold_cv_hash_off_t" >&6; }
7508 if test "$gold_cv_hash_off_t" = "yes"; then
7510 $as_echo "#define HAVE_TR1_HASH_OFF_T 1" >>confdefs.h
7514 # gcc 4.3.0 doesn't recognize the printf attribute on a template
7515 # function. Check for that. This is gcc bug 35546. This test can
7516 # probably be removed after the bug has been fixed for a while.
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
7518 $as_echo_n "checking whether we can use attributes with template functions... " >&6; }
7519 if test "${gold_cv_template_attribute+set}" = set; then :
7520 $as_echo_n "(cached) " >&6
7522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7525 template<typename T> extern void foo(const char*, ...)
7526 __attribute__ ((__format__ (__printf__, 1, 2)));
7527 template<typename T> void foo(const char* format, ...) {}
7528 void bar() { foo<int>("%s\n", "foo"); }
7531 if ac_fn_cxx_try_compile
"$LINENO"; then :
7532 gold_cv_template_attribute
=yes
7534 gold_cv_template_attribute
=no
7536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
7539 $as_echo "$gold_cv_template_attribute" >&6; }
7540 if test "$gold_cv_template_attribute" = "yes"; then
7542 $as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
7547 $as_echo_n "checking for struct stat::st_mtim.... " >&6; }
7548 if test "${gold_cv_stat_st_mtim+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7552 /* end confdefs.h. */
7554 #include <sys/stat.h>
7555 long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
7565 if ac_fn_cxx_try_compile
"$LINENO"; then :
7566 gold_cv_stat_st_mtim
=yes
7568 gold_cv_stat_st_mtim
=no
7570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
7573 $as_echo "$gold_cv_stat_st_mtim" >&6; }
7574 if test "$gold_cv_stat_st_mtim" = "yes"; then
7576 $as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
7581 ac_cpp
='$CPP $CPPFLAGS'
7582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7587 for ac_header
in locale.h
7589 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
7590 if test "x$ac_cv_header_locale_h" = x
""yes; then :
7591 cat >>confdefs.h
<<_ACEOF
7592 #define HAVE_LOCALE_H 1
7599 for ac_func
in setlocale
7601 ac_fn_c_check_func
"$LINENO" "setlocale" "ac_cv_func_setlocale"
7602 if test "x$ac_cv_func_setlocale" = x
""yes; then :
7603 cat >>confdefs.h
<<_ACEOF
7604 #define HAVE_SETLOCALE 1
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
7612 $as_echo_n "checking for LC_MESSAGES... " >&6; }
7613 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
7614 $as_echo_n "(cached) " >&6
7616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h. */
7627 if ac_fn_c_try_link
"$LINENO"; then :
7628 am_cv_val_LC_MESSAGES
=yes
7630 am_cv_val_LC_MESSAGES
=no
7632 rm -f core conftest.err conftest.
$ac_objext \
7633 conftest
$ac_exeext conftest.
$ac_ext
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
7636 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
7637 if test $am_cv_val_LC_MESSAGES = yes; then
7639 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7646 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7647 # Check whether --enable-maintainer-mode was given.
7648 if test "${enable_maintainer_mode+set}" = set; then :
7649 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
7651 USE_MAINTAINER_MODE
=no
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7655 $as_echo "$USE_MAINTAINER_MODE" >&6; }
7656 if test $USE_MAINTAINER_MODE = yes; then
7657 MAINTAINER_MODE_TRUE
=
7658 MAINTAINER_MODE_FALSE
='#'
7660 MAINTAINER_MODE_TRUE
='#'
7661 MAINTAINER_MODE_FALSE
=
7664 MAINT
=$MAINTAINER_MODE_TRUE
7668 ac_config_files
="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
7670 cat >confcache
<<\_ACEOF
7671 # This file is a shell script that caches the results of configure
7672 # tests run on this system so they can be shared between configure
7673 # scripts and configure runs, see configure's option --config-cache.
7674 # It is not useful on other systems. If it contains results you don't
7675 # want to keep, you may remove or edit it.
7677 # config.status only pays attention to the cache file if you give it
7678 # the --recheck option to rerun configure.
7680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7686 # The following way of writing the cache mishandles newlines in values,
7687 # but we know of no workaround that is simple, portable, and efficient.
7688 # So, we kill variables containing newlines.
7689 # Ultrix sh set writes to stderr and can't be redirected directly,
7690 # and sets the high bit in the cache file unless we assign to the vars.
7692 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7693 eval ac_val
=\$
$ac_var
7697 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7701 _ | IFS | as_nl
) ;; #(
7702 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7703 *) { eval $ac_var=; unset $ac_var;} ;;
7709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7710 *${as_nl}ac_space
=\
*)
7711 # `set' does not quote correctly, so add quotes: double-quote
7712 # substitution turns \\\\ into \\, and sed turns \\ into \.
7715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7718 # `set' quotes correctly as required by POSIX, so do not add quotes.
7719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7732 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7733 if test -w "$cache_file"; then
7734 test "x$cache_file" != "x/dev/null" &&
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7736 $as_echo "$as_me: updating cache $cache_file" >&6;}
7737 cat confcache
>$cache_file
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7740 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7746 # Let make expand exec_prefix.
7747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7749 DEFS
=-DHAVE_CONFIG_H
7753 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7754 # 1. Remove the extension, and $U if already installed.
7755 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7756 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7758 # will be set to the directory where LIBOBJS objects are built.
7759 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7760 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7764 LTLIBOBJS
=$ac_ltlibobjs
7767 if test -n "$EXEEXT"; then
7769 am__EXEEXT_FALSE
='#'
7775 if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
7776 as_fn_error
"conditional \"THREADS\" was never defined.
7777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7779 if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
7780 as_fn_error
"conditional \"PLUGINS\" was never defined.
7781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7783 if test -z "${DEFAULT_TARGET_AARCH64_TRUE}" && test -z "${DEFAULT_TARGET_AARCH64_FALSE}"; then
7784 as_fn_error
"conditional \"DEFAULT_TARGET_AARCH64\" was never defined.
7785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7787 if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
7788 as_fn_error
"conditional \"DEFAULT_TARGET_ARM\" was never defined.
7789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7791 if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
7792 as_fn_error
"conditional \"DEFAULT_TARGET_I386\" was never defined.
7793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7795 if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
7796 as_fn_error
"conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
7797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7799 if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
7800 as_fn_error
"conditional \"DEFAULT_TARGET_SPARC\" was never defined.
7801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7803 if test -z "${DEFAULT_TARGET_S390_TRUE}" && test -z "${DEFAULT_TARGET_S390_FALSE}"; then
7804 as_fn_error
"conditional \"DEFAULT_TARGET_S390\" was never defined.
7805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7807 if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
7808 as_fn_error
"conditional \"DEFAULT_TARGET_X86_64\" was never defined.
7809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7811 if test -z "${DEFAULT_TARGET_X32_TRUE}" && test -z "${DEFAULT_TARGET_X32_FALSE}"; then
7812 as_fn_error
"conditional \"DEFAULT_TARGET_X32\" was never defined.
7813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7815 if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_FALSE}"; then
7816 as_fn_error
"conditional \"DEFAULT_TARGET_TILEGX\" was never defined.
7817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7819 if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then
7820 as_fn_error
"conditional \"DEFAULT_TARGET_MIPS\" was never defined.
7821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7823 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7824 as_fn_error
"conditional \"AMDEP\" was never defined.
7825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7827 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7828 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
7829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7831 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7832 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
7833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7836 if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
7837 as_fn_error
"conditional \"NATIVE_LINKER\" was never defined.
7838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7840 if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
7841 as_fn_error
"conditional \"GCC\" was never defined.
7842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7844 if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
7845 as_fn_error
"conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
7846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7848 if test -z "${HAVE_STATIC_TRUE}" && test -z "${HAVE_STATIC_FALSE}"; then
7849 as_fn_error
"conditional \"HAVE_STATIC\" was never defined.
7850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7852 if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
7853 as_fn_error
"conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
7854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7856 if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
7857 as_fn_error
"conditional \"MCMODEL_MEDIUM\" was never defined.
7858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7860 if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
7861 as_fn_error
"conditional \"TLS\" was never defined.
7862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7864 if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
7865 as_fn_error
"conditional \"STATIC_TLS\" was never defined.
7866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7868 if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
7869 as_fn_error
"conditional \"OMP_SUPPORT\" was never defined.
7870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7872 if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
7873 as_fn_error
"conditional \"TLS_GNU2_DIALECT\" was never defined.
7874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7876 if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
7877 as_fn_error
"conditional \"TLS_DESCRIPTORS\" was never defined.
7878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7880 if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
7881 as_fn_error
"conditional \"IFUNC\" was never defined.
7882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7884 if test -z "${IFUNC_STATIC_TRUE}" && test -z "${IFUNC_STATIC_FALSE}"; then
7885 as_fn_error
"conditional \"IFUNC_STATIC\" was never defined.
7886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7888 if test -z "${HAVE_PUBNAMES_TRUE}" && test -z "${HAVE_PUBNAMES_FALSE}"; then
7889 as_fn_error
"conditional \"HAVE_PUBNAMES\" was never defined.
7890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7892 if test -z "${HAVE_NO_USE_LINKER_PLUGIN_TRUE}" && test -z "${HAVE_NO_USE_LINKER_PLUGIN_FALSE}"; then
7893 as_fn_error
"conditional \"HAVE_NO_USE_LINKER_PLUGIN\" was never defined.
7894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7896 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7897 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
7898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7901 : ${CONFIG_STATUS=./config.status}
7903 ac_clean_files_save
=$ac_clean_files
7904 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7906 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7908 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7910 # Generated by $as_me.
7911 # Run this file to recreate the current configuration.
7912 # Compiler output produced by configure, useful for debugging
7913 # configure, is in config.log if it exists.
7919 SHELL=\${CONFIG_SHELL-$SHELL}
7922 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7923 ## -------------------- ##
7924 ## M4sh Initialization. ##
7925 ## -------------------- ##
7927 # Be more Bourne compatible
7928 DUALCASE
=1; export DUALCASE
# for MKS sh
7929 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7933 # is contrary to our usage. Disable this feature.
7934 alias -g '${1+"$@"}'='"$@"'
7935 setopt NO_GLOB_SUBST
7937 case `(set -o) 2>/dev/null` in #(
7949 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7950 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7952 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7953 # Prefer a ksh shell builtin over an external printf program on Solaris,
7954 # but without wasting forks for bash or zsh.
7955 if test -z "$BASH_VERSION$ZSH_VERSION" \
7956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7957 as_echo='print
-r --'
7958 as_echo_n='print
-rn --'
7959 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7960 as_echo='printf %s
\n'
7961 as_echo_n='printf %s
'
7963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7964 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7965 as_echo_n='/usr
/ucb
/echo -n'
7967 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7968 as_echo_n_body='eval
7972 expr "X$arg" : "X\\(.*\\)$as_nl";
7973 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7975 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7977 export as_echo_n_body
7978 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7981 as_echo='sh
-c $as_echo_body as_echo
'
7984 # The user is always right.
7985 if test "${PATH_SEPARATOR+set}" != set; then
7987 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7988 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7995 # We need space, tab and new line, in precisely that order. Quoting is
7996 # there to prevent editors from complaining about space-tab.
7997 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7998 # splitting by setting IFS to empty value.)
8001 # Find who we are. Look in the path if we contain no directory separator.
8003 *[\\/]* ) as_myself=$0 ;;
8004 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8008 test -z "$as_dir" && as_dir=.
8009 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8015 # We did not find ourselves, most probably we were run as `sh COMMAND'
8016 # in which case we are not to be found in the path.
8017 if test "x$as_myself" = x
; then
8020 if test ! -f "$as_myself"; then
8021 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8025 # Unset variables that we do not need and which cause bugs (e.g. in
8026 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8027 # suppresses any "Segmentation fault" message there. '((' could
8028 # trigger a bug in pdksh 5.2.14.
8029 for as_var
in BASH_ENV ENV MAIL MAILPATH
8030 do eval test x\
${$as_var+set} = xset \
8031 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8044 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8047 # as_fn_error ERROR [LINENO LOG_FD]
8048 # ---------------------------------
8049 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8050 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8051 # script with status $?, using 1 if that was 0.
8054 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8056 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8057 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8059 $as_echo "$as_me: error: $1" >&2
8060 as_fn_exit
$as_status
8064 # as_fn_set_status STATUS
8065 # -----------------------
8066 # Set $? to STATUS, without forking.
8070 } # as_fn_set_status
8074 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8084 # Portably unset VAR.
8087 { eval $1=; unset $1;}
8089 as_unset
=as_fn_unset
8090 # as_fn_append VAR VALUE
8091 # ----------------------
8092 # Append the text in VALUE to the end of the definition contained in VAR. Take
8093 # advantage of any shell optimizations that allow amortized linear growth over
8094 # repeated appends, instead of the typical quadratic growth present in naive
8096 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8097 eval 'as_fn_append ()
8108 # as_fn_arith ARG...
8109 # ------------------
8110 # Perform arithmetic evaluation on the ARGs, and store the result in the
8111 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8112 # must be portable across $(()) and expr.
8113 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8114 eval 'as_fn_arith ()
8121 as_val
=`expr "$@" || test $? -eq 1`
8126 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8127 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8133 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8134 as_basename
=basename
8139 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8145 as_me
=`$as_basename -- "$0" ||
8146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8147 X"$0" : 'X\(//\)$' \| \
8148 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8150 sed '/^.*\/\([^/][^/]*\)\/*$/{
8164 # Avoid depending upon Character Ranges.
8165 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8166 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8167 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8168 as_cr_digits
='0123456789'
8169 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8171 ECHO_C
= ECHO_N
= ECHO_T
=
8172 case `echo -n x` in #(((((
8174 case `echo 'xy\c'` in
8175 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8177 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8184 rm -f conf$$ conf$$.exe conf$$.
file
8185 if test -d conf$$.dir
; then
8186 rm -f conf$$.dir
/conf$$.
file
8189 mkdir conf$$.dir
2>/dev
/null
8191 if (echo >conf$$.
file) 2>/dev
/null
; then
8192 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8194 # ... but there are two gotchas:
8195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8197 # In both cases, we have to default to `cp -p'.
8198 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8208 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8209 rmdir conf$$.dir
2>/dev
/null
8214 # Create "$as_dir" as a directory, including parents if necessary.
8219 -*) as_dir
=.
/$as_dir;;
8221 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8225 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8226 *) as_qdir
=$as_dir;;
8228 as_dirs
="'$as_qdir' $as_dirs"
8229 as_dir
=`$as_dirname -- "$as_dir" ||
8230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8231 X"$as_dir" : 'X\(//\)[^/]' \| \
8232 X"$as_dir" : 'X\(//\)$' \| \
8233 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8234 $as_echo X"$as_dir" |
8235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8252 test -d "$as_dir" && break
8254 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8255 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8259 if mkdir
-p .
2>/dev
/null
; then
8260 as_mkdir_p
='mkdir -p "$as_dir"'
8262 test -d .
/-p && rmdir .
/-p
8266 if test -x / >/dev
/null
2>&1; then
8269 if ls -dL / >/dev
/null
2>&1; then
8276 if test -d "$1"; then
8282 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8283 ???[sx]*):;;*)false;;esac;fi
8287 as_executable_p
=$as_test_x
8289 # Sed expression to map a string onto a valid CPP name.
8290 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8292 # Sed expression to map a string onto a valid variable name.
8293 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8297 ## ----------------------------------- ##
8298 ## Main body of $CONFIG_STATUS script. ##
8299 ## ----------------------------------- ##
8301 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8304 # Save the log message, to keep $0 and so on meaningful, and to
8305 # report actual input values of CONFIG_FILES etc. instead of their
8306 # values after options handling.
8308 This file was extended by gold $as_me 0.1, which was
8309 generated by GNU Autoconf 2.64. Invocation command line was
8311 CONFIG_FILES = $CONFIG_FILES
8312 CONFIG_HEADERS = $CONFIG_HEADERS
8313 CONFIG_LINKS = $CONFIG_LINKS
8314 CONFIG_COMMANDS = $CONFIG_COMMANDS
8317 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8322 case $ac_config_files in *"
8323 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8326 case $ac_config_headers in *"
8327 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8332 # Files that config.status was made for.
8333 config_files="$ac_config_files"
8334 config_headers="$ac_config_headers"
8335 config_commands="$ac_config_commands"
8339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8341 \`$as_me' instantiates files and other configuration actions
8342 from templates according to the current configuration. Unless the files
8343 and actions are specified as TAGs, all are instantiated by default.
8345 Usage: $0 [OPTION]... [TAG]...
8347 -h, --help print this help, then exit
8348 -V, --version print version number and configuration settings, then exit
8349 -q, --quiet, --silent
8350 do not print progress messages
8351 -d, --debug don't remove temporary files
8352 --recheck update $as_me by reconfiguring in the same conditions
8353 --file=FILE[:TEMPLATE]
8354 instantiate the configuration file FILE
8355 --header=FILE[:TEMPLATE]
8356 instantiate the configuration header FILE
8358 Configuration files:
8361 Configuration headers:
8364 Configuration commands:
8367 Report bugs to the package provider."
8370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8372 gold config.status 0.1
8373 configured by $0, generated by GNU Autoconf 2.64,
8374 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8376 Copyright (C) 2009 Free Software Foundation, Inc.
8377 This config.status script is free software; the Free Software Foundation
8378 gives unlimited permission to copy, distribute and modify it."
8385 test -n "\$AWK" || AWK=awk
8388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8389 # The default lists apply if the user does not specify any file.
8395 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8396 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8407 # Handling of the options.
8408 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8410 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8411 $as_echo "$ac_cs_version"; exit ;;
8412 --debug |
--debu |
--deb |
--de |
--d |
-d )
8414 --file |
--fil |
--fi |
--f )
8417 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8419 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8420 ac_need_defaults
=false
;;
8421 --header |
--heade |
--head |
--hea )
8424 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8426 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8427 ac_need_defaults
=false
;;
8429 # Conflict between --help and --header
8430 as_fn_error
"ambiguous option: \`$1'
8431 Try \`$0 --help' for more information.";;
8432 --help |
--hel |
-h )
8433 $as_echo "$ac_cs_usage"; exit ;;
8434 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8435 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8439 -*) as_fn_error
"unrecognized option: \`$1'
8440 Try \`$0 --help' for more information." ;;
8442 *) as_fn_append ac_config_targets
" $1"
8443 ac_need_defaults
=false
;;
8449 ac_configure_extra_args
=
8451 if $ac_cs_silent; then
8453 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8458 if \$ac_cs_recheck; then
8459 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8461 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8462 CONFIG_SHELL='$SHELL'
8468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8473 ## Running $as_me. ##
8479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8483 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8484 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
8485 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
8487 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
8488 # Capture the value of LINGUAS because we need it to compute CATALOGS.
8489 LINGUAS="${LINGUAS-%UNSET%}"
8494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8496 # Handling of arguments.
8497 for ac_config_target
in $ac_config_targets
8499 case $ac_config_target in
8500 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8501 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8502 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8503 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8504 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
8505 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8507 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8512 # If the user did not use the arguments to specify the items to instantiate,
8513 # then the envvar interface is used. Set only those that are not.
8514 # We use the long form for the default assignment because of an extremely
8515 # bizarre bug on SunOS 4.1.3.
8516 if $ac_need_defaults; then
8517 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8518 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8519 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8522 # Have a temporary directory for convenience. Make it in the build tree
8523 # simply because there is no reason against having it here, and in addition,
8524 # creating and moving files from /tmp can sometimes cause problems.
8525 # Hook for its removal unless debugging.
8526 # Note that there is a small window in which the directory will not be cleaned:
8527 # after its creation but before its name has been assigned to `$tmp'.
8531 trap 'exit_status=$?
8532 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8534 trap 'as_fn_exit 1' 1 2 13 15
8536 # Create a (secure) tmp directory for tmp files.
8539 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8540 test -n "$tmp" && test -d "$tmp"
8543 tmp
=.
/conf$$
-$RANDOM
8544 (umask 077 && mkdir
"$tmp")
8545 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8547 # Set up the scripts for CONFIG_FILES section.
8548 # No need to generate them if there are no CONFIG_FILES.
8549 # This happens for instance with `./config.status config.h'.
8550 if test -n "$CONFIG_FILES"; then
8553 ac_cr
=`echo X | tr X '\015'`
8554 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8555 # But we know of no other shell where ac_cr would be empty at this
8556 # point, so we can use a bashism as a fallback.
8557 if test "x$ac_cr" = x
; then
8558 eval ac_cr
=\$
\'\\r
\'
8560 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8561 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8567 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8572 echo "cat >conf$$subs.awk <<_ACEOF" &&
8573 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8576 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8577 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8579 for ac_last_try in false false false false false :; do
8580 . ./conf$$subs.sh ||
8581 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8583 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8584 if test $ac_delim_n = $ac_delim_num; then
8586 elif $ac_last_try; then
8587 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8589 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8595 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8599 s/^/S["/; s
/!.
*/"]=/
8609 s/\(.\{148\}\).*/\1/
8611 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8616 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8623 s/\(.\{148\}\).*/\1/
8625 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8629 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8634 ' <conf$$subs.awk | sed '
8639 ' >>$CONFIG_STATUS || ac_write_fail=1
8640 rm -f conf$$subs.awk
8641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8643 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8644 for (key in S) S_is_set[key] = 1
8650 nfields = split(line, field, "@
")
8652 len = length(field[1])
8653 for (i = 2; i < nfields; i++) {
8655 keylen = length(key)
8656 if (S_is_set[key]) {
8658 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8659 len += length(value) + length(field[++i])
8670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8671 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8672 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8675 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8676 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8679 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8680 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8681 # trailing colons and then remove the whole line if VPATH becomes empty
8682 # (actually we leave an empty line to preserve line numbers).
8683 if test "x
$srcdir" = x.; then
8684 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8688 s/^\([^=]*=[ ]*\):*/\1/
8694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8695 fi # test -n "$CONFIG_FILES"
8697 # Set up the scripts for CONFIG_HEADERS section.
8698 # No need to generate them if there are no CONFIG_HEADERS.
8699 # This happens for instance with `./config.status Makefile'.
8700 if test -n "$CONFIG_HEADERS"; then
8701 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8705 # Transform confdefs.h into an awk script `defines.awk', embedded as
8706 # here-document in config.status, that substitutes the proper values into
8707 # config.h.in to produce config.h.
8709 # Create a delimiter string that does not exist in confdefs.h, to ease
8710 # handling of long lines.
8712 for ac_last_try in false false :; do
8713 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8714 if test -z "$ac_t"; then
8716 elif $ac_last_try; then
8717 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
8719 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8723 # For the awk script, D is an array of macro values keyed by name,
8724 # likewise P contains macro parameters if any. Preserve backslash
8725 # newline sequences.
8727 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8729 s/.\{148\}/&'"$ac_delim"'/g
8732 s/^[ ]*#[ ]*define[ ][ ]*/ /
8739 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8741 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8746 D["\
1"]=" \
3\\\\\\n
"\\/p
8748 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8753 s/.\{148\}/&'"$ac_delim"'/g
8758 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8761 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8763 ' <confdefs.h | sed '
8764 s/'"$ac_delim"'/"\\\
8765 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8768 for (key in D) D_is_set[key] = 1
8771 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8773 split(line, arg, " ")
8774 if (arg[1] == "#") {
8778 defundef
= substr
(arg
[1], 2)
8781 split(mac1
, mac2
, "(") #)
8783 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8784 if (D_is_set
[macro
]) {
8785 # Preserve the white space surrounding the "#".
8786 print prefix
"define", macro P
[macro
] D
[macro
]
8789 # Replace #undef with comments. This is necessary, for example,
8790 # in the case of _POSIX_SOURCE, which is predefined and required
8791 # on some systems where configure will not decide to define it.
8792 if (defundef
== "undef") {
8793 print
"/*", prefix defundef
, macro
, "*/"
8801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8802 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
8803 fi # test -n "$CONFIG_HEADERS"
8806 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8811 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8813 case $ac_mode$ac_tag in
8815 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8816 :[FH
]-) ac_tag
=-:-;;
8817 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8834 -) ac_f
="$tmp/stdin";;
8835 *) # Look for the file first in the build tree, then in the source tree
8836 # (if the path is not absolute). The absolute path cannot be DOS-style,
8837 # because $ac_f cannot contain `:'.
8841 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8843 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
8845 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8846 as_fn_append ac_file_inputs
" '$ac_f'"
8849 # Let's still pretend it is `configure' which instantiates (i.e., don't
8850 # use $as_me), people would be surprised to read:
8851 # /* config.h. Generated by config.status. */
8852 configure_input
='Generated from '`
8853 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8855 if test x
"$ac_file" != x-
; then
8856 configure_input
="$ac_file. $configure_input"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8858 $as_echo "$as_me: creating $ac_file" >&6;}
8860 # Neutralize special characters interpreted by sed in replacement strings.
8861 case $configure_input in #(
8862 *\
&* |
*\|
* |
*\\* )
8863 ac_sed_conf_input
=`$as_echo "$configure_input" |
8864 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8865 *) ac_sed_conf_input
=$configure_input;;
8869 *:-:* |
*:-) cat >"$tmp/stdin" \
8870 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
8875 ac_dir
=`$as_dirname -- "$ac_file" ||
8876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8877 X"$ac_file" : 'X\(//\)[^/]' \| \
8878 X"$ac_file" : 'X\(//\)$' \| \
8879 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8880 $as_echo X"$ac_file" |
8881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8898 as_dir
="$ac_dir"; as_fn_mkdir_p
8902 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8904 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8905 # A ".." for each directory in $ac_dir_suffix.
8906 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8907 case $ac_top_builddir_sub in
8908 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8909 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8912 ac_abs_top_builddir
=$ac_pwd
8913 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8914 # for backward compatibility:
8915 ac_top_builddir
=$ac_top_build_prefix
8918 .
) # We are building in place.
8920 ac_top_srcdir
=$ac_top_builddir_sub
8921 ac_abs_top_srcdir
=$ac_pwd ;;
8922 [\\/]* | ?
:[\\/]* ) # Absolute name.
8923 ac_srcdir
=$srcdir$ac_dir_suffix;
8924 ac_top_srcdir
=$srcdir
8925 ac_abs_top_srcdir
=$srcdir ;;
8927 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8928 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8929 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8931 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8941 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8942 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8946 [\\/$
]* | ?
:[\\/]* ) ;;
8947 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8952 # If the template does not know about datarootdir, expand it.
8953 # FIXME: This hack should be removed a few years after 2.60.
8954 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8965 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8966 *datarootdir
*) ac_datarootdir_seen
=yes;;
8967 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8969 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8972 ac_datarootdir_hack='
8973 s&@datadir@&$datadir&g
8974 s&@docdir@&$docdir&g
8975 s&@infodir@&$infodir&g
8976 s&@localedir@&$localedir&g
8977 s&@mandir@&$mandir&g
8978 s&\\\${datarootdir}&$datarootdir&g' ;;
8982 # Neutralize VPATH when `$srcdir' = `.'.
8983 # Shell code in configure.ac might set extrasub.
8984 # FIXME: do we really want to maintain this feature?
8985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8986 ac_sed_extra="$ac_vpsub
8989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8991 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8992 s|@configure_input@|
$ac_sed_conf_input|
;t t
8993 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8994 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8995 s
&@srcdir@
&$ac_srcdir&;t t
8996 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8997 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8998 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8999 s
&@builddir@
&$ac_builddir&;t t
9000 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9001 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9002 s
&@INSTALL@
&$ac_INSTALL&;t t
9003 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9004 $ac_datarootdir_hack
9006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9007 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9010 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9011 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9013 which seems to be undefined. Please make sure it is defined." >&5
9014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9015 which seems to be undefined. Please make sure it is defined." >&2;}
9019 -) cat "$tmp/out" && rm -f "$tmp/out";;
9020 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9022 || as_fn_error "could not create $ac_file" "$LINENO" 5
9028 if test x"$ac_file" != x-; then
9030 $as_echo "/* $configure_input */" \
9031 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9032 } >"$tmp/config.h" \
9033 || as_fn_error "could not create $ac_file" "$LINENO" 5
9034 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9036 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9039 mv "$tmp/config.h" "$ac_file" \
9040 || as_fn_error "could not create $ac_file" "$LINENO" 5
9043 $as_echo "/* $configure_input */" \
9044 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9045 || as_fn_error "could not create -" "$LINENO" 5
9047 # Compute "$ac_file"'s index
in $config_headers.
9050 for _am_header
in $config_headers :; do
9052 $_am_arg |
$_am_arg:* )
9055 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9058 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9059 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9060 X"$_am_arg" : 'X\(//\)[^/]' \| \
9061 X"$_am_arg" : 'X\(//\)$' \| \
9062 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9063 $as_echo X"$_am_arg" |
9064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9080 s/.*/./; q'`/stamp-h
$_am_stamp_count
9083 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9084 $as_echo "$as_me: executing $ac_file commands" >&6;}
9089 case $ac_file$ac_mode in
9090 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
9091 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9092 # are listed without --file. Let's play safe and only enable the eval
9093 # if we detect the quoting.
9094 case $CONFIG_FILES in
9095 *\'*) eval set x
"$CONFIG_FILES" ;;
9096 *) set x
$CONFIG_FILES ;;
9101 # Strip MF so we end up with the name of the file.
9102 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9103 # Check whether this is an Automake generated Makefile or not.
9104 # We used to match only the files named `Makefile.in', but
9105 # some people rename them; so instead we look at the file content.
9106 # Grep'ing the first line is not enough: some people post-process
9107 # each Makefile.in and add a new line on top of each file to say so.
9108 # Grep'ing the whole file is not good either: AIX grep has a line
9109 # limit of 2048, but all sed's we know have understand at least 4000.
9110 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9111 dirpart
=`$as_dirname -- "$mf" ||
9112 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9113 X"$mf" : 'X\(//\)[^/]' \| \
9114 X"$mf" : 'X\(//\)$' \| \
9115 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9137 # Extract the definition of DEPDIR, am__include, and am__quote
9138 # from the Makefile without running `make'.
9139 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9140 test -z "$DEPDIR" && continue
9141 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9142 test -z "am__include" && continue
9143 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9144 # When using ansi2knr, U may be empty or an underscore; expand it
9145 U
=`sed -n 's/^U = //p' < "$mf"`
9146 # Find all dependency output files, they are included files with
9147 # $(DEPDIR) in their names. We invoke sed twice because it is the
9148 # simplest approach to changing $(DEPDIR) to its actual value in the
9150 for file in `sed -n "
9151 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9152 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9153 # Make sure the directory exists.
9154 test -f "$dirpart/$file" && continue
9155 fdir
=`$as_dirname -- "$file" ||
9156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9157 X"$file" : 'X\(//\)[^/]' \| \
9158 X"$file" : 'X\(//\)$' \| \
9159 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9178 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9179 # echo "creating $dirpart/$file"
9180 echo '# dummy' > "$dirpart/$file"
9186 for ac_file
in $CONFIG_FILES; do
9187 # Support "outfile[:infile[:infile...]]"
9189 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
9191 # PO directories have a Makefile.in generated from Makefile.in.in.
9192 case "$ac_file" in */Makefile.
in)
9193 # Adjust a relative srcdir.
9194 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
9195 ac_dir_suffix
=/`echo "$ac_dir"|sed 's%^\./%%'`
9196 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
9197 # In autoconf-2.13 it is called $ac_given_srcdir.
9198 # In autoconf-2.50 it is called $srcdir.
9199 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
9200 case "$ac_given_srcdir" in
9201 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
9202 /*) top_srcdir
="$ac_given_srcdir" ;;
9203 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
9205 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
9206 rm -f "$ac_dir/POTFILES"
9207 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
9208 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
9209 POMAKEFILEDEPS
="POTFILES.in"
9210 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
9211 # on $ac_dir but don't depend on user-specified configuration
9213 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
9214 # The LINGUAS file contains the set of available languages.
9215 if test -n "$OBSOLETE_ALL_LINGUAS"; then
9216 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" ||
echo "setting ALL_LINGUAS in configure.ac is obsolete"
9218 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
9219 # Hide the ALL_LINGUAS assigment from automake.
9220 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
9221 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
9223 # The set of available languages was given in configure.ac.
9224 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
9226 case "$ac_given_srcdir" in
9228 *) srcdirpre
='$(srcdir)/' ;;
9234 for lang
in $ALL_LINGUAS; do
9235 POFILES
="$POFILES $srcdirpre$lang.po"
9236 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
9237 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
9238 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
9240 # CATALOGS depends on both $ac_dir and the user's LINGUAS
9241 # environment variable.
9243 if test -n "$ALL_LINGUAS"; then
9244 for presentlang
in $ALL_LINGUAS; do
9246 if test "%UNSET%" != "$LINGUAS"; then
9247 desiredlanguages
="$LINGUAS"
9249 desiredlanguages
="$ALL_LINGUAS"
9251 for desiredlang
in $desiredlanguages; do
9252 # Use the presentlang catalog if desiredlang is
9253 # a. equal to presentlang, or
9254 # b. a variant of presentlang (because in this case,
9255 # presentlang can be used as a fallback for messages
9256 # which are not translated in the desiredlang catalog).
9257 case "$desiredlang" in
9258 "$presentlang"*) useit
=yes;;
9261 if test $useit = yes; then
9262 INST_LINGUAS
="$INST_LINGUAS $presentlang"
9267 if test -n "$INST_LINGUAS"; then
9268 for lang
in $INST_LINGUAS; do
9269 CATALOGS
="$CATALOGS $lang.gmo"
9272 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
9273 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"
9274 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
9275 if test -f "$f"; then
9277 *.orig |
*.bak |
*~
) ;;
9278 *) cat "$f" >> "$ac_dir/Makefile" ;;
9293 ac_clean_files
=$ac_clean_files_save
9295 test $ac_write_fail = 0 ||
9296 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9299 # configure is writing to config.log, and then calls config.status.
9300 # config.status does its own redirection, appending to config.log.
9301 # Unfortunately, on DOS this fails, as config.log is still kept open
9302 # by configure, so config.status won't be able to write to it; its
9303 # output is simply discarded. So we exec the FD to /dev/null,
9304 # effectively closing config.log, so it can be properly (re)opened and
9305 # appended to by config.status. When coming back to configure, we
9306 # need to make the FD available again.
9307 if test "$no_create" != yes; then
9309 ac_config_status_args
=
9310 test "$silent" = yes &&
9311 ac_config_status_args
="$ac_config_status_args --quiet"
9313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9316 # would make configure fail if this is the last instruction.
9317 $ac_cs_success || as_fn_exit $?
9319 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9321 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}